KR20210000771A - Smart Coding Block for setting up operating reference and output information - Google Patents

Smart Coding Block for setting up operating reference and output information Download PDF

Info

Publication number
KR20210000771A
KR20210000771A KR1020190075497A KR20190075497A KR20210000771A KR 20210000771 A KR20210000771 A KR 20210000771A KR 1020190075497 A KR1020190075497 A KR 1020190075497A KR 20190075497 A KR20190075497 A KR 20190075497A KR 20210000771 A KR20210000771 A KR 20210000771A
Authority
KR
South Korea
Prior art keywords
output
block
input
unit
enable signal
Prior art date
Application number
KR1020190075497A
Other languages
Korean (ko)
Other versions
KR102296385B1 (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 KR1020190075497A priority Critical patent/KR102296385B1/en
Publication of KR20210000771A publication Critical patent/KR20210000771A/en
Application granted granted Critical
Publication of KR102296385B1 publication Critical patent/KR102296385B1/en

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B19/00Teaching not covered by other main groups of this subclass
    • G09B19/0053Computers, e.g. programming

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Computer Hardware Design (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Educational Technology (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Toys (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present invention relates to a smart coding block capable of setting operation standards and output contents. According to the present invention, a plurality of blocks performing various functions are connected and the logical operation and output process according to the input are visually confirmed, so that it is possible to perform coding learning by playing the same, and in particular, by easily resetting operation standards and output contents according to the user′s will, it is possible to expand the scope of application and continuously learn coding through continuous interest arousal.

Description

동작기준 및 출력내용 설정이 가능한 스마트 코딩블록{Smart Coding Block for setting up operating reference and output information}Smart Coding Block for setting up operating reference and output information}

본 발명은 스마트 코딩블록에 관한 것으로, 더욱 구체적으로는 서로 역할이 다른 복수의 블록들을 연결하여 다양한 동작이 이루어지는 작품을 완성할 수 있도록 하되, 각 블록들의 동작기준이나 출력내용들을 사용자가 자유롭게 설정 변경할 수 있도록 하는 기술에 대한 것이다.The present invention relates to a smart coding block, and more specifically, to connect a plurality of blocks having different roles to complete a work in which various actions are performed, but the user can freely set and change the operation standards or output contents of each block. It's about technology that makes it possible.

코딩(coding)이란 컴퓨터 프로그래밍이라고도 하며, 통상적으로는 C언어, 자바, 파이선 등의 컴퓨터 언어로 프로그램을 만드는 것을 말한다. 코딩 교육은 논리력, 창의력, 문제해결력을 키울 수 있기 때문에 초등학생은 물론 유치원생부터 코딩 교육을 시작하기도 한다.Coding is also called computer programming, and generally refers to making a program in a computer language such as C language, Java, and Python. Since coding education can develop logic, creativity, and problem-solving skills, coding education is sometimes started from kindergarten students as well as elementary school students.

하지만 통상적인 프로그래밍 교육에 사용되는 언어들은 대부분 외국어로 되어 있기 때문에 어린이에게 교육하기 다소 어렵다는 문제가 있다. 이를 위해 블록을 활용하여 코딩 교육을 실시하기도 한다.However, there is a problem that it is somewhat difficult to educate children because most of the languages used for general programming education are foreign languages. For this, coding education is also conducted using blocks.

대한민국공개특허 제10-2018-0130934호(2018.12.10. '소프트웨어 코딩 교육이 가능한 무선 통신 기반 스마트 코딩 블록 세트'), 대한민국등록특허 제10-1843831호(2018.03.26. '쪼물락 코딩 블록') 등에서는 복수의 코딩 블록을 조립하여 흥미 유발과 함께 코딩 개념을 학습할 수 있도록 하는 기술을 제공하고 있다. 예컨대 센서 정보를 출력하는 입력형 블록과 특정 동작 기능이 구현되는 출력형 블록이 서로 무선 통신을 수행할 수 있고, 입력형 블록에서 특정 센싱값이 측정되면 그에 대응하여 출력형 블록이 정해진 동작을 수행하도록 함으로써, 학습자가 블록 놀이를 하는 방식으로 입출력 개념, 논리 언어의 개념 등을 학습할 수 있도록 하는 것이다.Korean Patent Publication No. 10-2018-0130934 ('2018.12.10.'Wireless communication-based smart coding block set'), Korean Registered Patent No. 10--1843831 (2018.03.26. ), etc., assemble a plurality of coding blocks to induce interest and provide a technique for learning coding concepts. For example, an input-type block that outputs sensor information and an output-type block that implements a specific operation function can perform wireless communication with each other, and when a specific sensing value is measured in the input-type block, the output-type block performs a predetermined operation in response thereto. By doing so, learners can learn input/output concepts, logical language concepts, etc. in a way that blocks play.

그러나 종래의 코딩 블록들은 각 블록들이 미리 정해진 기능만을 수행할 수 있기 때문에 응용 범위가 매우 제한적이며, 이에 따라 학습에 금방 흥미를 잃게 되는 단점이 있다.However, conventional coding blocks have a very limited application range because each block can perform only a predetermined function, and thus, there is a disadvantage in that interest in learning is quickly lost.

예컨대 입력형 블록에 소리를 인지하는 음압센서가 탑재되어 있고, 출력형 블록에 구동바퀴가 탑재되어 있으며, 특정 단어의 소리가 인식되면 구동바퀴가 전방으로 초당 5cm의 속도로 30cm 이동되도록 블록 조립을 수행할 수가 있다. 하지만 학습자가 특정 단어의 소리를 다른 단어의 소리로 바꾸고 싶다거나, 구동바퀴가 전방이 아닌 후방으로 더 빠른 속도로 이동하게 하고 싶다 하더라도, 미리 정해져 있는 설정을 바꿀 수가 없는 것이다. 이에 따라 동일한 종류의 블록 세트를 이용하여서는 창작의 응용 범위가 좁아서 학습자가 쉽게 흥미를 잃게 된다.For example, the input block is equipped with a sound pressure sensor that recognizes sound, the output block is equipped with a driving wheel, and when the sound of a specific word is recognized, the block assembly is performed so that the driving wheel moves forward 30cm at a speed of 5cm per second. You can do it. However, even if the learner wants to change the sound of a specific word to the sound of another word, or if the driving wheel wants to move at a faster speed to the rear instead of the front, the preset setting cannot be changed. Accordingly, when using the same type of block set, the application range of creation is narrow, and the learner easily loses interest.

본 발명은 상술한 바와 같은 종래 기술의 문제점을 해결하기 위해 안출된 것으로, 다양한 기능을 수행하는 복수의 블록들을 결합하여 작품을 완성하되, 동작기준이나 출력내용을 사용자가 손 쉽게 설정 변경할 수 있도록 함으로써, 지속적인 흥미 유발을 통해 코딩 교육을 효과적으로 진행할 수 있도록 하는 기술을 제공하는 데 그 목적이 있다.The present invention was conceived to solve the problems of the prior art as described above, and completes a work by combining a plurality of blocks that perform various functions, but by allowing the user to easily set and change the operation standard or output content. The goal is to provide a technology that enables effective coding education through continuous interest induction.

상기 목적을 달성하기 위한 본 발명에 따른 동작기준 및 출력내용 설정이 가능한 스마트 코딩블록은, 측정된 값을 동작기준과 비교하여 인에이블 신호를 출력하는 입력블록; 및 상기 입력블록과 결합되며, 상기 입력블록으로부터 인에이블 신호가 입력되면 기 저장된 출력내용을 출력하여 특정 동작을 수행하는 출력블록;을 포함하되, 상기 입력블록의 동작기준과 상기 출력블록의 출력내용이 사용자의 의지에 따라 재설정 가능하다.A smart coding block capable of setting an operation reference and output content according to the present invention for achieving the above object comprises: an input block comparing a measured value with an operation reference and outputting an enable signal; And an output block that is combined with the input block and outputs a pre-stored output content when an enable signal is input from the input block to perform a specific operation; including an operation standard of the input block and an output content of the output block. It can be reset at the will of the user.

여기서, 상기 입력블록은, 환경변화에 따른 물리값을 측정하는 센서부A; 동작기준 설정을 위한 명령을 입력하는 기준입력버튼A; 동작기준을 저장하는 메모리A; 상기 센서부A에서 측정되는 값에 따라 인에이블 신호를 출력하는 출력부A; 및 상기 기준입력버튼A가 활성화 되었을 경우 상기 센서부A를 통해 측정된 값을 상기 메모리A에 동작기준으로 저장하고, 상기 기준입력버튼A가 비활성화 되었을 경우 상기 센서부A를 통해 측정된 값을 상기 메모리A에 저장된 동작기준과 비교하여 상기 출력부A를 통해 인에이블 신호가 출력되도록 제어하는 제어부A;를 포함할 수 있다.Here, the input block includes: a sensor unit A that measures a physical value according to an environmental change; A reference input button A for inputting a command for setting an operation standard; A memory A for storing an operation criterion; An output unit A for outputting an enable signal according to the value measured by the sensor unit A; And when the reference input button A is activated, the value measured by the sensor unit A is stored as an operation reference in the memory A, and when the reference input button A is deactivated, the value measured by the sensor unit A is stored. It may include a control unit A that compares the operation reference stored in the memory A to output an enable signal through the output unit A.

또한, 상기 출력블록은, 저장명령을 입력받는 조작부C; 출력내용을 입력받는 센서부C; 상기 센서부C를 통해 입력된 출력내용을 저장하는 메모리C; 상기 입력블록 측으로부터 인에이블 신호를 입력받는 입력부C; 상기 출력내용을 출력하는 출력부C; 및 상기 조작부C를 통해 저장명령이 입력되면 상기 센서부C를 통해 입력되는 출력내용을 상기 메모리C에 저장하고, 상기 입력부C를 통해 인에이블 신호가 입력되면 상기 메모리C에 저장된 출력내용을 상기 출력부C를 통해 출력되도록 제어하는 제어부C;를 포함할 수 있다.In addition, the output block, the operation unit C for receiving a storage command; A sensor unit C for receiving output contents; A memory C for storing output contents input through the sensor unit C; An input unit C receiving an enable signal from the input block side; An output unit C for outputting the output content; And when a storage command is input through the operation unit C, the output contents inputted through the sensor unit C are stored in the memory C, and when an enable signal is input through the input unit C, the output contents stored in the memory C are output. It may include a; control unit C for controlling to be output through the unit C.

또, 상기 입력블록 및 출력블록과 결합되며, 복수의 입력블록으로부터 입력되는 인에이블 신호를 논리 연산하여 상기 출력블록 측으로 논리 연산 결과를 출력하는 논리블록;을 더 포함할 수 있다.In addition, a logic block that is combined with the input block and the output block, performs a logic operation on an enable signal input from a plurality of input blocks, and outputs a logic operation result to the output block.

본 발명에 따른 스마트 코딩블록은 입력블록, 논리블록 및 출력블록들을 적절하게 결합하여 입력에 따른 출력의 흐름, 논리 연산 등의 알고리즘을 놀이의 과정으로 흥미롭게 학습할 수가 있다.In the smart coding block according to the present invention, an input block, a logical block, and an output block are appropriately combined, so that algorithms such as an output flow and a logical operation according to an input can be learned interestingly as a process of play.

특히 각각의 블록들은 물리적, 전기적 결합이 동시에 이루어지는 커넥터를 통해 결합될 수 있기 때문에 블록 조립 과정만으로 신호 전송을 위한 연결 과정도 함께 이루어져 통신 설정 등의 복잡한 작업을 하지 않아도 된다.In particular, since each block can be combined through a connector in which physical and electrical connections are made at the same time, a connection process for signal transmission is also performed by only the block assembly process, so that complicated tasks such as communication setup are not required.

또한 미리 설정된 동작기준을 반드시 입력해야 할 필요 없이 사용자가 동작기준을 스스로 다시 설정할 수가 있고, 출력블록이 재현해야 하는 동작 역시 다양한 형태로 변형하여 저장해 놓을 수 있기 때문에, 적은 개수의 블록들만 구비하더라도 다양한 형태의 창작물을 만들어 흥미로운 코딩 학습을 지속할 수가 있다.In addition, since the user can set the operation standard again without having to input the preset operation standard, and the operation that the output block needs to reproduce can also be transformed and stored in various forms, various You can continue to learn interesting coding by creating forms of creation.

도1은 본 발명의 실시예에 따른 동작기준 및 출력내용 설정이 가능한 스마트 코딩블록을 설명하기 위한 도면.
도2는 도1에 도시된 스마트 코딩블록에서 입력블록을 설명하기 위한 블록도.
도3은 도1에 도시된 스마트 코딩블록에서 논리블록을 설명하기 위한 블록도.
도4는 도1에 도시된 스마트 코딩블록에서 출력블록을 설명하기 위한 블록도.
도5는 도1에 도시된 스마트 코딩블록에서 입력블록에 동작기준을 설정하는 방법을 설명하기 위한 흐름도.
도6은 도1에 도시된 스마트 코딩블록에서 출력블록에 출력내용을 설정하는 방법을 설명하기 위한 흐름도.
도7은 도1에 도시된 스마트 코딩블록의 동작 과정을 설명하기 위한 흐름도.
도8은 도1에 도시된 스마트 코딩블록의 조립 예시를 설명하기 위한 개념도.
도9는 도1에 도시된 스마트 코딩블록의 다른 조립 예시를 설명하기 위한 개념도.
도10 내지 도12는 본 발명의 다른 실시예에 따른 스마트 코딩블록을 설명하기 위한 개념도.
1 is a diagram for explaining a smart coding block capable of setting operation criteria and output contents according to an embodiment of the present invention.
FIG. 2 is a block diagram for explaining an input block in the smart coding block shown in FIG. 1;
3 is a block diagram for explaining a logical block in the smart coding block shown in FIG. 1;
4 is a block diagram illustrating an output block in the smart coding block shown in FIG. 1;
5 is a flow chart illustrating a method of setting an operation criterion for an input block in the smart coding block shown in FIG. 1;
FIG. 6 is a flow chart for explaining a method of setting output contents to an output block in the smart coding block shown in FIG. 1;
7 is a flowchart illustrating an operation process of the smart coding block shown in FIG. 1;
8 is a conceptual diagram for explaining an assembly example of the smart coding block shown in FIG.
9 is a conceptual diagram for explaining another assembly example of the smart coding block shown in FIG.
10 to 12 are conceptual diagrams for explaining a smart coding block according to another embodiment of the present invention.

이하에서는 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 설명한다. 다만 발명의 요지와 무관한 일부 구성은 생략 또는 압축할 것이나, 생략된 구성이라고 하여 반드시 본 발명에서 필요가 없는 구성은 아니며, 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에 의해 결합되어 사용될 수 있다.Hereinafter, preferred embodiments of the present invention will be described with reference to the accompanying drawings. However, some configurations irrelevant to the gist of the invention will be omitted or compressed, but the omitted configuration is not necessarily a configuration unnecessary in the present invention, and will be combined and used by a person having ordinary knowledge in the technical field to which the present invention belongs. I can.

도1은 본 발명의 실시예에 따른 동작기준 및 출력내용 설정이 가능한 스마트 코딩블록을 설명하기 위한 도면이다. 도1에 도시된 바와 같이 본 발명의 실시예에 따른 스마트 코딩블록은 입력블록(100), 논리블록(200) 및 출력블록(300)을 포함한다.1 is a diagram for explaining a smart coding block capable of setting an operation criterion and output content according to an embodiment of the present invention. As shown in FIG. 1, a smart coding block according to an embodiment of the present invention includes an input block 100, a logic block 200, and an output block 300.

입력블록(100)은 사용자의 조작명령을 입력 받거나, 특정 센싱값이 측정되었을 시 인에이블 신호(Enable, 예컨대 논리 'high' 또는 '1'을 말하며, 이하에서는 혼용하여 사용토록 한다)를 출력하는 블록을 말한다. 입력블록(100)에서 출력되는 인에이블 신호는 논리블록(200) 또는 출력블록(300)에 전달되어 특정 출력블록(300)이 미리 저장된 출력정보를 출력할 수 있도록 한다.The input block 100 outputs an enable signal (Enable, for example, a logic'high' or '1', which is used in combination below) when a user's operation command is input or a specific sensing value is measured. Say block. The enable signal output from the input block 100 is transmitted to the logic block 200 or the output block 300 so that the specific output block 300 can output pre-stored output information.

논리블록(200)은 복수개의 입력부B(240)를 통해 입력되는 값을 설정된 바에 따라 논리 연산하여 복수의 출력부B(250)를 통해 출력하는 블록이다. 이러한 논리블록(200)을 이용하면 출력블록(300)이 단순한 온 오프 명령에 따라 동작하는 것이 아니라, 하나 이상의 입력블록(100)의 상태에 따라 동작할 수 있다.The logic block 200 is a block that performs a logical operation on values input through the plurality of input units B 240 according to a set value, and outputs the values through the plurality of output units B 250. When the logical block 200 is used, the output block 300 may not operate according to a simple ON/OFF command, but may operate according to the state of one or more input blocks 100.

출력블록(300)은 입력블록(100) 또는 논리블록(200)의 출력에 따라 설정된 동작을 수행하는 블록이다. 예컨대 출력블록(300)은 출력부C(370)로써 모터가 탑재될 수 있으며, 입력블록(100)이나 논리블록(200)으로부터 인에이블 신호가 입력되면 사용자가 미리 저장한 동작을 그대로 재생시킬 수 있다.The output block 300 is a block that performs a set operation according to the output of the input block 100 or the logic block 200. For example, the output block 300 may be equipped with a motor as the output unit C 370, and when an enable signal is input from the input block 100 or the logic block 200, the user can reproduce the previously stored operation as it is. have.

입력블록(100), 논리블록(200) 및 출력블록(300)들은 서로 물리적 결합과 전기적 접속이 가능한 형태로 제작되며, 복수의 블록들을 적절하게 조립하여 환경 변화에 따라 정해진 동작을 수행하도록 할 수 있고, 이를 통해 논리 언어를 이해하고 자연스럽게 코딩 학습을 할 수가 있다. 특히 본 발명에 따른 스마트 코딩블록에서는 각 블록들이 정해진 동작기준에 따라 정해진 출력내용을 출력하는 것이 아니라, 사용자가 자유롭게 동작기준과 출력내용을 바꾸어 설정할 수가 있다.The input block 100, the logic block 200, and the output block 300 are manufactured in a form that can be physically coupled and electrically connected to each other, and a plurality of blocks can be properly assembled to perform a predetermined operation according to environmental changes. And through this, you can understand logical language and learn to code naturally. In particular, in the smart coding block according to the present invention, each block does not output output contents determined according to a predetermined operation standard, but a user can freely change and set the operation standard and output contents.

이하에서는 도2 내지 도4를 통해 입력블록(100), 논리블록(200) 및 출력블록(300)의 상세한 기능 구성을 설명토록 한다. 또한 이하의 설명에서 각 구성 명칭 뒤에 병기된 'A', 'B', 'C', 'D', 'E'는 각각 입력블록(100), 논리블록(200), 출력블록(300), 무선블록(400) 및 AI블록(500)에 포함된 구성을 구분하기 위해 표기한 식별자일 뿐 특별한 의미를 갖지는 아니한다.Hereinafter, detailed functional configurations of the input block 100, the logic block 200, and the output block 300 will be described with reference to FIGS. 2 to 4. In addition, in the following description,'A','B','C','D', and'E' added after each component name are respectively input block 100, logical block 200, output block 300, It is an identifier marked to distinguish the components included in the radio block 400 and the AI block 500, and does not have a special meaning.

도2는 도1에 도시된 스마트 코딩블록에서 입력블록을 설명하기 위한 블록도이다. 도2에 도시된 바와 같이 입력블록(100)은 본체A(110), 센서부A(120), 조작부A(130), 제어부A(140), 메모리A(150) 및 출력부A(160)를 포함한다.2 is a block diagram illustrating an input block in the smart coding block shown in FIG. 1. As shown in Fig. 2, the input block 100 includes a main body A 110, a sensor unit A 120, an operation unit A 130, a control unit A 140, a memory A 150, and an output unit A 160. Includes.

본체A(110)는 입력블록(100)의 외관을 형성하고 다른 구성을 보호하는 구성으로 통상의 블록 형태로 제작될 수 있다.The main body A 110 forms the exterior of the input block 100 and protects other components, and may be manufactured in a conventional block shape.

센서부A(120)는 환경 변화에 따른 물리값을 측정하고, 측정된 물리값을 전기적 신호(전압)로 변환하여 출력하는 구성이다. 이러한 센서부A(120)는 예컨대 광센서, 거리센서, 음압센서 등이 될 수 있으며, 이 외에도 환경변화에 따른 다양한 물리값을 측정하는 센서가 적용될 수 있다.The sensor unit A 120 is a component that measures a physical value according to environmental changes, converts the measured physical value into an electrical signal (voltage), and outputs it. The sensor unit A 120 may be, for example, an optical sensor, a distance sensor, a sound pressure sensor, etc. In addition, a sensor for measuring various physical values according to environmental changes may be applied.

조작부A(130)는 사용자의 명령을 입력받기 위한 구성으로 버튼, 다이얼, 터치패드, 스위치 등 다양한 형태로 제작될 수 있다. 또한 조작부A(130)는 동작기준 설정을 위해 기준입력버튼A(131)와 동작설정버튼A(132)를 포함한다.The operation unit A 130 is a configuration for receiving a user's command and may be manufactured in various forms such as buttons, dials, touch pads, and switches. In addition, the operation unit A 130 includes a reference input button A 131 and an operation setting button A 132 for setting an operation standard.

기준입력버튼A(131)는 사용자가 동작기준을 재설정하기 위한 명령을 입력하기 위한 버튼이다.The reference input button A 131 is a button for the user to input a command for resetting the operation standard.

동작설정버튼A(132)는 설정된 동작기준에 따라 인에이블 신호가 출력되는 방식을 사용자가 직접 선택할 수 있도록 사용자의 명령을 입력받는 버튼이다. 예컨대 동작기준이 특정 값이라면, 정확하게 센서부A(120)를 통해 동작기준에 대한 값이 재측정 되었을 때, 또는 저장된 동작기준보다 크거나 작은 값이 센서부A(120)를 통해 재측정 되었을 때 인에이블 신호가 출력되도록 설정할 수 있다. 반면 동작기준이 특정 범위라면, 이후 측정되는 값이 동작기준의 범위 내에서 또는 범위 밖에서 인에이블 신호가 출력되도록 동작설정버튼A(132)를 통해 선택할 수가 있다.The operation setting button A 132 is a button that receives a user's command so that the user can directly select a method of outputting an enable signal according to a set operation standard. For example, if the operation standard is a specific value, when the value for the operation standard is accurately re-measured through the sensor unit A 120, or when a value larger or smaller than the stored operation standard is re-measured through the sensor unit A 120 It can be set to output an enable signal. On the other hand, if the operation reference is within a specific range, the value to be measured may be selected through the operation setting button A 132 so that the enable signal is output within or outside the range of the operation reference.

제어부A(140)는 기준입력버튼A(131)가 활성화된 상태에서 센서부A(120)에서 측정된 입력값을 메모리A(150)에 동작기준으로 저장하고, 기준입력버튼A(131)가 비활성화 된 상태에서는 센서부A(120)에서 측정된 측정값을 메모리에 저장된 동작기준와 비교한 후 동작설정버튼A(132)를 통해 설정한 바에 따라 인에이블 신호가 출력부A(160)를 통해 출력되도록 한다.The control unit A 140 stores the input value measured by the sensor unit A 120 as an operation standard in the memory A 150 with the reference input button A 131 activated, and the reference input button A 131 In the deactivated state, the measured value measured by the sensor unit A (120) is compared with the operation reference stored in the memory, and the enable signal is output through the output unit A (160) according to the setting through the operation setting button A (132). Make it possible.

이러한 제어부A(140)는 센서부A(120)에서 물리값을 측정한 후 이에 대응하여 소정의 전압을 출력하면 이를 디지털 변환하고, 기준입력버튼A(131)가 활성화 상태라면 센서부A(120)를 통해 측정되어 디지털 변환된 정보를 동작기준으로써 메모리A(150)에 저장한다. 반면 제어부A(140)는 기준입력버튼A(131)가 비활성화 상태라면 센서부A(120)를 통해 측정되어 디지털 변환된 측정정보를 메모리A(150)에 저장된 동작기준과 비교한 후, 동작설정버튼A(132)의 설정 상태에 따라 인에이블 신호를 출력한다.The controller A 140 measures a physical value in the sensor unit A 120 and converts it digitally when a predetermined voltage is output in response thereto. If the reference input button A 131 is activated, the sensor unit A 120 ) And stores the digitally converted information in the memory A 150 as an operation reference. On the other hand, if the reference input button A (131) is in an inactive state, the control unit A (140) compares the measurement information measured and digitally converted through the sensor unit A (120) with the operation reference stored in the memory A (150), and then sets the operation. The enable signal is output according to the setting state of button A 132.

메모리A(150)는 제어부A(140)의 제어에 따라 동작기준를 저장하기 위해 마련된다. 만약 기준입력버튼A(131)의 활성화를 통한 동작기준 설정 과정이 없다면 메모리A(150)에는 제품 출고시 설정된 동작기준이 저장된 상태를 유지한다.The memory A 150 is provided to store an operation standard under the control of the controller A 140. If there is no operation standard setting process through activation of the reference input button A 131, the memory A 150 maintains a state in which the operation standard set at the time of product shipment is stored.

출력부A(160)는 제어부A(140)의 제어에 따라 인에이블 신호가 출력되는 단자를 말한다. 이러한 출력부A(160)는 논리블록(200)이나 출력블록(300)의 입력부(240,360)가 물리적으로 결합될 수 있는 형태의 커넥터 형태로 제작된다. 즉 출력부A(160)와 입력부(240,360)가 결합되면 블록들(100,200,300) 간의 물리적인 결합이 이루어짐과 동시에, 전기적 접속도 함께 이루어진다. 실시하기에 따라 커넥터 형태의 출력부A(160) 또는 입력부(240,360)는 블록들(100,200,300)이 서로 결합된 상태에서 상대 회전 가능한 구조로 제작될 수도 있다. 물론 논리블록(200)의 출력부B(250) 역시 같은 방식으로 물리적, 전기적 결합이 이루어짐과 동시에 상대 회전이 가능한 형태의 커넥터가 적용될 수 있다.The output unit A 160 refers to a terminal through which an enable signal is output under the control of the controller A 140. The output unit A 160 is manufactured in a connector shape in which the input units 240 and 360 of the logic block 200 or the output block 300 can be physically coupled. That is, when the output unit A 160 and the input units 240 and 360 are coupled, physical coupling between the blocks 100, 200 and 300 is achieved, and electrical connection is also made. Depending on implementation, the connector-shaped output unit A 160 or the input unit 240 and 360 may be manufactured in a structure capable of relative rotation while the blocks 100, 200 and 300 are coupled to each other. Of course, the output unit B 250 of the logic block 200 may also be physically and electrically coupled in the same manner, and a connector capable of relative rotation may be applied.

또한 출력부(160,250)나 입력부(240,360)는 소켓 형태로 제작될 수도 있고, 이에 대응하는 접속잭을 갖는 연결케이블(미도시)이 출력부(160,250)와 입력부(240,360) 사이를 연결하여 전기적 연결이 이루어지도록 할 수도 있다.In addition, the output units 160 and 250 or the input units 240 and 360 may be manufactured in the form of a socket, and a connection cable (not shown) having a connection jack corresponding thereto connects the output units 160 and 250 and the input units 240 and 360 for electrical connection. You can also let this happen.

도3은 도1에 도시된 스마트 코딩블록에서 논리블록을 설명하기 위한 블록도이다. 도3에 도시된 바와 같이 논리블록(200)은 본체B(210), 조작부B(220), 표시부B(230), 입력부B(240), 출력부B(250) 및 제어부B(260)를 포함한다.3 is a block diagram illustrating a logical block in the smart coding block shown in FIG. 1. As shown in FIG. 3, the logic block 200 includes a main body B 210, an operation part B 220, a display part B 230, an input part B 240, an output part B 250, and a control part B 260. Include.

본체B(210)는 논리블록(200)의 외관을 형성하고 다른 구성을 보호하는 구성으로 블록 형태로 제작된다.The main body B 210 forms the exterior of the logic block 200 and is manufactured in a block shape to protect other components.

조작부B(220)는 사용자 명령을 입력 받는 구성이다. 이러한 조작부B(220)는 논리선택버튼B(221) 및 출력반전버튼B(222)를 포함한다.The operation unit B 220 is a component that receives a user command. The operation unit B 220 includes a logic selection button B 221 and an output inversion button B 222.

논리선택버튼B(221)는 논리블록(200)이 어떠한 논리 연산을 수행토록 하는지 사용자가 입력할 수 있도록 하는 입력수단이다. 이러한 논리선택버튼B(221)는 버튼 형태로 제작될 수도 있고, 스위치나 다이얼 형태로 제작될 수도 있다. 즉 사용자는 논리선택버튼의 조작을 통해 논리블록(200)이 AND 게이트, OR 게이트, NOT 게이트, NAD 게이트, NOR 게이트, XAND 게이트, XOR 게이트 중 어느 하나로 작동되도록 설정할 수 있다.The logic selection button B 221 is an input means for allowing a user to input which logic operation the logic block 200 is to perform. The logic selection button B 221 may be manufactured in the form of a button, or may be manufactured in the form of a switch or dial. That is, the user can set the logic block 200 to operate as one of an AND gate, an OR gate, a NOT gate, a NAD gate, a NOR gate, an XAND gate, and an XOR gate through manipulation of the logic selection button.

출력반전버튼B(222)는 출력부B(250) 인근에 설치되며, 해당 출력부B(250)의 출력값을 반전시켜 출력되도록 하기 위해 마련된다. 예컨대 논리블록(200)이 AND 게이트로 작동하고 있을 때, 입력부B(240)의 입력이 모두 1(High, 즉 입력블록(100)의 출력부A(160)에서 인에이블 신호가 출력되어 논리블록(200)의 입력부B(240)로 입력되는 경우를 말함)일 경우 출력부B(250)에서 출력되는 값은 모두 1인 것이 정상이지만, 출력반전버튼B(222)가 눌러진 출력부B(250)의 경우에는 반전된 값, 즉 0(low, 설정된 낮은 전압)이 출력되도록 할 수 있다.The output inversion button B 222 is installed near the output unit B 250 and is provided to invert the output value of the output unit B 250 to be output. For example, when the logic block 200 is operating as an AND gate, all inputs of the input unit B 240 are 1 (High, that is, an enable signal is output from the output unit A 160 of the input block 100 and thus the logical block In the case of (200) input to the input unit B (240)), it is normal that all values output from the output unit B (250) are 1, but the output unit B ( In the case of 250), an inverted value, that is, 0 (low, a set low voltage) can be output.

표시부B(230)는 논리선택버튼B(221)의 입력에 따라 현재 설정된 연산 기준이 무엇인지, 즉 논리블록(200)이 다양한 논리소자 중 어떤 논리소자의 기능을 수행하는지 표시하기 위한 수단이다. 이러한 표시부B(230)는 본체B(210) 일부분에 설치되는 디스플레이 형태로 제작될 수 있고, 논리선택버튼B(221) 내에 탑재된 LED램프로 구현될 수도 있다. 즉, 논리선택버튼B(221)를 한번 누르면 논리선택버튼B(221)에 붉은색 램프가 들어와 AND 게이트 상태임을 알리고, 한번 더 누르면 푸른색 램프가 들어와 OR 게이트 상태임을 알려 표시부B(230)의 기능을 수행토록 하는 것이다.The display unit B 230 is a means for indicating what operation standard is currently set according to the input of the logic selection button B 221, that is, which logic element among various logical elements performs the function of the logical block 200. The display unit B 230 may be manufactured in the form of a display installed on a portion of the main body B 210, or may be implemented as an LED lamp mounted in the logic selection button B 221. In other words, when the logic selection button B (221) is pressed once, a red lamp enters the logic selection button B (221) to indicate that the AND gate is in the state, and when the logic selection button B (221) is pressed again, a blue lamp is turned on to indicate that the OR gate is in the state of the display unit B (230). It is to perform a function.

입력부B(240)는 본체B(210)의 일측으로 복수개 마련되며, 입력블록(100)의 출력부A(160)가 연결된다. 입력부B(240)는 출력부A(160)와 물리적으로 결합되는 커넥터 형태로 제작되며, 동시에 전기적 신호를 입력받을 수 있는 단자 기능도 수행한다.A plurality of input units B 240 are provided on one side of the main body B 210, and an output unit A 160 of the input block 100 is connected. The input unit B 240 is manufactured in the form of a connector that is physically coupled to the output unit A 160 and at the same time performs a terminal function for receiving an electrical signal.

출력부B(250)는 본체B(210)의 타측으로 복수개 마련되어 있으며, 제어부B(260)의 논리 연산 결과가 출력되는 단자이다. 출력부B(250)에는 타 논리블록(200)의 입력부B(240)가 연결되거나 출력블록(300)의 입력부C(360)가 연결될 수 있다. 출력부B(250) 역시 입력부B(240)와 마찬가지로 물리적 결합과 전기적 접속이 동시에 이루어지는 커넥터 형태로 제작될 수 있다.The output unit B 250 is provided on the other side of the main body B 210 and is a terminal through which the result of the logic operation of the control unit B 260 is output. The input unit B 240 of the other logic block 200 may be connected to the output unit B 250 or the input unit C 360 of the output block 300 may be connected. The output unit B 250 may also be manufactured in the form of a connector in which physical coupling and electrical connection are simultaneously performed like the input unit B 240.

제어부B(260)는 입력부B(240)를 통해 입력되는 값을 이용해 논리 연산을 수행하여 출력부B(250)로 논리 연산 결과 값(1 또는 0, high 또는 low)을 출력하기 위해 마련된다. 이러한 제어부B(260)는 표시부제어수단B(261), 논리설정수단B(262), 연산수단B(263), 입력제어수단B(264) 및 출력제어수단B(265)를 포함한다.The control unit B 260 is provided to perform a logic operation using a value input through the input unit B 240 and output a logic operation result value (1 or 0, high or low) to the output unit B 250. The control unit B 260 includes a display unit control unit B 261, a logic setting unit B 262, an operation unit B 263, an input control unit B 264, and an output control unit B 265.

표시부제어수단B(261)는 논리선택버튼B(221)의 입력에 따라 연산수단B(263)의 논리 연산 기준이 무엇인지 알릴 수 있도록 표시부B(230)를 제어하기 위해 마련된다. 예컨대 논리선택버튼B(221)를 한번 눌러 연산수단B(263)가 AND 게이트의 기능을 수행토록 설정되었다면, 표시부제어수단B(261)는 논리선택버튼B(221)에 붉은색 램프가 발광되도록 하여 AND 게이트임을 알리도록 하거나, 디스플레이 형태의 표시부B(230)에 AND라는 문자가 출력되도록 처리한다.The display unit control means B (261) is provided to control the display unit B (230) so as to inform what the logical calculation standard of the calculation means B (263) is according to the input of the logic selection button B (221). For example, if the logic selection button B (221) is pressed once and the calculation means B (263) is set to perform the function of the AND gate, the display unit control means B (261) causes the logic selection button B (221) to emit a red lamp. Thus, the AND gate is notified or the character AND is output to the display unit B 230 in the form of a display.

논리설정수단B(262)는 논리선택버튼B(221)의 입력에 따라 연산수단B(263)의 논리 연산 기준을 설정 또는 재설정하기 위해 마련된다. 예컨대 사용자가 논리블록(200)을 AND 게이트로 사용하기 위해 논리선택버튼B(221)를 한번 눌렀다면, 논리설정수단B(262)는 연산수단B(263)가 AND 연산을 수행하도록 세팅하고, 사용자가 OR 게이트로 사용하기 위해 논리선택버튼B(221)를 한번 더 눌렀다면, 논리설정수단B(262)는 연산수단B(263)가 OR 연산을 수행하도록 재설정하는 것이다.The logic setting means B (262) is provided to set or reset the logic calculation standard of the calculation means B (263) according to the input of the logic selection button B (221). For example, if the user presses the logic selection button B 221 once to use the logic block 200 as an AND gate, the logic setting means B 262 sets the calculation means B 263 to perform an AND operation, If the user presses the logic selection button B (221) once more to use it as an OR gate, the logic setting means B (262) resets the calculation means B (263) to perform an OR operation.

연산수단B(263)는 입력부B(240)를 통해 입력되는 값을 이용하여 논리설정수단B(262)에 의해 설정된 기준에 따라 연산을 수행하여 결과값을 출력하기 위해 마련된다. 즉 연산수단B(263)가 실질적인 논리소자 역할을 수행하는 것인데, 이는 기존의 반도체 칩 형태로 특정 기능이 고정되는 것이 아니라, 미리 세팅된 프로그램에 따라 동작하는 것이며, 논리선택버튼B(221)의 조작에 의해 연산 기능이 바뀌는 것이다.The calculation means B 263 is provided to output a result value by performing an operation according to a criterion set by the logic setting means B 262 using a value input through the input unit B 240. That is, the operation means B (263) performs a practical role of a logic element, which is not fixed in the form of an existing semiconductor chip, but operates according to a preset program, and the logic selection button B (221) The operation function changes the operation function.

입력제어수단B(264)는 입력부B(240)를 통해 입력되는 각각의 입력값을 연산수단B(263)로 입력시키기 위해 마련된다. 이때 입력제어수단B(264)는 입력부B(240)의 연결 유무를 확인한 후 연결이 없을 경우 해당 입력부B(240)의 값은 연산수단B(263)에 입력되지 않도록 하거나, 연산수단B(263)각 현재 설정된 논리 기준에 따라 특정 입력값이 자동 입력되도록 처리하여, 아무런 연결이 없는 연결부B는 논리 연산 결과에 영향을 끼치지 않도록 한다.The input control means B (264) is provided to input each input value input through the input unit B (240) to the calculation means B (263). At this time, the input control means B (264) checks whether the input section B (240) is connected, and if there is no connection, the value of the input section B (240) is not input to the calculation means B (263), or the calculation means B (263). ) A specific input value is automatically input according to each currently set logic criterion, so that connection B without any connection does not affect the logic operation result.

출력제어수단B(265)는 연산수단B(263)에서 출력되는 결과 값을 출력부B(250)를 통해 출력되도록 처리하되, 출력반전버튼B(222)의 입력이 있을 경우, 출력반전버튼B(222)의 입력이 발생한 출력부B(250)의 출력값은 반전시켜 출력 처리한다.The output control means B (265) processes the result value output from the calculation means B (263) to be output through the output section B (250), but when there is an input of the output inversion button B (222), the output inversion button B The output value of the output unit B 250 in which the input of 222 is generated is inverted and output is processed.

예컨대 논리선택버튼B(221)의 입력에 의해 연산수단B(263)가 OR 게이트로 설정되었고, 2개의 출력부B(250) 중 두 번째 출력부B(250)에 대응하는 출력반전버튼B(222)가 눌러진 상태라면, 입력부B(240) 중 어느 하나에서 1이 입력될 경우 연산수단B(263)의 연산 결과인 1의 결과 값을 출력제어수단B(265)가 출력부B(250)로 출력시키되, 첫 번째 출력부B(250)에는 1의 결과 값이 출력되도록 하고, 두 번째 출력부B(250)에는 0의 결과값이 출력되도록 처리한다. 이 경우 즉 첫 번째 출력부B(250)는 OR 게이트로 작동하는 것이고, 두 번째 출력부B(250)는 NOR 게이트로 작동하는 것이다.For example, by the input of the logic selection button B (221), the calculation means B (263) is set as an OR gate, and the output inversion button B corresponding to the second output section B (250) of the two output sections B (250) ( If 222) is in the pressed state, when 1 is input from any one of the input units B 240, the output control unit B 265 outputs the result value of 1, which is the operation result of the operation unit B 263, to the output unit B 250 ), but a result value of 1 is output to the first output unit B (250), and a result value of 0 is output to the second output unit B (250). In this case, that is, the first output unit B 250 operates as an OR gate, and the second output unit B 250 operates as a NOR gate.

또한 출력제어수단B(265)는 입력제어수단B(264)와 마찬가지로 출력부B(250)의 출력블록(300) 연결 유무를 확인하여 연결된 출력블록(300)을 인식하고, 연결이 없을 경우 해당 출력부B(250) 측으로는 결과값이 출력되지 않도록 처리할 수도 있다.In addition, the output control means B (265), like the input control means B (264), checks whether the output block 300 of the output unit B (250) is connected to recognize the connected output block (300). It may be processed so that the result value is not output to the output unit B 250.

도4는 도1에 도시된 스마트 코딩블록에서 출력블록을 설명하기 위한 블록도이다. 도4에 도시된 바와 같이 출력블록(300)은 본체C(310), 조작부C(320), 센서부C(330), 제어부C(340), 메모리C(350), 입력부C(360) 및 출력부C(370)를 포함한다.4 is a block diagram illustrating an output block in the smart coding block shown in FIG. 1. As shown in Fig. 4, the output block 300 includes a main body C 310, an operation unit C 320, a sensor unit C 330, a control unit C 340, a memory C 350, an input unit C 360, and It includes an output unit C (370).

본체C(310)는 출력블록(300)의 외관을 형성하며, 출력블록(300)의 다른 구성들을 실장하기 위해 마련된다.The main body C 310 forms the exterior of the output block 300 and is provided to mount other components of the output block 300.

조작부C(320)는 사용자의 명령을 입력받기 위한 것으로 버튼, 스위치, 터치패드 형태로 구현될 수 있다.The operation unit C 320 is for receiving a user's command and may be implemented in the form of a button, a switch, or a touch pad.

센서부C(330)는 입력부C(360)를 통해 인에이블 신호가 입력되었을 시, 출력부C(370)를 통해 출력해야 할 출력내용을 입력받는 구성이다. 예컨대 출력부C(370)가 바퀴나 그립부를 동작시키는 모터일 경우, 센서부C(330)는 엔코더센서 일 수 있으며, 외력에 의해 모터가 회전되면, 모터의 회전수를 측정하고 그에 따른 기록용 센싱값을 출력할 수 있다.When an enable signal is input through the input unit C (360), the sensor unit C (330) receives output contents to be output through the output unit C (370). For example, when the output unit C 370 is a motor that operates a wheel or a grip unit, the sensor unit C 330 may be an encoder sensor. When the motor is rotated by an external force, the number of rotations of the motor is measured and recorded accordingly. The sensing value can be output.

다른 예시로 출력부C(370)가 다양한 색상의 빛을 발광시키는 발광수단이라면, 센서부C(330)는 특정 색상의 빛을 인식하는 광센서일 수 있다. 또한 출력부C(370)가 음원을 출력하는 스피커라면, 센서부C(330)는 소리를 입력받는 마이크 등의 음압센서일 수 있다. 또 출력부C(370)가 특정 영상을 출력하는 디스플레이라면 센서부C(330)는 디스플레이를 통해 출력할 영상을 촬영하는 카메라일 수 있다.As another example, if the output unit C 370 is a light emitting means emitting light of various colors, the sensor unit C 330 may be an optical sensor that recognizes light of a specific color. In addition, if the output unit C 370 is a speaker that outputs a sound source, the sensor unit C 330 may be a sound pressure sensor such as a microphone that receives sound. In addition, if the output unit C 370 is a display that outputs a specific image, the sensor unit C 330 may be a camera that photographs an image to be output through the display.

한편 출력부C(370)는 숫자를 표시하는 세븐세그먼트 등의 소자일 수도 있다. 이 경우에는 별도의 센서부C(330)가 구비되지 아니하고 조작부C(320)를 통해 세븐세그먼트에 표시될 숫자를 입력할 수 있다.Meanwhile, the output unit C 370 may be a device such as a seven segment that displays numbers. In this case, a separate sensor unit C 330 is not provided, and a number to be displayed on the seven segment may be input through the operation unit C 320.

제어부C(340)는 조작부C(320)를 통해 입력되는 출력내용 또는 센서부C(330)를 통해 인식되는 출력내용을 메모리C(350)에 저장하거나, 입력부C(360)를 통해 인에이블 신호(1, high)가 입력되면 메모리C(350)에 저장된 출력내용을 로딩하여 출력부C(370)를 통해 출력되도록 처리하기 위해 마련된다. 실시하기에 따라 제어부C(340)는 조작부C(320) 또는 센서부C(330)를 통해 획득한 조작 명령이나 기록용 센싱값을 출력부C(370)를 제어하기 위한 제어신호로 변환(컨버팅)하여 메모리C(350)에 저장할 수 있다.The control unit C 340 stores the output content input through the operation unit C 320 or the output content recognized through the sensor unit C 330 in the memory C 350, or an enable signal through the input unit C 360. When (1, high) is input, it is provided to load the output contents stored in the memory C (350) and output through the output unit C (370). Depending on the implementation, the control unit C 340 converts the operation command or recording sensing value obtained through the operation unit C 320 or the sensor unit C 330 into a control signal for controlling the output unit C 370 (converting ) To be stored in the memory C 350.

메모리C(350)는 조작부C(320) 또는 센서부C(330)에서 출력되어 제어부C(340)에서 변환된 제어신호 등의 출력내용을 저장하거나, 센서부C(330)를 통해 획득한 출력내용 자체를 저장하거나, 제어부C(340)의 제어에 따라 저장된 제어신호나 출력내용을 출력부C(370) 측으로 전달하기 위해 마련된다.The memory C 350 stores output contents such as a control signal output from the operation unit C 320 or the sensor unit C 330 and converted by the control unit C 340, or output obtained through the sensor unit C 330 It is provided to store the content itself or to transmit the stored control signal or output content to the output unit C (370) under the control of the controller C (340).

입력부C(360)는 입력블록(100) 또는 논리블록(200)의 출력부(160,250)가 연결되어 인에이블 신호를 입력받기 위해 마련된다. 이러한 입력부C(360)는 물리적, 전기적 접속이 동시에 이루어지는 커넥터 형태로 제작될 수 있다. The input unit C 360 is provided to receive an enable signal by connecting the output units 160 and 250 of the input block 100 or the logic block 200. The input unit C 360 may be manufactured in the form of a connector in which both physical and electrical connections are made.

출력부C(370)는 기 저장된 출력내용을 출력하는 구성이다. 예컨대 출력부C(370)는 바퀴나 그립부를 동작시키는 모터이거나, 다양한 색상의 빛을 발광시키는 발광수단이거나, 음원을 출력하는 스피커이거나, 영상정보를 출력하는 디스플레이이거나, 숫자를 표시하는 세븐세그먼트일 수 있다. 이 외에도 출력부C(370)로는 저장된 컨텐츠를 출력하거나 특정 동작을 수행하는 다양한 동작 재생 수단이 적용될 수 있다.The output unit C 370 is a component that outputs previously stored output contents. For example, the output unit C 370 is a motor that operates a wheel or a grip unit, a light emitting means that emits light of various colors, a speaker that outputs a sound source, a display that outputs image information, or a seven segment that displays a number. I can. In addition, various operation reproducing means for outputting stored content or performing a specific operation may be applied to the output unit C 370.

한편 도1에서는 도시하지 않았지만, 본 발명의 실시예에 따른 스마트 코딩블록은 입력블록(100)이나 논리블록(200)의 출력부(160,250)에 연결되어 인에이블 신호의 출력에 따라 원격에 위치한 IoT 디바이스로 특정 신호를 송출하는 무선블록 등 부가적인 기능 수행을 위한 블록들을 더 포함할 수도 있다.Meanwhile, although not shown in FIG. 1, the smart coding block according to the embodiment of the present invention is connected to the input block 100 or the output units 160 and 250 of the logic block 200 and is remotely located according to the output of the enable signal. Blocks for performing additional functions, such as a radio block for transmitting a specific signal to the device, may be further included.

이하에서는 도5 내지 도9를 통해 도1 내지 도4에 도시된 스마트 코딩블록을 이용하여 동작기준 및 출력내용을 사용자의 의도대로 설정하고 동작 시키는 과정을 설명토록 한다.Hereinafter, a process of setting and operating an operation standard and output content as intended by a user using the smart coding blocks shown in FIGS. 1 to 4 through FIGS. 5 to 9 will be described.

도5는 도1에 도시된 스마트 코딩블록에서 입력블록(100)에 동작기준을 설정하는 방법을 설명하기 위한 흐름도이다.5 is a flowchart illustrating a method of setting an operation criterion for the input block 100 in the smart coding block shown in FIG. 1.

먼저 사용자는 동작기준 설정을 위해 입력블록(100)의 기준입력버튼A(131)를 눌러 활성화 시킨 후 센서부A(120)를 통해 동작기준을 입력<S505>한다. 이후 제어부A(140)는 기준입력버튼A(131)가 활성화된 상태에서 센서부A(120)를 통해 측정되는 동작기준을 메모리A(150)에 저장<S510>함으로써 동작기준 설정을 마친다.First, the user activates the reference input button A (131) of the input block 100 to set the operation reference, and then inputs the operation reference through the sensor unit A (120) <S505>. Thereafter, the control unit A 140 stores the operation reference measured through the sensor unit A 120 in the memory A 150 in a state in which the reference input button A 131 is activated, thereby completing the operation reference setting.

메모리A(150)에 저장되는 동작기준은 사용자의 설정에 따라 수시로 업데이트되는 정보인데, 동작기준을 설정하는 작업을 한번도 수행하지 않았다면, 메모리A(150)에 저장되는 동작기준은 제품 출고시 최초로 설정되어 계속 유지되는 정보일 것이다. 기준입력버튼A(131)의 활성화에 따라 센서부A(120)에서 측정되어 메모리A(150)에 저장되는 동작기준 정보를 다양한 예시로 설명하면 다음과 같다.The operation standard stored in the memory A 150 is information that is updated from time to time according to the user's setting. If the operation for setting the operation standard has not been performed, the operation standard stored in the memory A 150 is initially set when the product is shipped. It will be the information that will be maintained. The operation reference information measured by the sensor unit A 120 and stored in the memory A 150 according to the activation of the reference input button A 131 will be described in various examples as follows.

입력블록(100)이 특정 밝기의 빛을 인지한 후 인에이블 신호를 출력하는 블록일 경우, 센서부A(120)는 조도센서일 수 있다. 따라서 사용자는 기준입력버튼A(131)를 활성화시킨 상태에서 센서부A(120)로 특정 밝기의 빛을 비춰줄 수 있고, 제어부A(140)는 센서부A(120)에서 측정된 특정 밝기에 대응하는 디지털 값을 메모리A(150)에 저장할 수 있다. 이 경우 기준입력버튼A(131)가 비활성화된 상태에서 센서부A(120)를 통해 해당 밝기의 빛이 다시 비춰지는 것이 확인되면, 제어부A(140)는 출력부A(160)를 통해 인에이블 신호를 출력할 수 있다.When the input block 100 is a block that outputs an enable signal after recognizing light of a specific brightness, the sensor unit A 120 may be an illuminance sensor. Accordingly, the user can illuminate light of a specific brightness to the sensor unit A 120 while activating the reference input button A (131), and the control unit A (140) corresponds to the specific brightness measured by the sensor unit A (120). The corresponding digital value may be stored in the memory A 150. In this case, when it is confirmed that light of the corresponding brightness is again illuminated through the sensor unit A 120 while the reference input button A 131 is deactivated, the control unit A 140 is enabled through the output unit A 160. You can output a signal.

또한 입력블록(100)이 특정 색상의 빛을 인지한 후 인에이블 신호를 출력하는 블록일 경우, 센서부A(120)는 광센서일 수 있다. 따라서 사용자는 기준입력버튼A(131)를 활성화 시킨 상태에서 센서부A(120)로 붉은빛의 광을 조사할 수 있고, 제어부A(140)는 센서부A(120)에서 측정된 붉은 빛의 광에 대응하는 디지털 값을 메모리A(150)에 저장할 수 있다. 이 경우 기준입력버튼A(131)가 비활성화된 상태에서 센서부A(120)를 통해 붉은 광이 비춰지면, 제어부A(140)는 출력부A(160)를 통해 인에이블 신호를 출력할 수 있다.In addition, when the input block 100 is a block that outputs an enable signal after recognizing light of a specific color, the sensor unit A 120 may be an optical sensor. Therefore, the user can irradiate red light to the sensor unit A 120 while activating the reference input button A (131), and the control unit A (140) is the red light measured by the sensor unit A (120). A digital value corresponding to light may be stored in the memory A 150. In this case, when red light is illuminated through the sensor unit A 120 while the reference input button A 131 is deactivated, the control unit A 140 may output an enable signal through the output unit A 160. .

또 센서부A(120)가 거리센서일 경우 기준입력버튼A(131)가 활성화된 상태에서 센서부A(120)를 통해 측정되는 거리 정보에 대응하는 디지털 값이 메모리A(150)에 저장될 수 있다. 이 경우 기준입력버튼A(131)가 비활성화된 상태에서 센서부A(120)를 통해 기 저장된 거리 정보가 다시 측정되면 제어부A(140)가 출력부A(160)를 통해 인에이블 신호를 출력할 수 있다.In addition, when the sensor unit A 120 is a distance sensor, a digital value corresponding to the distance information measured through the sensor unit A 120 when the reference input button A 131 is activated is stored in the memory A 150. I can. In this case, when the previously stored distance information is measured again through the sensor unit A 120 while the reference input button A 131 is deactivated, the control unit A 140 may output an enable signal through the output unit A 160. I can.

또 센서부A(120)가 마이크 등의 음압센서일 경우 기준입력버튼A(131)가 활성화된 상태에서 센서부A(120)를 통해 측정되는 음성정보에 대응하는 디지털 값이 메모리A(150)에 저장될 수 있다. 이 경우 기준입력버튼A(131)가 비활성화된 상태에서 센서부A(120)를 통해 기 저장된 음성정보가 다시 측정되면 제어부A(140)가 출력부A(160)를 통해 인에이블 신호를 출력할 수 있다.In addition, when the sensor unit A 120 is a sound pressure sensor such as a microphone, the digital value corresponding to the audio information measured through the sensor unit A 120 is stored in the memory A 150 when the reference input button A 131 is activated. Can be stored in. In this case, when the previously stored voice information is measured again through the sensor unit A 120 while the reference input button A 131 is deactivated, the control unit A 140 may output an enable signal through the output unit A 160. I can.

도6은 도1에 도시된 스마트 코딩블록에서 출력블록(300)에 출력내용을 설정하는 방법을 설명하기 위한 흐름도이다.6 is a flowchart for explaining a method of setting output contents in the output block 300 in the smart coding block shown in FIG. 1.

사용자는 입력블록(100)에서 설정한 바에 따라 특정 이벤트가 발생하였을 시 출력블록(300)이 어떻게 동작을 수행할 것인지 설정할 수 있다. 먼저 사용자는 출력블록(300)의 조작부C(320)를 통해 저장명령을 입력<S605>하고, 조작부C(320) 또는 센서부C(330)를 통해 출력내용을 입력<S610>하면, 제어부C(340)는 조작부C(320) 또는 센서부C(330)를 통해 입력되는 출력내용 자체를, 또는 출력내용에 대응하는 제어신호로 변환하여 메모리C(350)에 저장<S615>한다.The user may set how the output block 300 performs an operation when a specific event occurs according to the setting in the input block 100. First, when the user inputs a storage command <S605> through the operation unit C 320 of the output block 300 and inputs the output contents through the operation unit C 320 or the sensor unit C 330 <S610>, the control unit C The 340 converts the output content itself input through the operation unit C 320 or the sensor unit C 330 into a control signal corresponding to the output content and stores it in the memory C 350 <S615>.

예컨대 출력부C(370)가 바퀴나 그립부를 동작시키는 모터일 경우, 센서부C(330)는 엔코더센서 일 수 있으며, 외력을 가하여 바퀴나 그립부를 동작시키면 모터가 회전하게 되고, 센서부C(330)는 모터의 회전수와 회전속도를 측정하고 그에 따른 기록용 센싱값을 출력하게 되며, 제어부C(340)는 센서부C(330)에서 측정되는 기록용 센싱값을 출력내용인 제어신호로 변환하여 메모리C(350)에 저장한다.For example, when the output unit C 370 is a motor that operates a wheel or a grip unit, the sensor unit C 330 may be an encoder sensor, and when an external force is applied to operate the wheel or grip unit, the motor rotates, and the sensor unit C ( 330 measures the rotational speed and rotational speed of the motor and outputs a sensing value for recording accordingly, and the control unit C 340 converts the sensing value for recording measured by the sensor unit C 330 into a control signal as output content. It is converted and stored in the memory C 350.

다른 예시로 출력부C(370)가 다양한 색상의 빛을 발광시키는 발광수단이라면, 센서부C(330)는 특정 색상의 빛을 인식하는 광센서일 수 있고, 제어부C(340)는 센서부C(330)에서 측정되는 특정 색상의 빛에 대응하여 발광수단을 제어하는 제어신호로 변환한 후 메모리C(350)에 저장한다.As another example, if the output unit C 370 is a light emitting means emitting light of various colors, the sensor unit C 330 may be an optical sensor that recognizes light of a specific color, and the control unit C 340 is a sensor unit C. In response to the light of a specific color measured at 330, it is converted into a control signal for controlling the light emitting means, and then stored in the memory C 350.

또한 출력부C(370)가 음원을 출력하는 스피커라면, 센서부C(330)는 소리를 입력받는 마이크 등의 음압센서일 수 있고, 제어부C(340)는 센서부C(330)를 통해 인식되는 음성 정보를 메모리C(350)에 저장한다.In addition, if the output unit C (370) is a speaker that outputs a sound source, the sensor unit C (330) may be a sound pressure sensor such as a microphone that receives sound, and the control unit C (340) is recognized through the sensor unit C (330). The resulting voice information is stored in the memory C 350.

또, 출력부C(370)가 특정 영상을 출력하는 디스플레이라면 센서부C(330)는 디스플레이를 통해 출력할 영상을 촬영하는 카메라일 수 있고, 제어부C(340)는 센서부C(330)에서 촬영되는 영상정보를 메모리C(350)에 저장한다.In addition, if the output unit C (370) is a display that outputs a specific image, the sensor unit C (330) may be a camera that photographs an image to be output through the display, and the control unit C (340) is the sensor unit C (330). The image information to be photographed is stored in the memory C 350.

한편 출력부C(370)가 숫자를 표시하는 세븐세그먼트 등의 소자일 경우, 제어부C(340)는 조작부C(320)를 통해 입력되는 숫자, 또는 조작부C(320)가 눌러지는 횟수에 대응하여 세븐세그먼트를 제어하는 신호를 메모리C(350)에 저장한다.On the other hand, when the output unit C (370) is a device such as a seven segment that displays numbers, the control unit C (340) corresponds to the number input through the operation unit C (320) or the number of times the operation unit C (320) is pressed. A signal for controlling the seven segment is stored in the memory C 350.

도7은 도1에 도시된 스마트 코딩블록의 동작 과정을 설명하기 위한 흐름도이다. 즉 도5의 과정으로 입력블록(100)에 동작기준을 설정하고, 도6의 과정으로 출력블록(300)에 출력내용을 설정한 이후, 복수의 입력블록(100)과 출력블록(300), 그리고 논리블록(200)을 조합하여 창작품을 완성한 후, 기 설정한 동작기준에 따라 출력블록(300)이 동작하도록 하는 과정에 대한 것이다.7 is a flowchart illustrating an operation process of the smart coding block shown in FIG. 1. That is, after setting the operation standard in the input block 100 in the process of FIG. 5 and the output contents in the output block 300 in the process of FIG. 6, a plurality of input blocks 100 and output blocks 300, In addition, after completing the creative product by combining the logical blocks 200, it is a process of causing the output block 300 to operate according to a preset operation standard.

물론 동작기준과 출력내용의 설정을 마친 후 동작 재생을 위해서는 입력블록(100), 논리블록(200) 및 출력블록(300)의 조작부(130,220,320)를 통해 동작 재생이나 대기 상태 등의 명령을 입력함으로써 동작 재생이 이루어지도록 할 수 있다.Of course, after setting the operation standard and output contents, for operation reproduction, by inputting a command such as operation reproduction or standby state through the operation units 130, 220, 320 of the input block 100, the logic block 200, and the output block 300. It is possible to make motion playback happen.

이후 입력블록(100)의 제어부A(140)는 센서부A(120)를 통해 측정되는 값을 확인<S705>한다. 즉 기준입력버튼A(131)가 비활성화된 상태에서 센서부A(120)를 통해 측정되는 값은 제어부A(140)에서 디지털 변환되고, 제어부A(140)는 센서부A(120)에서 측정되는 값이 메모리A(150)에 기 저장된 동작기준에 대응하는지 확인한다.Thereafter, the control unit A 140 of the input block 100 checks the value measured through the sensor unit A 120 <S705>. That is, when the reference input button A (131) is deactivated, the value measured by the sensor unit A (120) is digitally converted by the control unit A (140), and the control unit A (140) is measured by the sensor unit A (120). It is checked whether the value corresponds to the operation standard previously stored in the memory A150.

만약 제어부A(140)가 센서부A(120)에서 측정된 값이 동작기준에 부합하지 않는 것으로 확인<S710>하였다면, 스마트 코딩블록 전체에서 아무런 반응도 일어나지 않는다. 반면 센서부A(120)에서 측정된 값이 동작기준에 부합하는 것으로 제어부A(140)가 확인<S710>하였다면, 제어부A(140)는 출력부A(160)를 통해 인에이블 신호를 출력<S715>한다.If the controller A 140 confirms that the value measured by the sensor unit A 120 does not meet the operation criterion <S710>, no reaction occurs in the entire smart coding block. On the other hand, if the controller A 140 confirms that the value measured by the sensor unit A 120 meets the operation standard <S710>, the controller A 140 outputs an enable signal through the output unit A 160 < S715> Do it.

한편 입력블록(100)의 출력부A(160)는 논리블록(200)의 입력부B(240)와 물리적, 전기적으로 연결되어 있다. 따라서 출력부A(160)를 통해 인에이블 신호가 출력되면 논리블록(200)의 입력부B(240)로 논리 high 값이 입력된다. 더불어 논리블록(200)의 입력부B(240)는 복수개 마련되어 있고, 이에 대응하여 복수의 입력블록(100)이 논리블록(200)에 연결되어 있을 수 있다. 논리블록(200)은 각각의 입력부B(240)를 통해 입력되는 신호에 따라 논리설정수단B(262)에서 설정된 기준에 맞추어 연산수단B(263)에서 논리 연산을 수행하고, 출력제어수단B(265)는 출력부B(250)를 통해 논리 연산 결과를 출력<S720>한다.Meanwhile, the output unit A 160 of the input block 100 is physically and electrically connected to the input unit B 240 of the logic block 200. Accordingly, when the enable signal is output through the output unit A 160, a logic high value is input to the input unit B 240 of the logic block 200. In addition, a plurality of input units B 240 of the logical block 200 may be provided, and a plurality of input blocks 100 may be connected to the logical block 200 corresponding thereto. The logic block 200 performs a logic operation in the calculation means B 263 according to the criteria set in the logic setting means B 262 according to the signals input through each input unit B 240, and the output control means B ( 265 outputs the logic operation result through the output unit B 250 <S720>.

또한 논리블록(200)의 출력부B(250)는 출력블록(300)의 입력부C(360)와 물리적, 전기적으로 연결되어 있다. 따라서 제어부C(340)는 입력부C(360)를 통해 입력되는 인에이블 신호(high)에 대응하여 메모리C(350)에 설정된 출력내용을 추출<S725>하고 출력부C(370)를 통해 출력내용이 출력<S730>되도록 한다.In addition, the output unit B 250 of the logic block 200 is physically and electrically connected to the input unit C 360 of the output block 300. Therefore, the control unit C 340 extracts the output contents set in the memory C 350 in response to the enable signal high input through the input unit C 360 and outputs the contents through the output unit C 370. Make this output <S730>.

도7을 통해 설명한 동작 재생 과정을 도8 및 도9에 도시된 스마트 코딩블록의 조립 예시를 통해 설명하면 다음과 같다.The operation reproducing process described with reference to FIG. 7 will be described through an assembly example of the smart coding block shown in FIGS. 8 and 9 as follows.

도8은 도1에 도시된 스마트 코딩블록의 조립 예시를 설명하기 위한 개념도이다. 즉 논리블록(200)은 OR 게이트로 설정되어 있고, 논리블록(200)의 입력부B(240)에는 서로 다른 종류의 제1입력블록(100)과 제2입력블록(100')의 출력부A(160)가 연결되어 있다.FIG. 8 is a conceptual diagram illustrating an assembly example of the smart coding block shown in FIG. 1. That is, the logic block 200 is set as an OR gate, and the input part B 240 of the logic block 200 has different types of the first input block 100 and the output part A of the second input block 100 ′. 160 is connected.

제1입력블록(100)은 센서부A(120)로 음압센서가 구비된 것이고, 제2입력블록(100')은 센서부A(120)로 광센서가 구비된 것이다.The first input block 100 is provided with a negative pressure sensor as the sensor part A 120, and the second input block 100 ′ is provided with a light sensor as the sensor part A 120.

또한 논리블록(200)의 출력부B(250)에는 출력부C(370)로써 그립부가 구비된 출력블록(300)의 입력부C(360)가 연결되어 있다.In addition, the input unit C 360 of the output block 300 provided with a grip unit is connected to the output unit B 250 of the logic block 200 as an output unit C 370.

도5의 과정을 통해 제1입력블록(100)의 메모리A(150)에 '잡아'라는 음성 형태의 동작기준이 저장되어 있고, 제2입력블록(100')의 메모리A(150)에는 파란색 빛에 대응하는 동작기준이 저장되어 있다고 가정하자. 또한 도6의 과정을 통해 출력블록(300)에는 그립부를 3초동안 움켜쥐었다가 펼치는 동작이 엔코더 센서를 통해 인식되어 그에 대응하여 변환된 제어신호가 메모리C(350)에 저장되어 있다고 가정하자.Through the process of FIG. 5, an operation criterion in the voice form of'grab' is stored in the memory A 150 of the first input block 100, and the memory A 150 of the second input block 100 is blue. Suppose that motion criteria corresponding to light are stored. In addition, it is assumed that, through the process of FIG. 6, an operation of grasping and unfolding the grip part for 3 seconds is recognized by the encoder sensor in the output block 300 and a control signal converted in response thereto is stored in the memory C 350.

이 경우 도8과 같이 입력블록(100,100')과 논리블록(200) 및 출력블록(300)이 연결되었을 경우, 제1입력블록(100)의 센서부A(120)를 통해 '잡아'라는 음성이 입력되거나, 또는 제2입력블록(100')의 센서부A(120)를 통해 파란색 빛이 입력된다면, 논리블록(200)의 출력부B(250)를 통해 인에이블 신호가 출력될 것이고, 출력블록(300)의 입력부C(360)를 통해 인에이블 신호가 입력되면, 제어부C(340)는 메모리C(350)에 저장된 제어신호를 출력부C(370)로 출력함으로써 그립부가 3초동안 움켜쥐는 동작을 하였다가 다시 펼쳐지는 동작을 수행하게 된다.In this case, as shown in FIG. 8, when the input blocks 100 and 100 ′, the logic block 200 and the output block 300 are connected, a voice “grab” through the sensor unit A 120 of the first input block 100 When this input or blue light is input through the sensor unit A 120 of the second input block 100 ′, the enable signal will be output through the output unit B 250 of the logic block 200, When an enable signal is input through the input unit C 360 of the output block 300, the control unit C 340 outputs the control signal stored in the memory C 350 to the output unit C 370, It performs a grasping motion and then performs an unfolding motion.

도9는 도1에 도시된 스마트 코딩블록의 다른 조립 예시를 설명하기 위한 개념도이다. 즉 논리블록(200)은 AND 게이트로 설정되어 있고, 논리블록(200)의 입력부B(240)에는 제1입력블록(100), 제2입력블록(100') 및 제2입력블록(100')이 각각 연결되어 있으며, 출력부B(250)에도 제1출력블록(300), 제2출력블록(300'), 제3출력블록(300'')이 각각 연결되어 있다.9 is a conceptual diagram illustrating another example of assembly of the smart coding block shown in FIG. 1. That is, the logic block 200 is set as an AND gate, and the input unit B 240 of the logic block 200 includes a first input block 100, a second input block 100', and a second input block 100'. ) Are respectively connected, and the first output block 300, the second output block 300', and the third output block 300' are also connected to the output unit B 250, respectively.

제1입력블록(100)은 현관문이 열리는 소리를 인식하는 음압센서를 구비하고 있고, 제2입력블록(100')은 사람이 가까워지는 것을 감지하는 거리센서를 구비하고 있으며, 제3입력블록(100'')은 현관조명이 밝아지는 것을 감지하는 조도센서를 구비하고 있다고 가정하자. 물론 각각의 입력블록(100,100',100'')에는 도5의 과정을 통해 동작기준이 미리 설정된 상태이다.The first input block 100 has a sound pressure sensor that recognizes the sound of the front door being opened, the second input block 100' has a distance sensor that detects that a person is getting closer, and the third input block Suppose that the (100'') has an illuminance sensor that detects the brightening of the front door. Of course, each of the input blocks 100, 100 ′, 100 ″ has an operation reference set in advance through the process of FIG. 5.

또한 제1출력블록(300)은 생일축하곡을 출력할 수 있는 스피커를 구비하고 있고, 제2출력블록(300')은 다양한 색상의 빛을 발산시킬 수 있는 LED촛불을 구비하고 있으며, 제3출력블록(300'')은 영상을 출력할 수 있는 디스플레이를 구비하고 있다고 가정하자. 물론 각각의 출력블록(300,300',300'')에는 도6의 과정을 통해 출력내용이 미리 설정된 상태이다.In addition, the first output block 300 is provided with a speaker capable of outputting a happy birthday song, and the second output block 300 ′ is provided with an LED candle capable of emitting light of various colors, and a third Assume that the output block 300 ″ has a display capable of outputting an image. Of course, in each of the output blocks 300,300',300'', output contents are preset through the process of FIG.

이 경우 생일을 맞은 사용자가 현관문을 열고 들어오면서 현관조명이 밝아지면, 입력블록(100,100',100'')에서 모두 인에이블 신호가 출력되고, 논리블록(200)의 AND 연산에 따라 출력부B(250)에서 모두 인에이블 신호가 출력됨으로써 제1출력블록(300)에서 메모리C(350)에 저장된 생일축하곡이 스피커를 통해 재생되고, 제2출력블록(300')에서 LED촛불이 다양한 색상으로 빛나게 되며, 제3블록의 메모리C(350)에 저장된 영상 정보가 디스플레이를 통해 출력될 수 있다.In this case, when a user who has a birthday opens the front door and enters the front door and the front light is bright, all enable signals are output from the input blocks (100, 100', 100``), and the output unit is based on the AND operation of the logic block 200. By outputting the enable signals from all B(250), the Happy Birthday song stored in the memory C(350) in the first output block 300 is played through the speaker, and various LED candles are displayed in the second output block 300'. It is illuminated in color, and image information stored in the memory C 350 of the third block may be output through the display.

만약 실내에서 사용자가 현관 근처에만 조용히 다가갔을 경우 제2입력블록(100')과 제3입력블록(100'')에서는 인에이블 신호가 출력되겠지만, 제1입력블록(100)에서는 소리를 감지할 수 없기 때문에, 출력블록(300,300',300'') 전체는 동작하지 않게 될 것이다.If the user quietly approaches only near the entrance in the room, the second input block 100' and the third input block 100' will output an enable signal, but the first input block 100 will detect sound. Because it cannot, the entire output block (300, 300', 300') will not work.

이상에서 상세히 설명한 바와 같이 본 발명에 따른 스마트 코딩블록은 입력블록(100), 논리블록(200) 및 출력블록(300)들을 적절하게 결합하여 입력에 따른 출력의 흐름, 논리 연산 등의 알고리즘을 놀이의 과정으로 흥미롭게 학습할 수가 있다.As described in detail above, the smart coding block according to the present invention properly combines the input block 100, the logic block 200, and the output block 300 to play algorithms such as flow of output and logical operation according to the input. You can learn interestingly through the process of.

특히 각각의 블록들은 물리적, 전기적 결합이 동시에 이루어지는 커넥터를 통해 결합될 수 있기 때문에 블록 조립 과정만으로 신호 전송을 위한 연결 과정도 함께 이루어져 통신 설정 등의 복잡한 작업을 하지 않아도 된다.In particular, since each block can be combined through a connector in which physical and electrical connections are made at the same time, a connection process for signal transmission is also performed by only the block assembly process, so that complicated tasks such as communication setup are not required.

또한 미리 설정된 동작기준을 반드시 입력해야 할 필요 없이 사용자가 동작기준을 스스로 다시 설정할 수가 있고, 출력블록(300)이 재현해야 하는 동작 역시 다양한 형태로 변형하여 저장해 놓을 수 있기 때문에, 적은 개수의 블록들만 구비하더라도 다양한 형태의 창작물을 만들어 흥미로운 코딩 학습을 지속할 수가 있다.In addition, since the user can re-set the operation standard by himself without necessarily inputting the preset operation standard, and the operation to be reproduced by the output block 300 can also be transformed and stored in various forms, only a small number of blocks are Even if you have it, you can continue learning interesting coding by creating various types of creative works.

한편, 이상의 설명에서는 입력블록(100) 및 출력블록(300)에서 동작기준이나 출력내용을 설정할 시 하나의 동작기준이나 출력내용을 저장하는 과정에 대해서만 설명하였지만, 실시하기에 따라 메모리(150,350)에 복수의 동작기준이나 출력내용을 설정할 수도 있다.On the other hand, in the above description, only the process of storing one operation standard or output contents when setting the operation standard or output contents in the input block 100 and the output block 300 has been described, but according to the implementation, the memory 150 and 350 Multiple operation criteria or output contents can be set.

예컨대 입력블록(100)이 특정 색상의 빛을 인지하는 광센서를 구비하고 있을 경우, 메모리A(150)에 첫 번째 입력 기준으로 붉은색 광을 저장하고, 두 번째 입력 기준으로 파란색 광을 저장할 수 있으며, 이 경우 제어부A(140)는 추후 센서부A(120)를 통해 붉은색 광이 측정되면 출력부A(160) 중 첫 번째 출력부A(160)에서만 인에이블 신호가 출력되도록 하고, 센서부A(120)를 통해 파란색 광이 측정되면 출력부A(160) 중 두 번째 출력부A(160)에서만 인에이블 신호가 출력되도록 하는 것이다.For example, when the input block 100 includes a light sensor that recognizes light of a specific color, the memory A 150 stores red light as a first input criterion and blue light as a second input criterion. In this case, when the red light is measured through the sensor unit A 120 in the future, the control unit A 140 causes the enable signal to be output only at the first output unit A 160 of the output unit A 160, and the sensor When the blue light is measured through the unit A 120, the enable signal is output only from the second output unit A 160 of the output unit A 160.

같은 방식으로 출력블록(300)이 바퀴를 구동시키는 모터를 구비하고 있을 경우, 메모리C(350)에는 첫 번째 출력내용으로 3초가 전진 회전 동작이 저장되고, 두 번째 출력내용으로 5초간 후진 회전 동작이 저장될 수 있으며, 이 경우 제어부C(340)는 입력부C(360) 중 첫 번째 입력부C(360)를 통해 인에이블 신호가 입력되면 첫 번째 출력내용인 3초가 전진 회전 동작이 이루어지도록 출력부C(370)를 제어하고, 입력부C(360) 중 두 번째 입력부C(360)를 통해 인에이블 신호가 입력되면 두 번째 출력내용인 5초간 후진 회전 동작이 이루어지도록 출력부C(370)를 제어하는 것이다.In the same way, when the output block 300 has a motor that drives the wheel, the memory C 350 stores a forward rotation motion of 3 seconds as the first output content, and a reverse rotation motion for 5 seconds as the second output content. May be stored, and in this case, the control unit C 340 is the output unit so that the first output, which is 3 seconds, is performed when the enable signal is input through the first input unit C 360 of the input unit C 360. Controls C (370), and when the enable signal is input through the second input unit C (360) of the input unit C (360), the output unit C (370) is controlled so that the reverse rotation operation is performed for 5 seconds, which is the second output content. Is to do.

한편, 이상에서 설명한 입력블록(100)은 본체A(110)의 외부에 노출된 커넥터 형태의 출력부A(160)를 통해 논리블록(200)이나 출력블록(300)에 인에이블 신호를 출력해 줄 수 있다고 하였다. 따라서 특정 입력블록(100)에서 출력되는 인에이블 신호는 해당 입력블록(100)의 출력부A(160)에 연결된 논리블록(200)이나 출력블록(300)에서만 취득할 수 있다. 하지만 버스선 통신 방식을 적용하면 각 블록들이 직접 연결되지 않더라도, 그리고 반드시 순서적으로 연결되지 않더라도 미리 연동된 블록들 간 신호를 송수신하고 동작이 이루어지도록 할 수 있다.Meanwhile, the input block 100 described above outputs an enable signal to the logic block 200 or the output block 300 through the connector-shaped output unit A 160 exposed to the outside of the main body A 110. He said he could give. Accordingly, the enable signal output from a specific input block 100 can be acquired only from the logic block 200 or the output block 300 connected to the output unit A 160 of the corresponding input block 100. However, when the bus line communication method is applied, even if the blocks are not directly connected and are not necessarily connected in sequence, signals can be transmitted and received between blocks that are interlocked in advance, and operations can be performed.

도10은 본 발명의 다른 실시예에 따른 스마트 코딩블록을 설명하기 위한 도면이다. 즉 도10에서는 입력블록(100), 출력블록(300) 및 무선블록(400)이 서로 연결되어 있다.10 is a diagram for explaining a smart coding block according to another embodiment of the present invention. That is, in FIG. 10, the input block 100, the output block 300, and the radio block 400 are connected to each other.

입력블록(100)은 본체A(110), 센서부A(120), 조작부A(130), 제어부A(140), 메모리A(150), 연결부A(170) 및 버스선A(190)를 포함한다. 도2에 도시된 입력블록(100)에서는 제어부A(140)가 커넥터 형태로 제작된 출력부A(160)를 통해 인에이블 신호를 출력 처리할 수 있다고 설명하였다. 하지만 도10에 도시된 입력블록(100)은 본체A(110)의 외부에 커넥터 형태의 연결부A(170)가 복수개 마련되어 있고, 각 연결부A(170)는 버스선A(190)로 연결되어 있다. 또한 제어부A(140)는 버스선A(190)와 연결되어 있다. 따라서 제어부A(140)에서 인에이블 신호가 출력되면 해당 입력블록(100)의 고유아이디와 함께 버스선A(190)에 실리게 된다. 한편 입력블록(100)의 나머지 구성은 도2에서 설명한 동일 명칭의 구성 설명으로 대체하도록 한다.The input block 100 includes a main body A 110, a sensor unit A 120, an operation unit A 130, a control unit A 140, a memory A 150, a connection unit A 170, and a bus line A 190. Include. In the input block 100 illustrated in FIG. 2, it has been described that the control unit A 140 can output and process the enable signal through the output unit A 160 manufactured in the form of a connector. However, in the input block 100 shown in FIG. 10, a plurality of connector-type connection parts A 170 are provided outside the main body A 110, and each connection part A 170 is connected by a bus line A 190. . In addition, the control unit A 140 is connected to the bus line A 190. Therefore, when the enable signal is output from the control unit A 140, it is loaded on the bus line A 190 together with the unique ID of the corresponding input block 100. Meanwhile, the rest of the configuration of the input block 100 is replaced with a configuration description of the same name described in FIG. 2.

출력블록(300)은 본체C(310), 조작부C(320), 센서부C(330), 제어부C(340), 메모리C(350), 출력부C(370), 연결부C(380) 및 버스선C(390)를 포함한다. 도4에 도시된 출력블록(300)에서는 제어부C(340)가 커넥터 형태로 제작된 입력부A를 통해 인에이블 신호를 입력받을 수 있다고 설명하였다. 하지만 도10에 도시된 출력블록(300)은 본체C(310)의 외부에 커넥터 형태의 연결부C(380)가 복수개 마련되어 있고, 각 연결부C(380)는 버스선C(390)로 연결되어 있다. 또한 제어부C(340)는 버스선C(390)와 연결되어 있다. 따라서 버스선C(390) 상에 인에이블 신호가 실려 있다면 제어부C(340)가 인에이블 신호를 취득한 후 고유아이디를 확인하여 출력부C(370)의 동작 제어 여부를 결정한 후 동작을 수행시킬 수 있다. 한편 출력블록(300)의 나머지 구성은 도4에서 설명한 동일 명칭의 구성 설명으로 대체하도록 한다.The output block 300 includes a main body C 310, an operation part C 320, a sensor part C 330, a control part C 340, a memory C 350, an output part C 370, a connection part C 380, and It includes a bus line C (390). In the output block 300 illustrated in FIG. 4, it has been described that the control unit C 340 can receive the enable signal through the input unit A manufactured in the form of a connector. However, in the output block 300 shown in FIG. 10, a plurality of connector-type connection parts C 380 are provided outside the main body C 310, and each connection part C 380 is connected by a bus line C 390. . Also, the control unit C 340 is connected to the bus line C 390. Therefore, if the enable signal is loaded on the bus line C (390), the control unit C (340) obtains the enable signal and checks the unique ID to determine whether to control the operation of the output unit C (370) and then perform the operation. have. Meanwhile, the rest of the configuration of the output block 300 is replaced with a configuration description of the same name described in FIG. 4.

무선블록(400)은 물리적으로 연결되지 않은 다른 코딩블록, 또는 코딩블록이 아닌 IoT 디바이스와 통신 채널을 연결하고 정보를 송수신할 수 있도록 지원하는 블록이다. 이러한 무선블록(400)은 본체D(410), 연결부D(420), 제어부D(430), 통신처리부D(440) 및 버스선D(490)를 포함한다.The radio block 400 is a block that connects a communication channel with another coding block that is not physically connected, or an IoT device that is not a coding block, and supports transmitting and receiving information. The radio block 400 includes a main body D 410, a connection unit D 420, a control unit D 430, a communication processing unit D 440, and a bus line D 490.

본체D(410)는 무선블록(400)의 외관을 형성하며 다른 입력블록(100)이나 출력블록(300)과 어우러지는 형태로 제작된다.The main body D 410 forms the exterior of the radio block 400 and is manufactured in a form that is harmonized with the other input block 100 or the output block 300.

연결부D(420)는 본체D(410)의 외부에 노출된 상태로 입력블록(100)이나 출력블록(300)의 연결부(170,380)와 물리적, 전기적으로 결합 가능한 커넥터 형태로 제작된다. 이러한 연결부D(420) 역시 복수개 구비되며 각각의 연결부D(420)는 버스선D(490)로 연결되어 있다.The connection part D 420 is manufactured in the form of a connector that can be physically and electrically coupled to the connection parts 170 and 380 of the input block 100 or the output block 300 while being exposed to the outside of the main body D 410. A plurality of connection portions D 420 are also provided, and each of the connection portions D 420 is connected by a bus line D 490.

제어부D(430)는 통신처리부D(440)를 통해 외부 IoT 디바이스나 물리적으로 연결되지 않은 코딩블록 측으로부터 무선 신호를 수신하였을 시, 수신된 신호를 분석하여 버스선D(490)에 인에이블 신호를 실어 보내거나, 또는 버스선D(490)에 실린 인에이블 신호를 수신한 후 통신처리부D(440)를 통해 외부로 무선 신호를 송출하기 위해 마련된다.When a wireless signal is received from an external IoT device or a coding block that is not physically connected through the communication processing unit D 440, the control unit D 430 analyzes the received signal and transmits an enable signal to the bus line D 490. It is provided to transmit a wireless signal to the outside through the communication processing unit D 440 after transmitting or receiving the enable signal carried on the bus line D 490.

통신처리부D(440)는 제어부D(430)와 연계하여 외부로부터 무선 신호를 수신하거나, 외부 기기로 무선 신호를 송출하기 위해 마련된다.The communication processing unit D 440 is provided to receive a wireless signal from the outside in connection with the control unit D 430 or to transmit a wireless signal to an external device.

도10에 도시된 코딩블록의 동작 과정을 설명하면 다음과 같다.The operation process of the coding block shown in FIG. 10 will be described as follows.

먼저 사용자는 입력블록(100)에 동작기준을 설정하고, 출력블록(300)에 출력내용을 설정한다. 동작기준 설정 및 출력내용 설정 과정은 도5 및 6을 통해 설명한 바 있다. 이후 사용자는 동작기준이 설정된 입력블록(100)과 출력내용이 설정된 출력블록(300)을 연결하고, 추가로 무선블록(400)을 연결한다.First, the user sets an operation criterion in the input block 100 and sets the output content in the output block 300. The operation standard setting and output content setting process has been described with reference to FIGS. 5 and 6. Thereafter, the user connects the input block 100 in which the operation criterion is set and the output block 300 in which the output content is set, and additionally connects the radio block 400.

도10에 도시된 예시에서 각 블록(100,300,400)에 마련된 연결부(170,380,420)는 입출력이 따로 구분되지는 않기 때문에 복수의 연결부(170,380,420)이 마련되어 있더라도 순서에 상관 없이 결합만 시키면 된다. 각각의 블록(100,300,400)들이 연결부(170,380,420)를 통해 연결되면 물리적 연결과 함께 전기적 연결도 함께 이루어진다. 즉 각각의 버스선(190,390,490)들이 모두 전기적으로 연결됨으로써 하나의 버스선을 이루게 되는 것이다.In the example shown in FIG. 10, the connection parts 170, 380, and 420 provided in each of the blocks 100, 300, and 400 do not have separate input/output, so even if a plurality of connection parts 170, 380, and 420 are provided, they only need to be combined regardless of the order. When each of the blocks 100, 300, and 400 are connected through the connection parts 170, 380, and 420, the physical connection and the electrical connection are also made. That is, each bus line 190, 390, and 490 are all electrically connected to form one bus line.

한편, 각각의 블록(100,300,400)들의 연결부(170,380,420)들이 서로 연결되면 각각의 제어부(140,340,430)들은 서로간의 고유아이디를 교환하여 미리 정해진 통신 규약에 따라 신호를 송수신할 준비를 마친다. 즉 블록(100,300,400)들 마다 통신 채널을 연결하기 위한 수작업이 필요 없으며, 연결부(170,380,420)의 연결만으로 고유아이디를 교환함으로써 신호를 송수신할 준비가 자동으로 이루어지는 것이다.On the other hand, when the connection units 170, 380, and 420 of each of the blocks 100, 300, and 400 are connected to each other, each of the control units 140, 340, and 430 exchanges unique IDs with each other to complete the preparation to transmit and receive signals according to a predetermined communication protocol. That is, there is no need for manual work to connect the communication channels for each of the blocks 100, 300, and 400, and preparations for transmitting and receiving signals are automatically made by exchanging unique IDs only by connecting the connection units 170, 380, and 420.

이 상태에서 입력블록(100)의 제어부A(140)는 센서부A(120)를 통해 측정되는 값을 확인하여 메모리A(150)에 기 저장된 동작기준과 비교한다. 만약 센서부A(120)를 통해 현재 측정되는 물리값이 메모리A(150)에 기 저장된 동작기준과 일치(또는 범위 이내)한다면, 제어부A(140)는 자신의 고유아이디와 함께 인에이블 신호를 버스선A(190)에 실어 보낸다. 버스선A(190)에 실어진 인에이블 신호는 이에 연결된 버스선C(390) 및 버스선D(490)에도 전달된다.In this state, the control unit A 140 of the input block 100 checks the value measured through the sensor unit A 120 and compares it with the operation reference previously stored in the memory A 150. If the physical value currently measured through the sensor unit A 120 matches (or is within the range) the operation standard previously stored in the memory A 150, the control unit A 140 transmits an enable signal together with its own ID. It is loaded onto bus line A 190 and sent. The enable signal carried on the bus line A 190 is also transmitted to the bus line C 390 and bus line D 490 connected thereto.

출력블록(300)의 제어부C(340)는 버스선C(390)에 올려진 인에이블 신호를 취득하며, 해당 인에이블 신호를 발신한 입력블록(100)의 고유아이디를 확인한다. 고유아이디를 확인한 결과 미리 연동된 입력블록(100)임이 확인된다면, 제어부C(340)는 인에이블 신호의 입력에 따라 메모리C(350)에 저장된 출력내용을 출력부C(370)를 통해 출력시킨다.The control unit C 340 of the output block 300 acquires the enable signal placed on the bus line C 390 and checks the unique ID of the input block 100 that transmitted the enable signal. If it is confirmed that it is the input block 100 linked in advance as a result of checking the unique ID, the control unit C 340 outputs the output contents stored in the memory C 350 through the output unit C 370 according to the input of the enable signal. .

또한 무선블록(400)의 제어부D(430)는 버스선D(490)에 올려진 인에이블 신호를 취득하며, 해당 인에이블 신호를 발신한 입력블록(100)의 고유아이디를 확인하고, 미리 연동된 입력블록(100)임이 확인되면, 제어부D(430)는 통신처리부D(440)를 통해 미리 정해진 형태의 무선 신호를 외부의 IoT 디바이스로 송출하거나 타 코딩블록의 무선블록(400)으로 송출한다.In addition, the control unit D 430 of the wireless block 400 acquires the enable signal on the bus line D 490, checks the unique ID of the input block 100 that transmitted the enable signal, and interlocks in advance. When it is confirmed that it is the input block 100, the control unit D 430 transmits a radio signal in a predetermined form to an external IoT device through the communication processing unit D 440 or transmits it to the radio block 400 of another coding block. .

도11은 도10에 도시된 입력블록(100)과 출력블록(300)들 복수개를 연결한 다른 예시를 도시한 것이다. 즉 센서부A(120)로써 마이크 등의 음압센서가 구비된 제1입력블록(100)과, 출력부C(370)로써 스피커가 구비된 제1출력블록(300)과, 센서부A(120)로써 조도센서가 구비된 제2입력블록(100')과, 센서부A(120)로써 거리센서가 구비된 제3입력블록(100'')과, 출력부C(370)로써 디스플레이가 구비된 제2출력블록(300')이 커넥터 형태의 연결부(170, 380)로 서로 연결된 것이다.FIG. 11 shows another example in which a plurality of input blocks 100 and output blocks 300 shown in FIG. 10 are connected. That is, the first input block 100 provided with a sound pressure sensor such as a microphone as the sensor part A 120, the first output block 300 provided with a speaker as the output part C 370, and the sensor part A 120 ), a second input block 100' with an illuminance sensor, a third input block 100' with a distance sensor as a sensor unit A 120, and a display as an output unit C 370 The second output blocks 300 ′ are connected to each other through connector-type connection parts 170 and 380.

각각의 입력블록(100,100',100'') 및 출력블록(300,300')들은 미리 동작기준과 출력내용이 설정된 상태이고, 연결부(170,380)의 연결에 따라 고유아이디를 교환함으로써 신호 송수신 준비도 마친 상태이다.Each input block (100,100',100'') and output block (300,300') are in a state in which operation standards and output contents have been set in advance, and signal transmission and reception are also prepared by exchanging unique IDs according to the connection of the connection units (170,380). to be.

이 상태에서 제1입력블록(100)의 센서부A(120)를 통해 미리 저장된 동작기준에 대응하는 소리가 인식된다면 전체 버스선에 제1입력블록(100)의 인에이블 신호가 실리게 된다. 이에 따라 제1출력블록(300)에서 스피커를 통해 정해진 음원이 출력되고, 제2출력블록(300')의 디스플레이를 통해 정해진 영상 정보가 출력될 수 있다.In this state, if a sound corresponding to the previously stored operation standard is recognized through the sensor unit A 120 of the first input block 100, the enable signal of the first input block 100 is loaded on the entire bus line. Accordingly, a predetermined sound source may be output through the speaker in the first output block 300, and predetermined image information may be output through the display of the second output block 300 ′.

만약 제1출력블록(300)은 제1입력블록(100)의 인에이블 신호에만 동작하도록 미리 설정될 수도 있고, 제2출력블록(300')은 제2입력블록(100')과 제3입력블록(100'')의 인에이블 신호에만 동작하도록 설정될 수도 있다. 이 경우 각각의 출력블록(300,300')의 제어부C(340)는 버스선에 실린 인에이블 신호와 함께 해당 인에이블 신호를 보낸 입력블록(100,100',100'')의 고유아이디를 확인한 후 미리 연동된 입력블록(100)의 고유아이디인지를 확인한 후 출력부C(370)의 동작을 결정할 수 있다. 즉 제1입력블록(100)에서 인에이블 신호가 발생하였다면 제1출력블록(300)에서만 출력내용이 출력되고 제2출력블록(300')은 반응하지 않는 것이다. 반면 제2입력블록(100')에서 인에이블 신호가 발생하였다면 제1출력블록(300)은 대기상태를 유지하고 제2출력블록(300')에서만 출력내용이 출력되는 것이다.If the first output block 300 may be preset to operate only on the enable signal of the first input block 100, the second output block 300 ′ is the second input block 100 ′ and the third input It may be set to operate only on the enable signal of the block 100 ″. In this case, the control unit C 340 of each output block 300,300' checks the unique ID of the input block 100,100',100'' that sent the enable signal along with the enable signal loaded on the bus line and interlocks in advance. The operation of the output unit C 370 may be determined after confirming whether it is the unique ID of the input block 100. That is, if the enable signal is generated in the first input block 100, the output content is output only in the first output block 300 and the second output block 300' does not react. On the other hand, if an enable signal is generated in the second input block 100 ′, the first output block 300 maintains a standby state and output contents are output only in the second output block 300 ′.

도12는 본 발명의 다른 실시예에 따른 스마트 코딩블록을 설명하기 위한 도면이다. 도12에서는 입력블록(100) 2개와 출력블록(300) 2개가 연결되어 있고, 추가로 AI블록(500)이 연결된 상태를 도시하였다. 입력블록(100,100') 및 출력블록(300,300')은 도10을 통해 설명한 내용으로 대신하며, AI블록(500)을 먼저 설명하면 다음과 같다.12 is a diagram for explaining a smart coding block according to another embodiment of the present invention. In FIG. 12, two input blocks 100 and two output blocks 300 are connected, and an additional AI block 500 is connected. The input blocks 100 and 100 ′ and the output blocks 300 and 300 ′ are replaced with the contents described with reference to FIG. 10, and the AI block 500 will be described first as follows.

AI블록(500)은 본체E(510), 연결부E(520), 제어부E(530), 메모리E(540) 및 버스선E(590)를 포함한다.The AI block 500 includes a main body E 510, a connection part E 520, a controller E 530, a memory E 540, and a bus line E 590.

본체E(510)는 AI블록(500)의 외관을 형성하며 다른 구성들을 보호하기 위해 마련된다. 연결부E(520)는 본체E(510) 외부에서 다른 블록들과 연결되는 커넥터 형태로 제작된다. 또한 연결부E(520)는 복수개 마련되어 있을 수 있으며 각 연결부E(520)는 버스선E(590)로 연결되어 있다.The body E 510 forms the exterior of the AI block 500 and is provided to protect other components. The connection part E 520 is manufactured in the form of a connector connected to other blocks outside the main body E 510. In addition, a plurality of connection parts E 520 may be provided, and each connection part E 520 is connected by a bus line E 590.

제어부E(530)는 출력블록(300)에서 출력내용이 출력될 시, 출력내용을 분석하여 사용자가 어떠한 동작을 수행하고자 하는 것인지 판단하며, 필요시 메모리E(540)에 저장된 모범적인 표준 데이터나 표준 데이터를 제어 신호로 컨버팅한 재생 신호를 추출하여 출력블록(300) 측으로 전송처리 하기 위해 마련된다.When the output content is output from the output block 300, the control unit E 530 determines what kind of operation the user wants to perform by analyzing the output content, and if necessary, the exemplary standard data stored in the memory E 540 or It is provided to extract a reproduction signal obtained by converting standard data into a control signal and transmit it to the output block 300.

메모리E(540)는 출력블록(300)으로 보내어질 모범직인 표준 데이터를 저장하기 위해 마련된다.The memory E 540 is provided to store standard data which is exemplary to be sent to the output block 300.

AI블록(500)은 출력블록(300)의 동작을 지원하기 위한 보조 블록이다. 예컨대 출력블록(300)이 물건을 파지하고 이동시킨 후 놓아주는 그립부를 출력부C(370)로 갖는 블록일 경우, 사용자가 어설픈 동작을 입력시키면, 그 내용이 그대로 메모리C(350)에 저장되었다가 재생되기 때문에, 재생 동작 역시 어설프게 된다. 하지만 AI블록(500)의 제어부E(530)에서 인공 신경망(ANN, Artificial Neural Network, 인공 신경망 또는 신경망)을 이용하여 사용자가 입력한 입력 데이터(센서부C(330)에서 취득한 기록용 센싱값)를 분석하면, 사용자가 어설프게 동작을 입력하였더라도 정확하게 어떠한 동작을 원하는지 파악할 수 있다.The AI block 500 is an auxiliary block for supporting the operation of the output block 300. For example, in the case where the output block 300 is a block having a grip part for gripping, moving and releasing an object as the output unit C 370, when the user inputs a flimsy operation, the contents are stored in the memory C 350 Since is played back, the playback operation is also clumsy. However, input data input by the user using an artificial neural network (ANN, artificial neural network, or neural network) in the control unit E 530 of the AI block 500 (sensing value for recording acquired from the sensor unit C 330) By analyzing the data, it is possible to grasp exactly what kind of motion the user wants even if the user inputs the motion poorly.

즉 인공 신경망을 이용하여 사용자가 입력한 입력 데이터(어설프게 입력한 출력내용을 말함)를 분석하기 위해 사전에 충분하게 학습을 마치고 산출된 모범적인 표준 데이터가 메모리E(540)에 저장되어 있는 상태이다.That is, in order to analyze the input data input by the user (referring to the poorly input output content) using an artificial neural network, the exemplary standard data calculated after sufficient training has been completed in advance is stored in the memory E 540. .

이후 그립부를 출력부C(370)로 갖는 제2출력블록(300')이 AI블록(500)과 연결되면, 서로 간의 고유아이디를 교환하여 통신 준비를 마치게 된다.Thereafter, when the second output block 300 ′ having the grip part as the output unit C 370 is connected to the AI block 500, the communication preparation is completed by exchanging unique IDs between each other.

이 상태에서 제2출력블록(300')과 연동되는 제1입력블록(100) 또는 제2입력블록(100')에서 동작기준에 대응하는 환경 변화가 측정되어 인에이블 신호가 출력되면, 버스선에 올려진 인에이블 신호를 제2출력블록(300')의 제어부C(340)에서 취득한 후 메모리C(350)에 저장된 출력내용을 추출하여 출력부C(370)를 동작시키게 된다. 물론 AI블록(500)이 연결되지 않았다면 제2출력블록(300')의 제어부C(340)는 추출된 출력내용을 이용하여 출력부C(370)를 즉시 작동시킬 것이다. 하지만 제2출력블록(300')의 제어부C(340)는 AI블록(500)이 버스선 상에 연결되었음을 미리 확인하였기 때문에 추출된 출력내용을 이용하여 바로 출력부C(370)를 동작시키지 아니하고, 출력내용을 버스선C(390)에 실어 보낸다.In this state, when the environment change corresponding to the operation criterion is measured in the first input block 100 or the second input block 100' interlocked with the second output block 300' and an enable signal is output, the bus line After acquiring the enable signal placed in the second output block 300 ′ from the control unit C 340, the output contents stored in the memory C 350 are extracted to operate the output unit C 370. Of course, if the AI block 500 is not connected, the control unit C 340 of the second output block 300 ′ will immediately operate the output unit C 370 using the extracted output content. However, since the control unit C 340 of the second output block 300 ′ has confirmed in advance that the AI block 500 is connected on the bus line, the output unit C 370 is not immediately operated using the extracted output content. , The output content is loaded onto the bus line C 390 and sent.

이후 AI블록(500)의 제어부E(530)는 버스선E(590)에 실어진 제2출력블록(300')의 고유아이디를 갖는 출력내용을 취득하게 된다. 이후 제어부E(530)는 출력내용을 2차원 그래프 형태로 이미지화하고, 이미지화 된 그래프를 CNN 기법을 이용하여 분석함으로써, 해당 출력내용이 메모리E(540)에 저장된 표준 데이터 중 어떠한 동작을 수행하기 위한 것인지 판단한다. 즉 기존에 미리 학습한 결과에 따라 해당 이미지 패턴이 메모리E(540)에 저장된 표준 데이터 중 어떠한 동작에 해당하는 것인지 파악하는 것이다.Thereafter, the controller E 530 of the AI block 500 acquires the output contents having the unique ID of the second output block 300 ′ loaded on the bus line E 590. Thereafter, the control unit E 530 images the output contents in the form of a two-dimensional graph, and analyzes the imaged graph using the CNN technique, so that the corresponding output contents are used to perform any operation among standard data stored in the memory E 540. Determine whether it is. That is, it is to determine which operation of the standard data stored in the memory E 540 corresponds to the corresponding image pattern according to the result of the previous learning.

이후 제어부E(530)는 분석 결과에 따라 메모리E(540)에서 모범적인 표준 데이터를 추출하여 AI블록(500)의 고유아이디와 함께 버스선E(590)에 실어 보낸다. 이에 따라 제2출력블록(300')의 제어부C(340)는 버스선C(390)에 실어진 모범적인 표준 데이터를 취득하고, 모범적인 표준 데이터를 이용하여 그립부인 출력부C(370)를 동작시킨다.Thereafter, the control unit E 530 extracts exemplary standard data from the memory E 540 according to the analysis result, and sends it to the bus line E 590 along with the unique ID of the AI block 500. Accordingly, the control unit C 340 of the second output block 300' acquires exemplary standard data loaded on the bus line C 390, and uses the exemplary standard data to obtain the output unit C 370, which is a grip unit. Operate.

즉 사용자가 제2출력블록(300')을 통해 출력내용을 어설프게 입력하였다 하더라도, AI블록(500)을 이용하여 출력내용을 분석한 후 올바르게 작동할 수 있는 표준 데이터로 최종 동작이 이루어지도록 할 수 있는 것이다.That is, even if the user inputs the output content through the second output block 300' tinkerously, the final operation can be made with standard data that can operate correctly after analyzing the output content using the AI block 500. There is.

이상 도10 내지 도12를 통해 설명한 바와 같이 각 블록(100,300,400,500)들이 연결부(170,380,420,520)를 통해 물리적인 연결과 전기적인 연결이 이루어지면, 버스선 통신 방식으로 통신 채널이 연결되고, 각 블록들의 고유아이디를 통해 미리 연동된 블록들 간의 통신이 가능함으로써, 별도의 통신 설정 과정 없이 블록들 간의 연결만으로 코딩이 완료될 수 있고, 무선블록(400)이나 AI블록(500)들을 이용하여 창작 범위를 더욱 확장시킬 수가 있다.As described above with reference to FIGS. 10 to 12, when physical and electrical connections are made to each block (100, 300, 400, 500) through the connection unit (170, 380, 420, 520), the communication channel is connected by bus line communication, and the unique ID of each block By enabling communication between blocks that are interlocked in advance through, coding can be completed only by connection between blocks without a separate communication setting process, and the scope of creation is further extended by using the radio block 400 or AI block 500 I can make it.

상기한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이고, 본 발명에 대해 통상의 지식을 가진 당업자라면, 본 발명의 사상과 범위 안에서 다양한 수정, 변경 및 부가가 가능할 것이며, 이러한 수정, 변경 및 부가는 본 발명의 특허청구 범위에 속하는 것으로 보아야 할 것이다.Preferred embodiments of the present invention described above are disclosed for the purpose of illustration, and those skilled in the art with ordinary knowledge of the present invention will be able to make various modifications, changes and additions within the spirit and scope of the present invention. And additions will be seen as falling within the scope of the claims of the present invention.

100,100',100'' : 입력블록
110 : 본체A
120 : 센서부A
130 : 조작부A
131 : 기준입력버튼A
132 : 동작설정버튼A
140 : 제어부A
150 : 메모리A
160 : 출력부A
170 : 연결부A
190 : 버스선A
200 : 논리블록
210 : 본체B
220 : 조작부B
221 : 논리선택버튼B
222 : 출력반전버튼B
230 : 표시부B
240 : 입력부B
250 : 출력부B
260 : 제어부B
261 : 표시부제어수단B
262 : 논리설정수단B
263 : 연산수단B
264 : 입력제어수단B
265 : 출력제어수단B
300,300',300'' : 출력블록
310 : 본체C
320 : 조작부C
330 : 센서부C
340 : 제어부C
350 : 메모리C
360 : 입력부C
370 : 출력부C
380 : 연결부C
390 : 버스선C
400 : 무선블록
410 : 본체D
420 : 연결부D
430 : 제어부D
440 : 통신처리부D
490 : 버스선D
500 : AI블록
510 : 본체E
520 : 연결부E
530 : 제어부E
540 : 메모리E
590 : 버스선E
100,100',100'': input block
110: main body A
120: sensor part A
130: control panel A
131: Reference input button A
132: Operation setting button A
140: control unit A
150: memory A
160: output part A
170: connection part A
190: Bus Line A
200: logical block
210: main body B
220: control part B
221: Logic selection button B
222: Output reverse button B
230: display part B
240: input part B
250: output part B
260: control part B
261: display part control means B
262: Logic setting means B
263: calculation means B
264: input control means B
265: output control means B
300,300',300'': output block
310: main body C
320: control panel C
330: sensor unit C
340: control unit C
350: memory C
360: input unit C
370: output unit C
380: connection part C
390: Bus Line C
400: wireless block
410: body D
420: connection part D
430: control unit D
440: Communication processing unit D
490: Bus Line D
500: AI block
510: main body E
520: connection part E
530: control unit E
540: memory E
590: Bus Line E

Claims (4)

측정된 값을 동작기준과 비교하여 인에이블 신호를 출력하는 입력블록; 및
상기 입력블록과 결합되며, 상기 입력블록으로부터 인에이블 신호가 입력되면 기 저장된 출력내용을 출력하여 특정 동작을 수행하는 출력블록;을 포함하되,
상기 입력블록의 동작기준과 상기 출력블록의 출력내용이 사용자의 의지에 따라 재설정 가능한 것을 특징으로 하는 동작기준 및 출력내용 설정이 가능한 스마트 코딩블록.
An input block comparing the measured value with an operation reference and outputting an enable signal; And
An output block that is combined with the input block and performs a specific operation by outputting pre-stored output contents when an enable signal is input from the input block;
A smart coding block capable of setting an operation standard and output contents, characterized in that the operation standard of the input block and the output contents of the output block can be reset according to a user's will.
제1항에 있어서,
상기 입력블록은,
환경변화에 따른 물리값을 측정하는 센서부A;
동작기준 설정을 위한 명령을 입력하는 기준입력버튼A;
동작기준을 저장하는 메모리A;
상기 센서부A에서 측정되는 값에 따라 인에이블 신호를 출력하는 출력부A; 및
상기 기준입력버튼A가 활성화 되었을 경우 상기 센서부A를 통해 측정된 값을 상기 메모리A에 동작기준으로 저장하고, 상기 기준입력버튼A가 비활성화 되었을 경우 상기 센서부A를 통해 측정된 값을 상기 메모리A에 저장된 동작기준과 비교하여 상기 출력부A를 통해 인에이블 신호가 출력되도록 제어하는 제어부A;를 포함하는 것을 특징으로 하는 동작기준 및 출력내용 설정이 가능한 스마트 코딩블록.
The method of claim 1,
The input block,
A sensor unit A for measuring a physical value according to environmental changes;
A reference input button A for inputting a command for setting an operation standard;
A memory A for storing an operation criterion;
An output unit A for outputting an enable signal according to the value measured by the sensor unit A; And
When the reference input button A is activated, the value measured through the sensor unit A is stored in the memory A as an operation standard, and when the reference input button A is deactivated, the value measured through the sensor unit A is stored in the memory. And a control unit A that controls the output of the enable signal through the output unit A compared with the operation reference stored in A. Smart coding block capable of setting operation standards and output contents, comprising: a.
제1항에 있어서,
상기 출력블록은,
저장명령을 입력받는 조작부C;
출력내용을 입력받는 센서부C;
상기 센서부C를 통해 입력된 출력내용을 저장하는 메모리C;
상기 입력블록 측으로부터 인에이블 신호를 입력받는 입력부C;
상기 출력내용을 출력하는 출력부C; 및
상기 조작부C를 통해 저장명령이 입력되면 상기 센서부C를 통해 입력되는 출력내용을 상기 메모리C에 저장하고, 상기 입력부C를 통해 인에이블 신호가 입력되면 상기 메모리C에 저장된 출력내용을 상기 출력부C를 통해 출력되도록 제어하는 제어부C;를 포함하는 것을 특징으로 하는 동작기준 및 출력내용 설정이 가능한 스마트 코딩블록.
The method of claim 1,
The output block,
An operation unit C for receiving a storage command;
A sensor unit C for receiving output contents;
A memory C for storing output contents input through the sensor unit C;
An input unit C receiving an enable signal from the input block side;
An output unit C for outputting the output content; And
When a storage command is input through the operation unit C, the output contents input through the sensor unit C are stored in the memory C, and when an enable signal is input through the input unit C, the output contents stored in the memory C are stored in the output unit. A control unit C that controls to be output through C; Smart coding block capable of setting operation standards and output contents, comprising: a.
제1항에 있어서,
상기 입력블록 및 출력블록과 결합되며, 복수의 입력블록으로부터 입력되는 인에이블 신호를 논리 연산하여 상기 출력블록 측으로 논리 연산 결과를 출력하는 논리블록;을 더 포함하는 것을 특징으로 하는 동작기준 및 출력내용 설정이 가능한 스마트 코딩블록.
The method of claim 1,
A logic block that is combined with the input block and the output block and performs a logic operation on an enable signal input from a plurality of input blocks and outputs a logic operation result to the output block. Smart coding block that can be set.
KR1020190075497A 2019-06-25 2019-06-25 Smart Coding Block for setting up operating reference and output information KR102296385B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190075497A KR102296385B1 (en) 2019-06-25 2019-06-25 Smart Coding Block for setting up operating reference and output information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190075497A KR102296385B1 (en) 2019-06-25 2019-06-25 Smart Coding Block for setting up operating reference and output information

Publications (2)

Publication Number Publication Date
KR20210000771A true KR20210000771A (en) 2021-01-06
KR102296385B1 KR102296385B1 (en) 2021-09-01

Family

ID=74127853

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190075497A KR102296385B1 (en) 2019-06-25 2019-06-25 Smart Coding Block for setting up operating reference and output information

Country Status (1)

Country Link
KR (1) KR102296385B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220101854A (en) * 2021-01-12 2022-07-19 주식회사크리모 A Teaching or playing aid using gear and block
KR20230094370A (en) * 2021-12-21 2023-06-28 주식회사크리모 A Voice recognition and touch mixed input device for infants physical computing education

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101464373B1 (en) * 2014-04-22 2014-12-04 김종태 Sensor module for setting up operating reference by measured value
KR101483017B1 (en) * 2014-06-26 2015-01-16 주식회사 헬로긱스 Connectable apparatus for self programable blocks
KR101916182B1 (en) * 2017-06-30 2018-11-08 김종태 Logical block
KR20180130934A (en) * 2017-05-30 2018-12-10 (주) 나인원 A smart coding block sets of wireless communication-based capable of software coding education
KR101948558B1 (en) * 2017-09-28 2019-02-18 김종태 Hand-operated programmable modular robot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101464373B1 (en) * 2014-04-22 2014-12-04 김종태 Sensor module for setting up operating reference by measured value
KR101483017B1 (en) * 2014-06-26 2015-01-16 주식회사 헬로긱스 Connectable apparatus for self programable blocks
KR20180130934A (en) * 2017-05-30 2018-12-10 (주) 나인원 A smart coding block sets of wireless communication-based capable of software coding education
KR101916182B1 (en) * 2017-06-30 2018-11-08 김종태 Logical block
KR101948558B1 (en) * 2017-09-28 2019-02-18 김종태 Hand-operated programmable modular robot

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220101854A (en) * 2021-01-12 2022-07-19 주식회사크리모 A Teaching or playing aid using gear and block
KR20230094370A (en) * 2021-12-21 2023-06-28 주식회사크리모 A Voice recognition and touch mixed input device for infants physical computing education

Also Published As

Publication number Publication date
KR102296385B1 (en) 2021-09-01

Similar Documents

Publication Publication Date Title
KR101817206B1 (en) Circuit board kit for Studying coding
US20070173974A1 (en) Device and method for interacting with autonomous robot
US10456910B2 (en) Educational systems comprising programmable controllers and methods of teaching therewith
WO2011111910A1 (en) Telepresence robot, telepresence system comprising the same and method for controlling the same
US20160052140A1 (en) Robot driven by mobile phone
US20070050087A1 (en) Input device and inputting method
KR102296385B1 (en) Smart Coding Block for setting up operating reference and output information
CN108885619A (en) For the multilingual interactive method and apparatus learnt by oneself
KR20040061903A (en) Robot device and method for controlling the same
TWI638264B (en) Boot system and boot method applied to intelligent robot
US20130084555A1 (en) Information providing system
WO2015012469A1 (en) Device control method
KR20200101300A (en) Smart Coding Block System that can work with augmented reality
KR101428597B1 (en) Learning pen equipped with playing function for audio and video
US20120330446A1 (en) Micro-processing device control system and method of use thereof
WO2020166373A1 (en) Information processing device and information processing method
US9821237B2 (en) Character-based electronic device, system, and method of using the same
TWI731496B (en) Interactive system comprising robot
CN107071601A (en) A kind of programmable U sections of wireless microphone systems
KR20240069241A (en) Block module that can freely set operation contents and operation standards
KR102097164B1 (en) Assist device for programmable motion blocks
Dinesh Talking Glove-A boon for the deaf, dumb and physically challenged
Rahman et al. Voice Command Automation System (VCAS) for Controlling Electrical Devices Using Arduino
WO2023286952A1 (en) Smart block capable of supplying power and recognizing position, and control system for same
US20240184361A1 (en) Wearable control system and method to control an ear-worn device

Legal Events

Date Code Title Description
E701 Decision to grant or registration of patent right
GRNT Written decision to grant