Automatic carbon block stacking system and method
By integrating data acquisition, processing, and execution modules, and combining MQTT and Python technologies, the carbon block stacking system achieves real-time intelligent decision-making, solving the problem of insufficient autonomy of existing systems in complex environments and improving the efficiency and reliability of automated stacking.
Patent Information
- Application Number
- CN202410374171.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-29
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2044-03-29
AI Technical Summary
Existing automated stacking systems lack autonomy and intelligent decision-making capabilities when handling carbon blocks, and cannot dynamically adjust operating strategies based on real-time data and environmental changes, resulting in insufficient performance and reliability in complex and dynamically changing industrial environments.
By employing a data acquisition module, a data processing module, a control execution module, and a user interaction module, combined with an MQTT server, a Python computing unit, and a PLC, the system enables real-time acquisition, precise processing, and intelligent decision-making regarding the location of carbon blocks, generating stacking strategies and executing them automatically.
It improves the automation level of stacking operations, ensures the efficiency, accuracy and safety of operations, reduces reliance on manual operation, and improves production efficiency and system reliability.
Smart Images

Figure CN118270439B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automatic carbon block stacking technology, and in particular to an automatic carbon block stacking system and method. Background Technology
[0002] With the development of industrial automation, the demand for efficient and precise material handling is increasing. Carbon blocks, as an important industrial material, play a crucial role in ensuring production efficiency and product quality through stacking operations. Traditional carbon block stacking operations mainly rely on manual labor. Workers need to manually control cranes or other handling equipment based on experience to move carbon blocks from one location to another and stack them in a specific order and manner, which is inefficient and prone to errors.
[0003] With the introduction of industrial automation technology into material handling and stacking operations, efficient, accurate, and safe stacking operations can be achieved. However, when applied to special materials such as carbon blocks, existing automated stacking systems still rely on manually input instructions and fixed procedures due to the diverse shapes and sizes of carbon blocks and the complex warehouse environment. These systems lack sufficient autonomy and intelligent decision-making capabilities, and cannot dynamically adjust operational strategies based on real-time data and environmental changes. This limits performance and reliability in complex and dynamically changing industrial environments.
[0004] Therefore, the present invention provides a new solution to this problem. Summary of the Invention
[0005] In view of the above situation and to overcome the defects of the prior art, the purpose of this invention is to provide an automatic carbon block stacking system and method.
[0006] The technical solution is: an automated carbon block stacking system, comprising:
[0007] The data acquisition module is used to collect the location information of carbon blocks in the warehouse;
[0008] The data processing module is used to generate stacking strategies based on the collected information;
[0009] The control execution module is used to automatically execute stacking operations according to the stacking strategy; and
[0010] The user interaction module is used to receive user commands and display the real-time status of the stacking process.
[0011] Preferably, the data acquisition module includes:
[0012] The crane equipment is used to provide X-axis data of the position of the carbon block; and
[0013] A radar scanning unit is used to measure the Y-axis and Z-axis data of the position of the carbon block.
[0014] Preferably, the data processing module includes:
[0015] An MQTT server is used to acquire X-axis, Y-axis, and Z-axis data from the data acquisition module and generate a digital point cloud model.
[0016] A Python computation unit is used to calculate the optimal position information of the carbon block based on the digital point cloud model; and
[0017] The scheduler generates stacking instructions based on the computation results of the Python computation unit and a preset strategy.
[0018] Preferably, the control execution module includes:
[0019] The system controller is configured to receive and parse control commands from the scheduler; and
[0020] The PLC communicates with the system controller to control the crane equipment to grab the carbon block and monitor various parameters during the operation of the crane equipment.
[0021] Preferably, the user interaction module includes:
[0022] Vue front-end interface is used to provide an intuitive user interface, allowing users to interact with the system.
[0023] A MySQL database is used to store all the critical data required by the system and send it to the Vue front-end interface to display real-time data and system status; and
[0024] The Node backend is used to process the work order data generated during the automated stacking process and persistently store the data in a MySQL database.
[0025] Preferably, the radar scanning unit includes multiple 2D radars and 3D radars.
[0026] An automated stacking method for carbon blocks includes the following steps:
[0027] S1. The operator issues a work command through the user interaction module to start the automatic stacking operation process;
[0028] S2. The system collects the location information of the carbon block through the data acquisition module and transmits the collected location information to the data processing module;
[0029] S3, the MQTT server receives location data from the data acquisition module and integrates it into complete carbon block location information to generate a digital point cloud model;
[0030] S4, the Python processing unit, converts the data in the digital point cloud model into a format that can be used for stacking decisions and sends it to the scheduler;
[0031] S5. The scheduler reads the format of the stacking decision, calculates the optimal stacking position and order of the carbon blocks, and generates the corresponding stacking instructions.
[0032] S6. The system controller receives the stacking instructions issued by the scheduler, parses and converts them into executable control signals, and sends them to the PLC;
[0033] Based on the received control signals, the S7 and PLC control the crane equipment and other actuators to perform precise grabbing and placement operations according to the calculated stacking instructions.
[0034] Preferably, the specific operation method of the data acquisition module in step S2 is as follows:
[0035] A TCP connection is established using a Python script to communicate with the radar scanning unit and vehicle equipment, initiating their operating modes to scan and collect data.
[0036] Preferably, the specific processing procedure of the MQTT server in step S2 is as follows:
[0037] The data collected in step S2 is assigned to specific topics and sent to the MQTT server via the MQTT protocol;
[0038] Deploy an MQTT subscription service and utilize the continuous data receiving feature of the MQTT subscriber to store the organized data on the subscriber.
[0039] The vehicle equipment provides the X-axis value of the digital point cloud model, while the radar scanning unit provides the X-axis and Z-axis values of the digital point cloud model.
[0040] Preferably, the specific operation method of step S4 is as follows:
[0041] S41. Start the MQTT subscription service. Based on the characteristic of the MQTT subscriber continuously receiving data, place the organized data on the subscriber.
[0042] The S42 and MQTT subscriber poll three different topics to identify key data information such as radar ID and vehicle coordinates, and then put the received information into three queues respectively, waiting for further processing.
[0043] S43. Repeatedly retrieve the driving coordinate queue. Read only the last data of radar queue 1 and radar queue 2. By comparing the radar timestamp with the driving timestamp, retrieve the radar data with timestamps smaller than the driving timestamp, form a JSON format, and add it to a new queue.
[0044] S44. Find the vehicle timestamp that is simultaneously greater than the timestamps of radar 1 and radar 2, pop up the radar end data, and reassign the new end data; repeat the comparison process to ensure that all data is updated.
[0045] S45. For the data extracted from the updated driving coordinate queue, radar 1 queue and radar 2 queue, first determine the extreme values of the data in each queue, then use the extreme value to angle value conversion function to convert these extreme values into angle values; then use the polar coordinate to rectangular coordinate conversion function to convert them from the polar coordinate system to the rectangular coordinate system, and finally organize the converted data points in JSON format.
[0046] S46. Slice the data in the X-axis direction, take a data point at regular intervals, and then calculate the mean of the data in the Y-axis direction within each slice to obtain the representative coordinates of the slice.
[0047] S47. Use the NumPy library to convert the processed data into an array, and divide the data into 300 groups in the range of -15000 to 15000 on the Y-axis using a histogram distribution. The mean value of the Z-axis value within each group is used as the final height value of that group. Combine the height data of 300 regions in the Y-axis direction into JSON format and send the region status.
[0048] The beneficial effects of the present invention through the above technical solutions are as follows:
[0049] 1. This invention significantly improves the automation level of stacking operations by integrating advanced data acquisition technology, efficient data processing algorithms, precise control execution mechanisms, and an intuitive user interface. The system utilizes the powerful capabilities of the MQTT protocol and the Python programming language to achieve real-time acquisition, precise processing, and intelligent decision-making of carbon block location information, thereby optimizing stacking strategies and ensuring operational efficiency, accuracy, and safety.
[0050] 2. The system design takes into account the diversity of carbon block shapes and sizes as well as the complexity of the warehouse environment. Through a flexible modular structure and scalable software algorithms, it adapts to the ever-changing industrial environment, reduces reliance on manual operation, lowers operational risks, and improves overall production efficiency and system reliability. Attached Figure Description
[0051] Figure 1 This is a schematic diagram of the system structure of the present invention.
[0052] Figure 2 This is a flowchart of the Python operation method of the present invention. Detailed Implementation
[0053] The foregoing and other technical contents, features and effects of the present invention are described in conjunction with the appendix below. Figure 1 and attached Figure 2 The detailed description of the embodiments will make this clear. All structural details mentioned in the following embodiments are based on the accompanying drawings.
[0054] Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings.
[0055] See Figure 1 As shown, an automated carbon block stacking system includes:
[0056] The data acquisition module is used to collect the location information of carbon blocks in the warehouse;
[0057] The data processing module is used to generate stacking strategies based on the collected information;
[0058] The control execution module is used to automatically execute stacking operations according to the stacking strategy; and
[0059] The user interaction module is used to receive user commands and display the real-time status of the stacking process.
[0060] In the above, the data acquisition module includes: a vehicle equipment for providing X-axis data of the carbon block position; and a radar scanning unit for measuring Y-axis and Z-axis data of the carbon block position.
[0061] Specifically, the overhead crane is typically mounted on the warehouse ceiling or tracks, capable of moving along the X-axis. Sensors are installed on the crane to provide position data of the carbon block in the X-axis direction. A radar scanning unit measures the object's position by emitting radar waves and receiving the reflected signals. In this system, the radar scanning unit measures the carbon block's position data in the Y and Z-axis directions. The radar scanning unit includes multiple 2D and 3D radars, allowing the system to acquire precise position information of the carbon block from multiple angles, improving the accuracy and reliability of data acquisition.
[0062] Furthermore, the data processing module includes:
[0063] MQTT (Message Queuing Telemetry Transport) servers are lightweight messaging protocols used for reliable message transmission in low-bandwidth and unreliable network environments. In this system, the MQTT server is used to acquire X-axis, Y-axis, and Z-axis data from the data acquisition module and generate a digital point cloud model.
[0064] The Python computation unit is used to calculate the optimal location information of carbon blocks based on the digital point cloud model; this unit is the computational core of the data processing module, using the Python programming language to perform complex data analysis and processing tasks; and
[0065] The scheduler generates stacking instructions based on the computation results of the Python computation units and preset strategies. The scheduler is the decision-making center of the data processing module; it formulates specific stacking strategies based on the computation results of the Python computation units.
[0066] Furthermore, the control execution module includes: a system controller, used to receive and parse control commands from the scheduler; and a PLC, which communicates with the system controller to control the crane equipment to grab the carbon blocks and monitor various parameters during the operation of the crane equipment.
[0067] The user interaction module includes:
[0068] The Vue front-end interface provides an intuitive user interface, allowing users to interact with the system. Built on the Vue.js framework, this dynamic user interface offers a clear and intuitive interface for easy user interaction. The interface displays key system data in real time, such as current stacking status, equipment operation, and completed tasks, keeping users informed of the system's latest status. Users can input commands through the Vue interface, such as starting a stacking operation, pausing a operation, and adjusting stacking strategies. These commands are then passed to the system controller for processing. The system provides feedback and notifications to users through the Vue interface, including job completion status, system warnings, and fault prompts.
[0069] A MySQL database is used to store all the critical data required by the system and send it to the Vue front-end interface to display real-time data and system status, including stacking strategies, historical records, device status, user operation logs, etc. The database supports fast data retrieval for displaying real-time data and historical records on the Vue front-end interface.
[0070] The Node backend processes work order data generated during automated stacking, such as task assignment, progress tracking, and performance analysis. The Node backend persistently stores the processed data in a MySQL database, ensuring long-term data preservation and traceability.
[0071] An automated stacking method for carbon blocks includes the following steps:
[0072] S1. The operator issues a work command through the user interaction module to start the automatic stacking operation process;
[0073] S2. The system collects the location information of the carbon block through the data acquisition module and transmits the collected location information to the data processing module;
[0074] S3, the MQTT server receives location data from the data acquisition module and integrates it into complete carbon block location information to generate a digital point cloud model;
[0075] S4, the Python processing unit, converts the data in the digital point cloud model into a format that can be used for stacking decisions and sends it to the scheduler;
[0076] S5. The scheduler reads the format of the stacking decision, calculates the optimal stacking position and order of the carbon blocks, and generates the corresponding stacking instructions.
[0077] S6. The system controller receives the stacking instructions issued by the scheduler, parses and converts them into executable control signals, and sends them to the PLC;
[0078] Based on the received control signals, the S7 and PLC control the crane equipment and other actuators to perform precise grabbing and placement operations according to the calculated stacking instructions.
[0079] In the above, the specific operation method of the data acquisition module in step S2 is as follows:
[0080] A TCP connection is established using a Python script to communicate with the radar scanning unit and vehicle equipment, initiating their operating modes to scan and collect data.
[0081] In the above, the specific processing procedure of the MQTT server in step S2 is as follows:
[0082] The data collected in step S2 is assigned to specific topics and sent to the MQTT server via the MQTT protocol;
[0083] Deploy an MQTT subscription service and utilize the continuous data receiving feature of the MQTT subscriber to store the organized data on the subscriber.
[0084] The vehicle-mounted equipment provides the X-axis value of the digital point cloud model, while the radar scanning unit provides the X-axis and Z-axis values. These data form the basis for constructing the digital point cloud model. Specifically, the X-axis data from the vehicle-mounted equipment provides the horizontal position information of the carbon block, while the X-axis and Z-axis data from the radar scanning unit provide the horizontal and vertical position information of the carbon block.
[0085] In the MQTT protocol, a topic is a classification mechanism used to organize and route messages. Specifically, the location data of the vehicle equipment is assigned to one topic (Topic1), while the location data of the 2D and 3D radars in the radar scanning unit are assigned to two other topics (Topic2 and Topic3).
[0086] Data assigned to specific topics is sent to the MQTT server via the MQTT protocol. MQTT is a lightweight messaging protocol designed for low-bandwidth and unreliable network environments, suitable for industrial automation and IoT applications. It supports a publish / subscribe model, allowing devices to publish messages to topics while other devices subscribe to these topics to receive messages. A subscription service is deployed on the MQTT server to continuously receive messages from the data acquisition module. The subscription service is the mechanism used by MQTT clients to receive messages on specific topics. The data processing module can act as a subscriber, subscribing to relevant topics to receive data sent by the vehicle equipment and radar scanning unit. This MQTT-based communication mechanism not only improves the reliability of data transmission but also enhances the system's scalability and flexibility, enabling the system to adapt to constantly changing industrial environments and needs.
[0087] See Figure 2 As shown, the specific operation method of step S4 is as follows:
[0088] S41. Start the MQTT subscription service. Based on the characteristic of the MQTT subscriber continuously receiving data, place the organized data on the subscriber.
[0089] The S42 and MQTT subscriber poll three different topics to identify key data information such as radar ID and vehicle coordinates, and then put the received information into three queues respectively, waiting for further processing.
[0090] S43. Repeatedly retrieve the driving coordinate queue. Read the last data of radar queue 1 and radar queue 2 but do not retrieve it. By comparing the radar timestamp with the driving timestamp, retrieve the radar data with timestamps smaller than the driving timestamp, form them into JSON format, and add them to a new queue.
[0091] S44. Determine if the vehicle timestamp is greater than both radar 1 and radar 2 timestamps, pop up the radar end data, reassign the new end data, and repeat the comparison with the two radar values.
[0092] S45. For the data extracted from the updated driving coordinate queue, radar 1 queue and radar 2 queue, first determine the extreme values of the data in each queue, then use the extreme value to angle value conversion function to convert these extreme values into angle values; then use the polar coordinate to rectangular coordinate conversion function to convert them from the polar coordinate system to the rectangular coordinate system, and finally organize the converted data points in JSON format.
[0093] Specifically, the extremum transformation angle value function can be expressed as:
[0094] def extremum_to_angle(extremum_value,scale_factor,offset):
[0095] return scale_factor*extremum_value+offset
[0096] Here, extremum_value is the extreme value (maximum or minimum) in the data, and scale_factor and offset are predefined parameters used to adjust the angle value.
[0097] The transformation function from polar coordinates to rectangular coordinates can be expressed as:
[0098] def polar_to_cartesian(r,theta,origin):
[0099] x=origin[0]+r*math.cos(theta)
[0100] y=origin[1]+r*math.sin(theta)
[0101] z = origin[2] # Assuming the Z coordinate remains unchanged
[0102] return(x,y,z)
[0103] Where (r, theta) are polar coordinate points, and origin is the reference point in the rectangular coordinate system.
[0104] This JSON object will be added to the queue and used in subsequent stacking operations. In this way, step S45 ensures the accuracy and consistency of the data, providing the necessary information for automated stacking.
[0105] S46. Slice the data in the X-axis direction, take a data point every certain unit (e.g., 100 units), and then calculate the mean of the data in the Y-axis direction within each slice to obtain the representative coordinates of the slice.
[0106] S47. Use the NumPy library to convert the processed data into an array, and divide the data into 300 groups in the range of -15000 to 15000 on the Y-axis using a histogram distribution. The mean value of the Z-axis value within each group is used as the final height value of that group. Combine the height data of 300 regions in the Y-axis direction into JSON format and send the region status.
[0107] As explained above, NumPy is an open-source Python numerical computing library that provides a wealth of mathematical functions and data structures, making it particularly suitable for large-scale numerical and matrix operations. NumPy offers powerful array objects (numpy.array), allowing you to convert Python lists or other data structures into NumPy arrays. Using NumPy's indexing and slicing capabilities, data can be divided into multiple groups based on the range of Y-axis values. For example, you can use the numpy.arange function to create an arithmetic progression representing the range of Y-axis segments, and then group the data according to this range. For each group, NumPy provides the numpy.mean function to calculate the mean of the Z-axis values. This function can quickly perform statistical analysis on the elements in the array to obtain the average height value of each region. NumPy can be used in conjunction with the Matplotlib library to generate histograms from NumPy arrays. In data processing, histograms help visualize the distribution of data, leading to a better understanding of the data's characteristics. In the data processing module of an automated stacking system, the application of the NumPy library can significantly improve the efficiency and performance of data processing.
[0108] In summary, this invention significantly improves the automation level of stacking operations by integrating advanced data acquisition technology, efficient data processing algorithms, precise control execution mechanisms, and an intuitive user interface. The system leverages the powerful capabilities of the MQTT protocol and the Python programming language to achieve real-time acquisition, precise processing, and intelligent decision-making of carbon block location information, thereby optimizing stacking strategies and ensuring operational efficiency, accuracy, and safety. Furthermore, the system design considers the diversity of carbon block shapes and sizes, as well as the complexity of warehouse environments. Through a flexible modular structure and scalable software algorithms, it adapts to the ever-changing industrial environment, reduces reliance on manual operation, lowers operational risks, and improves overall production efficiency and system reliability.
[0109] The above is a further detailed description of the present invention in conjunction with specific embodiments. It should not be considered that the specific implementation of the present invention is limited to this. For those skilled in the art to which the present invention pertains and related fields, any extensions, operation methods, and data substitutions made based on the technical solution concept of the present invention should fall within the protection scope of the present invention.
Claims
1. An automated carbon block stacking system, characterized in that, include: The data acquisition module includes a vehicle equipment and a radar scanning unit, used to acquire X-axis data and Y-axis and Z-axis data of the carbon block position, respectively. The data processing module includes an MQTT server, a Python computing unit, and a scheduler. The MQTT server is used to acquire X-axis, Y-axis and Z-axis data from the data acquisition module, and to assign X-axis data, Y-axis data and Z-axis data to different topics respectively; The Python processing unit polls three different topics to identify key data information such as radar ID and vehicle coordinates. The received X-axis, Y-axis, and Z-axis data are then placed into three queues: a vehicle coordinate queue, a radar 1 queue, and a radar 2 queue. By comparing the radar timestamp with the vehicle timestamp, radar data with timestamps shorter than the vehicle timestamp are extracted, formatted into JSON, and added to a new queue. The radar data in the new queue undergoes coordinate transformation, and the transformed data is sliced along the X-axis. The Y-axis data in each slice is processed, and then grouped according to the Y-axis value range. The average Z-axis value in each group is used as the height value of the corresponding region, forming the region status. The scheduler is used to calculate the stacking position and stacking order of carbon blocks according to the area status and preset strategy, and generate stacking instructions; The control execution module includes a system controller and a PLC. The system controller receives and parses stacking instructions from the scheduler. The PLC communicates with the system controller to control the crane equipment to grab carbon blocks and monitor various parameters during the operation of the crane equipment. The user interaction module is used to receive user commands and display the real-time status of the stacking process.
2. The automatic stacking system for carbon blocks according to claim 1, characterized in that, The radar scanning unit includes multiple 2D radars and 3D radars.
3. The automatic carbon block stacking system according to claim 2, characterized in that, The user interaction module includes: Vue front-end interface is used to provide an intuitive user interface, allowing users to interact with the system. A MySQL database is used to store all the critical data required by the system and send it to the Vue front-end interface to display real-time data and system status; and The Node backend is used to process the work order data generated during the automated stacking process and persistently store the data in a MySQL database.
4. An automatic stacking method for carbon blocks, characterized in that, Includes the following steps: S1. The operator issues a work command through the user interaction module to start the automatic stacking operation process; S2. The system collects the location information of the carbon block through the data acquisition module and transmits the collected location information to the data processing module; S3, the MQTT server receives location data from the data acquisition module and integrates it into complete carbon block location information to generate a digital point cloud model; S4, the Python processing unit, converts the data in the digital point cloud model into a format that can be used for stacking decisions and sends it to the scheduler; S5. The scheduler reads the format of the stacking decision, calculates the optimal stacking position and order of the carbon blocks, and generates the corresponding stacking instructions. S6. The system controller receives the stacking instructions issued by the scheduler, parses and converts them into executable control signals, and sends them to the PLC; S7. Based on the received control signals, the PLC controls the crane equipment and other actuators to perform precise grabbing and placement operations according to the calculated stacking instructions; wherein, the specific operation method of step S4 is as follows: S41. Start the MQTT subscription service. Based on the characteristic of the MQTT subscriber continuously receiving data, place the organized data on the subscriber. The S42 and MQTT subscriber poll three different topics to identify key data information such as radar ID and vehicle coordinates, and then put the received information into three queues respectively, waiting for further processing. S43. Repeatedly retrieve the driving coordinate queue. Read the last data of radar queue 1 and radar queue 2 but do not retrieve it. By comparing the radar timestamp with the driving timestamp, retrieve the radar data with timestamps smaller than the driving timestamp, form them into JSON format, and add them to a new queue. S44. Find the driving timestamp that is simultaneously greater than the timestamps of radar 1 and radar 2, pop up the radar end data, and reassign the new end data. Repeat the comparison process to ensure that all data is updated. S45. For the data extracted from the updated driving coordinate queue, radar 1 queue and radar 2 queue, first determine the extreme values of the data in each queue, then use the extreme value to angle value conversion function to convert these extreme values into angle values; then use the polar coordinate to rectangular coordinate conversion function to convert them from the polar coordinate system to the rectangular coordinate system, and finally organize the converted data points in JSON format. S46. Slice the data in the X-axis direction, take a data point at regular intervals, and then calculate the mean of the data in the Y-axis direction within each slice to obtain the representative coordinates of the slice. S47. Use the NumPy library to convert the processed data into an array, and divide the data into 300 groups in the range of -15000 to 15000 on the Y-axis using a histogram distribution. The mean value of the Z-axis value within each group is used as the final height value of that group. Combine the height data of 300 regions in the Y-axis direction into JSON format and send the region status.
5. The automatic stacking method for carbon blocks according to claim 4, characterized in that, The specific operation method of the data acquisition module in step S2 is as follows: A TCP connection is established using a Python script to communicate with the radar scanning unit and vehicle equipment, initiating their operating modes to scan and collect data.
6. The automatic stacking method for carbon blocks according to claim 5, characterized in that, The specific processing procedure of the MQTT server in step S2 is as follows: The data collected in step S2 is assigned to specific topics and sent to the MQTT server via the MQTT protocol; Deploy an MQTT subscription service and utilize the continuous data receiving feature of the MQTT subscriber to store the organized data on the subscriber. The vehicle equipment provides the X-axis value of the digital point cloud model, while the radar scanning unit provides the X-axis and Z-axis values of the digital point cloud model.
Citation Information
Patent Citations
Carbon block warehouse intelligent management system based on machine vision
CN117104740A
