Programming device, recording medium, and programming method

文档序号:1676893 发布日期:2019-12-31 浏览:17次 中文

阅读说明:本技术 编程装置及记录介质、编程方法 (Programming device, recording medium, and programming method ) 是由 长坂知明 桥本章吾 山口伦治 于 2018-02-15 设计创作,主要内容包括:本发明提供一种编程装置及记录介质、编程方法,使对于用户而言能够容易理解编程操作、和与通过该操作而生成的程序对应的被控制部的三维物体移动的关联性。编程装置具有:编程板(120),受理至少一个的第一用户操作,用于通过确定被配置在平面方向上相互不同的位置的多个部分中两个以上的部分来指示平面形状;高度受理部,受理至少一个的第二用户操作,用于与所述两个以上的部分中任意一个的部分建立对应地指示针对所述平面的相交方向的位置即高度或者该高度的移位量;以及控制部,生成使目标设备(200)对应通过编程板(120)及所述高度受理部所指示的立体形状而移动的命令列表。(The invention provides a programming device, a recording medium, and a programming method, which enable a user to easily understand the relationship between a programming operation and the movement of a three-dimensional object of a controlled part corresponding to a program generated by the operation. The programming device has: a programming board (120) that accepts at least one first user operation for specifying a planar shape by specifying two or more portions among a plurality of portions arranged at mutually different positions in the planar direction; a height receiving unit configured to receive at least one second user operation for indicating a height, which is a position in the intersecting direction of the planes, or an amount of displacement of the height, in association with any one of the two or more portions; and a control unit that generates a command list for moving the target device (200) in accordance with the three-dimensional shape instructed by the programming board (120) and the height receiving unit.)

1. A programming apparatus, comprising:

a planar shape instruction unit that accepts at least one first user operation that instructs a planar shape by specifying two or more portions of a plurality of portions arranged at mutually different positions in a planar direction;

a height receiving unit configured to receive at least one second user operation that indicates a height that is a position in the intersecting direction of the planes or an amount of displacement of the height in association with any one of the two or more portions; and

and a control unit that generates a command list for moving the controlled unit in accordance with the three-dimensional shape instructed by the planar shape instructing unit and the height receiving unit.

2. The programming apparatus according to claim 1,

the programming device further includes one or more height indicating portions indicating a height in the intersecting direction or an amount of displacement of the height,

the height receiving unit is provided in the one of the portions, and receives the at least one second user operation in accordance with an operation in which the one or more height indicating units are arranged so as to correspond to the one of the portions.

3. The programming apparatus according to claim 1 or 2,

the programming device further includes a parameter value receiving unit configured to receive at least one third user operation that indicates a value of a parameter for defining a state of the controlled unit in association with any one of the two or more parts,

the control unit generates the command list such that the controlled unit moves along a path corresponding to the planar shape indicated by the planar shape indicating unit or a path corresponding to a three-dimensional shape having the same planar shape as a shape projected onto the plane in an intersecting direction with respect to the plane, and changes the state of the controlled unit in accordance with the value of the parameter indicated by the one or more parameter value indicating units corresponding to the one or more parts when the controlled unit is located at a position corresponding to the one or more parts on the path.

4. The programming apparatus according to claim 3,

the programming device further includes one or more parameter value indication units that indicate values of parameters for specifying the states of the controlled units,

the parameter value receiving unit is provided in the arbitrary one of the portions, and receives the at least one third user operation in accordance with an operation in which the at least one parameter value instructing unit is arranged so as to correspond to the arbitrary one of the portions.

5. The programming apparatus according to any one of claims 1 to 4,

any one of the two or more parts has a function receiving unit that receives at least one fourth user operation that is set in association with the function executed by the control unit and the any one part,

the control unit generates the command list so that the controlled unit executes the function set in association with the arbitrary portion by the at least one fourth user operation when the controlled unit is located at the position corresponding to the arbitrary portion.

6. The programming apparatus according to claim 5,

the programming device also has more than one function setting part for indicating the function executed by the control part,

the function receiving unit is provided in the arbitrary one of the portions, and receives the at least one fourth user operation in accordance with an operation in which the one or more function setting units are arranged so as to correspond to the arbitrary one of the portions.

7. The programming apparatus according to any one of claims 1 to 6,

the programming device further includes the controlled unit that moves in accordance with the three-dimensional shape.

8. A programming method executed by a programming device having a plane shape instruction unit, a height reception unit, and a control unit, the programming method comprising:

receiving, by the plane shape instruction unit of the programming device, at least one first user operation that instructs a plane shape by specifying two or more portions of a plurality of portions arranged at mutually different positions in a plane direction;

receiving, by the height receiving unit of the programming device, at least one second user operation that indicates a height that is a position in a direction in which the planes intersect or an amount of displacement of the height in association with any one of the two or more portions; and

the control unit of the programming device generates a command list for moving the controlled unit in accordance with the three-dimensional shape instructed by the plane shape instructing unit and the height receiving unit.

9. A recording medium storing a program for causing a computer of a programming device having a planar shape instruction unit, a height reception unit, and a control unit to execute:

receiving, by the plane shape instruction unit of the programming device, at least one first user operation that instructs a plane shape by specifying two or more portions of a plurality of portions arranged at mutually different positions in a plane direction;

receiving, by the height receiving unit of the programming device, at least one second user operation that indicates a height that is a position in a direction in which the planes intersect or an amount of displacement of the height in association with any one of the two or more portions; and

the control unit of the programming device generates a command list for moving the controlled unit in accordance with the three-dimensional shape instructed by the plane shape instructing unit and the height receiving unit.

Technical Field

The invention relates to a programming device, a recording medium and a programming method.

Background

Conventionally, along with the spread of information communication devices such as computers and mobile terminals and the development of control techniques for various devices including these information communication devices, importance of development techniques for programs has been raised. In recent years, the importance of programming education in the juvenile stage has been recognized worldwide, and the number of countries that are used as indispensable subjects in the stage of compulsory education has increased. In our country (japan) programming education also incorporated into the policy, it is predicted that the attention to programming education will be expanded to a lower age group in the future.

Against this increased interest in programming education, a variety of programming education tools have been developed. For example, patent document 1 describes a technique in which a user directly holds a physical block (object) and actually moves the block, and one-dimensional or two-dimensional connection is performed to generate a program, and the operation of an execution device is controlled based on the program. Non-patent document 1 describes a technique in which a user directly holds a physical block (object) and actually moves the block on a predetermined plate, and sequentially assembles the block to generate a program, thereby controlling the operation of the walking robot.

According to the techniques described in these documents, the structure and execution state of the program can be intuitively learned by sequentially executing the functions set for the connected or assembled blocks by the walking robot or the character. In the present specification, programming by a direct moving object as in patent document 1 or non-patent document 1 is referred to as tangible programming. On the other hand, programming by touching and moving a virtual icon, which is a virtual block displayed on a screen of an electronic display such as a liquid crystal display device, as in non-patent document 2 is called visual programming. In the present specification, tangible means a state that has an entity and can be touched with a hand in real space and actually sensed. In addition, although an electronic display such as a liquid crystal display device is tangible, it is not tangible operation that an icon or the like electronically displayed on such a display is operated by touching a display screen thereof.

Disclosure of Invention

Problems to be solved by the invention

In general, in programming education for young children such as infants, it is considered that the learning effect is relatively high in view of development of intelligence by performing tangible programming, that is, performing programming by performing operations such as moving and deforming an object that is actually touched in a real space.

However, the techniques described in patent document 1 and non-patent document 1 described above are methods of connecting blocks having set functions to predetermined joints and sequentially assembling the blocks on a predetermined plate to perform programming, although the techniques are tangible programming, and therefore the shape and arrangement of the entire connected or assembled blocks are irrelevant to the traveling direction of the actuator and the walking robot which actually operate. Therefore, the elderly may not easily intuitively understand the relationship between the operation content and the movement of the actuator during programming, and may not sufficiently obtain the learning effect of programming.

In recent years, there has been remarkable progress in control techniques related to movement of objects in three-dimensional space, such as the spread of flying objects such as drones, and the movement of objects (characters and the like) in virtual spaces of application software of mobile terminals such as smart phones and game machines. Therefore, in addition to the movement of an object in a three-dimensional space, importance has been raised in understanding the ability to move an object in a virtual three-dimensional space (hereinafter, these movements are collectively referred to as "three-dimensional object movement" for convenience) in a virtual three-dimensional space, which is a third dimension, in addition to the movement in a two-dimensional space.

As described above, conventionally, a tangible programming tool is known as a programming education tool for the younger, but none of them is a tool that can sufficiently obtain a programmed learning effect for a child. That is, there is no known programming education tool that makes it easy for the user to understand the relevance between the programming operation based on the tangible programming and the movement of the three-dimensional object of the controlled part corresponding to the program generated by the operation.

In view of the above-described problems, it is an object of the present invention to provide a programming device, a recording medium, and a programming method that enable a user to easily understand the relationship between a programming operation and the movement of a three-dimensional object in a controlled part corresponding to a program generated by the programming operation.

Means for solving the problems

The programming device according to the present invention includes:

a planar shape instruction unit that accepts at least one first user operation that instructs a planar shape by specifying two or more portions of a plurality of portions arranged at mutually different positions in a planar direction;

a height receiving unit configured to receive at least one second user operation that indicates a height that is a position in the intersecting direction of the planes or an amount of displacement of the height in association with any one of the two or more portions; and

and a control unit that generates a command list for moving the controlled unit in accordance with the three-dimensional shape instructed by the planar shape instructing unit and the height receiving unit.

A programming method according to the present invention is executed by a programming device including a plane shape instruction unit, a height receiving unit, and a control unit, the programming method including:

receiving, by the plane shape instruction unit of the programming device, at least one first user operation that instructs a plane shape by specifying two or more portions of a plurality of portions arranged at mutually different positions in a plane direction;

receiving, by the height receiving unit of the programming device, at least one second user operation that indicates a height that is a position in a direction in which the planes intersect or an amount of displacement of the height in association with any one of the two or more portions; and

the control unit of the programming device generates a command list for moving the controlled unit in accordance with the three-dimensional shape instructed by the plane shape instructing unit and the height receiving unit.

A recording medium according to the present invention stores a program for causing a computer of a programming device having a planar shape instruction unit, a height reception unit, and a control unit to execute:

receiving, by the plane shape instruction unit of the programming device, at least one first user operation that instructs a plane shape by specifying two or more portions of a plurality of portions arranged at mutually different positions in a plane direction;

receiving, by the height receiving unit of the programming device, at least one second user operation that indicates a height that is a position in a direction in which the planes intersect or an amount of displacement of the height in association with any one of the two or more portions; and

the control unit of the programming device generates a command list for moving the controlled unit in accordance with the three-dimensional shape instructed by the plane shape instructing unit and the height receiving unit.

Effects of the invention

According to the present invention, the correlation between the programming operation and the movement of the three-dimensional object of the controlled part corresponding to the program generated by the operation can be easily understood by the user.

Drawings

Fig. 1 is a schematic view showing an embodiment of a programming education device to which a programming device according to the present invention is applied.

Fig. 2 is a functional block diagram showing an example of a configuration to which the programming education device according to the present embodiment is applied.

Fig. 3 is a functional block diagram showing another configuration example to which the programming education device according to the present embodiment is applied.

Fig. 4 is a flowchart showing an example (general mode) of the programming operation and the program generation and execution method of the programming education device according to the present embodiment.

Fig. 5 is (a) schematic diagram for explaining a program operation process applied to the present embodiment.

Fig. 6 is a schematic diagram (second) for explaining a program operation process applied to the present embodiment.

Fig. 7 is (a) schematic diagram for explaining the program generation and execution process (collective process) applied to the present embodiment.

Fig. 8 is a schematic diagram (second drawing) for explaining the program generation and execution process (collective process) applied to the present embodiment.

Fig. 9 is (a) a schematic diagram for explaining the program generation and execution process (step process) applied to the present embodiment.

Fig. 10 is a schematic diagram (second drawing) for explaining the program creation and execution process (step process) applied to the present embodiment.

Fig. 11 is (a) schematic diagram showing a configuration example in which a guide piece is not provided in the programming education device (programming device) according to the present embodiment.

Fig. 12 is a schematic diagram (second) showing a configuration example in which the programming education device (programming device) according to the present embodiment does not include a guide piece.

Fig. 13 is a schematic diagram showing an example of a configuration in which a programming board and a core cell are integrated in a programming education device (programming device) according to the present embodiment.

Fig. 14 is a flowchart showing a modification (real-time mode) of the programming operation and the program generation/execution method of the programming education device according to the present embodiment.

Fig. 15 is (a) schematic diagram for explaining the program operation processing and the program generation and execution processing applied to the present modification.

Fig. 16 is a schematic diagram (second) for explaining the program operation processing and the program generation and execution processing applied to the present modification.

Fig. 17 is a schematic diagram showing a second embodiment of a programming education device to which a program control device according to the present invention is applied.

Fig. 18 is a schematic diagram showing a third embodiment of a programming education device to which a program control device according to the present invention is applied.

Detailed Description

The following describes a programming device, a control program thereof, and a programming method according to the present invention in detail with reference to embodiments. Here, for the sake of simplifying the description, a case will be described in which a program for controlling the operation state of a target device that can move three-dimensionally is generated using a programming education device to which the programming device according to the present invention is applied.

< one embodiment >

(Programming education device)

Fig. 1 is a schematic view showing an embodiment of a programming education device to which a programming device according to the present invention is applied. Fig. 2 is a functional block diagram showing an example of a configuration to which the programming education device according to the present embodiment is applied, and fig. 3 is a functional block diagram showing another example of a configuration to which the programming education device according to the present embodiment is applied.

The program education apparatus according to the present embodiment includes a program control apparatus 100 and a target device 200, for example, as roughly divided as shown in fig. 1. The program control device 100 receives an input operation by a user who is a target of program education, acquires information corresponding to the received input operation, and generates a program for controlling the operating state of the target device 200. The target apparatus 200 is a tangible or intangible mobile body, and is controlled to operate by executing a program transferred by the program control device 100. Next, the program control device 100 and the target device (controlled unit) 200 will be described in detail.

(program control device)

The program control device 100 includes, for example, as shown in fig. 1, a tangible programming board (planar shape indicator) 120, a programming block (height indicator, function setting unit, parameter value indicator) 140, a core unit (command generator) 160, and a programming boot (hereinafter simply referred to as "boot") 180.

(Programming board 120)

The programming board 120 is a tangible object that can be physically and directly contacted in real space, and has a substantially flat plate shape in which a programming region 104 is provided on one surface side (upper surface in the drawing) as shown in fig. 1, for example, and the programming region 104 is obtained by two-dimensionally arranging a plurality of tangible regions 102 having the same flat shape in a row-column direction so as to be adjacent to each other. The programming region 104 functions as an input device for acquiring information instructed by a user through a physical input operation as described later, and each region 102 of the programming region 104 corresponds to a position in a two-dimensional plane (horizontal plane in the present embodiment) of an absolute coordinate system when the target device 200 described later is operated. Here, the regions 102 have a rectangular planar shape such as a square or rectangle as shown in fig. 1, and are arranged in a lattice shape. The planar shape of each region 102 may be a polygonal shape such as an octagon or a circular shape other than a rectangle.

Specifically, the programming board 120 includes, as shown in fig. 2, an instruction detecting unit (height receiving unit, function receiving unit, parameter value receiving unit) 122, an identification shift unit 124, a block interface unit (hereinafter, simply referred to as "block I/F unit". height receiving unit, function receiving unit, parameter value receiving unit) 126, a storage unit 128, an external interface unit (hereinafter, simply referred to as "external I/F unit") 130, and a control unit 132.

The instruction detecting unit 122 detects whether or not the user has instructed each region 102 of the programming region 104. Specifically, the instruction detection unit 122 includes, for example, a touch sensor provided separately corresponding to each region 102 of the programming region 104, or a mechanical switch such as a push switch, as shown in fig. 2. Then, when a state in which the touch sensor detects that the user's finger or the like touches each of the areas 102 or a state in which the area 102 is pressed by pressing a switch, the instruction detecting unit 122 specifies the position of the area (instruction area 102) on the programming region 104. Information on the position of the indication area 102 acquired by the indication detection unit 122 (hereinafter referred to as "indication position information") is sequentially stored in a storage area of a storage unit 128, which will be described later. Here, the touch sensor to which the instruction detecting unit 122 is applied may be of a capacitance type or a pressure sensitive type. Further, the push switch to which the instruction detection unit 122 is applied preferably has a mechanism including: the on state and the off state are switched every time a user's pressing operation, and the height of the upper surface of each press switch after the pressing operation is restored to the upper surface height (for convenience, described as "reference height") of the programming region 104 (i.e., the height of the upper surface of the press switch is always returned to the reference height).

In fig. 2, a mode in which a touch sensor or a push switch is provided separately corresponding to each region 102 of the programming region 104 is shown as the instruction detecting unit 122, but the present invention is not limited to this mode. For example, as shown in fig. 3, the instruction detection unit 122 may be provided with a touch panel commonly provided in the entire area of the programming region 104. In this case, the instruction detecting unit 122 detects a state where a finger or the like of the user touches a position corresponding to each region 102 of the touch panel, and thereby specifies the position of the instruction region 102 on the programming region 104. In this case, the touch panel may be of a capacitive type or a pressure-sensitive type. According to this aspect, since the resolution of the touch panel of the instruction detection unit 122 can be increased and the instruction region 102 can be detected with high precision, the movement path of the target device 200 can be set not only to a linear (or orthogonal) path but also to a path including a smooth curve. In fig. 3, as will be described later, a mode in which a common light-emitting panel or display panel is provided in the entire area of the program area 104 is shown as the recognition shift section 124, but if the instruction detection section 122 is a mode in which the above-described touch panel is provided, the recognition shift section 124 may be provided separately for each area 102.

The recognition shift portion 124 shifts the region (the indication region) indicated by the user into a state that can be visually recognized with respect to the other regions that are not indicated. Specifically, the identification shift portion 124 has a light emitting portion or a display portion provided separately corresponding to each region 102 of the programming region 104, as shown in fig. 2, for example. Here, a Light Emitting Diode (LED) can be applied as the light emitting section to which the recognition shift section 124 is applied, and a display system using a liquid crystal or an organic EL element can be applied as the display section. In the programming operation using the programming board 120, the recognition shift unit 124 can visually recognize the other area 102 by causing the light emitting unit of the area 102, in which the user's instruction is detected by the instruction detection unit 122, to emit light in a predetermined light emitting color, light emitting intensity, and light emitting pattern, or by changing the image displayed on the display unit.

When the program generated by the programming operation is executed to operate the target device 200, the recognition shift unit 124 can visually recognize the other region 102 by causing the light emitting unit of the region 102 corresponding to the movement position of the target device 200 to emit light in a predetermined light emitting color, light emitting intensity, and light emitting pattern, or by changing the image displayed on the display unit. An example of identifying the shift state of the shift portion 124 (the light-emitting state of the light-emitting portion) during the program operation and the program execution will be described in detail in a program method described later.

In fig. 2, a mode in which a light emitting portion or a display portion is provided separately corresponding to each region 102 of the program region 104 is shown as the identification shift portion 124, but the present invention is not limited to this mode. For example, as shown in fig. 3, the identification shift portion 124 may be a light emitting panel and a display panel that are provided in common in the entire region of the programming region 104. In this case, the recognition shift unit 124 can visually recognize the other region 102 by causing the region of the light-emitting panel corresponding to the region 102 instructed by the user to emit light with a predetermined light-emitting color, light-emitting intensity, and light-emitting pattern and changing the image displayed on the region of the display panel during the program operation. When executing the program generated by the programming operation, the recognition shift unit 124 causes the region of the light-emitting panel corresponding to the movement position of the target device 200 to emit light with a predetermined light-emitting color, light-emitting intensity, and light-emitting pattern, and changes the image displayed on the display panel, thereby visually recognizing the other region. The light-emitting panel and the display panel to which the recognition shift unit 124 is applied can be applied to, for example, a panel in which LEDs are two-dimensionally arranged, a liquid crystal display panel, or an organic EL display panel. In this way, since the resolution of the light emitting panel and the display panel of the recognition shift unit 124 can be improved and the multicolor light emitting operation and the display operation can be performed more finely, the moving path and the corresponding area of the target device 200 can be clearly and clearly recognized at the time of the programming operation and the program execution. In fig. 3, as described above, the instruction detection unit 122 is shown as a system in which a common touch panel is provided in the entire area of the program area 104, but if the recognition shift unit 124 is a system in which the above-described light emitting panel and display panel are provided, the instruction detection unit 122 may be provided separately for each area 102. The recognition shift unit 124 may be configured to include an acoustic unit and a vibration unit in addition to the light emitting unit and the display unit, and to change the amplitude, frequency, and mode of sound generation and vibration. This allows the user to more reliably recognize the indication region 102 by the sense of hearing and touch in addition to the sense of sight.

The block I/F unit 126 detects the presence or absence of the programmed block 140 placed in each area 102 of the programmed area 104 and information on the stacking state including the number of programmed blocks 140 stacked in the area 102 (hereinafter, described as "stacking determination information"), and receives information having a unit change amount for setting the position in the height direction (vertical direction with respect to the horizontal plane) of the absolute coordinate system of the target device 200 (hereinafter, described as "height setting information") set in advance for the programmed block 140. Specifically, the bulk I/F portion 126 has a non-contact type or contact type interface that is separately provided for each region 102 of the programming region 104. When the state in which the program block 140 is placed in the indication area 102 of the program area 104 is detected through the non-contact or contact interface, the block I/F unit 126 determines the position and the stacked state of the program block 140 on the program area 104 and receives height setting information of the program block 140. The information on the position of the programmed block 140 (hereinafter referred to as "block position information") acquired by the block I/F unit 126, and the above-described stack specification information and height setting information are sequentially stored in a storage area of the storage unit 128, which will be described later, in association with each other. Here, when a non-contact interface is applied, for example, a system based on a near Field communication (nfc) technology used for electronic money cards and the like, or an optical communication system using infrared rays and the like may be applied to the block I/F unit 126, and when a contact interface is applied, a system in which terminal electrodes are directly connected to each other may be applied.

In the case of a touch sensor or a touch panel of the capacitive type as the instruction detecting unit 122, the instruction detecting unit 122 may detect whether or not the programming block 140 is placed (contacted) on the programming region 104 (presence or absence of the programming block 140) by using a dielectric material of the same degree as that of a human body for a part or all of the programming block 140. In addition, when the instruction detecting unit 122 includes a pressure-sensitive touch sensor or a touch panel, or a push switch, the instruction detecting unit 122 may detect whether or not the programming block 140 is placed (contacted) on the programming region 104 (presence or absence of the programming block 140) by lightly pressing the programming region 104 with the programming block 140.

The storage unit 128 sequentially stores the instruction position information on the position of the instruction area 102 acquired by the instruction detection unit 122 in the storage area. Here, by arranging the respective instruction position information stored in the storage area of the storage unit 128 in time series, information related to the instruction sequence of the user (hereinafter, referred to as "sequence information") can be obtained. The instruction position information and the sequence information define a movement component in the horizontal direction obtained by projecting the movement path of the target device 200 whose operation state is controlled according to the programmed operation of the user on the horizontal plane. That is, the user determines an operation state in the horizontal plane for specifying the movement path of the target device 200 by instructing two or more consecutive areas 102 of the programming area 104. In other words, in the programming region 104, when a set of line segments formed by connecting two adjacent regions 102 to each other in a virtual path determined by a user's instruction of two or more continuous regions 102 is defined as a first shape, a path having a similar shape to the first shape is defined as a horizontal movement component in an actual movement path of the target device 200.

The storage unit 128 stores the block position information on the position of the programmed block 140 acquired by the block I/F unit 126, the height setting information for setting the position of the target device 200 in the height direction, and the stacking determination information on the stacking state including the number of stacked programmed blocks 140 in association with each other. Here, in the core unit 160 described later, the position in the height direction of the target device 200 in each indication area 102 for determining the virtual path is set by multiplying the unit amount of change in the height setting information associated with each piece of block position information by the number of stacked programmed blocks 140 in the stack specification information. A path in which the position in the set height direction is added to the position corresponding to each instruction region 102 of the virtual path is defined as a movement path of the target device 200 in the actual three-dimensional space. In other words, when a three-dimensional solid shape obtained by adding the position in the height direction (height component in the vertical direction) set for each instruction region 102 to the first shape defining the virtual path is defined as the second shape, a path having a three-dimensional solid third shape having a shape similar to the second shape is defined as the actual movement path of the target device 200.

The storage unit 128 may store a program for controlling the operation of each unit of the programming board 120 in the control unit 132 described later, and various information. That is, the storage section 128 includes a RAM (random access memory) and a ROM (read only memory).

The external I/F unit 130 is used for communication between the programming board 120 and a core unit 160 described later, and transmits instruction position information, sequence information, block position information, stacking determination information, and height setting information (hereinafter, these pieces of information are collectively referred to as "input operation information") stored in the storage area of the storage unit 128 to the core unit 160. Specifically, the external I/F part 130 has a non-contact type or contact type interface. Here, when a non-contact interface is applied, the external I/F unit 130 may apply a Wireless communication method such as NFC or Bluetooth (registered trademark) or Wi-Fi (Wireless Fidelity, registered trademark), or an optical communication method using infrared rays or the like, and when a contact interface is applied, a wired communication method using various communication cables or a method of directly connecting terminal electrodes to each other.

The control unit 132 is a processor of a computer that controls the operation of each part of the programming board 120, and the programming board 120 includes the above-described instruction detecting unit 122, the recognition shift unit 124, the block body I/F unit 126, the storage unit 128, and the external I/F unit 130. In particular, when the instruction detection unit 122 detects an instruction from the user to each region 102 of the programming region 104, the control unit 132 causes the storage region of the storage unit 128 to sequentially store the instruction position information of the region 102, and causes the recognition shift unit 124 to cause the region 102 to emit light in a predetermined light-emitting state or to change the display image so as to shift the display image to a visually recognizable state. When the block I/F unit 126 detects that the programmed block 140 is placed on the indication area 102, the control unit 132 acquires the height setting information set for the programmed block 140 and the stacking determination information related to the stacking state of the programmed block 140 via the block I/F unit 126, and stores the height setting information and the stacking determination information in the storage area of the storage unit 128 in association with the block position information of the programmed block 140. In addition, the control part 132 transmits various information stored in the storage area of the storage part 128 through a program operation to the core unit 160 via the external I/F part 130.

(Programming block 140)

The programming block 140 is a tangible object capable of physically direct contact within real space, for example as shown in fig. 1, having a substantially cubic (or substantially rectangular parallelepiped) shape, placed by a user in any of the indicated areas 102 on the programming region 104 of the programming pad 120. The programming block 140 functions as an input device for setting the position in the height direction of the target device 200 in each indication area 102 of the programming region 104 when the target device 200 is operated. Here, the programming block 140 is disposed by stacking one or more stages on the programming region 104 at a height-directional position set for the target device 200. The three-dimensional shape of the programming blocks 140 is not limited to a cube and a rectangular parallelepiped, and may be any shape having a polyhedral shape as long as the programming blocks 140 can be stably placed on the programming region 104 and the programming blocks 140 can be stably stacked on each other, and is not limited to this example, and may be a shape in which a part of the surface is a curved surface, such as a substantially cylindrical shape, a substantially conical shape, a substantially truncated conical shape, a substantially spherical shape, a substantially hemispherical shape, or the like. In addition, in order to stably place the programming blocks 140 on the programming region 104 or stably place the programming blocks 140 on each other and reliably transmit the above-described height setting information and the stacking determination information related to the stacking state of the programming blocks 140 to the programming board 120, it is preferable that the lower surface of the placed programming block 140 and the upper surface of the placed programming board 120 or the upper surface of the other programming blocks 140 are appropriately closely attached. For this reason, for example, both surfaces to be contact surfaces may have a concave-convex shape for engaging with each other, or both surfaces may be attracted by a magnetic force or the like.

The programming block 140 specifically has, for example, as shown in fig. 2, a block I/F portion 141 on the lower face side (the lower face side of the cube shape in fig. 1), a block I/F portion 142 on the upper face side (the upper face side of the cube shape in fig. 1), an identification shift portion 144, a storage portion 146, and a control portion 148.

The block I/F part 141 on the lower side is used for communicating with the programming board 120 or other programming blocks 140 stacked on the lower section, and the block I/F part 142 on the upper side is used for communicating with other programming blocks 140 stacked on the upper section. Thus, the height setting information stored in the storage area of the storage unit 146, which will be described later, and the stacking confirmation information regarding the stacking state of the programming blocks 140 are transmitted to the programming board 120 directly or indirectly via the programming blocks 140 on the lower stage.

Specifically, the block I/F portions 141, 142 have non-contact type or contact type interfaces that are separately provided on two face sides (lower face side and upper face side of the cube shape in fig. 1) opposed in the cube shape of, for example, the programming block 140. When the non-contact or contact interface detects that the program block 140 is placed in the indication area of the program area 104 and that another program block 140 is stacked on the program block 140, the block I/F units 141 and 142 transmit the height setting information set for the program block 140 and the stack determination information related to the stacked state of the program block 140 to the program board 120. Here, when the programming block 140 is inverted in the vertical direction, the block I/F portion 142 is disposed on the lower surface side of the cubic shape, and the block I/F portion 141 is disposed on the upper surface side of the cubic shape of the programming block 140, the block I/F portions 141 and 142 can communicate with the programming board 120 or other stacked programming blocks 140 as described above. That is, the block I/F portion 141 on the lower surface side and the block I/F portion 142 on the upper surface side have the same functions, and the same manner as the various manners shown in the block I/F portion 126 of the programming board 120 described above is applied.

In addition, in the present embodiment, a mode is shown in which the separate block I/F portions 141, 142 having the same function are provided on the two opposing face sides (upper face side and lower face side) of the programming block 140 having a cubic shape, but the present invention is not limited to this mode. For example, communication may be performed between the programming board on the lower surface side and another programming block stacked on the upper surface side or the lower surface side through one block I/F portion provided to the programming block.

In addition, as another mode, for example, in a case where any face of the cube becomes a contact face when placed on the programming board 120 and in a case where any face is stacked with another programming block 140, block I/F portions 142 are provided on all six faces individually or collectively so that communication with the programming board 120 or the other programming block 140 is possible.

The identification shift portion 144 has a light emitting portion or a display portion, as in the identification shift portion 124 of the programming board 120, and when the block body I/F portion 142 detects that the programming block body 140 is placed in each region 102 of the programming region 104 during the programming operation using the programming board 120, the light emitting portion emits light in a predetermined light emitting state and the image displayed on the display portion is changed, thereby enabling visual identification with another programming block body 140.

The display unit to which the recognition shift unit 144 is applied may change the displayed image without using electric power. For example, a permanent magnet is provided in a portion of the programming board 120 corresponding to each region 102 of the programming region 104, and a permanent magnet is also provided in the programming block 140. Alternatively, the image may be changed by rotating the display part by an attractive force or a repulsive force generated between the permanent magnet in the programming board 120 and the permanent magnet in the programming block 140 as the programming block 140 is placed on the region 102 by using a magnetic force. In addition, a convex portion may be provided at least on a side placed on the programming board 120 in the programming block 140, and the convex portion may be pressed and displaced toward the inside by being placed on the programming board 120. Further, a method having a mechanical mechanism may be adopted in which, as the programming block 140 is placed on the region 102, the convex portion of the programming block 140 is pressed inward and displaced, and the display portion is rotated in conjunction with the displacement, thereby changing the image.

When the program generated by the programming operation is executed and the target device 200 is operated in the three-dimensional space, the recognition shift unit 144 can visually recognize the other program blocks 140 by causing the light emitting unit of each program block 140 that defines the position of the target device 200 in the height direction to emit light in a predetermined light emitting state or by changing the image displayed on the display unit.

The recognition shift unit 144 may have an acoustic unit and a vibration unit in addition to the light emitting unit or the display unit, and may have a mode in which the amplitude, frequency, and mode of sound generation and vibration are changed, as in the recognition shift unit 124 of the programming board 120. This allows the user to more reliably recognize the programming block 140 at the position in the predetermined height direction by the sense of hearing and touch in addition to the visual sense.

The storage unit 146 stores height setting information having a unit change amount for setting the position of the target device 200 in the height direction when the target device 200 is operated in the three-dimensional space. Here, as the height setting information for setting the position of the target apparatus 200 in the height direction, there is a numerical value indicating the amount of relative change in the height direction of the position corresponding to the region 102 where the programming block 140 is placed (for example, 10cm rise from the height of the region immediately before). The present invention is not limited to this embodiment, and may be configured to have a numerical value indicating an absolute position of the target device 200 in the height direction (for example, the height position from the ground is 10cm) as the height setting information.

In addition, the storage unit 146 temporarily stores the height setting information and the stacking determination information transmitted from the other programming blocks 140 stacked on the programming block 140 in the storage area. The storage unit 146 may store a program for controlling the operation of each unit of the programming block 140 in the control unit 148 described later, and various information. That is, the storage unit 146 includes a RAM and a ROM.

In the above-described embodiment, the height setting information having one unit change amount is fixedly stored in the storage area of the storage unit 146 for each program block 140, but the present invention is not limited to this embodiment. For example, the height setting information having a plurality of unit variation amounts may be stored in the storage area of the storage unit 146 in advance in one programming block 140, and an arbitrary unit variation amount may be selected and set from the plurality of unit variation amounts by setting change by software, operation of a selector switch, detection of inclination and impact of the programming block 140 by a gravity sensor and an acceleration sensor, and the like.

As another mode, for example, in the programming block 140 having a cubic shape, the block I/F section 142 is provided on all six faces of the cube, and the height setting information having each unit change amount may be stored in the storage area of the storage section 146 by associating the six faces with different unit change amounts. Then, the surface that directly or indirectly contacts the programming board 120 via the block I/F portion 142 of each surface is detected, and the height setting information corresponding to the contact surface is read from the storage area of the storage portion 146 and transmitted to the programming board 120. Thus, the position of the target device 200 in the height direction is set according to the plurality of kinds of unit variation amounts corresponding to the surface of the programming block 140 contacting the programming board 120. In the case where different amounts of unit change are associated with one or more surfaces of the programming block 140, for example, characters, symbols, illustrations, images, and the like indicating unit changes corresponding to the contact surface may be expressed on a surface (upper surface of the cube) facing the surface (lower surface of the cube) contacting the programming board 120, and the content of the unit changes for visually recognizing the position in the height direction of the setting target device 200 may be displayed.

The control unit 148 is a processor of a computer that controls the operation of each part of the programming block 140, and the programming block 140 includes the block I/F units 141 and 142, the identification shift unit 144, and the storage unit 146. In particular, when the state in which the program block 140 is placed on the indication area 102 is detected by the block I/F/141 (or 142), the control unit 148 transmits the height setting information set for the program block 140 and the stacking determination information related to the stacking state of the program block 140 to the program board 120 via the block I/F unit 141, and causes the program block 140 to emit light in a predetermined light-emitting state or to change the display image by the recognition shift unit 144, thereby shifting the program block to a visually recognizable state.

(core unit 160)

The core unit 160 has, for example, a rectangular parallelepiped shape or a flat plate shape in which an operation switch is arranged on one surface side (an upper surface in the drawing) as shown in fig. 1. The core unit 160 functions as a control device, generates a program for operating the target device 200 based on information obtained by a programming operation using the programming board 120, and controls the operating state of the target device 200 by executing the program.

The core unit 160 specifically has, for example, as shown in fig. 2, an operation section 162, an external I/F section 164, a storage section 166, a communication interface section (hereinafter simply referred to as a communication I/F section) 168, a control section 170, and a power supply section 172.

The operation unit 162 is operated by the user to generate a program based on the information obtained by the programming operation using the programming board 120, and to instruct the execution state of the program. Specifically, the operation unit 162 has a plurality of push switches and touch sensors for selecting the execution state of the generated program, or a touch panel. Here, the operation unit 162 is provided with the following push switches and the like as shown in fig. 1, for example: an overall execution switch 112 for collectively executing the entire program generated by the control unit 170 described later; a step execution switch 114 for causing the commands of the program to be executed step by step; an execution stop switch 116 for stopping the program being executed; the switch 118 is reset to return the target apparatus 200 to the initial position (start point). When detecting that the user has pressed or touched any of the switches, the operation unit 162 outputs a control signal indicating the generation and execution of the program in accordance with the switch operation to the control unit 170 described later.

The external I/F section 164 is used for communication between the core unit 160 and the programming board 120, receives input operation information transmitted from the programming board 120, and stores the input operation information in a storage area of a storage section 166 to be described later. The storage unit 166 stores input operation information received from the programming board 120 via the external I/F unit 164 in a predetermined storage area, and stores a program generated by the control unit 170 described later in another storage area based on the information. The storage unit 166 may store a program for generating a program for controlling the operation state of the target device 200, a program for controlling the operation of each unit of the core unit 160, and other various information in the control unit 170 based on the received input operation information. That is, the storage unit 166 includes a RAM and a ROM.

The communication I/F section 168 is used for communication between the core unit 160 and the target device 200, and transmits the program stored in the storage area of the storage section 166 to the target device 200. Specifically, the communication I/F section 168 has a non-contact or contact interface, and when the non-contact interface is applied, for example, a wireless communication method such as Wi-Fi (registered trademark) or Bluetooth (registered trademark), or an optical communication method using infrared rays or the like can be applied, and when the contact interface is applied, a wired communication method using a communication cable can be applied.

The control unit 170 is a processor of a computer that controls operations of the respective units of the core unit 160, and the core unit 160 includes the above-described operation unit 162, the external I/F unit 164, the storage unit 166, the communication I/F unit 168, and a power supply unit 172, which will be described later. In particular, when the operation unit 162 detects an instruction from a user regarding the generation and execution of the program, the control unit 170 generates a program for controlling the operation state of the target device 200 based on the input operation information transmitted from the programming board 120.

Specifically, when the collective execution switch 112 or the step execution switch 114 is operated in the operation unit 162 and the pressed or contact state is detected, the control unit 170 generates a program having a command for controlling the operation state of the target device 200 moving in the three-dimensional space, based on the input operation information (instruction position information, sequence information, block position information, stacking determination information, and height setting information) transmitted from the programming board 120. Here, each piece of information obtained by the programming operation using the programming board 120 corresponds to the source code of the program, and the control unit 170 converts (compiles) the source code into a program made of a machine language executable by the target device 200. The program subjected to the conversion processing is stored in another storage area of the storage section 166. The conversion process may be performed collectively for the entire program, or may be performed for each command of one step of the program.

Then, the control unit 170 transmits the generated program to the target device 200 in accordance with the switching operation of the operation unit 162, and controls the operation state of the target device 200. The control unit 170 controls the supply state of electric power for driving each unit in the core unit 160, the programming board 120, and the programming block 140 via the power supply unit 172.

The power supply unit 172 supplies driving power to each unit in the core unit 160. The power supply unit 172 connects the core unit 160 and the programming board 120, and supplies driving power to each unit in the programming board 120 via the external I/F units 164 and 130. The power supplied by the programming board 120 is also supplied to the programming block 140 via the block I/F sections 126, 141 (or 142). Here, the power supply unit 172 may be supplied with electric power from a commercial ac power supply, may include a primary battery such as a dry cell battery, a secondary battery such as a lithium ion battery, or may include a power generation unit based on an environmental power generation technology.

In the present embodiment, a power supply unit is provided only in the core cell 160, and a power supply unit is not provided in the programming board 120 and the programming block 140. In this embodiment, the core unit 160 and the programming board 120 are connected, and the core unit 160 supplies driving power to the programming board 120 via power feeding mechanisms provided in both external I/F units 164 and 130. Further, the programming block 140 is placed on the programming board 120, and the programming board 120 supplies electric power for driving to the programming block 140 via the power feeding mechanism provided in both block I/F portions 126 and 141 (or 142). Here, as the power feeding mechanism provided in the external I/F portions 130 and 164 and the block I/F portions 126 and 141, a non-contact type power feeding mechanism such as an electromagnetic induction method or a contact type power feeding mechanism in which a cable and a terminal electrode are directly connected can be applied.

In another embodiment applicable to the present invention, one or both of the programming board 120 and the programming block 140 may have a power supply unit unique thereto. In the embodiment in which the programming board 120 has a power supply unit, the programming board 120 may supply driving power to the programming block 140 via a power supply mechanism provided in the block I/F units 126 and 141.

In a manner in which at least the program board 120 has an inherent power supply portion, a user can perform a program operation using the program board 120 and the program block 140 even in a state in which the core cell 160 is not connected to the program board 120. In a state where the core unit 160 is separated and independent from the programming board 120 (that is, the core unit 160 alone), the program generation process based on the input operation information and the control of the operation state of the target device 200 can be performed by operating the switches of the operation unit 162.

(guide piece 180)

The guide sheet 180 is, for example, a transparent (transparent or translucent) tangible film or sheet, as shown in fig. 1, which is placed and mounted on the programming region 104 of the programming board 120, and is pre-written with images (illustrations and writings, numbers, letters, symbols, etc.) for supporting and guiding the programming operation of the user. In other words, the guide piece 180 has information for specifying a virtual path for specifying the movement path of the target device 200 recorded therein. Here, the guide piece 180 is provided with a plurality of sections 106 corresponding to the respective areas 102 of the programming area 104 of the programming board 120, and the image is expressed in units of the sections 106. Specifically, for example, in the case where a road and a tunnel, a mountain and a river, a sea, or the like is expressed on the guide piece 180, the image is set to be continuous between the adjacent sections 106, and in the case where a house, a tree, or the like is expressed, the image is set in units of one or more sections 106.

In addition, as described above, in the programming operation for determining the virtual path corresponding to the movement component in the horizontal direction in the movement path of the target device 200, the user touches the finger or the like of the user to any one of the plurality of sections 106 of the guide piece 180 or presses down the one section 106. When the touch sensor of the electrostatic capacitance system is applied to the instruction detecting unit 122, the guide piece 180 has a property (sensing characteristic) that it can appropriately transmit the contact state of the dielectric such as the finger of the user to the touch sensor while having the protection programming region 104. In this case, the instruction detecting unit 122 can detect a change in the capacitance of the one region 102, as in the case where the one region 102 of the programming region 104 of the programming plate 120 located directly below the contacted one region 106 is directly contacted, in accordance with the above-described contact operation. When the instruction detection unit 122 is a touch sensor or a push switch of a pressure-sensitive type, the instruction detection unit 122 can detect the displacement of the one region 102 in accordance with the above-described push operation, as in the case where the one region 102 of the programming region 104 of the programming board 120 located directly below the pushed one section 106 is directly pushed.

In addition, in the programming operation in which the user sets the position of the target device 200 in the height direction in the movement path in the horizontal plane, one or more programming blocks 140 are placed in each of the areas 106 (that is, corresponding to each of the areas 102 of the programming area 104) of the guide piece 180 mounted on the programming board 120 in accordance with the position of the target device 200 in the height direction. At this time, information is transmitted and received between the program block body 140 and the program board 120 via the guide piece 180 in accordance with a predetermined communication method. Here, when a wireless communication technique such as NFC or an optical communication method such as infrared communication is applied to the block I/F sections 141 and 126 of the programming block 140 and the programming board 120, the guide piece 180 has a property or a form that transmits electromagnetic waves or light used for the communication. When the method of directly connecting the terminal electrodes to each other is applied, the guide piece 180 may be provided with an opening (through hole) for directly contacting the block I/F portion 141 of the programming block 140 and the block I/F portion 126 of the programming plate 120 in each section 106, or may be provided with a through electrode (conductor exposed on both the front and rear surfaces of the guide piece 180) for electrically connecting the block I/F portion 141 and the block I/F portion 126 in each section 106.

In addition, the user sequentially instructs the respective regions 102 of the programming board 120 from the guide sheet 180 according to the terrain or the like expressed on the guide sheet 180, and places the programming blocks 140 in the respective regions 102, thereby deciding the moving path of the target device 200 in the three-dimensional space. By preparing a plurality of kinds of the guide pieces 180 thus expressed with specific images related to the programming operation according to the contents of the programming and appropriately replacing the guide pieces 180 installed on the programming region 104, the programming operation of different contents can be appropriately supported, and the efficiency of the programming learning can be improved.

In addition, according to the programming operation using the guide piece 180, even when the region 102 instructed by the programming operation of the user and the region 102 corresponding to the movement position of the target device 200 at the time of executing the generated program are caused to emit light in a predetermined light emission state by the recognition shift unit 124 or the display image is changed, the light and the image can be visually recognized by the light-transmissive guide piece 180.

(target device 200)

The target device 200 is an execution target of a program generated by the program control apparatus 100 according to an input operation by a user. In the present embodiment, a case where a flight vehicle having a solid body, such as an unmanned aerial vehicle that flies three-dimensionally in a predetermined space in a real space, is applied as the target device 200 is shown in fig. 1, for example. However, the target apparatus 200 may be any apparatus as long as it is an apparatus that controls an operation state in a three-dimensional space based on the generated program, and may be an application software executed in a mobile terminal such as a smartphone or a tablet terminal, an information communication apparatus such as a personal computer, or an object in a virtual space realized by the application software, that is, an intangible moving body, in addition to the tangible moving body.

In the case where the target apparatus 200 is a tangible moving body, the target apparatus 200 has a communication I/F section, a driving section, a storage section, a function section, a power supply section, and a control section. The communication I/F unit of the target device 200 communicates with the communication I/F unit 168 of the core unit 160, and receives a program generated by the control unit 170 of the core unit 160. The storage unit stores the program received by the communication I/F unit of the target device 200. The control unit controls a function unit, a drive unit, a power supply unit, and the like, which will be described later, in accordance with a program stored in the storage unit of the target device 200, and causes the target device 200 to operate.

The target device 200 sequentially indicates each region 102 of the programming region 104 in which the guide tab 180 is installed by a user in a programming operation using the programming board 120, and performs a stereoscopic movement along a movement path in a three-dimensional space determined by placing the programming blocks 140 in each region 102. Here, the target device 200 moves on the actual topography (actual topography) 202 along the above-described movement path, and the actual topography 202 corresponds to an image (similar image) in which the image of the guide piece 180 used at the time of the programming operation is enlarged.

The target device 200 to which the present embodiment is applied is not limited to the flying body such as the unmanned aerial vehicle shown in fig. 1, and may be, for example, a submersible body that submerges in water, a self-propelled toy that travels on the ground and jumps to a predetermined height at a predetermined position, or a hull that moves on the water surface and ejects water to a predetermined height at a predetermined position, as long as the object moves in a specific horizontal plane and the component in the direction perpendicular to the horizontal plane changes. Here, when the target device 200 is a flying body or a submersible body as in the present embodiment, the target device 200 may further perform an operation of ascending from the ground to a certain height at the start point of the movement path or diving to a certain depth from the water surface, and then descending to the ground or floating to the water surface at the end point of the movement path.

When application software executed in a mobile terminal or an information communication device is applied as the target device 200, the operating state of the object (e.g., a character, an object, or the like in a game screen) is controlled in a virtual three-dimensional space realized by the application software, and the object is moved on an arbitrary path in the three-dimensional space.

(Programming operation and program generating and executing method)

Next, a programming operation of the programming education device according to the present embodiment, and a program generation and execution method (programming method) will be described.

Fig. 4 is a flowchart showing an example (general mode) of the programming operation and the program generation and execution method of the programming education device according to the present embodiment. Fig. 5 and 6 are schematic diagrams for explaining a program operation process applied to the present embodiment. Fig. 7 and 8 are schematic diagrams for explaining the program generation and execution process (collective process) applied to the present embodiment. Fig. 9 and 10 are schematic diagrams for explaining the program generation and execution process (step process) applied to the present embodiment. The processing operation (step S104) regarding the mode switching setting in the flowchart of fig. 4 will be described in detail in a modification example described later, and therefore, the description thereof will be appropriately omitted in the present embodiment.

In the program operation and the program generation and execution method of the program education device according to the present embodiment, the following processes are roughly divided into the following steps: a program operation process based on an input operation using the program board 120, the program bulk 140, and the boot strap 180; a program generation process based on input operation information using the programming board 120 and the core unit 160; and a program execution process using the core unit 160 and the target device 200. These respective control processes in the programming education apparatus are realized by executing a specific control program in the respective control sections provided in the above-described programming board 120 and programming block 140, core unit 160, target device 200, independently or in cooperation with each other.

(program operation processing)

In the programming operation process of the programming education device according to the present embodiment, as shown in the flowchart of fig. 4 and fig. 5(a) and (b), first, the user turns on the power of the core unit 160 in a state where the programming board 120 and the core unit 160 of the programming education device are connected, thereby starting the program control device 100 and turns on the power of the target device 200 to start the same (step S102). Also, the guide tab 180 is installed in a manner to cover the programming region 104 of the programming board 120.

Here, as shown in fig. 2, the guide piece 180 is provided with an IC chip 182 storing all the movement path information and adjacent area information to be described later. The programming board 120 is provided with an IC chip reading unit 184 for reading adjacent area information stored in the IC chip 182 of the guide piece 180 mounted thereon. The IC chip reading unit 184 reads data stored in the IC chip 182 by a communication method such as short-range wireless communication. When the power of the programming board 120 is turned on and the programming board 120 is mounted on the guide piece 180, all the moving path information and the adjacent area information unique to the guide piece 180, which are stored in the IC chip 182 of the guide piece 180, are read by the IC chip reading portion 184 of the programming board 120, and are stored in the storage area of the storage portion 128 according to the control of the control portion 132 of the programming board 120.

Then, a program operation process is performed using the program board 120 and the program block 140 mounted with the guide tab 180. Specifically, first, as shown in fig. 6(a), the user refers to the image expressed by the guide piece 180 attached to the programming board 120 and, at the same time, touches a plurality of sections 106 (that is, a plurality of areas 102 of the programming area 104) corresponding to the horizontal movement component in the movement path when the target device 200 is operated, or sequentially instructs to press the sections 106. Here, the user instructs two or more consecutive sections 106 including the start point (start) Rs and the end point (end) Rg on the guidance piece 180 in order to determine the movement path of the target appliance 200 in order of the movement order of the target appliance 200.

Here, the above-described overall moving path information and adjacent area information will be described in detail. In this embodiment, the plurality of regions 102 of the program region 104 are arranged two-dimensionally in the row and column directions, and two regions 102 arranged continuously in the arrangement direction (row direction or column direction) are considered to be adjacent to each other. In this case, two regions 102 adjacent to each other may be disposed apart from each other by a distance equal to or less than an appropriately set threshold value. The entire movement path information is information for specifying the relative position within the programming area 104 of the programming board 120 in the two or more areas 102 corresponding to the two or more continuous sections 106 including the start point Rs and the end point Rg. The adjacent area information is information indicating whether or not the areas 102 of any two of the plurality of areas 102 are adjacent to each other. All the movement path information and the adjacent area information are stored in the storage area of the storage section 128 of the programming board 120, for example. All the moving path information and the adjacent area information stored in the storage area may be stored in the IC chip 182 of the guide piece 180 and read by the IC chip reading unit 184 as described above, or a plurality of adjacent area information may be stored in advance in the storage area of the storage unit 128 of the programming board 120, and information corresponding to the type of the guide piece 180 to be mounted may be selected in accordance with a user operation. As described in detail below, all of the movement path information and the adjacent area information stored in the IC chip 182 of the guide piece 180 are information for specifying a virtual path that defines an operation state of the target device 200 in a horizontal plane in the movement path.

In the present embodiment, as shown in fig. 5 a, with a certain region 102 of interest (for convenience, referred to as "102X"), four regions 102L, 102R, 102U, and 102D, i.e., one region 102L arranged on the left and one region 102R arranged on the right in the row direction, and one region 102U arranged on the top and one region 102D arranged on the bottom in the column direction, are regions 102 adjacent to the certain region 102X of interest. Information for specifying the certain region 102X of interest and information for specifying the four adjacent regions 102L, 102R, 102U, 102D associated with the information are stored as adjacent region information in the storage region of the storage section 128 of the programming board 120. Here, the information for specifying the region 102 includes information on the relative position of each region 102 on the programming region 104 of the programming board 120, and specifically, may be a numerical value for specifying the region 102 that is several rows counted from the leftmost row of the programming board 120 and several columns counted from the uppermost column, but this is merely an example.

In addition, which of the plurality of regions 102 is set as a region adjacent to a certain region 102X of interest may be appropriately set according to the purpose of learning related to programming. For example, in addition to the four regions 102L, 102R, 102U, and 102D described above, the four regions 102 disposed closest to the certain region 102X of interest in the oblique direction (45 ° direction) intersecting the arrangement direction may be set as the regions 102 adjacent to the certain region 102X of interest.

Here, in the programming region 104 of the programming board 120 of the present embodiment, a plurality of regions 102 are arranged in the row direction without any dead space in the entire region. However, in the case where the guide tab 180 is installed, the user does not necessarily allow the programming operation for all the regions 102.

Specifically, as shown in fig. 5(b), the program operation is permitted only in the plurality of regions 102 located directly below the plurality of sections 106 where the black lines of the designated virtual path are drawn in the leader block 180, and the program operation is prohibited in the other plurality of regions 102. In this case, when any of the region (instruction inhibited region) in which the program operation should be inhibited and the four (eight in the case of including the oblique direction) regions 102 adjacent to the certain region 102X of interest are adjacent to each other, it is assumed that the instruction inhibited region is not an adjacent region to the certain region 102X of interest. Specifically, the adjacent region information corresponding to the certain region 102X of interest may be set to not include the information indicating the prohibited region. Here, for convenience, a region other than the indication prohibition region, that is, a region in which the program operation is permitted is referred to as an "indication permission region". Taking the starting point Rs as an example, since the region 102 does not exist below the one region 102 corresponding to the section 106 of the starting point Rs in the column direction and the regions 102 adjacent to the right side in the row direction and the left side in the row direction are not drawn with black lines designating virtual paths, the three regions 102 are not included in the adjacent region information of the one region 102 corresponding to the starting point Rs. Therefore, only information for specifying one region 102 corresponding to the start point Rs and information related to the information for specifying one region 102 adjacent to the upper side in the column direction (the region 102U when the one region 102 corresponding to the section 106 of the start point Rs is "102X") may be included as the adjacent region information corresponding to the one region 102.

The control unit 132 of the programming board 120 determines whether or not the one region 102 in which the user's input operation is detected by the instruction detection unit 122 is a region in which the programming operation is permitted. Specifically, in the case where the programming operation is started and the region is initially indicated, only the programming operation for one region 102 corresponding to the starting point Rs is permitted based on all the movement path information. Therefore, when the area is first indicated, the program operation for any one of the areas 102 not corresponding to the start point Rs is determined to be invalid, and an error message such as "area not programmable" is output from a speaker and a display unit, not shown, provided in the program board 120, so that the light-emitting portion of the area 102 is made not to emit light or is made to emit light in a light-emitting color and a light-emitting pattern different from the normal light-emitting color and light-emitting pattern.

When the user performs the programming operation on one of the regions 102 corresponding to the start point Rs, the control section 132 of the programming board 120 waits for the programming operation on any one of the regions 102 included in the adjacent region information of the one region 102 corresponding to the start point Rs. When the programming operation for any one of the regions 102 included in the adjacent region information is performed, the control unit 132 of the programming board 120 then waits for the programming operation for the other region 102, and when the programming operation for any one of the regions 102 not included in the adjacent region information is performed, outputs an error message. In this way, the control unit 132 of the programming board 120 receives a programming operation until the instruction detection unit 122 detects an instruction for one region 102 corresponding to the end point Rg. When an instruction to one region 102 corresponding to the end point Rg and an instruction to all regions 102 designated by all the movement path information are detected by the instruction detection unit 122 or when it is determined that the programming operation is ended based on a preset operation, a message such as "programming end" is output from the speaker and the display unit.

Thus, the area 102 of the programming area 104 corresponding to the area 106 is indicated by the guide piece 180, and a virtual path (start point Rs → end point Rg) corresponding to the movement component in the horizontal direction in the movement path of the target device 200 is determined as shown in fig. 6(b) (step S106). At this time, the control unit 132 of the programming board 120 acquires the indication position information of each indication region 102 detected by the indication detection unit 122 and the order information related to the indication order thereof, and stores the information in the storage region of the storage unit 128. The control unit 132 causes the recognition shift unit 124 of each instruction region 102 to emit light in a predetermined light-emitting state, or changes the display image so as to shift the display image to a visually recognizable state (for convenience, the display image is expressed by halftone in fig. 6 a).

Here, when the recognition shift section 124 has a light emitting section, the control section 132 continues (maintains) an operation of causing the light emitting section of each of the designated areas 102 to emit light (light) at a predetermined light emission color and light emission intensity, or to change the light emission color, or to emit light (blink) in a predetermined light emission pattern, for example, as shown in fig. 6 (a). In the program operation process, the control unit 132 operates a program confirmation switch (not shown) provided in the operation unit 162 of the core unit 160, or performs an operation of sequentially emitting light in a time-division manner from the light emitting units of the respective regions 102 in the order of the movement path instructed by the program operation and determined in accordance with a predetermined condition such as a case where the program operation is not performed for a certain period of time or a certain time interval set by a user operation. In this way, by holding the shift state (in this case, the light-emitting state) of the recognition shift portion 124 of each instruction region 102 or presenting a predetermined shift state when a specific condition is triggered, it is easy to visually grasp and understand the content and progress status of the programming operation, the movement path from the current time point to the end point determined by the programming operation, the movement order of the target device 200, and the like.

Further, the control unit 132 performs the following control when an abnormality occurs in the operation of the program control device 100, in addition to the case where the program operation for instructing the inhibited area is performed as described above: an error message such as "operation error" is output through the speaker and the display unit, or the light emitting unit of the region 102 is made not to emit light, or light is emitted in a light emitting color and a light emitting mode different from normal. Thereby, the user is notified of an error or the like at the time of the programming operation. In addition, when the programming board 120 includes an acoustic portion and a vibrating portion, the control portion 132 may change the amplitude, frequency, and pattern of sound emission and vibration of the acoustic portion and the vibrating portion in addition to or instead of the light emitting operation of the light emitting portion, and notify the user of an error or the like in the programming operation.

Then, as shown in fig. 6(b) and (c), the user places the number of programming blocks 140 corresponding to the position in the height direction in the area 106 in which the position in the height direction of the target device 200 is set, among the plurality of sections 106 (indication areas 102) that become the virtual path described above. For example, when the value of the unit change is set to be raised by 10cm as the height setting information of each program block 140, one program block 140 is placed in the section 106 in which the position of the target device 200 in the height direction is desired to be raised by 10cm more than the current position, and three program blocks 140 are placed in the section 106 in which the target device is desired to be raised by 30 cm. In this case, when the program operation for instructing either one of the inhibited areas is performed, the control section 132 of the program board 120 appropriately performs the error process as described above.

Thereby, a height component is added to the virtual path corresponding to the horizontal movement component of the target device 200 (step S108), and the movement path of the target device 200 in the actual three-dimensional space is defined. At this time, the control unit 132 of the programming board 120 acquires the block position information, the stacking confirmation information, and the height setting information of the programming block 140 detected by the block I/F unit 126 via the guide piece 180, and stores them in the storage area of the storage unit 128. The control unit 148 of the programming block 140 causes the recognition shift unit 144 of the programming block 140 placed by the user to emit light in a predetermined light-emitting state or to shift the display image to a visually recognizable state (for convenience, expressed by a halftone in fig. 6 c).

Here, when the recognition shift section 144 has a light emitting section, the control section 148 continues (keeps) the operation of causing the light emitting section of each of the program block bodies 140 to emit light (light) at a predetermined light emission color and light emission intensity, or changing the light emission color, or causing the light emitting section to emit light (blink) in a predetermined light emission pattern, for example, as shown in fig. 6 (c). In the programming operation process, the control unit 148 executes an operation of sequentially emitting the light emitting units of the respective programming blocks 140 in a time-division manner in accordance with the position in the height direction which is placed and set in accordance with the programming operation, when a program confirmation switch (not shown) provided in the operation unit 162 of the core unit 160 is operated, when the programming operation is not performed for a certain period of time, or when a certain time interval which is set or set in accordance with the user operation is used as a trigger. In this way, by holding the shift state (in this case, the light-emitting state) of the identification shift portion 144 of each program block 140 or presenting a predetermined shift state when a specific condition is triggered, the content and progress of the program operation and the movement path from the cutoff to the current time set by the program operation can be visually grasped and understood easily.

Further, the control unit 148 performs the following control not only when the program operation is performed on any one of the instruction inhibited areas, but also when it is determined that the program block 140 is placed in the preset placement inhibited area, and when an abnormality occurs in the operation of the program control device 100, for example: the light emitting part of the programming block 140 is not lighted, a predetermined error message is outputted through a speaker and a display, or the light is emitted in a different light emitting color and light emitting mode from the usual one. Thereby, the user is notified of an error or the like at the time of the programming operation. In addition, when the program block 140 includes an acoustic portion and a vibration portion, the control portion 148 may change the amplitude, frequency, and pattern of sound emission and vibration of the acoustic portion and the vibration portion in addition to or instead of the light emission operation of the light emission portion, and notify the user of an error or the like in the program operation. Here, the placement prohibition area may be set as appropriate according to the purpose of programming and learning, and for example, the area 102 corresponding to the section 106 in which a pattern (not shown) such as a busy street, a meeting place, a tower, and a high-rise building where many people gather is drawn may be set as the placement prohibition area. The information of the placement prohibition area is also contained in the aforementioned adjacent area information.

In the present embodiment, the above-described steps S106 and S108 are repeatedly executed until the user determines a virtual path corresponding to the horizontal movement component of all the movement paths of the target device 200, and the height component is added to all the areas 102 of the virtual path to end the programming operation (step S110: no). Specifically, when the instruction detection unit 122 detects an instruction for one area 102 corresponding to the section 106 of the end point Rg stored in the storage unit 128 of the programming board 120 and an instruction for all the areas 102 designated by the entire movement path information, the control unit 132 of the programming board 120 determines that the programming operation is ended.

The programming operations shown in steps S106 and S108 may be a method of sequentially determining the virtual path and sequentially adding the height components of the respective regions 102 of the virtual path, or a method of adding all the height components of the respective regions 102 of the virtual path after determining all the virtual paths of the target device 200. In addition, when only the operation of moving the target device 200 to a predetermined height position along a predetermined movement path is set without changing the height position, the programming operation of the above step S108 of placing the programming block 140 on the guide piece 180 is omitted.

As shown in fig. 6(c), when the program operation process using the program board 120 and the program block 140 is completed, the control units 132 and 148 maintain the displacement states of the identification displacement units 124 of the respective indication regions 102 and the identification displacement units 144 of the respective program block 140 corresponding to all the movement paths having the positions in the height direction determined by the program operation, or present the displacement states in response to a specific condition, as shown in steps S106 and S108. This makes it easy to visually grasp and understand the entire movement path of the target device 200 determined by the programming operation, the movement order thereof, and the like.

When the program operation processing is ended (yes in step S110), the standby state is set in which the program generation processing using the program board 120 and the core unit 160 can be executed.

As shown in fig. 7 a, when the user operates the program execution switch (the collective execution switch 112 or the step execution switch 114) provided in the operation unit 162 of the core unit 160 (step S112), the collective generation and execution processing of the programs in steps S114 to S120 or the generation and execution processing of the program steps in steps S122 to S130 are executed.

(program overview creation and execution processing)

In the above-described step S112, as shown in fig. 7(a), when the user performs an on operation of the collective execution switch 112 provided in the core unit 160, the program collective generation and execution process is executed. In the program overall generation and execution process, first, the control unit 170 of the core unit 160 transmits a control signal to the control unit 132 of the programming board 120, and receives input operation information including the instruction position information and the order information, the block position information, the stacking determination information, and the height setting information, which are acquired by the above-described programming operation process, from the programming board 120 in an overall manner (step S114).

Then, the control unit 170 collectively generates a program having a command for controlling the operation state of the target device 200, using the input operation information received from the programming board 120 as a source code (step S116). The program generated in the control section 170 is stored in a storage area of the storage section 166 of the core unit 160.

Then, the control unit 170 collectively transfers the generated programs to the target device 200 via the communication I/F unit 168 as shown in fig. 7 a (step S118). The target device 200 executes the transferred program, and performs the entire operation of sequentially moving along the virtual path from the start point Rs to the end point Rg determined in the program operation process using the above-described program board 120 and the movement path of the actual terrain 202 defined by the height component added to the virtual path, as shown in fig. 7(b) and fig. 8(a) and (b) (step S120). After the overall operation is performed, a series of processing operations relating to the programming operation and the program generation and execution method shown in the flowchart of fig. 4 are completed.

In this overall operation, the control unit 170 of the core unit 160 receives information on the execution state of the program (i.e., the position and height of the target device 200 at the current time) as program execution information from the target device 200 via the communication I/F unit 168 as needed, and transmits the information to the control unit 132 of the programming board 120 as program execution information. Based on the program execution information received from the core unit 160, the control unit 132 of the programming board 120 causes the region 102 or the programming block 140 corresponding to the position of the target device 200 on the actual terrain 202 at the present time to emit light in a light-emitting state different from the other indication region 102 or the programming block 140 determined by the programming operation, or changes the display image so as to shift to a visually recognizable state (for convenience, white expression in fig. 7(b) and fig. 8(a) and (b)).

In addition, the present embodiment describes the case where: the core unit 160 communicates with the target device 200 at any time, receives information on the execution state of the program of the target device 200, and shifts (for example, emits light) the region 102 of the programming board 120 or the programming block 140 corresponding to the position of the target device 200 at the present time to a recognizable state based on the information. The present invention is not limited to this, and the core unit 160 may estimate the execution state of the program of the target device 200 based on, for example, an elapsed time from the timing when the transfer of the program to the target device 200 is completed (that is, without communicating with the target device 200), and may shift the region 102 or the program block 140 of the program board 120 to a recognizable state. In this case, the core unit 160 may communicate with the target device 200 periodically or according to a preset location or condition so that an error between the estimation of the core unit 160 and the actual execution state of the program is not excessively large.

Here, when both the recognition shift portion 124 of the programming board 120 and the recognition shift portion 144 of the programming block body 140 have light emitting portions, the control portion 132 of the programming board 120 and the control portion 148 of the programming block body 140 can visually recognize the execution state of the program in the target device 200 by controlling the light emitting state, for example, as described below. Thereby, the execution state of the program or the like in understanding the target apparatus 200 is easily visually grasped.

As shown in fig. 7(a), for example, the control units 132 and 148 first keep a state in which the light-emitting units of all the indication regions 102 and the programming blocks 140 corresponding to all the movement paths determined by the programming operation always emit light with a predetermined light-emitting color and light-emitting intensity. The control units 132 and 148 perform the following control: the light-emitting portions of the area 102 and the programmed block 140 corresponding to the position of the target device 200 at the present time are caused to emit light in a different light-emitting color, a higher light-emitting intensity, or a light-emitting pattern (e.g., blinking) from the other indication area 102 and the programmed block 140 as shown in fig. 7(b), 8(a), and (b) according to the program execution information.

In another embodiment, the control units 132 and 148 perform control as follows: the area 102 corresponding to the position of the target device 200 at the present time and the light emitting part of the programming block 140 are caused to emit light with a predetermined light emission color and light emission intensity on the basis of the program execution information, and the light emitting parts of the other indication areas 102 and the programming block 140 are caused to emit no light (light is turned off).

In another embodiment, for example, the identification shift portion 124 of each area 102 of the programming board 120 and the identification shift portion 144 of the programming block 140 each have a first light emitting portion indicating a state during a programming operation and a second light emitting portion indicating a state during program execution. The control units 132 and 148 cause both the first and second light emitting units to emit light in the area 102 and the program block 140 corresponding to the position of the target device 200 at the present time, and cause only the first light emitting unit to emit light in the other indication area 102 and the program block 140.

In addition, when an error or a failure occurs in the program executed in the target apparatus 200, the control units 132 and 148 perform the following control: the region 102 and the program block 140 in which the error and malfunction has occurred are caused to emit light in a light emission color and a light emission pattern different from the above-described normal execution state, based on the program execution information received from the target apparatus 200. Thus, the user is notified of an abnormality in the execution of the program. Here, the error or failure during the program execution refers to, for example, a case where the position of the target device 200 deviates from the movement path set at the time of the programming operation, a case where the target device 200 hits an obstacle or the like that is not expected at the time of the programming operation, and falls.

(program step creation, execution processing)

In the above-described step S112, as shown in fig. 9(a), when the user turns on the step execution switch 114 provided in the core unit 160, the program step generation, execution processing is executed. In the program step generation and execution process, first, the control unit 170 of the core unit 160 transmits a control signal to the control unit 132 of the programming board 120 so that the input operation information acquired by the program operation process is received from the programming board 120 collectively or in accordance with each operation (step) of the program operation (step S122).

Then, the control unit 170 collectively or in accordance with each of the programming operations generates a program having a command for controlling the operation state of the target device 200 in accordance with the received input operation information (step S124). The program generated by the control unit 170 is stored in the storage area of the storage unit 166 of the core unit 160. Here, one operation of the programming operation refers to an operation of instructing one region 102 and an operation of placing one programming block 140, and one step of the program step generation and execution processing of the present embodiment refers to a set of steps specified by the one operation.

Then, the control unit 170 transfers the generated program to the target device 200 via the communication I/F unit 168 in accordance with the program for one operation amount as shown in fig. 9(a) (step S126). The target device 200 performs a step operation of moving the one operation amount along the virtual path determined in the above-described programming operation process and the movement path defined by the height component added to the virtual path in the actual terrain 202, or performing a function of executing the one operation amount, by executing the program of the transferred one operation amount (step S128).

At this time, the control part 170 of the core unit 160 transmits information related to the program of one operation amount transferred to the target device 200 (i.e., information for specifying the moving position and height of the target device 200) as program execution information to the control part 132 of the programming board 120. Based on the program execution information, the control unit 132 of the programming board 120 causes the area 102 or the programming block 140 corresponding to the position of the target device 200 on the actual terrain 202 at the present time to emit light in a light-emitting state different from that of the other indication area 102 or the programming block 140, or changes the display image so as to shift to a visually recognizable state (for convenience, white expression in fig. 9 a).

After the processing operation of step S128 is executed, the control unit 170 of the core unit 160 determines whether or not the step operation executed by the target device 200 in step S128 corresponds to the last input operation information among the input operation information acquired by the programming operation processing (step S130). That is, when the target device 200 moves to the end position of the movement path on the actual terrain 202 and one or more programmed blocks 140 are stacked at the end position, the control unit 170 of the core unit 160 determines whether or not the target device 200 executes the function corresponding to all of the programmed blocks 140.

When the control unit 170 of the core unit 160 determines in step S128 that the step operation to be executed by the target device 200 is the step operation corresponding to the last input operation information (yes in step S130), the series of processing operations relating to the program operation and the program generation/execution method shown in the flowchart of fig. 4 is terminated. On the other hand, when it is determined in step S128 that the step operation to be executed by the target device 200 is not the step operation corresponding to the last input operation information (no in step S130), the control unit 170 proceeds to step S112 described above. In this step S112, it is determined whether the user has performed an on operation on either the all-around execution switch 112 or the step execution switch 114 provided in the core unit 160.

When it is determined that the collective execution switch 112 has been turned on, the control unit 170 of the core unit 160 performs the collective program generation and execution processing described above for all the input operation information that has not been executed out of the input operation information acquired by the program operation processing (steps S114 to S120). After the operations corresponding to all the input operation information are performed, a series of processing operations concerning the programming operation and the program generation and execution method shown in the flowchart of fig. 4 are terminated. When it is determined that the step execution switch 114 is turned on, the control unit 170 of the core unit 160 executes the program step generation and execution processing in accordance with the above-described steps S122 to S130. In the present embodiment, a series of processing operations shown in fig. 4 is referred to as a "general mode" for convenience.

In this way, in the present embodiment, the horizontal movement component (virtual path) in the movement path of the target device 200 can be determined by a programming operation in which an arbitrary region 102 on the programming board 120 is touched or pressed by using a tangible program control device constituted by the programming board 120, the programming block 140, and the core unit 160 to instruct. Further, by the programming operation of placing the programming block 140 on an arbitrary indication area 102 on the programming board 120, it is possible to specify a three-dimensional movement path in the absolute coordinate system by adding a height component in the vertical direction in the movement path of the target device 200.

In the present embodiment, the region 102 and the programming block 140 on the programming board 120 corresponding to the movement path of the target device 200 determined at the time of the programming operation can be displaced so that the other region 102 and the programming block 140 can be visually recognized. Also, the region 102 and the programming block 140 corresponding to the action state of the target device 200 at the time of execution of the program generated according to the programming operation can be shifted so that the other region 102 and the programming block 140 can be visually recognized at the time of execution of the program generated according to the programming operation or before and after execution of the program (for example, in the programming operation).

Therefore, according to the present embodiment, even a young person such as an infant can easily perform programming for determining the movement path of target device 200 in the three-dimensional space, and can easily visually grasp the operation content and the operation state of target device 200, and an improvement in the learning effect of the programming can be expected.

In addition, the above-described programming operation and program generation and execution method show the following modes: after the end of the programming operation processing (step S110), the user operates the program execution switch (the collective execution switch 112 or the step execution switch 114) provided in the operation unit 162 of the core unit 160 (step S112), and the input operation information acquired by the programming operation processing is transmitted from the programming board 120 to the core unit 160 (steps S114, S122), but the present invention is not limited thereto. For example, when the input operation information is acquired in the programming board 120 in the programming operation processing, the input operation information may be transmitted to the core unit 160 at any time or at a predetermined timing or periodically.

In addition, the above-described program operation and program generation and execution method describe a method of: the moving path is decided by sequentially indicating the regions 102 of the programming region 104 corresponding to the starting point to the ending point of the moving path of the target device 200, but the present invention is not limited thereto. For example, although the sequential relationship is temporally continuous in the programming operation, when two regions 102 that are not adjacent to each other are indicated, interpolation processing may be performed in which an area 102 that is not indicated between the indicated regions 102 is automatically set as an indicated region to determine a movement path.

Specifically, when two regions 102 that are not adjacent to each other are continuously indicated in the program area 104, a path that is the shortest distance or shortest time between the regions 102 may be set as the interpolation process, and when a plurality of paths are provided between the regions 102 and a condition (for example, an optimal cost, a necessary passing point, or the like) is provided in advance when determining a movement path, the best path may be set in consideration of the condition. Here, the cost, which is a condition for setting the best route, means a cost or a total cost generated when each area 102 passes through the set route, and each area 102 is associated with a separate cost in advance. For example, the interpolation process may be embedded in the program operation process executed by the control unit 132 of the programming board 120, and the interpolation process function may be started or stopped by operating an interpolation setting switch, not shown, for example.

In addition, in the present embodiment, as a method of setting the position of the target device 200 in the height direction, the following method is shown: a method of setting a relative height or a method of directly setting an absolute position in the height direction by adding (or subtracting) a change amount in the height direction calculated from the unit change amount of the height setting information set for the program blocks 140 and the number of stacked program blocks 140 in the stacking determination information to (from) the height of the position corresponding to the area 102 immediately before in the virtual path, but the present invention is not limited to this method.

For example, a method of: as the height setting information, the amount of temporal change in the height of each region in which the programming block 140 is placed is set, and the height is changed with the passage of time with this region as a starting point. In this method, the position in the height direction is set to increase (rise) by 10cm each time the region serving as the starting point moves to the adjacent region.

In addition, as another mode, a method of: as the height setting information, a branching condition is set for each area where the programming block 140 is placed, and a method of changing the height is changed according to the condition. In this method, for example, when the position in the height direction in the current region exceeds 100cm, the height is set to decrease (decrease) by 10cm in the next region, and when the height does not exceed 100cm, the height is set to increase (increase) by 10cm in the next region.

In addition, as another mode, a method of changing the altitude according to an event generated during the movement operation of the target device 200 may be applied. In this method, it is set that, for example, in the case where one clapping sound is detected while the target device 200 is moving along the moving path, the position in the height direction is increased (raised) by 10cm each time, and in the case where two clapping sounds are detected, the position in the height direction is decreased (lowered) by 10cm each time.

In the present embodiment, the following description is given of the case shown in fig. 5 to 10: the target device 200 moves on the real terrain 202 corresponding to the image of the guide tab 180 in a state where the guide tab 180 is closely mounted on the programming region 104 of the programming board 120 to perform a programming operation, but the present invention is not limited thereto and may also have a manner as described below.

Fig. 11 and 12 are schematic diagrams showing a configuration example in which the programming education device (programming device) according to the present embodiment does not include a guide piece. Here, the same structure as that of the present embodiment will be described in a simplified manner.

That is, in the present embodiment, the programming education device can perform the programming operation without using the guide tab 180. In this case, as shown in fig. 11(a), the user imagines the movement path of the target device 200 in the three-dimensional space, and directly touches or presses each region 102 of the programming region 104 of the programming board 120 where the guide piece is not mounted, thereby determining the movement component (virtual path) in the horizontal direction in the movement path of the target device 200, and further determines the movement path of the target device 200 in the three-dimensional space by placing one or more programming blocks 140 in any of the indicated regions 102 of the programming region 104, adding the height component in the vertical direction in the movement path of the target device 200. Here, the area 102 of the programming region 104 initially indicated by the user corresponds to the start point of the movement path of the target device 200, and the area 102 finally indicated corresponds to the end point of the movement path.

In addition, in the mode without the guide piece 180, for example, the same image as the image expressed on the guide piece 180 described above may be directly expressed on the upper surface of the programming region 104 of the programming board 120. As shown in fig. 11(b), the same image GP as the image expressed on the guide piece 180, the image GP for supporting and guiding the programming operation, and the like may be displayed on the light emitting panel and the display panel provided as the recognition shift portion 124 in each region 102 or provided in common in the entire region of the programming region 104. In the embodiment shown in fig. 11(b), the image GP displayed in the program area 104 can be appropriately changed by rewriting data of the displayed image GP or the like using the recognition shift portion 124.

In the embodiment without the guide piece 180, as the instruction detecting portion 122 provided corresponding to each region 102 of the programming board 120, a mode may be applied in which a push switch or the like having a switch mechanism that switches an on state and an off state each time a user performs a push operation and that shifts the height of the upper surface of the on state from the height of the upper surface of the programming region 104 (reference height) is applied. Specifically, each push switch is, for example, as shown in fig. 12(a), by a first push operation, the upper surface of the push switch is displaced to a state (concave state) sunken from the reference height of the programming region 104 and brought into an electrically on state, and by a second push operation, the upper surface of the push switch is returned to the reference height and brought into an electrically off state. The push switch is not limited to the above-described on state in which the upper surface of the switch is depressed (displaced to the concave state) in response to the push operation, and may be an on state in which the upper surface of the switch is projected (displaced to the convex state) in response to the push operation, as shown in fig. 12 b, for example. In this way, the region 102 indicated by the user is shifted to a visually recognizable state, whereby it is easy to grasp the progress state of understanding the programming operation. That is, in the embodiment shown in fig. 12, the instruction detection unit 122 also functions as the displacement recognition unit 124. In this embodiment, each region 102 of the programming board 120 may have a light emitting unit and a display unit as the shift recognition unit 124, and the instruction detection unit 122 may shift the instruction region 102 to a concave state or a convex state to be electrically turned on, emit light in a predetermined light emitting state, or change a display image.

In the present embodiment, the following description is made with reference to fig. 1: the programming board 120 and the core unit 160 are provided separately, and transmission and reception of input operation information and supply of driving power are performed through a non-contact or contact interface. The present invention is not limited to this embodiment, and the programming board 120 and the core unit 160 may be integrated.

Fig. 13 is a schematic diagram showing an example of a configuration in which a programming board and a core cell are integrated in a programming education device (programming device) according to the present embodiment. Here, fig. 13(a) is a schematic diagram of a mode in which a programming board and a core cell are integrated, and fig. 13(b) is a functional block diagram showing a configuration example to which the programming board of the present embodiment is applied. Here, the same structure as that of the present embodiment will be described in a simplified manner.

In the case where the programming board and the core cell are integrated, for example, as shown in fig. 13(a), various switches provided in the operation portion 162 of the core cell 160 shown in the above-described embodiment are arranged around the programming region 104 of the programming board 120. In this embodiment, as shown in fig. 13(b), for example, the programming board 120 and the core cell 160 have a structure for realizing the functions.

Here, the memory portion 129 has the same function as the memory portion 128 of the programming board 120 and the memory portion 166 of the core cell 160 described in the above embodiments. That is, the storage unit 129 stores input operation information including the instruction position information, the order information, the block position information, the stacking specification information, and the height setting information acquired by the instruction detection unit 122 and the block I/F unit 126 in a predetermined storage area, and stores a program generated by the control unit 133 based on the input operation information in a different storage area. The storage unit 129 may store a program for generating the operating state of the control target device 200 from the input operation information in the control unit 133, a program for controlling the operation of each part of the programming board 120, and other various information. That is, the storage unit 128 includes a RAM and a ROM.

The control unit 133 is a processor of a computer that controls the operations of the respective units of the programming board 120, and has the same functions as the control unit 132 of the programming board 120 and the control unit 170 of the core unit 160 described in the above embodiment, and the programming board 120 includes the above-described instruction detection unit 122, the recognition shift unit 124, the block body I/F unit 126, the storage unit 129, the operation unit 162, the communication I/F unit 168, and the power supply unit 172. That is, the control unit 133 stores the acquired input operation information in the storage area of the storage unit 129 when detecting the instruction of the user to each area 102 of the program area 104 and when detecting the state where the program block 140 is placed on the instruction area. The control unit 133 generates a program for controlling the operating state of the target device 200 based on the input operation information, and transmits the generated program to the target device 200 based on the switching operation of the operation unit 162, thereby controlling the operating state of the target device 200.

In this embodiment, the external I/F units 130 and 164 for communication between the programming board 120 and the core unit 160 shown in fig. 2 are omitted. In addition, part or all of the control unit 133 and the storage unit 129 may be shared by the program board 120 and the core unit 160 shown in fig. 2. In this embodiment, each of the programming board 120 and the core unit 160 shown in fig. 2 operates by the power supplied from one power supply unit 172. Further, in the present embodiment, the guide tab 180 for supporting and guiding the program operation as described above may be installed on the program area 104 or may not be installed.

By integrating the programming board 120 and the core unit 160 in this manner, it is possible to perform programming operation, generation of a program, and control of the operating state of the target device 200 even in a single programming board 120. In this case, according to this embodiment, transmission and reception of various types of information are omitted in each processing operation, and the number of times of storage and reading in and out of the storage unit 129 is reduced, whereby the overall processing operation can be simplified. Further, according to this embodiment, the number of components constituting the program control device 100 can be reduced, and the driving power can be stably supplied to each part of the program control device 100.

In addition, the present embodiment describes the case where: when the target device 200 is operated in the three-dimensional space, the height setting information for setting the position of the target device 200 in the height direction is stored in the programming block 140 in advance, and one or a plurality of programming blocks 140 are placed on the region 102 which becomes the virtual path, but the present invention is not limited thereto. For example, function information for executing a specific functional operation by the target device 200 may be set in the programming block 140, and the target device 200 may be caused to execute the set functional operation at a position where the programming block 140 is placed. That is, the function information set in the programming block 140 is acquired as one of the input operation information by the programming board 120 by placing the programming block 140, and is generated in the core unit 160 as a program having a command for causing the target device 200 to execute the function based on the function information, similarly to the height setting information for setting the position of the target device 200 in the height direction described above.

Here, as the functional operation to be executed by the target device 200, a specific operation, a so-called motion, is executed in accordance with the movement between the regions 102 that become the virtual path. Specifically, the functional operations include an operation of causing the light emitting unit to emit light in a predetermined light emitting state, an operation of changing an image displayed on the display unit, an operation of causing the acoustic unit to generate a predetermined sound or musical tone, an operation of causing the vibration unit to vibrate the housing of the target device 200 in a predetermined pattern, an operation of rotating (rotating) or jumping the target device 200 at the current position, an operation of capturing an image of the outside of the target device 200 by the image capturing unit, and an operation of sensing the surrounding state of the target device 200 by various sensors such as an acoustic sensor and an illuminance sensor. Therefore, the target device 200 is provided with a light emitting unit, an acoustic unit, a vibration unit, an image pickup unit, various sensors, and the like as functional units in advance so as to realize these functional operations. The control unit of the target device 200 moves the target device 200 to a position and height corresponding to the region 102 in which the programming block 140 is placed according to the program stored in the storage unit, sets a specific functional operation on the programming block 140, and controls any one of the functional units, thereby causing the target device 200 to execute the functional operation set on the programming block 140 at the position.

In addition to the functional operations corresponding to the above-described motions, the functional operations to be executed by the target device 200 include "conditional branching" in which the operating state of the target device 200 changes according to a preset condition, "repetition" in which the target device 200 repeatedly moves between the preset areas 102, "functions" which are a set of a plurality of functional operations, and "event processing" which defines operations for events occurring during the movement of the target device 200.

These functional operations may be performed individually or in combination according to the functional information set for the programming block 140 at a position on the movement path corresponding to the area where the programming block 140 is placed, or may be performed in combination with height setting information and functional information for setting the position of the target device 200 in the height direction shown in this embodiment, which are set for the programming block 140, and may be performed in a specific functional operation while controlling the movement of the target device 200 in the three-dimensional space.

In addition, the present embodiment describes the case shown in fig. 1: as the core unit 160, a dedicated control device connected to the programming board 120 via a non-contact or contact interface is applied, but the present invention is not limited to this embodiment, and a general-purpose mobile terminal such as a smart phone or a tablet terminal may be used as the core unit 160. That is, a general-purpose mobile terminal that is commercially available in recent years can function as each of the components of the operation unit 162, the external I/F unit 164, the storage unit 166, the communication I/F unit 168, the control unit 170, and the power supply unit 172 included in the core unit 160. Therefore, by installing a dedicated application software (compiler) for controlling the operation state of the target device 200 on the basis of the input operation information acquired by the programming board 120, a general-purpose mobile terminal can be used as the core unit 160. Here, in the case where a general-purpose mobile terminal is used as the core unit 160, software for setting various parameters of the programming board 120 and the target device 200, software for transcoding the input operation information into a general-purpose language (text), and the like may be installed in addition to the compiler program. The various parameters of the programming board 120 and the target device 200 are changeable setting items, such as the detection sensitivity of the instruction detecting unit 122 of the programming board 120, the light emitting state and the display image of the recognition shift unit 124, the transmission/reception method of the block body I/F unit 126, the moving speed of the driving unit of the target device 200, the light emitting state of the functional unit, the sound emitting state, the vibration state, and the communication method of the communication I/F unit.

< modification example >

Next, a modified example of the program education device including the program control device according to the above-described embodiment will be described.

Fig. 14 is a flowchart showing a modification (real-time mode) of the programming operation and the program generation/execution method of the programming education device according to the present embodiment. Fig. 15 and 16 are schematic diagrams for explaining the program operation processing and the program generation and execution processing applied to the present modification. Here, the same configurations and processing methods as those of the above-described embodiment will be simplified.

In the program education apparatus according to the above-described embodiment, a general mode in which all the movement paths of the target device 200 in the three-dimensional space are determined in the program operation process and then the program generation process and the program execution process are executed is described. In the present modification, in addition to the above-described general mode, a real-time mode is provided in which the user selects an arbitrary mode and performs programming learning, and in the programming operation process, each time an input operation of one operation amount is performed, a program of the one operation amount is generated and transferred to the target device 200 to be executed.

(program operation processing)

In the programming operation process of the programming education device relating to the present modification, as shown in the flowchart of fig. 14, first, the user connects the programming board 120 and the core unit 160 and starts the program control device 100, and starts the target apparatus 200 (step S202). Also, a guide tab 180 is installed on the programming region 104 of the programming board 120.

Then, the control unit 170 of the core unit 160 determines whether the mode switching switch 119 is operated by the user, and whether the normal mode or the real-time mode is set (step S204). Here, the mode switch 119 is, for example, a switch provided in the operation unit 162 of the core unit 160 as shown in fig. 15(a), and selects which of the processing operation in the normal mode and the processing operation in the real-time mode described later is to be executed, and for example, a push switch or a slide switch is applied. Here, when the push switch is applied to the mode switching switch 119, the normal mode as the initial setting (default) is held when the user does not push the operation mode switching switch 119 (no in step S204), and the real-time mode is switched from the normal mode when the operation mode switching switch 119 is pushed (yes in step S204). When the user presses the mode switch 119 in a state where the mode switch is switched to the live mode, the mode switch is switched from the live mode to the normal mode again. That is, the mode switch 119 is alternately switched and set to the normal mode and the real-time mode each time it is pressed.

When determining that the normal mode is set by the mode switching switch 119, the control unit 170 executes the processing operation from step S106 in the flowchart shown in fig. 4 in the above-described embodiment. On the other hand, when determining that the real-time mode is set by the mode changeover switch 119, the control unit 170 executes the processing operation from step S206.

The processing operation related to the mode switching setting in step S204 is similarly executed in the flowchart of fig. 4 shown in the above-described embodiment, and when the user does not press the operation mode switching switch 119 in step S104, the normal mode as the initial setting is held and the processing operation from step S106 is executed, and when the user presses the operation mode switching switch 119 and the real-time mode is switched from the normal mode to the real-time mode, the processing operation from step S206 below is executed.

When the real-time mode is set, the user performs a programming operation process of determining a movement path of the target device 200 in the three-dimensional space using the programming board 120 and the programming block 140 on which the guide tab 180 is mounted (step S206).

Specifically, in the programming operation process for determining the movement path of the target device 200, as shown in fig. 15(a), the user refers to the image expressed by the guide piece 180 attached to the programming board 120 and, at the same time, touches one section 106 (that is, one area 102 serving as a virtual path) corresponding to the movement path for operating the target device 200 by one operation amount, or instructs to press the section 106. When the position of the target device 200 in the height direction is set, one or more program blocks 140 to which the height setting information is set are placed in one section 106 corresponding to the movement path, as shown in fig. 15 (b).

When the user performs the programming operation described above, the user is instructed to the one area 102 of the programming area 104 corresponding to the above-described section 106 by the guide piece 180, and as shown in fig. 15(a), a virtual path corresponding to one operation amount of the movement path of the target device 200 is determined. Also, as shown in fig. 15(b), one area 102 where the programming block 140 is placed is indicated, and the above-mentioned imaginary path is added with a height component. At this time, the control unit 132 of the programming board 120 acquires the indication position information and the order information of one indication region 102 detected by the indication detection unit 122, or the block position information, the height setting information, and the stack specifying information of the programmed block 140 placed thereon, and stores them in the storage region of the storage unit 128. The control unit 132 causes the recognition shift portion 124 of the instruction region 102 or the recognition shift portion 144 of the program block body 140 to emit light in a predetermined light-emitting state, or changes the display image so as to shift the display image to a visually recognizable state (for convenience, a darker halftone is expressed in fig. 15 a, and for convenience, a white is expressed in fig. 15 b).

In the present modification, the case where the operation processing (fig. 15(a)) for determining the virtual path corresponding to the horizontal movement component of the target device 200 and the operation processing (fig. 15(b)) for adding the height component to the virtual path are performed separately has been described, but the present invention is not limited to this. For example, as shown in fig. 16(a) and (b), in a state where one section 106 corresponding to the movement path (i.e., the area 102 that becomes the virtual path) is not instructed, the method may be adopted in which the process of determining the area 102 corresponding to the section 106 as the virtual path and the process of adding the height component to the area 102 are collectively performed by placing one or more program blocks 140 in the section 106 (or the area 102). In particular, in the real-time mode, the programming operation using the programming board 120 and the programming block 140 and the operation state of the target device 200 are linked in real time, and thus by applying the method of the general processing as described above, it is possible to prevent an error or an accident in which the target device 200 such as the drone collides with an unexpected obstacle or the like. This method is also preferably applicable to the general mode described in the above embodiment.

(program creation and execution processing)

Then, in the program operation processing, when the input operation information including the instruction position information and the order information, or the block position information, the height setting information, and the stacking specification information having one operation amount is acquired, the control signal is transmitted from the control unit 132 to the control unit 170 of the core unit 160, and the program generation and execution processing is executed. Specifically, the control section 170 of the core unit 160 receives the input operation information acquired at the programming board 120 through the programming operation processing in accordance with each operation (step) of the programming operation (step S208).

Then, the control section 170 of the core unit 160 generates a program of one operation amount having a command to control the operation state of the target device 200 in accordance with the received input operation information of one operation amount (step S210).

Then, as shown in fig. 15(a) and (b), the control unit 170 transfers the generated program for one operation amount to the target device 200 (step S212), whereby the program for one operation amount is executed in the target device 200, and the target device 200 performs a step operation of horizontal movement or vertical movement for one operation amount along the movement path of the actual terrain 202 (step S214).

The program operation process and the program generation and execution process for controlling the operation state of the target device 200 are repeatedly executed for each operation as shown in fig. 15(a) and (b) or fig. 16(a) and (b) until the target device 200 moves to the end position of the movement path of the actual terrain 202 and the program operation ends (step S216). The control unit 170 determines that the programming operation is ended when an instruction (contact or press) to the one section 106 corresponding to the end point (end) Rg is received. In another example, the control unit 170 may determine that the program operation is completed, upon receiving an operation of pressing the execution stop switch 116 of the core unit 160 at an arbitrary timing during the program operation.

As described above, according to the present modification, by arbitrarily switching between the normal mode and the real-time mode, the operation contents and the execution state of the program in the programming operation process for controlling the operation state of the target device 200 can be grasped collectively or visually for each operation amount, and thus it is easy to intuitively understand the operation contents in various aspects, and an improvement in the learning effect of the programming can be expected.

< embodiment 2 >

Next, a 2 nd embodiment of the programming education device according to the present invention will be described with reference to the drawings.

Fig. 17 is a schematic diagram showing embodiment 2 of a programming education device to which a program control device according to the present invention is applied. Here, the same structure as that of embodiment 1 described above will be simplified in description.

Such a case is explained in the programming education device related to the above-described embodiment 1: the height direction position of the target device 200 is set using the programming block 140 placed on the programming board 120. In embodiment 2, the position in the height direction of the target apparatus 200 is set without using a programming block.

First, in the above-described embodiment 1, when the programming operation is performed without using the programming block 140 (that is, when the programming operation using the programming block 140 is omitted), only the virtual path corresponding to the movement component in the horizontal direction among the movement paths of the target device 200 is determined, and only the movement operation of the target device 200 in the horizontal plane (that is, in a state where the position in the height direction is not changed is controlled).

On the other hand, in embodiment 2, in the programming operation using the programming board 120, the position in the height direction of the target device 200 is set without using the programming block 140, for example, using the detection function of the instruction detecting portion 122 provided in each region 102 of the programming board 120. Specifically, the instruction detecting unit 122 provided in each region 102 of the programming region 104 detects the presence or absence of an instruction (contact or depression) to the region 102 by a user, and the method and state of the instruction, by a touch sensor or a push switch. Further, the storage unit 128 of the programming board 120 stores height setting information having a unit change amount for setting the position of the target device 200 in the height direction in accordance with the instruction method and the instruction state of the user detected by the instruction detection unit 122.

Here, the indication method and the indication state detected by the indication detecting unit 122 are the number of times, duration, magnitude of force, and the type of input operation and body movement when the user touches or presses the region 102, and the control unit 132 of the programming board 120 calculates the amount of change in the height direction of the target device 200 by multiplying the unit amount of change in the height setting information by an integer multiple or a proportional multiple based on the detection result (the number of times, duration, and the like).

For example, as shown in fig. 17(a), the height of the target device 200 is set to be gradually increased by 10cm in stages in accordance with the number of times the user touches or presses the touch sensor or the push switch provided in the instruction detection unit 122 of the region 102. For example, as shown in fig. 17(b), the height of the target device 200 is set to continuously increase by 10cm per second according to the duration of contact or pressing of the touch sensor or the push switch. The amount of change (10cm) in the height direction per touch, press, or second corresponds to the unit amount of change in the height setting information shown in embodiment 1. Further, a method of switching the torque within a certain numerical range by changing the amount of change in the height direction (for example, changing the amount of change in the height direction by increasing the amount of change within a predetermined range depending on the number of times or duration of contact or pressing, and returning to the minimum value and increasing again when the amount of change reaches the maximum value) may be applied.

In another mode, a predetermined amount of change in the height direction (for example, 10cm in the case of the double-click operation, 30cm in the case of the body motion "a", and 50cm in the case of the body motion "B") is applied depending on the magnitude of the force when the touch sensor or the push switch of the instruction detecting unit 122 is touched or pressed, and the type of the double-click operation or the body motion. The amount of change in the height direction of the target device 200 calculated or applied by the control unit 132 is stored in the storage unit 128 in association with the indication position information of the indicated region 102.

Further, the following method can be applied: the amount of change in the height direction set in one region 102 is taken as an initial value (initial height) when the position in the height direction of the target apparatus 200 is set in the next region 102 in a temporally continuous sequential relationship. The magnitude of the amount of change in the height direction (unit amount of change), the speed of change, the manner of change, and the numerical range defining the amount of change are not limited to the manner of being fixedly stored in advance, and the setting may be changed by operating a change setting such as a change amount switch (not shown) provided in the programming board 120, or by using application software of a mobile terminal (not shown) such as a tablet terminal connected to the programming board 120 or the core unit 160.

In the present embodiment, in the programming operation using the programming board 120, the user instructs the region 102 of the programming region 104 to determine a virtual path corresponding to the horizontal movement component in the movement path of the target device 200. At this time, the control unit 132 causes the recognition shift unit 124 of each instruction region 102 to emit light in a predetermined light-emitting state, or changes the display image so as to shift the display image to a visually recognizable state (for convenience, the halftone expression is used in fig. 17(a) and (b)). In addition, the user instructs the area 102 for setting the position in the height direction of the target device 200 among the plurality of instruction areas 102 to be the virtual path according to the instruction method and the instruction state described above, and the virtual path is added with the height component. At this time, the control unit 132 causes the recognition shift unit 124 of each instruction region 102 to emit light in a predetermined light emission state according to the magnitude of the set amount of change in the height direction, or changes the display image so as to shift the display image to a visually recognizable state.

Here, in the case where the recognition shift portion 124 has a light emitting portion such as a single color LED, for example, the control portion 132 decreases the light emission intensity when the amount of change in the height direction is small (or the absolute position in the height direction is low), and increases the light emission intensity when the amount of change is large (or the absolute position in the height direction is high). In addition, when the recognition shift unit 124 has a light emitting unit such as a multicolor LED, for example, the control unit 132 causes light emission to be performed at a wavelength closer to the blue light side as the amount of change in the height direction is smaller, and causes light emission to be performed at a wavelength closer to the red light side as the amount of change is larger (for convenience, regions 102 having larger amounts of change in the height direction are expressed by darker halftone in fig. 17(a) and (b)).

As described above, according to the present embodiment, it is possible to specify the height component in the vertical direction of the movement path of the target device 200 and determine the three-dimensional movement path in the absolute coordinate system according to the pointing method and the pointing state when an arbitrary region 102 on the programming board 120 is touched or pressed, without using a programming block. Further, the region 102 on the programming board 120 corresponding to the movement path of the target device 200 determined at the time of the programming operation and the region 102 to which the height component is added can be easily and intuitively grasped by vision, programming for determining the movement path of the target device 200 in the three-dimensional space can be easily performed, and an improvement in the learning effect of the programming can be expected.

< embodiment 3 >

Next, a 3 rd embodiment of a programming education device according to the present invention will be described with reference to the drawings.

Fig. 18 is a schematic diagram showing embodiment 3 of a programming education device to which a program control device according to the present invention is applied. Here, the same structure as that of embodiment 1 or 2 described above will be simplified in description.

Such a case is explained in the programming education device related to the above-described embodiment 1: the height direction position of the target device 200 is set using the programming block 140 placed on the programming board 120. In embodiment 3, as in embodiment 2 described above, the position in the height direction of the target device 200 is set without using a programming block.

In embodiment 3, the instruction detecting unit 122 of each area 102 of the programming board 120 has a push switch, and when the programming operation is performed, for example, as shown in fig. 18(a), the amount of projection of the panel member 108 provided in each area 102 of the programming board 120 is arbitrarily set, and the position of the target device 200 in the height direction is set based on the amount of projection.

Here, the panel member 108 is an upper surface panel of each region 102 forming the programming region 104, and also serves as an on/off button for instructing the push switch of the detection portion 122. Further, as shown in fig. 18(b), for example, the push switch applied to the instruction detection unit 122 is set such that the upper surface of the panel member 108 of each region 102 matches the upper surface height of the programming region 104, which is the reference height, in a state where the panel member 108 is not pushed down without the instruction of the instruction detection unit 122 from the user (left view in fig. 18 (b)).

When each region 102 is instructed by the user, the panel member 108 of the push switch of the region 102 is pushed and temporarily depressed, and when the pushing operation by the user is released, the panel member 108 is displaced to a state protruding from the reference height (the middle diagram in fig. 18 (b)). At this time, the instruction detecting unit 122 detects an instruction from the user to the area 102, and acquires instruction position information and order information. In the present embodiment, the recognition shift portion 124 of each indication region 102 that is the virtual path is caused to emit light in a predetermined light-emitting state or to change the display image.

Then, the user pulls up the panel member 108 protruding from the reference height to an arbitrary height with respect to the push switch of the indication area 102, thereby setting the position of the target device 200 in the height direction (right view in fig. 18 (b)). Here, the instruction detecting unit 122 detects the amount of protrusion of the panel member 108 when the panel member 108 of the push switch is pulled up, continuously or in stages. The projection amount is acquired as height setting information for setting the position of the target device 200 in the height direction. The core unit 160 stores the amount of protrusion of the panel member 108 acquired as the height setting information in association with a unit change amount or a numerical value indicating an absolute position for setting the position of the target device 200 in the height direction.

As described above, in the present embodiment, by a programming operation in which the user presses the push switch of any region 102 of the programming region 104 and pulls up the panel member 108 protruding from the reference height to any height, the region 102 instructed by the user is visually recognized, and the position in the height direction of the target device 200 at the position corresponding to the region 102 is set.

Therefore, according to the present embodiment, it is possible to easily perform programming for determining the movement path of the target device 200 in the three-dimensional space, and to easily and intuitively grasp the operation content and the operation state of the target device 200 by visual perception, and it is possible to expect an improvement in the learning effect of the programming.

In the above embodiments, the object moving in the three-dimensional space, such as the unmanned aerial vehicle, is shown as the target device 200, but the present invention is not limited to this embodiment. That is, the present invention is applicable not only to movement in a three-dimensional space but also to programmed learning in which continuous or stepwise changes in other secondary parameters are targeted for control of movement of a three-dimensional object in a third dimension in addition to movement in a two-dimensional space. In this case, the instruction detection unit 122 and the block I/F unit 126 function as a parameter value reception unit, and the programming block 140 functions as a parameter value instruction unit.

Specifically, the following control can be applied as a target.

In a mobile robot having a variable body whose shape continuously changes such as a balloon, the movement of the mobile robot in a two-dimensional space is controlled and the size (degree of inflation) of the balloon or the like is controlled.

In a mobile robot having a light emitting section, movement control in a two-dimensional space and control of changes in the light emission color (hue) and light emission intensity of the light emitting section are performed.

In a mobile robot having an acoustic unit, movement control in a two-dimensional space and control of the volume and tone (frequency) of a light emitting unit are performed. For example, the control of the volume when moving while playing music from a speaker, and the control of the frequency of a sound that emits one sound each time moving in an area.

Control of movement and control of speed of movement in two-dimensional space. For example, the control of the moving speed in the area at the present time is, for example, control of extending the time to pass through the area by setting the speed to a slower speed.

In a mobile robot having a jumping mechanism, movement control in a two-dimensional space and control of the height of a jump are performed.

In a mobile robot having a launching mechanism of an object, movement control in a two-dimensional space and control of the arrival height and distance of the launched object.

In the above-described embodiments, the programming education apparatus for a young person such as an infant has been described, but the present invention is not limited to this, and has a feature that a tangible input operation and the operation contents and the operation state of a target device can be understood visually, and thus, for example, a beginner who is programmed or a person who needs rehabilitation guidance for restoring a physical function can be targeted.

The present invention is not limited to the above embodiments, and various modifications can be made in the implementation stage without departing from the scope of the invention. In addition, the embodiments described above include inventions at various stages, and various inventions can be proposed by appropriate combinations of a plurality of disclosed constituent elements. For example, even when several components are deleted from all the components shown in the embodiments and combined to form a system in which several components are different from each other, the problem described in the problem section to be solved by the invention can be solved, and when the effect described in the effect section of the invention is obtained, a configuration in which the components are combined after being deleted may be proposed as the invention.

50页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:多焦显示设备和方法

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!