Electronic sand table control method and system and storage medium

By obtaining terrain data and controlling the lifting height of the stepper motor, combined with projectors and augmented reality equipment, the problem of inaccurate control of the traditional electronic sandbox lifting support structure is solved, and more accurate terrain simulation and display is achieved.

CN118938731APending Publication Date: 2024-11-12HUBEI ANXIN SMART TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410917924.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-10
Publication Date
2024-11-12

AI Technical Summary

Technical Problem

The lifting support structure control of traditional electronic sandboxes is inaccurate, making it difficult to accurately simulate complex terrain.

Method used

By obtaining terrain data, converting it into elevation data, and controlling the lifting heights of multiple stepper motors with a controller, combining projectors and augmented reality equipment to accurately build and display the terrain.

Benefits of technology

It improves the accuracy and speed of sand table terrain construction, accurately restores the ups and downs of the terrain, and improves the problem of inaccurate control of existing sand tables.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118938731A_ABST
    Figure CN118938731A_ABST
Patent Text Reader

Abstract

The invention provides an electronic sand table control method and system and a storage medium, and relates to the technical field of sand table control. The method comprises the steps of obtaining topographic data, wherein the topographic data represents size data of a target topography simulated by a user through an electronic sand table; converting the terrain data into elevation data representing different position heights of the target terrain; and finally, according to the elevation data, controlling the lifting height of each stepping motor through a controller. In this way, the problem that an existing sand table lifting supporting structure is inaccurate in control can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of sandbox control technology, and in particular to an electronic sandbox control method, system and storage medium. Background Art

[0002] With the development of augmented reality technology, it is widely used in conjunction with electronic sand tables as an important auxiliary tool for commanders to direct combat, exercises, emergency rescue and other operations.

[0003] In traditional electronic sand table control and display, the terrain lifting design of the physical sand table usually uses springs, slots, and electric lifting columns as structural supports to achieve terrain lifting, which lacks precise control of the sand table support structure. Summary of the invention

[0004] In view of this, an object of the embodiments of the present application is to provide an electronic sandbox control method, system and storage medium, which can improve the problem of inaccurate control of the existing sandbox lifting support structure.

[0005] In order to achieve the above technical objectives, the technical solutions adopted in this application are as follows:

[0006] In a first aspect, an embodiment of the present application provides an electronic sandbox control method, which is applied to an electronic device in an electronic sandbox control system, wherein the system further includes a controller and an electronic sandbox, wherein the electronic sandbox includes a plurality of stepper motors, and the method includes:

[0007] Acquire terrain data, wherein the terrain data represents the size data of the target terrain simulated by the user through the electronic sandbox;

[0008] Converting the terrain data into elevation data representing the heights of different locations of the target terrain;

[0009] According to the elevation data, the lifting height of each stepping motor is controlled by the controller.

[0010] In combination with the first aspect, in some optional implementations, according to the elevation data, controlling the lifting height of each stepping motor by the controller includes:

[0011] Dividing the elevation data into a plurality of sub-data equal in number to the stepping motors;

[0012] Matching the corresponding stepping motor for each sub-data;

[0013] According to the sub-data, the lifting height of each stepping motor is controlled by the controller.

[0014] In combination with the first aspect, in some optional implementations, the electronic sandbox includes a plurality of node units, each of which includes a preset number of stepper motors;

[0015] Then, according to the sub-data, the lifting height of each stepping motor is controlled by the controller, including:

[0016] For each of the sub-data in the elevation data, convert the sub-data into the number of revolutions of the stepper motor corresponding to the current sub-data according to a preset ratio, and obtain the control parameters of each stepper motor;

[0017] The controller receives the control parameters and sends a control instruction carrying the control parameters corresponding to each stepper motor to the node unit;

[0018] The node unit receives the control instruction and forwards each of the control parameters to the corresponding stepper motor to control the lifting and lowering of the stepper motor.

[0019] In combination with the first aspect, in some optional implementations, the system further includes a projector;

[0020] The method further comprises:

[0021] Acquire landform image data corresponding to the landform data;

[0022] The topographic image data is sent to the projector, so as to project the topographic image data onto the electronic sand table through the projector.

[0023] In combination with the first aspect, in some optional implementations, the system further includes an augmented reality device, and the method further includes:

[0024] Acquiring situation data representing dynamic changes of the electronic sandbox through the augmented reality device;

[0025] The situation data is rendered into a virtual three-dimensional scene situation to display the virtual three-dimensional scene situation to a user.

[0026] In a second aspect, an embodiment of the present application further provides an electronic sandbox system, an electronic device deployed in an electronic sandbox control system, the system further comprising a controller and an electronic sandbox, the electronic sandbox comprising a plurality of stepper motors, the system comprising:

[0027] A first acquisition unit is used to acquire terrain data, wherein the terrain data represents a target terrain that a user wants to simulate through the electronic sandbox;

[0028] A conversion unit, used for converting the terrain data into elevation data representing the heights of different positions of the target terrain;

[0029] A control unit is used to control the lifting height of each stepping motor through the controller according to the elevation data.

[0030] In a third aspect, an embodiment of the present application further provides an electronic sandbox control system, the system comprising an electronic device, a controller and an electronic sandbox, the electronic sandbox comprising a plurality of stepper motors.

[0031] In combination with the third aspect, in some optional implementations, the system also includes a projector.

[0032] In combination with the third aspect, in some optional implementations, the system also includes an augmented reality device.

[0033] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium. When the computer program is executed on a computer, the computer executes the above method.

[0034] The invention adopting the above technical solution has the following advantages:

[0035] In the technical solution provided by the present application, the terrain data representing the size of the target terrain simulated by the user through the electronic sand table is first obtained, and then the terrain data is converted into elevation data representing the height of different positions of the target terrain, and finally the lifting height of each stepper motor is controlled by the controller according to the elevation data. In this way, the problem of inaccurate control of the existing sand table lifting support structure can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The present application may be further described by the non-limiting embodiments given in the accompanying drawings. It should be understood that the following drawings only illustrate certain embodiments of the present application and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other relevant drawings may be obtained based on these drawings without creative effort.

[0037] Figure 1 A structural block diagram of an electronic device provided in an embodiment of the present application.

[0038] Figure 2 This is one of the structural block diagrams of the electronic sandbox control system provided in the embodiment of the present application.

[0039] Figure 3 A flowchart of the electronic sandbox control method provided in an embodiment of the present application.

[0040] Figure 4 This is the second structural block diagram of the electronic sandbox control system provided in the embodiment of the present application.

[0041] Icon: 100 - electronic device; 101 - processor; 102 - memory; 200 - electronic sandbox control system; 210 - first acquisition unit; 220 - conversion unit; 230 - control unit. DETAILED DESCRIPTION

[0042] The present application will be described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that in the drawings or descriptions, similar or identical parts use the same figure numbers, and the implementation methods not shown or described in the drawings are forms known to ordinary technicians in the relevant technical field. In the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0043] Please refer to Figure 1 , an embodiment of the present application provides an electronic device 100 that may include a processor 101 and a memory 102. The memory 102 stores a computer program, and when the computer program is executed by the processor 101, the electronic device 100 can perform the corresponding steps in the following electronic sandbox control method.

[0044] In this embodiment, the electronic device 100 can be a personal computer, a laptop computer, a cloud server, etc. It is used to obtain terrain data and convert the terrain data into elevation data representing the heights of different positions of the target terrain, and then control the lifting height of each stepper motor through a controller according to the elevation data.

[0045] Please refer to Figure 2 The embodiment of the present application also provides an electronic sandbox control system, the system includes the above-mentioned electronic device 100, a controller, an electronic sandbox, a projector and an augmented reality device, and the electronic sandbox includes multiple stepper motors.

[0046] In practical applications, to facilitate the implementation of the following method, the electronic sandbox control system further includes a first server for providing a data interface and a second server for enhancing display device services.

[0047] In this embodiment, a stepper motor is used to control the vertical push rod as a "skeleton" to accurately construct the terrain of the electronic sand table. Among them, the stepper motor has the characteristics of fast response, no cumulative error, strong programmability, etc., which is in line with the requirements of this technical solution.

[0048] In this embodiment, the electronic sandbox can be 5 meters long and 3 meters wide, using a total of 8640 stepper motors, 120 columns horizontally and 72 rows vertically. Each stepper motor is configured with a control MCU (hereinafter referred to as motor MCU (Microcontroller Unit, microcontroller unit 230)), every 8 stepper motors are used as a node unit, and each node unit is configured with a node-level MCU.

[0049] Please refer to Figure 3 The present application also provides an electronic sandbox control method, which can be applied to the electronic device 100 of the electronic sandbox control system, and each step in the method is executed or implemented by the electronic device 100. The electronic sandbox control method can include the following steps:

[0050] Step 110, obtaining terrain data, wherein the terrain data represents the size data of the target terrain simulated by the user through the electronic sandbox;

[0051] Step 120, converting the terrain data into elevation data representing the heights of different locations of the target terrain;

[0052] Step 130: Control the lifting height of each stepper motor through the controller according to the elevation data.

[0053] In the above implementation, the terrain data of the target terrain size simulated by the user through the electronic sand table is first obtained, and then the terrain data is converted into elevation data representing the height of different positions of the target terrain, and finally the lifting height of each stepper motor is controlled by the controller according to the elevation data. In this way, the problem of inaccurate control of the existing sand table lifting support structure can be improved.

[0054] The following will describe in detail the various steps of the electronic sandbox control method, as follows:

[0055] In step 110 , terrain data imported by a user is acquired through the electronic device 100 .

[0056] In step 120, the terrain data is converted into elevation data representing the heights of different positions of the target terrain by the aforementioned electronic device 100. In this embodiment, the terrain data is converted into elevation data by conventional technical means, which will not be described in detail here.

[0057] In step 130, according to the elevation data, controlling the lifting height of each stepping motor by the controller may include:

[0058] Dividing the elevation data into a plurality of sub-data equal in number to the stepping motors;

[0059] Matching the corresponding stepping motor for each sub-data;

[0060] According to the sub-data, the lifting height of each stepping motor is controlled by the controller.

[0061] In this embodiment, after the electronic device 100 reads the elevation data used to construct the electronic sand table map, it evenly divides the elevation data into 8640 points (the same number as the aforementioned stepper motors) of longitude and latitude information through orthophotos, and then extracts the corresponding sub-data from the elevation data through the longitude and latitude information of each point to obtain 8640 sub-data. Each sub-data is then matched with its corresponding stepper motor. (That is, a communication connection is established, for example, the motor MCU serial number corresponding to each sub-data is specified to establish a one-to-one correspondence between the sub-data and the stepper motor)

[0062] In this embodiment, according to the sub-data, controlling the lifting height of each stepping motor by the controller may include:

[0063] For each of the sub-data in the elevation data, convert the sub-data into the number of revolutions of the stepper motor corresponding to the current sub-data according to a preset ratio, and obtain the control parameters of each stepper motor;

[0064] The controller receives the control parameters and sends a control instruction carrying the control parameters corresponding to each stepper motor to the node unit;

[0065] The node unit receives the control instruction and forwards each of the control parameters to the corresponding stepper motor to control the lifting and lowering of the stepper motor.

[0066] In this embodiment, the preset ratio can be determined by first obtaining the maximum value and the minimum value of the sub-data from all the sub-data through a binary tree algorithm, and then converting each sub-data into the number of revolutions of the stepper motor in equal proportion according to the maximum number of revolutions of the stepper motor. The conversion ratio, that is, the preset ratio is [(current sub-data - minimum value of sub-data) / (maximum value of sub-data - minimum value of sub-data)]×maximum number of revolutions.

[0067] In the present embodiment, after each sub-data is converted into the number of revolutions of the corresponding stepper motor, the control parameters of each stepper motor are obtained. Then the electronic device 100 encapsulates the control parameters, the node-level MCU serial number and the motor MCU serial number into a CAN (Controller Area Network, Controller Area Network Bus) data frame, i.e., a control instruction. Then the control instruction is sent to the node-level MCU using the CAN2.0B communication protocol by the CAN controller carried in the electronic device 100, and after the node-level MCU parses the control instruction, the control parameters carried in the instruction (i.e., the number of revolutions of the 8 stepper motors managed by the node-level MCU) are sent to the motor MCU of the corresponding stepper motor using the RS485 communication protocol, and finally the motor MCU sends a corresponding pulse to control the screw of the stepper motor to rotate the specified number of revolutions, so that the top rod of the stepper motor reaches the specified height.

[0068] In this way, by realizing integrated control of stepper motors through node MCU, the controller can reduce the complexity and error rate of command generation when issuing control commands for the electronic sand table, improve the speed and convenience of terrain construction, and accurately control the height of each point on the sand table to accurately restore the ups and downs of the actual terrain.

[0069] As an optional implementation, the method may further include:

[0070] Acquire landform image data corresponding to the landform data;

[0071] The topographic image data is sent to the projector, so as to project the topographic image data onto the electronic sand table through the projector.

[0072] In this embodiment, landform image data corresponding to the terrain data is obtained through the aforementioned first server, and the data is sent to a projector, which projects the landform image data onto an electronic sand table to display landforms such as forests, grasslands, sand, and rivers.

[0073] As an optional implementation, the method may further include:

[0074] Acquiring situation data representing dynamic changes of the electronic sandbox through the augmented reality device;

[0075] The situation data is rendered into a virtual three-dimensional scene situation to display the virtual three-dimensional scene situation to a user.

[0076] In this embodiment, situation data representing the dynamic changes of the electronic sandbox is obtained through the aforementioned second server, and the situation data is rendered into a three-dimensional situation (such as a battlefield situation, a disaster area situation, etc.), and output to an augmented reality device to display the virtual three-dimensional scene situation to the user through the augmented display device.

[0077] Please refer to Figure 4 The present application also provides an electronic sandbox control system 200, which includes at least one software function module that can be stored in the memory 102 in the form of software or firmware or fixed in the operating system (OS) of the electronic device 100. The processor 101 is used to execute the executable modules stored in the memory 102, such as the software function modules and computer programs included in the electronic sandbox control system 200.

[0078] The electronic sandbox control system 200 includes a first acquisition unit 210, a conversion unit 220 and a control unit 230, and the functions of each unit may be as follows:

[0079] A first acquisition unit 210 is used to acquire terrain data, wherein the terrain data represents a target terrain that a user wants to simulate through the electronic sandbox;

[0080] A conversion unit 220, configured to convert the terrain data into elevation data representing the heights of different locations of the target terrain;

[0081] The control unit 230 is used to control the lifting height of each stepping motor through the controller according to the elevation data.

[0082] Optionally, the control unit 230 is further configured to:

[0083] Dividing the elevation data into a plurality of sub-data equal in number to the stepping motors;

[0084] Matching the corresponding stepping motor for each sub-data;

[0085] According to the sub-data, the lifting height of each stepping motor is controlled by the controller.

[0086] Optionally, the control unit 230 is further configured to:

[0087] For each of the sub-data in the elevation data, convert the sub-data into the number of revolutions of the stepper motor corresponding to the current sub-data according to a preset ratio, and obtain the control parameters of each stepper motor;

[0088] The controller receives the control parameters and sends a control instruction carrying the control parameters corresponding to each stepper motor to the node unit;

[0089] The node unit receives the control instruction and forwards each of the control parameters to the corresponding stepper motor to control the lifting and lowering of the stepper motor.

[0090] Optionally, the electronic sandbox control system 200 further includes:

[0091] A second acquisition unit, used to acquire landform image data corresponding to the terrain data;

[0092] The projection unit is used to send the topographic image data to the projector, so as to project the topographic image data onto the electronic sand table through the projector.

[0093] Optionally, the electronic sandbox control system 200 further includes:

[0094] A third acquisition unit is used to acquire situation data representing dynamic changes of the electronic sandbox through the augmented reality device;

[0095] A rendering unit is used to render the situation data into a virtual three-dimensional scene situation to show the virtual three-dimensional scene situation to the user.

[0096] In this embodiment, the processor 101 may be an integrated circuit chip having signal processing capabilities. The processor 101 may be a general-purpose processor. For example, the processor 101 may be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and may implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application.

[0097] The memory 102 may be, but is not limited to, a random access memory, a read-only memory, a programmable read-only memory, an erasable programmable read-only memory, an electrically erasable programmable read-only memory, etc. In this embodiment, the memory 102 may be used to store terrain data, elevation data, sub-data, control parameters, control instructions, landform image data, situation data, etc. Of course, the memory 102 may also be used to store a program, and the processor 101 executes the program after receiving the execution instruction.

[0098] Understandably, Figure 1 The structure of the electronic device 100 shown in FIG. 1 is only a schematic diagram of a structure. The electronic device 100 may also include Figure 1 More components are shown. Figure 1 Each component shown in the figure can be implemented by hardware, software or a combination thereof.

[0099] It should be noted that those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the electronic device 100 described above can refer to the corresponding process of each step in the aforementioned method, and will not be elaborated herein.

[0100] The embodiment of the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is run on a computer, the computer executes the electronic sandbox control method described in the above embodiment.

[0101] Through the description of the above implementation methods, technical personnel in this field can clearly understand that the present application can be implemented by hardware, and can also be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.

[0102] In summary, the embodiments of the present application provide an electronic sand table control method, system and storage medium. In this technical solution, terrain data representing the size of the target terrain simulated by the user through the electronic sand table is first obtained, and then the terrain data is converted into elevation data representing the height of different positions of the target terrain. Finally, according to the elevation data, the lifting height of each stepper motor is controlled by the controller. In this way, the problem of inaccurate control of the existing sand table lifting support structure can be improved.

[0103] In the embodiments provided in the present application, it should be understood that the disclosed device, system and method can also be implemented in other ways. The above-described device, system and method embodiments are merely schematic, for example, the flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, a program segment or a code, and a part of the module, program segment or code contains one or more executable instructions for implementing the specified logical function. It should also be noted that each box in the block diagram and / or the flowchart, and the combination of the boxes in the block diagram and / or the flowchart can be implemented by a dedicated hardware-based system that performs the specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions. In addition, each functional module in each embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part.

[0104] The above description is only an embodiment of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. An electronic sandbox control method, characterized in that: An electronic device applied to an electronic sandbox control system, the system further comprising a controller and an electronic sandbox, the electronic sandbox comprising a plurality of stepper motors, the method comprising: Acquire terrain data, wherein the terrain data represents the size data of the target terrain simulated by the user through the electronic sandbox; Converting the terrain data into elevation data representing the heights of different locations of the target terrain; According to the elevation data, the lifting height of each stepping motor is controlled by the controller.

2. The method according to claim 1, characterized in that: According to the elevation data, the controller controls the lifting height of each stepper motor, including: Dividing the elevation data into a plurality of sub-data equal in number to the stepping motors; Matching the corresponding stepping motor for each sub-data; According to the sub-data, the lifting height of each stepping motor is controlled by the controller.

3. The method according to claim 2, characterized in that: The electronic sandbox includes a plurality of node units, each of which includes a preset number of stepper motors; Then, according to the sub-data, the lifting height of each stepping motor is controlled by the controller, including: For each of the sub-data in the elevation data, convert the sub-data into the number of revolutions of the stepper motor corresponding to the current sub-data according to a preset ratio, and obtain the control parameters of each stepper motor; The controller receives the control parameters and sends a control instruction carrying the control parameters corresponding to each stepper motor to the node unit; The node unit receives the control instruction and forwards each of the control parameters to the corresponding stepper motor to control the lifting and lowering of the stepper motor.

4. The method according to claim 1, characterized in that: The system also includes a projector; The method further comprises: Acquire landform image data corresponding to the landform data; The topographic image data is sent to the projector, so as to project the topographic image data onto the electronic sand table through the projector.

5. The method according to claim 1, characterized in that The system further includes an augmented reality device, and the method further includes: Acquiring situation data representing dynamic changes of the electronic sandbox through the augmented reality device; The situation data is rendered into a virtual three-dimensional scene situation to display the virtual three-dimensional scene situation to a user.

6. An electronic sand table control system, characterized in that: An electronic device deployed in an electronic sandbox control system, the system further comprising a controller and an electronic sandbox, the electronic sandbox comprising a plurality of stepper motors, the system comprising: A first acquisition unit is used to acquire terrain data, wherein the terrain data represents a target terrain that a user wants to simulate through the electronic sandbox; A conversion unit, used for converting the terrain data into elevation data representing the heights of different positions of the target terrain; A control unit is used to control the lifting height of each stepping motor through the controller according to the elevation data.

7. An electronic sandbox control system, characterized in that: The system comprises electronic equipment, a controller and an electronic sandbox, wherein the electronic sandbox comprises a plurality of stepper motors.

8. The system according to claim 7, characterized in that The system also includes a projector.

9. The system according to claim 7, characterized in that The system also includes an augmented reality device.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed on a computer, the computer is enabled to execute the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Battle-deduction electronic sand table system based on augmented reality display

    CN107545788A

  • Intelligent sand table

    CN202352217U