Remote transmission device of total station and control method of remote transmission device

By designing a total station remote transmission device that integrates RS232, RS485 and 4G communication modules, remote control and parameter settings are achieved using microcontrollers and cloud servers, the limitations of traditional total stations in data transmission and remote control are solved, and the flexibility and efficiency of data transmission are improved.

CN119729256APending Publication Date: 2025-03-28IN THE TUNNEL BUREAU OF THE SECOND ENG +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411839432.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-13
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Traditional total stations have limitations in data transmission and remote control, including waste of interfaces and modules, unsafe and reliable data storage and transmission, and the inability to realize mobile settings parameters in real time.

Method used

Design a remote transmission device for total stations, integrate RS232, RS485 and 4G communication modules, use microcontrollers to parse and process data, and realize remote control and parameter settings through cloud servers. The device adopts a multi-layer PCB design to improve the stability of signal transmission and anti-interference ability.

Benefits of technology

Remote control and data transmission of the total station are realized, the flexibility and efficiency of measurement data transmission are improved, and the security, reliability and real-time nature of the data are ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119729256A_ABST
    Figure CN119729256A_ABST
Patent Text Reader

Abstract

The invention discloses a remote transmission device of a total station and a control method of the remote transmission device, and relates to the technical field of measuring robots, the remote transmission device comprises a development board body, and the development board body is integrated with an RS232 communication module used for establishing communication connection with the total station and realizing data transceiving; the microcontroller is connected with the RS232 communication module and is used for analyzing and processing data transmitted by the total station; the RS485 communication module is used for communicating with external equipment using a 485 communication protocol; the 4G communication module is used for transmitting the processed data to a cloud server through a cellular network and receiving an instruction from the cloud server; the power supply circuit provides power supply voltage; the level conversion circuit is used for converting power supply voltage into applicable power supply voltage of the 4G communication module and the microcontroller; according to the invention, remote control and data transmission of the total station are realized, the flexibility and efficiency of measurement data transmission are improved, the security and accessibility of data are enhanced, and the operation flexibility is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of measuring robots, and in particular to a remote transmission device of a total station and a control method thereof. Background Art

[0002] In modern engineering surveying and geographic information systems (GIS), total stations are an important type of surveying equipment and are widely used in topographic surveying, building construction, road construction and other fields. Total stations can accurately measure the location information of target points, including horizontal angles, vertical angles, slope distances and height differences, and are important tools for ensuring the quality and progress of engineering projects. However, there are some limitations in the use of traditional total stations, especially in data transmission and remote control.

[0003] Through the query, it was found that the patent document CN202111655953.8 discloses a data transmission device, including a serial data receiving module, a data conversion module, a 4G communication module and a main control module, etc.; the input end of the serial data receiving module is electrically connected to the total station, the first data transmission end of the main control module is electrically connected to the output end of the serial data receiving module, the second data transmission end of the main control module is electrically connected to the input end of the data conversion module, and the third data transmission end of the main control module is electrically connected to the output end of the data conversion module, and the main control module is connected to the server through the 4G communication module. Communication is a key part of it. Multiple peripherals and different interfaces may be involved in communication. However, the existing microcontroller integrated circuit board has the following shortcomings: (1) Integrate multiple different peripheral modules for use, such as using Bluetooth in the parameter setting module and adding an Ethernet port interface for data output. However, these modules can be replaced by existing modules when in use, which leads to a waste of interfaces and modules and increases costs. (2) Too many interfaces are reserved. There are multiple RS232 and RS485 interfaces in the entire system. The number is too large. Basically, only 1-2 interfaces will be used when in use. Too many interfaces make the system very complicated and increase costs. (3) Data storage and transmission are not safe, reliable and stable enough. (4) It is impossible to set the total station parameters on the mobile terminal in real time. Summary of the invention

[0004] In order to realize remote control and data transmission of a total station and improve the flexibility and efficiency of measurement data transmission, the present application provides a remote transmission device of a total station and a control method thereof.

[0005] In the first aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A remote transmission device for a total station, comprising: a development board body, wherein the development board body is integrated with: RS232 communication module, used to establish communication connection with the total station to realize data transmission and reception; A microcontroller, connected to the RS232 communication module, for analyzing and processing the data transmitted by the total station; RS485 communication module, used to communicate with external devices using 485 communication protocol; 4G communication module, used to transmit processed data to the cloud server through the cellular network and receive instructions from the cloud server; A power supply circuit, providing a power supply voltage; The level conversion circuit is used to convert the power supply voltage into a suitable power supply voltage for the 4G communication module and the microcontroller.

[0006] By adopting the above technical solution, the communication line of the present application only retains the necessary data transceiver interface and the common ground interface, and communicates based on the microcontroller and the microcontroller and RS232 on the integrated circuit board. The microcontroller sends control instructions to the total station, and the total station will return relevant measurement data to the total station. The microcontroller is also used to: parse the data received from the total station, extract high-precision measurement data such as horizontal angle, vertical angle, and slope distance; and can generate corresponding control signals according to the received cloud server instructions and send them to the total station, so as to realize remote parameter setting and control of the total station to realize the remote transmission function between the total station and the microcontroller. At the same time, the RS485 communication module is used to communicate with external devices (such as temperature, humidity and pressure measurement modules) that use the 485 communication protocol. The external device sends the measured data to the microcontroller through the RS485 communication module. The 4G module mainly sends the data parsed and packaged by the total station to the cloud server. It can also receive cloud instructions to adjust the parameters of the total station, etc. This application integrates multiple modules on a development board. The development board adopts a multi-layer PCB design to improve the stability and anti-interference ability of signal transmission, thereby realizing remote control and data transmission of the total station, and improving the flexibility and efficiency of measurement data transmission.

[0007] In a preferred example of the present application: the microcontroller includes an STM32F103RCT6 chip; the level conversion circuit includes a level conversion chip, the input end of the level conversion chip is connected to the power supply circuit, and the output end of the level conversion chip is connected to the 4G communication module and the microcontroller.

[0008] By adopting the above technical solutions, the STM32F103RCT6 chip has powerful processing capabilities, rich peripheral interfaces and low-power design. The level conversion chip can convert the 12V voltage provided by the power supply circuit into 5V and 3.3V, respectively powering the 4G communication module and microcontroller, ensuring that each module obtains the appropriate voltage.

[0009] In a preferred example of the present application: the power supply circuit includes a push button switch, one end of the push button switch is connected to the power supply interface, and the other end is connected to the power supply end of the STM32F103RCT6 chip; the RS232 communication module includes an RS232 interface provided on the development board, and the RS485 communication module includes an RS485 interface provided on the development board.

[0010] By adopting the above technical solution, the key switch allows the user to manually control the on and off of the power supply, providing a flexible power management method. When the device is not needed, the power supply can be cut off by the key switch, achieving the effect of energy saving and power saving.

[0011] In a preferred example, the present application also includes: A feedback receiving module is used to receive feedback information returned by the total station after executing the target control instruction set sent by the cloud server; A feedback analysis module is used to analyze the feedback information to obtain the current state and execution result of the total station; A display module is used to visualize the current status and execution results of the total station obtained through analysis; The adjustment module is used to adjust the target control instruction set accordingly according to the adjustment instruction input by the user, and send the adjusted target control instruction set to the total station again for remote control.

[0012] By adopting the above technical solution, the feedback receiving module is used to receive the feedback information after the total station executes the execution instructions of the cloud server or microcontroller in real time, ensuring the real-time and accuracy of the operation, so as to understand the execution results of the execution instructions of the current state of the total station; the feedback parsing module can parse the received feedback information, extract the current state and execution results of the total station, and ensure the clarity and accuracy of the data; the display module displays the parsed data in the form of graphics or charts, so that the user can intuitively understand the state and execution results of the total station, and the adjustment module is used for the user to dynamically adjust the target control instruction set according to the actual situation, thereby improving the flexibility and adaptability of the system, efficiently realizing the remote control of the total station, and improving the convenience and efficiency of operation.

[0013] In the second aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A control method for a remote transmission device based on a total station is applied to the remote transmission device of the total station as described above, and the method comprises: Determine multiple target operation tasks to be executed and corresponding operation timing information based on the received remote control command; analyze the multiple target operation tasks to obtain corresponding multiple operation control signals; Performing signal preprocessing on the plurality of operation control signals, determining the execution order between the plurality of operation control signals according to the operation timing information, and sorting and integrating the plurality of operation control signals according to the execution order to obtain an initial control instruction set; the execution order in the initial control instruction set satisfies that the end mark of the previous operation control signal among the plurality of operation control signals is connected with the start mark of the next operation control signal; According to the preset control optimization judgment rule, the execution efficiency of the initial control instruction set is judged, and when the initial control instruction set meets the control optimization processing conditions in the preset control optimization judgment rule, the initial control instruction set is optimized to obtain a target control instruction set; The target control instruction set is sent to the total station for remote control.

[0014] By adopting the above-mentioned technical scheme, the traditional system lacks effective signal generation and matching functions, resulting in inaccurate operation signals, which affects the execution effect of the task. The present application ensures the accuracy and effectiveness of the operation signal by introducing the signal generation and matching functions, improves the execution effect of the task, and ensures the integrity and consistency of the operation control signal by preprocessing the generated operation control signal. Then, according to the operation timing information, the operation control signal is arranged in the correct order to generate an initial control instruction set. By connecting the end mark of each operation control signal with the start mark of the next operation control signal, conflicts and overlaps between tasks are avoided. By introducing the execution efficiency judgment and optimization processing functions, the high efficiency of task execution is ensured and the overall performance of the system is improved.

[0015] In a preferred example of the present application: the cloud server pre-stores a database of various types of operation instruction samples, the various types of operation instruction samples include instruction type, execution mode, priority level and associated device type, and each operation instruction sample is associated with an operation feature identifier; The determining of a plurality of target operation tasks to be executed and corresponding operation timing information based on the received remote control instruction specifically includes: Identify corresponding operation task information to be executed and operation characteristic parameters based on the received remote control command, and obtain corresponding operation timing information based on the execution timing of the operation task information to be executed; Based on the information of the operation task to be executed and the operation characteristic parameters, extracting multiple operation instruction samples from the database according to the operation characteristic identifier of each operation instruction sample; The extracted plurality of operation instruction samples are determined as target operation tasks to be processed.

[0016] By adopting the above technical solution, various types of operation instruction samples are pre-stored in the database, providing a rich selection of instructions. By associating each operation instruction sample with an operation feature identifier, the system can quickly match the appropriate operation instruction sample according to specific task requirements. At the same time, the structural design of the database allows new operation instruction samples to be added at any time, thereby enhancing the flexibility and scalability of the system. By setting up a rich instruction library and a precise matching mechanism, the system can quickly select appropriate operation instructions according to specific task requirements, thereby improving the accuracy and efficiency of the total station in executing tasks.

[0017] In a preferred example of the present application: the operation characteristic parameters include operation accuracy, execution time and operation feedback type; based on the operation task information to be executed and the operation characteristic parameters, according to the operation characteristic identification of each operation instruction sample, multiple operation instruction samples are extracted from the database, specifically including: In the database, the operation instruction samples whose operation tasks to be executed are consistent with the information of the operation tasks to be executed are screened to obtain a plurality of operation instruction samples to be confirmed; According to the operation characteristic identifier of each operation instruction sample, identifying and obtaining the set operation characteristic parameter values ​​of the plurality of operation instruction samples to be confirmed; Determining an extraction parameter range of each operation feature parameter of each operation instruction sample to be extracted based on the operation accuracy, execution time and operation feedback type set in the remote control instruction; Based on the extraction parameter range of each operation characteristic parameter of each operation instruction sample, operation instruction samples whose set operation characteristic parameter values ​​all conform to the corresponding extraction parameter range are extracted respectively.

[0018] By adopting the above technical solution, the operation characteristic parameters make the task description more detailed and specific. Through detailed operation characteristic parameters, the tasks can be managed in a refined manner to ensure that the execution of each task meets the expected requirements; specifically, the system screens out matching operation instruction samples in the database based on the information of the operation tasks to be executed, to ensure the accuracy of task matching, and ensures the optimal effect of task execution by selecting the most appropriate instructions from multiple matching operation instruction samples. The parameter identification and comparison mechanism of the present application enables the system to accurately identify and obtain the set operation characteristic parameter values ​​of the operation instruction samples, to ensure the accuracy and consistency of task execution.

[0019] In a preferred example of the present application: the signal preprocessing of the plurality of operation control signals specifically includes: Performing signal strength detection on the plurality of operation control signals to obtain corresponding signal strength values, and performing normalization processing on the operation control signal when the signal strength of a certain operation control signal exceeds a preset signal strength threshold; or, The signal trajectories of multiple target operation tasks during execution are collected by a traversal method to obtain corresponding signal sampling values; the adjustment coefficient of each operation control signal is calculated according to a preset signal strength threshold and the corresponding signal sampling value; the signal trajectory of the operation task execution corresponding to all the operation control signals is multiplied by the adjustment coefficient to obtain the corresponding adjustment signal trajectory value, so as to perform intensity adjustment processing on the operation control signal.

[0020] By adopting the above technical solutions, the traditional system lacks an effective signal strength detection and normalization processing mechanism, resulting in unstable signal strength, affecting the accuracy and reliability of task execution; by introducing the signal strength detection and normalization processing mechanism, the stability and consistency of the signal strength are ensured, and the accuracy and reliability of task execution are improved. The signal strength detection and normalization processing mechanism enables the system to promptly detect and handle abnormal signal strength situations, ensuring that the signal strength is within a reasonable range, thereby improving the accuracy and reliability of task execution; the traversal method for collecting signal trajectories enables the system to obtain the complete signal sampling value of each task, providing reliable data support for subsequent signal strength adjustments. By introducing a system calculation mechanism, the accuracy of the signal strength adjustment is ensured, which facilitates precise adjustment of the signal strength to ensure that the signal strength is within a reasonable range.

[0021] In the third aspect, the invention objective of this application is achieved by adopting the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the control method of a remote transmission device based on a total station are implemented.

[0022] In a fourth aspect, the invention objective of the present application is achieved by adopting the following technical solutions: A computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the control method of a remote transmission device based on a total station are implemented.

[0023] In summary, the present application includes at least one of the following beneficial technical effects: 1. Based on the microcontroller and the integrated circuit board, the microcontroller communicates with RS232. The microcontroller sends control instructions to the total station, and the total station returns relevant measurement data to the total station. The microcontroller is also used to: parse the data received from the total station, extract high-precision measurement data such as horizontal angle, vertical angle, and slope distance; and can generate corresponding control signals according to the received cloud server instructions and send them to the total station to realize the remote parameter setting and control of the total station to realize the remote transmission function between the total station and the microcontroller. At the same time, the RS485 communication module is used to communicate with external devices (such as temperature, humidity and pressure measurement modules) using the 485 communication protocol. The external device sends the measured data to the microcontroller through the RS485 communication module. The 4G module mainly sends the data parsed and packaged by the total station to the cloud server, and can also receive cloud instructions to adjust the parameters of the total station, etc. This application integrates multiple modules on a development board. The development board adopts a multi-layer PCB design to improve the stability and anti-interference ability of signal transmission, thereby realizing the remote control and data transmission of the total station, and improving the flexibility and efficiency of measurement data transmission; 2. The feedback receiving module is used to receive the feedback information after the total station executes the execution instructions of the cloud server or microcontroller in real time, ensuring the real-time and accuracy of the operation, so as to understand the execution results of the execution instructions of the current state of the total station; the feedback parsing module can parse the received feedback information, extract the current state and execution results of the total station, and ensure the clarity and accuracy of the data; the display module displays the parsed data in the form of graphics or charts, so that the user can intuitively understand the state and execution results of the total station, and the adjustment module is used for the user to dynamically adjust the target control instruction set according to the actual situation, which improves the flexibility and adaptability of the system, efficiently realizes the remote control of the total station, and improves the convenience and efficiency of operation; 3. The traditional system lacks effective signal generation and matching functions, resulting in inaccurate operation signals, which affects the execution effect of the task. The present application ensures the accuracy and effectiveness of the operation signals and improves the execution effect of the task by introducing signal generation and matching functions. The generated operation control signals are preprocessed to ensure the integrity and consistency of the operation control signals. Then, according to the operation timing information, the operation control signals are arranged in the correct order to generate an initial control instruction set. By connecting the end mark of each operation control signal with the start mark of the next operation control signal, conflicts and overlaps between tasks are avoided. By introducing execution efficiency judgment and optimization processing functions, the high efficiency of task execution is ensured and the overall performance of the system is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 It is a circuit diagram of a remote transmission device of a total station in one embodiment of the present application; Figure 2 is another circuit diagram of a remote transmission device of a total station in one embodiment of the present application; Figure 3 It is a flow chart of a control method of a remote transmission device based on a total station in one embodiment of the present application; Figure 4 This is a flow chart of step S1 in a control method of a remote transmission device based on a total station in one embodiment of the present application; Figure 5 This is a flowchart of step S12 in a control method of a remote transmission device based on a total station in one embodiment of the present application; Figure 6 It is a schematic diagram of a device in an embodiment of the present application.

[0025] Description of reference numerals: 1. RS232 communication module; 2. Microcontroller; 3. RS485 communication module; 4. 4G communication module; 5. Power supply circuit; 6. Level conversion circuit. DETAILED DESCRIPTION

[0026] The present application is further described in detail below in conjunction with the accompanying drawings.

[0027] In one embodiment, if Figure 1 As shown, the present application discloses a remote transmission device for a total station, the remote transmission device for the total station includes a development board body, Figure 1 Taking the circuit diagram shown as an example, the development board body integrates RS232 communication module 1, microcontroller 2, RS485 communication module 3, 4G communication module 4, power supply circuit 5 and level conversion circuit 6; RS232 communication module 1 is used to establish a communication connection with the total station to realize data reception and transmission; microcontroller 2 is connected to RS232 communication module 1 to parse and process the data transmitted by the total station; RS485 communication module 3 is used to communicate with external devices using 485 communication protocol; 4G communication module 4 is used to transmit the processed data to the cloud server (the cloud server is used to connect to the user's smart terminal, not shown in the figure) through a cellular network, and receive instructions from the cloud server; power supply circuit 5 is used to provide a 12V power supply voltage; level conversion circuit 6 is used to convert the 12V power supply voltage provided by the power supply circuit 5 into a suitable power supply voltage of 5V for the 4G communication module 4 and 3.3V for the microcontroller 2.

[0028] Specifically, Figure 1Taking the circuit diagram shown in the figure as an example, the microcontroller 2 includes an STM32F103RCT6 chip (chip U1 in the figure). The chip peripheral circuits of the STM32F103RCT6 chip include a crystal oscillator, a reset and various pins. The microcontroller 2 uses three serial ports to communicate with the RS232 communication module 1, the RS485 communication module 3 and the 4G communication module 4 respectively. After the serial port obtains the data, the data of different protocols are parsed inside the STM32F103RCT6 chip. After the parsing is completed, the data is packaged and sent to the cloud server or other user smart terminals; the RS232 communication module 1 uses a transmission The traditional serial communication protocol uses positive and negative voltages to represent binary data, where +3 to +15V represents binary logic "1" and -3 to -15V represents binary logic "0", while the microcontroller 2 and the computer use TTL levels, whose logic "1" is usually +3.3V or +5V, and logic "0" is close to 0V. Therefore, in order for the microcontroller 2 to communicate with the RS232 device, it is necessary to perform level conversion through the level conversion circuit 6; the level conversion chip can be but is not limited to SP3232EEN, which can convert the TTL level of the microcontroller into the RS232 level, and vice versa.

[0029] by Figure 1 Taking the circuit diagram shown as an example, the power supply circuit 5 includes a key switch, one end of the key switch is connected to the power supply interface, and the other end is connected to the power supply end of the STM32F103RCT6 chip; the RS232 communication module 1 includes an RS232 interface provided on the development board, and the RS485 communication module 3 includes an RS485 interface provided on the development board.

[0030] The level conversion circuit 6 includes two parts. The first part converts the 12V voltage into a 5V voltage to power the 4G communication module 4, and the 5V also needs to pass through a 5V to 3.3V voltage conversion circuit and then power the microcontroller 2; wherein AMS1117-5.0 is a voltage stabilizing circuit for stabilizing a higher power supply voltage to a fixed voltage of 5V, and AMS1117-3.3 is a voltage stabilizing circuit for stabilizing a 5V power supply voltage to a fixed voltage of 3.3V.

[0031] In RS485 communication module 3, RS485 is a differential signal communication protocol, which uses a pair of twisted pairs to transmit data, one of which transmits a positive voltage signal (A line) and the other transmits a negative voltage signal (B line), and the voltage difference between the two represents binary data. RS485 communication levels are usually between -2 and -6 volts to represent binary logic "1", and between +2 and +6 volts to represent binary logic "0". This differential transmission method has the advantages of strong anti-interference ability and long transmission distance; so the 485 device also needs to convert the corresponding level when communicating with the microcontroller 2. This level conversion chip includes but is not limited to SP3485, which can convert the TTL level signal of the microcontroller into an RS485 level signal.

[0032] In the 4G communication module 4, the 5V output of the level conversion circuit 6 is directly connected to the power supply interface of the module to achieve simple power management. At the same time, the microcontroller 2 can communicate with the 4G communication module 4 through the serial port. The 4G communication module 4 is connected to the Internet through a cellular network and uses the MQTT (Message Queuing Telemetry Transport) protocol for efficient and reliable data interaction. In the process of communicating with the cloud server of the cloud platform, the 4G communication module 4 first establishes a connection with the Internet through a cellular network to ensure that the device can access the external network. The MQTT client on the module is then configured, including setting the address, port number, client ID and authentication information that may be required for the cloud platform server. After the configuration is completed, the 4G communication module 4 initiates a connection request to the MQTT server on the cloud platform. Once the connection is established, the 4G communication module 4 can subscribe to the topic on the cloud platform and receive messages from the server or other clients to achieve real-time data updates and rapid responses to instructions.

[0033] Furthermore, in order to solve the problem of too many reserved interfaces on the integrated circuit board of the microcontroller 2 in the prior art, that is, multiple RS232 and RS485 interfaces are reserved in the entire system, the number is too large, and basically only 1-2 interfaces are used in use, and too many interfaces make the system very complicated and increase the cost; in order to provide a remote transmission device of a total station that is simpler and effectively reduces the number of reserved interfaces and the system design cost, therefore, on this basis, the present application provides a development board that uses a microcontroller 2 to integrate multiple communication modules. During actual installation, the RS232 communication module 1 can be set on the right edge of the development board, retaining the necessary transceiver interface and the common ground interface, and the remaining interfaces are deleted; the communication interface of the RS485 communication module 3 is also located on the right edge of the development board, close to the RS232 interface, which is convenient for unified management of communication lines. Similarly, only the necessary data transceiver interface and the common ground interface are retained. The interface of the 4G communication module 4 is located in the upper left corner of the development board, the microcontroller 2 is located in the middle of the development board, and the level conversion circuit 6 is located on the left edge of the development board. All modules are integrated on one development board, and the development board adopts a multi-layer PCB design to improve the stability and anti-interference ability of signal transmission.

[0034] In this embodiment, the microcontroller 2 of the remote transmission device also includes a feedback receiving module, a feedback parsing module, a display module and an adjustment module (not shown in the figure); the feedback receiving module is used to receive feedback information returned by the total station after executing the target control instruction set sent by the cloud server; the feedback parsing module is used to parse the feedback information to obtain the current state and execution result of the total station; the display module is used to visualize the current state and execution result of the total station obtained by parsing; the adjustment module is used to adjust the target control instruction set accordingly according to the adjustment instruction input by the user, and send the adjusted target control instruction set to the total station again for remote control.

[0035] The implementation principle of a remote transmission device of a total station in the embodiment of the present application is: Based on the communication between the microcontroller 2 and the microcontroller 2 on the integrated circuit board and the RS232 communication module 1, the microcontroller 2 sends control instructions to the total station, and the total station returns relevant measurement data to the total station. The microcontroller 2 is also used to: parse the data received from the total station, extract high-precision measurement data such as horizontal angle, vertical angle, and slope distance; and can generate corresponding control signals according to the received cloud server instructions and send them to the total station to realize remote parameter setting and control of the total station to realize the remote transmission function between the total station and the microcontroller 2. At the same time, the RS485 communication module 3 is used to communicate with the total station. Use external devices (such as temperature, humidity and pressure measurement modules) using the 485 communication protocol to communicate. The external devices send the measured data to the microcontroller 2 through the RS485 communication module 3. The 4G module mainly sends the data parsed and packaged by the total station to the cloud server. It can also receive cloud instructions to adjust the parameters of the total station, etc. This application integrates multiple modules on a development board. The development board body adopts a multi-layer PCB design to improve the stability and anti-interference ability of signal transmission, thereby realizing remote control and data transmission of the total station, and improving the flexibility and efficiency of measurement data transmission.

[0036] In one embodiment, if Figure 3 As shown, a control method for a remote transmission device based on a total station is provided, and the control method for a remote transmission device based on a total station is applied to a remote transmission device of a total station.

[0037] A control method for a remote transmission device based on a total station specifically comprises the following steps: S1: Determine multiple target operation tasks to be executed and corresponding operation timing information based on the received remote control instruction; analyze the multiple target operation tasks to obtain corresponding multiple operation control signals.

[0038] In this embodiment, the remote control instruction is a control instruction received from a cloud server or other remote terminal, which contains information on multiple tasks and their execution order; the target operation task is a specific task that needs to be performed according to the remote control instruction, and the operation timing information refers to the execution order and time schedule of each task; the operation control signal is a command signal used to control the total station to perform specific tasks, and the operation control signal adopts a standard format, such as UART, SPI, etc.

[0039] Specifically, the STM32F103RCT6 microcontroller receives and parses the received instructions, extracts the target operation tasks and operation timing information therein, and specifically identifies the specific content of each target operation task, such as measurement tasks, data transmission tasks, etc.

[0040] S2: Preprocess the multiple operation control signals, determine the execution order between the multiple operation control signals according to the operation timing information, and sort and integrate the multiple operation control signals according to the execution order to obtain an initial control instruction set; the execution order in the initial control instruction set satisfies the connection between the end mark of the previous operation control signal among the multiple operation control signals and the start mark of the next operation control signal.

[0041] In this embodiment, the signal preprocessing includes preprocessing algorithms such as practical signal strength detection and / or normalization processing to ensure the stability and consistency of the signal; each operation control signal carries a start mark and an end mark.

[0042] Specifically, the operation control signals are first sorted in execution order according to the operation timing information, and then the sorted operation control signals are integrated into an initial control instruction set to ensure that the end flag of each operation control signal is connected to the start flag of the next operation control signal. Flag docking and operation flag docking: ensure that the end flag of each operation control signal in the initial control instruction set is connected to the start flag of the next operation control signal to avoid conflicts and overlaps between tasks.

[0043] S3: The execution efficiency of the initial control instruction set is judged according to the preset control optimization judgment rule. When the initial control instruction set meets the control optimization processing conditions in the preset control optimization judgment rule, the initial control instruction set is optimized to obtain the target control instruction set.

[0044] In this embodiment, the control optimization judgment rules are preset rules used to evaluate the execution efficiency of the initial control instruction set, including reducing the idle time between tasks, merging similar tasks, optimizing task scheduling, etc.; the control optimization processing conditions are the conditions that the initial control instruction set must meet before optimization processing can be performed. The preset control optimization processing conditions include task execution time and resource utilization; the target control instruction set is the control instruction set after optimization processing.

[0045] Specifically, a suitable optimization algorithm is selected to optimize the initial control instruction set, and the optimization algorithm includes a greedy algorithm, dynamic programming, etc.; according to the preset control optimization judgment rules, the execution efficiency of the initial control instruction set is evaluated; it is checked whether the initial control instruction set meets the preset control optimization processing conditions; if the conditions are met, the initial control instruction set is optimized to generate a target control instruction set; the optimized target control instruction set is verified to ensure that its format is correct and its content is complete.

[0046] S4: Send the target control instruction set to the total station for remote control.

[0047] Specifically, use standard communication protocols (such as TCP / IP, HTTP, etc.) to send instructions, monitor the execution status of the total station, receive feedback information from the total station, set up a retry mechanism, and if there is a sending failure or execution error, record the log and resend the instruction to ensure the reliability of instruction sending; record the time, content and results of sending instructions to facilitate subsequent analysis and debugging.

[0048] In one embodiment, the cloud server pre-stores a database of various types of operation instruction samples, the various types of operation instruction samples include instruction type, execution mode, priority level and associated device type, and each operation instruction sample is associated with an operation feature identifier; Figure 4 As shown, in step S1, multiple target operation tasks to be executed and corresponding operation timing information are determined based on the received remote control instruction, specifically including: S11: Identify corresponding operation task information to be executed and operation characteristic parameters based on the received remote control instruction, and obtain corresponding operation timing information based on the execution timing of the operation task information to be executed.

[0049] In this embodiment, the operation instruction sample refers to various pre-stored operation instructions used to perform specific tasks; the instruction type refers to the category of the operation instruction, such as measurement, data transmission, etc.; the execution mode is the execution method of the operation instruction, such as single execution, loop execution, etc.; the priority level refers to the priority of the operation instruction, which determines the execution order of the tasks; the associated device type refers to the type of device to which the operation instruction is applicable, such as a total station, a laser rangefinder, etc.; the operation feature identifier is a unique identifier for each operation instruction sample, which is used for quick search and matching.

[0050] Specifically, design the database table structure, define fields and data types, use (such as MySQL, PostgreSQL) or NoSQL database (such as MongoDB) to store operation instruction samples, design a reasonable data table structure, including fields such as instruction type, execution mode, priority level, associated device type and operation feature identification, store various types of operation instruction samples in the database in advance, and create indexes for the operation feature identification fields to improve query efficiency. Task identification refers to identifying the specific content of each operation task, such as measurement tasks and data transmission tasks.

[0051] S12: Based on the information of the operation task to be executed and the operation characteristic parameters, and according to the operation characteristic identifier of each operation instruction sample, extract multiple operation instruction samples from the database.

[0052] In this embodiment, the microcontroller executes a database query operation and uses a query statement to extract matching operation instruction samples from the database.

[0053] S13: Determine the extracted multiple operation instruction samples as target operation tasks to be processed.

[0054] In this embodiment, the extracted operation instruction samples are processed to extract task details and execution parameters; based on the extracted sample information, the final target operation task is determined, and then the determined target operation task is stored in the memory or storage for execution.

[0055] In one embodiment, if Figure 5 As shown, in step S12, the operation characteristic parameters include operation accuracy, execution time and operation feedback type; based on the operation task information to be executed and the operation characteristic parameters, according to the operation characteristic identification of each operation instruction sample, multiple operation instruction samples are extracted from the database, specifically including: S121: In the database, filter the operation instruction samples whose executed operation tasks are consistent with the information of the operation tasks to be executed, so as to obtain a plurality of operation instruction samples to be confirmed.

[0056] In this embodiment, operation accuracy refers to the accuracy requirement for task execution, such as measurement accuracy; execution time refers to the time required for task execution; operation feedback type refers to the feedback type returned after task execution, such as success, failure, partial success, etc.

[0057] S122: According to the operation feature identifier of each operation instruction sample, identify and obtain the set operation feature parameter values ​​of multiple operation instruction samples to be confirmed.

[0058] Specifically, setting the operation characteristic parameter value refers to the value of the operation accuracy, execution time and operation feedback type preset in the operation instruction sample; extracting the operation characteristic identifier and setting the operation characteristic parameter value of each operation instruction sample from the database query results, and storing the extracted data in memory or temporary variables for subsequent processing.

[0059] S123: Determine an extraction parameter range of each operation feature parameter of each operation instruction sample to be extracted based on the operation accuracy, execution time and operation feedback type set in the remote control instruction.

[0060] In this embodiment, extracting the parameter range refers to determining the allowable range of each operation characteristic parameter based on the operation accuracy, execution time and operation feedback type set in the remote control instruction; parsing the set operation accuracy, execution time and operation feedback type from the remote control instruction, and then determining the extraction parameter range of each operation characteristic parameter based on the parsed parameter value.

[0061] S124: Based on the extraction parameter range of each operation characteristic parameter of each operation instruction sample, respectively extract operation instruction samples whose set operation characteristic parameter values ​​all conform to the corresponding extraction parameter range.

[0062] In this embodiment, the conforming operation instruction samples refer to operation instruction samples in which the values ​​of the set operation characteristic parameters conform to the extraction parameter range; Specifically, parameter values ​​are obtained from the extraction parameter range of the operation characteristic parameters determined in the previous step, and according to the extraction parameter range, matching operation instruction samples are screened, and the screened operation instruction samples are stored in a memory or storage device for execution. The extraction parameter range of each operation characteristic parameter is determined based on the operation accuracy, execution time and operation feedback type set in the remote control instruction through parameter extraction and storage of the operation characteristic parameter values, and finally, a sample screening implementation plan is implemented, thereby ensuring that the remote transmission device of the total station can work efficiently, accurately and reliably in various application scenarios, and improving the efficiency and reliability of the total station measurement work.

[0063] In one embodiment, in step S2, a plurality of operation control signals are subjected to signal preprocessing, specifically including: S21: performing signal strength detection on multiple operation control signals to obtain corresponding signal strength values, and performing normalization processing on the operation control signal when the signal strength of a certain operation control signal exceeds a preset signal strength threshold.

[0064] In this embodiment, signal strength detection refers to measuring the strength of each operation control signal; the signal strength value refers to the strength value of each operation control signal; the signal strength threshold refers to the preset signal strength upper limit value; normalization processing refers to adjusting the signal strength to a standard range when the signal strength exceeds the threshold.

[0065] Specifically, an ADC (analog-to-digital converter) is used to detect signal strength, and a normalization formula is used to adjust the signal strength to within a standard range. In actual applications, a signal strength detection circuit or sensor can be used to measure the signal strength, and an STM32F103RCT6 microcontroller can be used to perform signal strength detection and normalization processing. The threshold setting can be achieved by presetting the signal strength threshold in the software control program.

[0066] or, S22: Use the traversal method to collect the signal trajectories of multiple target operation tasks during execution to obtain corresponding signal sampling values; calculate the adjustment coefficient of each operation control signal according to the preset signal strength threshold and the corresponding signal sampling value; multiply the signal trajectory of the operation task execution corresponding to all the operation control signals by the adjustment coefficient to obtain the corresponding adjustment signal trajectory value, so as to perform intensity adjustment processing on the operation control signal.

[0067] In this embodiment, the traversal method refers to collecting signal trajectories of multiple target operation tasks one by one during the execution process; the signal sampling value refers to the collected signal strength value; the adjustment coefficient refers to the adjustment factor calculated based on the preset signal strength threshold and the signal sampling value; the adjusted signal trajectory value refers to the new signal trajectory value obtained by multiplying the signal trajectory by the adjustment coefficient; using ADC (analog-to-digital converter) to collect signal trajectories; using a microcontroller for signal collection and adjustment coefficient calculation; using a memory (such as SPI Flash) to store signal sampling values ​​and adjustment coefficients.

[0068] Specifically, the ADC is first used to collect the signal trajectories of multiple target operation tasks during execution one by one; the collected signal sampling values ​​are stored in a memory or storage; the adjustment coefficient of each operation control signal is calculated according to a preset signal strength threshold and a signal sampling value; the signal trajectory of the operation task execution corresponding to all the operation control signals is multiplied by the adjustment coefficient to obtain an adjusted signal trajectory value.

[0069] Example scenario: In a field measurement environment, due to factors such as complex terrain and electromagnetic interference, the signal strength received by the total station may fluctuate greatly. In this case, the signal needs to be preprocessed to ensure the stability and reliability of the signal. Step S21 is applicable to scenarios where the signal strength fluctuates greatly. By detecting and normalizing the signal strength, it can be ensured that the signal strength remains within a reasonable range to avoid system overload or signal distortion caused by excessive signal strength; step S22 is applicable to scenarios that require long-term monitoring and adjustment of signal strength. By collecting signal trajectories and calculating adjustment coefficients, the signal strength can be dynamically adjusted to ensure signal stability and consistency.

[0070] For example: suppose that in a field measurement project, the total station needs to perform multiple measurements under different terrain conditions; due to terrain changes, the signal strength may suddenly increase or decrease in some areas. At this time, a signal strength detection circuit (such as ADC) is used to monitor the strength of each operation control signal in real time. For example, the signal strength value detected is 3500mV, and the preset signal strength threshold is 3000mV; when the signal strength is detected to exceed the threshold, the normalization formula is used to adjust the signal strength to the standard range; for example, 3500mV is normalized to 3000mV; the signal trajectory is collected by using A DC collects signal trajectories one by one to obtain a series of signal sampling values. For example, the collected signal sampling values ​​are [3200, 3100, 3300, 3400, 3250] mV; then, according to the preset signal strength threshold (3000 mV) and the signal sampling value, the adjustment coefficient of each operation control signal is calculated. For example, the adjustment coefficient is 3000 / 3200≈0.9375. The final signal trajectory adjustment is: multiply the collected signal trajectory by the adjustment coefficient to obtain the adjusted signal trajectory value. For example, the adjusted signal trajectory value is [3000, 2925, 3094, 3188, 3056] mV.

[0071] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0072] In one embodiment, Figure 6 As shown, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are implemented: S1: determining multiple target operation tasks to be executed and corresponding operation timing information based on the received remote control command; parsing the multiple target operation tasks to obtain corresponding multiple operation control signals; S2: Preprocessing the multiple operation control signals, determining the execution order between the multiple operation control signals according to the operation timing information, and sorting and integrating the multiple operation control signals according to the execution order to obtain an initial control instruction set; the execution order in the initial control instruction set satisfies that the end mark of the previous operation control signal among the multiple operation control signals is connected with the start mark of the next operation control signal; S3: judging the execution efficiency of the initial control instruction set according to the preset control optimization judgment rule, and when the initial control instruction set meets the control optimization processing conditions in the preset control optimization judgment rule, optimizing the initial control instruction set to obtain the target control instruction set; S4: Send the target control instruction set to the total station for remote control.

[0073] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: S1: determining multiple target operation tasks to be executed and corresponding operation timing information based on the received remote control command; parsing the multiple target operation tasks to obtain corresponding multiple operation control signals; S2: Preprocessing the multiple operation control signals, determining the execution order between the multiple operation control signals according to the operation timing information, and sorting and integrating the multiple operation control signals according to the execution order to obtain an initial control instruction set; the execution order in the initial control instruction set satisfies that the end mark of the previous operation control signal among the multiple operation control signals is connected with the start mark of the next operation control signal; S3: judging the execution efficiency of the initial control instruction set according to the preset control optimization judgment rule, and when the initial control instruction set meets the control optimization processing conditions in the preset control optimization judgment rule, optimizing the initial control instruction set to obtain the target control instruction set; S4: Send the target control instruction set to the total station for remote control.

[0074] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0075] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0076] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the features thereof may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A remote transmission device for a total station, characterized in that: include: The development board body is integrated with: RS232 communication module (1), used to establish a communication connection with the total station to realize data transmission and reception; A microcontroller (2) is connected to the RS232 communication module (1) and is used to analyze and process the data transmitted by the total station; RS485 communication module (3), used for communicating with external devices using 485 communication protocol; A 4G communication module (4), used for transmitting the processed data to a cloud server via a cellular network and receiving instructions from the cloud server; A power supply circuit (5) for providing a power supply voltage; A level conversion circuit (6) is used to convert the power supply voltage into a suitable power supply voltage for the 4G communication module (4) and the microcontroller (2).

2. A remote transmission device for a total station according to claim 1, characterized in that: The microcontroller (2) comprises an STM32F103RCT6 chip; the level conversion circuit (6) comprises a level conversion chip, the input end of the level conversion chip is connected to the power supply circuit (5), and the output end of the level conversion chip is connected to the 4G communication module (4) and the microcontroller (2).

3. A remote transmission device for a total station according to claim 2, characterized in that: The power supply circuit (5) comprises a key switch, one end of which is connected to a power supply interface, and the other end of which is connected to a power supply end of the STM32F103RCT6 chip; the RS232 communication module (1) comprises an RS232 interface provided on the development board, and the RS485 communication module (3) comprises an RS485 interface provided on the development board.

4. A remote transmission device for a total station according to claim 1, characterized in that: Also includes: A feedback receiving module is used to receive feedback information returned by the total station after executing the target control instruction set sent by the cloud server; A feedback analysis module is used to analyze the feedback information to obtain the current state and execution result of the total station; A display module is used to visualize the current status and execution results of the total station obtained through analysis; The adjustment module is used to adjust the target control instruction set accordingly according to the adjustment instruction input by the user, and send the adjusted target control instruction set to the total station again for remote control.

5. A control method for a remote transmission device based on a total station, characterized in that: A remote transmission device applied to a total station as claimed in any one of claims 1 to 4, the method comprising: Determine multiple target operation tasks to be executed and corresponding operation timing information based on the received remote control command; analyze the multiple target operation tasks to obtain corresponding multiple operation control signals; Performing signal preprocessing on the plurality of operation control signals, determining the execution order between the plurality of operation control signals according to the operation timing information, and sorting and integrating the plurality of operation control signals according to the execution order to obtain an initial control instruction set; the execution order in the initial control instruction set satisfies that the end mark of the previous operation control signal among the plurality of operation control signals is connected with the start mark of the next operation control signal; According to the preset control optimization judgment rule, the execution efficiency of the initial control instruction set is judged, and when the initial control instruction set meets the control optimization processing conditions in the preset control optimization judgment rule, the initial control instruction set is optimized to obtain a target control instruction set; The target control instruction set is sent to the total station for remote control.

6. A control method for a remote transmission device based on a total station according to claim 5, characterized in that: The cloud server pre-stores a database of various types of operation instruction samples, the various types of operation instruction samples include instruction type, execution mode, priority level and associated device type, and each operation instruction sample is associated with an operation feature identifier; The determining of a plurality of target operation tasks to be executed and corresponding operation timing information based on the received remote control instruction specifically includes: Identify corresponding operation task information to be executed and operation characteristic parameters based on the received remote control command, and obtain corresponding operation timing information based on the execution timing of the operation task information to be executed; Based on the information of the operation task to be executed and the operation characteristic parameters, extracting multiple operation instruction samples from the database according to the operation characteristic identifier of each operation instruction sample; The extracted plurality of operation instruction samples are determined as target operation tasks to be processed.

7. A control method for a remote transmission device based on a total station according to claim 6, characterized in that: The operation characteristic parameters include operation accuracy, execution time and operation feedback type; based on the information of the operation task to be executed and the operation characteristic parameters, according to the operation characteristic identifier of each operation instruction sample, extracting multiple operation instruction samples from the database specifically includes: In the database, the operation instruction samples whose operation tasks to be executed are consistent with the information of the operation tasks to be executed are screened to obtain a plurality of operation instruction samples to be confirmed; According to the operation characteristic identifier of each operation instruction sample, identifying and obtaining the set operation characteristic parameter values ​​of the plurality of operation instruction samples to be confirmed; Determining an extraction parameter range of each operation feature parameter of each operation instruction sample to be extracted based on the operation accuracy, execution time and operation feedback type set in the remote control instruction; Based on the extraction parameter range of each operation characteristic parameter of each operation instruction sample, operation instruction samples whose set operation characteristic parameter values ​​all conform to the corresponding extraction parameter range are extracted respectively.

8. The control method of a remote transmission device based on a total station according to claim 6, characterized in that: The signal preprocessing of the plurality of operation control signals specifically includes: Performing signal strength detection on the plurality of operation control signals to obtain corresponding signal strength values, and performing normalization processing on the operation control signal when the signal strength of a certain operation control signal exceeds a preset signal strength threshold; or, The signal trajectories of multiple target operation tasks during execution are collected by a traversal method to obtain corresponding signal sampling values; the adjustment coefficient of each operation control signal is calculated according to a preset signal strength threshold and the corresponding signal sampling value; the signal trajectory of the operation task execution corresponding to all the operation control signals is multiplied by the adjustment coefficient to obtain the corresponding adjustment signal trajectory value, so as to perform intensity adjustment processing on the operation control signal.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the control method of a remote transmission device based on a total station as claimed in any one of claims 5 to 8 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a control method of a remote transmission device based on a total station as claimed in any one of claims 5 to 8 are implemented.

Citation Information

Patent Citations

  • A data transmission device for total station

    CN114422876B