Container truck anti-lifting control system and method based on video stream and artificial intelligence

Through the container truck anti-lifting control system based on video streaming and artificial intelligence, machine vision technology is used to monitor and analyze the movement status of containers and container trucks in real time, solving the problem of potential safety hazards in crane crane accidents in the existing technology, and realizing Efficient lifting status detection and protective response ensure the safety of port terminal operations.

CN111539344BActive Publication Date: 2024-09-06CATHAY NEBULA SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010341734.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-27
Publication Date
2024-09-06
Estimated Expiration
2040-04-27

AI Technical Summary

Technical Problem

The existing technology has potential safety hazards in crane truck accidents, mainly because the photoelectric switch device relies on the trolley PLC to obtain the spreader encoder status, and the detection is affected by the height of the container truck, resulting in uncertain separation detection and unable to meet safety production needs.

Method used

It adopts a container truck anti-lifting control system based on video streaming and artificial intelligence, and uses machine vision image processing algorithms and visual target tracking technology to monitor and analyze the movement status of containers and trucks in real time, determine the lifting situation, and output alarm signals and Control signals to prevent accidents.

Benefits of technology

It achieves accurate detection and real-time response to the lifting status, reduces the failure rate, improves the system's environmental resistance and operation response speed, avoids accidental lifting accidents, and ensures the safety of personnel and vehicles.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111539344B
    Figure CN111539344B
Patent Text Reader

Abstract

The present invention discloses a control system and method for preventing container trucks from lifting based on video stream and artificial intelligence. The system includes a processor, an Ethernet switch and a camera connected in sequence, wherein: the camera is installed on the operating side of the truck, and is used to shoot the video stream data of the container truck bracket in real time and transmit it to the processor through the Ethernet switch; the processor detects and judges the video stream data, and outputs an alarm signal and a control signal to the external protection system. The hardware composition of the present invention is simple, easy to install and maintain, and has a low failure rate; mature cameras are selected and a method based on image feature detection is adopted, and the system is less affected by external lighting, wind, sand, rain, snow and other environments; the system analyzes and processes based on image video streams, and the operation response time is short and the real-time performance is high, which effectively avoids the occurrence of accidents of container trucks being lifted by mistake during port terminal operations, and protects the safety of personnel and vehicles.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to a container truck anti-lifting control system and method based on video stream and artificial intelligence. Background Art

[0002] Container truck lifting accidents are usually one of the safety hazards caused by the failure of the container truck locking pin to be fully opened during the lifting process of the yard crane (RTG / RMG, etc.). Most of the results are that the gantry crane lifts the container truck bracket at the connection together with the container truck, causing danger to people and vehicles.

[0003] Through the investigation of the safety detection and protection systems currently on the market for this problem, the following conclusions were drawn: Most of them use photoelectric switch devices to judge the space between the container and the bracket to determine whether it is safe to separate. However, the disadvantage is that the device is too dependent on the truck PLC to obtain data such as the spreader encoder and the opening and closing status. In addition, the detection is affected by the height of the container truck bracket. There is a lot of uncertainty in the separation detection, which cannot meet the needs of safe production. Summary of the invention

[0004] In order to overcome the above-mentioned shortcomings of the prior art, the present invention provides a control system and method for preventing the lifting of container trucks based on video stream and artificial intelligence, which adopts an image processing algorithm based on machine vision, as well as visual target tracking and automatic control technology based on detection, to achieve real-time monitoring and motion tracking of containers and container trucks, and comprehensively analyze the detection and tracking results to determine the current working state of the truck. When the truck is in operation, the processor makes a lifting judgment based on the video stream data collected by the camera installed on the operation side. When the safety control strategy is met, the processor outputs an alarm signal and a control signal to the external system or component for protective response to prevent the container truck and the staff from secondary injury.

[0005] The technical solution adopted by the present invention to solve its technical problems is: a container truck anti-lifting control system based on video stream and artificial intelligence, including a processor, an Ethernet switch and a camera connected in sequence, wherein: the camera is installed on the operating side of the truck, and is used to shoot the video stream data of the container truck bracket in real time and transmit it to the processor through the Ethernet switch; the processor detects and judges the video stream data, and outputs alarm signals and control signals to the external protection system.

[0006] The present invention also provides a method for preventing a container truck from lifting based on video stream and artificial intelligence, comprising the following steps:

[0007] Step 1: The camera captures the video stream data of the container bracket in real time and transmits it to the processor through the Ethernet switch;

[0008] Step 2: The processor performs visual target detection on the video stream data, and then performs visual target tracking on the detection result area;

[0009] Step 3: Determine whether the unloading operation is currently being performed based on the tracking results: if not, return to step 2; if yes, proceed to step 4;

[0010] Step 4: Determine whether the container truck bracket is lifted: if so, the processor outputs an alarm signal and a control signal to the external protection system; if not, proceed to step 5;

[0011] Step 5: Determine whether the container truck moves horizontally: if not, return to step 4; if yes, complete this operation detection.

[0012] Compared with the prior art, the present invention has the following positive effects:

[0013] The hardware composition of the present invention is simple, easy to install and maintain, and has a low failure rate; mature cameras are selected and a method based on image feature detection is adopted, so the system is less affected by external lighting, wind, sand, rain, snow and other environmental factors; the system analyzes and processes based on image video streams, with short operation response time and high real-time performance; the system operation does not rely on PLC, and the operation status and lifting status detection are performed based on video streams. This system combines cameras, switches and processor systems by fully considering and combining the actual situation of field crane operations, and at the same time uses the latest technologies in the field of machine vision and pattern recognition to effectively avoid the occurrence of accidents of container trucks being lifted by mistake during port terminal operations, thereby protecting the safety of personnel and vehicles.

[0014] The present invention takes into full consideration various container types and can utilize the mechanical structure of the yard crane to install cameras, so as to collect clear images of containers and trucks. On this basis, the present invention utilizes an object detection algorithm based on video stream to detect and track the truck bracket in real time, thereby ensuring that when the truck bracket is lifted, the system can promptly send an alarm signal and a control signal to an external system or component for protective response. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The present invention will now be described by way of example with reference to the accompanying drawings, in which:

[0016] Figure 1 It is a structural diagram of this system;

[0017] Figure 2 This is a schematic diagram of the camera installation location;

[0018] Figure 3 This is a top view of the camera installation;

[0019] Figure 4 This is a schematic diagram of the camera installation angle;

[0020] Figure 5 It is a schematic diagram of camera imaging effect;

[0021] Figure 6 It is a schematic diagram of the area division of the container truck bracket detection results. DETAILED DESCRIPTION

[0022] A container truck anti-lifting control system based on video stream and artificial intelligence, such as Figure 1 As shown, it includes a processor, an Ethernet switch and a camera (at least one is installed on the vehicle operation side), where:

[0023] (1) The switch connects the camera and the processor for data transmission.

[0024] The switch model used in this system is DS-3E0510P-S, and other bandwidths of 100M or above can also be used.

[0025] (2) The camera is a front-end video data acquisition device used to collect video stream data from the work lane. This system supports the installation of one or more cameras on the work side. Each camera performs detection and logical judgment independently. The system takes the union of the camera detection results for lifting protection. The specific implementation is described with one or two cameras, and the others are not repeated here, as follows:

[0026] 1) One camera on the operation side. If a fisheye camera is used, one can be installed on the operation side. The recommended installation method is to fix it at the center of the trolley mechanism, 1.6 meters vertically from the ground, with an error range of 10 cm, which can be adjusted according to the on-site conditions; Figure 4 As shown, the camera shoots the container truck bracket in the forward direction to ensure that the container truck bracket is completely within the camera imaging range.

[0027] 2) Two cameras on the operation side. If non-fisheye cameras are used, at least two cameras need to be installed. The horizontal rotation angle of the camera varies according to the different camera field of view. The recommended installation method is to install two cameras horizontally and symmetrically, with a horizontal distance of 3-3.8 meters from the center of the truck mechanism and a vertical distance of 1.6 meters from the ground, with an error range of 10 cm. The two cameras are respectively facing the front and rear directions of the operation truck, and can be adjusted according to the on-site conditions. Figure 4 As shown, the front camera shoots towards the rear of the container truck bracket, and the rear camera shoots towards the front of the container truck bracket. The imaging ranges of the two cameras intersect in the middle part of the container truck, ensuring that the shooting ranges of the two cameras can cover the entire container truck bracket.

[0028] Installation instructions Figure 2 , Figure 3 and Figure 4 As shown, the imaging effect is Figure 5As shown, within the imaging range of a single camera, the upper edge of the container bracket is parallel to the bottom line of the image and is within the vertical range of 3 / 7 to 4 / 7 of the image.

[0029] 3) The camera model used in this system is DS-2CD7A26FWD-IZS, or other models of cameras with a resolution of standard definition or above.

[0030] (3) The processor serves as the main data processing unit in this system. It is responsible for real-time processing of the video data collected by the camera connected to the processor, detecting the operating status of the truck, and comprehensively judging whether a lifting accident has occurred based on the video stream data of the camera on the operating side. When a lifting accident is detected, the processor immediately outputs an alarm signal and a control signal to the external system or component for a protective response to prevent the container truck and the staff from suffering secondary injuries.

[0031] The processor must have 4G memory or above, and the CPU must be at least i5, 4 cores, and 2GHz main frequency.

[0032] The system device of the present invention includes a processor, a switch and a camera (at least one on the truck operation side), and realizes the functions of alarm and automatic protection through cooperation with external systems or components. After the system is running, the processor obtains the video stream data of the camera in real time and performs key component detection, and comprehensively analyzes the detection results to determine the operation status of the truck; when the truck is operating, according to the current detection and historical detection results, the operation trend of the container truck and container is analyzed to make a lifting logic judgment. When the judgment result is lifting, the processor immediately outputs an alarm signal and a control signal to the external system or component for protection response.

[0033] The present invention also provides a method for preventing a container truck from lifting based on video stream and artificial intelligence, comprising the following steps:

[0034] (1) After the processor is powered on, the system automatically runs, loads the camera communication parameters (such as IP, port, user name and password) in the configuration file, uses the corresponding communication protocol to connect the camera, log in for verification, decode and obtain the stream, and other initialization tasks. After the initialization is completed, the system collects the video stream data captured by the camera on the operation side in real time;

[0035] (2) The system performs feature recognition on the collected video stream data and identifies the container tray:

[0036] 1) Use the trained convolution kernel to convolve the video stream data to obtain the bracket feature layer

[0037]

[0038] b is the deviation, Z l and Z l+1Represents the convolution input and output of the l+1th layer, also known as the feature map, L l+1 Z l+1 Z(i, j) corresponds to the pixels of the feature map, K is the number of channels of the feature map, f, s0 and p are the convolution layer parameters, corresponding to the convolution kernel size, convolution stride and number of padding layers.

[0039] 2) Extract position-sensitive RoI (region proposal) from feature layer through position-sensitive score maps:

[0040] A RoI must have K*K sub-regions that contain the corresponding parts of a certain type of object in order to determine that the RoI belongs to that type of object. If many parts of that type of object do not appear in the corresponding sub-regions, then the RoI is judged to be a background category. Finally, the k*k probabilities of a category are added together to extract the RoI of the corresponding object.

[0041] 3) Then, based on voting and softmax output, the prediction value of the bracket area is obtained to obtain the area information of the bracket in the image.

[0042] (3) When there is a container truck bracket in the recognition result, and the container truck bracket does not undergo horizontal displacement but rises as a whole, it is determined that the current truck operation state is a container unloading operation, and then proceeds to step (4);

[0043] (4) Divide the container truck bracket detection results of step (3) into multiple areas (odd number, minimum is 5); Figure 6 As shown, area 1 is the original image data collected by the camera, area 2 is the output area of ​​the target detection in step (3) (i.e., the container tray), and area 3 is the area where the container tray range is divided into multiple small tracking areas.

[0044] Use the visual target tracking algorithm to track each small tracking area in real time. The tracking algorithm steps are as follows:

[0045] 4.1) Apply the filter to the current frame to obtain the target result. If the current frame is the first frame, use the input as the target result and perform iterative tracking later.

[0046] 4.2) Training filters

[0047] 4.2.1) Obtaining samples

[0048] 4.2.2) Feature extraction

[0049] 4.2.3) Training filters

[0050] 4.2.4) Iteratively update the filter

[0051]

[0052]

[0053] A t l A is the Fourier transform numerator of the current frame filter; t-1 l is the transformation factor of the previous frame; η is the learning rate; is the Fourier transform of the sample; is the sample Fourier transform conjugate; G t is the expected response; B t is the denominator of the filter Fourier transform.

[0054] 4.3) Execute step 1 to iteratively track the input image data to obtain the target result.

[0055] (5) During the tracking process, the movement trends and changes of each small tracking area are analyzed to comprehensively judge whether the container truck bracket is lifted: 1) During the lifting process of the spreader, if more than half of the container truck brackets in the tracking area rise to a height that exceeds the elastic range (generally about 20 cm) and then continue to rise, it means that the camera side lock is not opened and the lifting occurs; 2) During the lifting process of the spreader, if more than half of the container truck brackets in the tracking area rise first and then fall, it means that the camera opposite side lock is not opened and the lifting occurs. If it is detected that the container truck is lifted, the processor outputs an alarm signal and a control signal to the external system or component for a protective response; at the same time, during the lifting process of the spreader, if the container truck is detected to move horizontally, the operation detection is completed.

Claims

1. A method for preventing container trucks from lifting based on video stream and artificial intelligence, characterized in that: The container truck anti-lifting control system includes a processor, an Ethernet switch and a camera connected in sequence, wherein: the camera is installed on the operating side of the truck, and is used to shoot the video stream data of the container truck bracket in real time and transmit it to the processor through the Ethernet switch; the processor detects and judges the video stream data, and outputs an alarm signal and a control signal to the external protection system; the container truck anti-lifting control method includes the following steps: Step 1: The camera captures the video stream data of the container bracket in real time and transmits it to the processor through the Ethernet switch; Step 2: The processor performs visual target detection on the video stream data, and then performs visual target tracking on the detection result area; wherein the method for performing visual target detection on the video stream data is: (1) Use the trained convolution kernel to perform convolution processing on the video stream data to obtain the feature layer of the container bracket; (2) Extracting the position-sensitive RoI from the feature layer of the container truck through the position-sensitive score map; (3) Then, based on voting and softmax, the predicted value of the container truck bracket area is output to obtain the regional information of the container truck bracket in the image; Step 3: Determine whether the unloading operation is currently being performed based on the tracking results: if not, return to step 2; if yes, proceed to step 4; wherein: the method for determining whether the unloading operation is currently being performed is: when there is a container truck bracket in the detection result area, and the container truck bracket does not undergo horizontal displacement but rises as a whole, the current truck operation state is determined to be the unloading operation; Step 4: Determine whether the container truck bracket is lifted: If yes, the processor outputs an alarm signal and a control signal to the external protection system; if no, proceed to step 5; wherein: the method for determining whether the container truck bracket is lifted is: during the lifting process of the spreader, if: 1) If more than half of the container trucks in the tracking area rise to a height that exceeds the set height range and continues to rise, it is determined that the camera side lock is not opened and the truck is lifted; 2) If more than half of the container brackets in the tracking area rise first and then fall, it is determined that the lock on the opposite side of the camera is not opened and the lifting occurs; Step 5: Determine whether the container truck moves horizontally: if not, return to step 4; if yes, complete this operation detection.

2. The method for preventing container trucks from lifting based on video stream and artificial intelligence according to claim 1 is characterized in that: The camera is a fisheye camera, which is installed at the center of the truck mechanism, 1.6 meters vertically from the ground, with an error range of 10 cm; the camera shoots the container tray in the forward direction to ensure that the container tray is completely within the camera imaging range.

3. The method for preventing container trucks from lifting based on video stream and artificial intelligence according to claim 1 is characterized in that: The cameras are non-fisheye cameras, and two are installed horizontally and symmetrically, with a horizontal distance of 3-3.8 meters from the center of the truck mechanism and a vertical distance of 1.6 meters from the ground, with an error range of 10 cm; the front camera shoots towards the tail of the container truck bracket, and the rear camera shoots towards the front of the container truck bracket. The imaging ranges of the two cameras intersect in the middle part of the container truck, ensuring that the shooting ranges of the two cameras can cover the entire container truck bracket.

4. The method for preventing container trucks from lifting up based on video stream and artificial intelligence according to claim 2 or 3 is characterized in that: Within the imaging range of the camera, the upper edge of the card holder is parallel to the bottom line of the image and is within the vertical range of 3 / 7 to 4 / 7 of the image.

5. The method for preventing container trucks from lifting based on video stream and artificial intelligence according to claim 1 is characterized in that: The processor memory is 4G or above, the CPU is at least i5, 4 cores, and the main frequency is 2GHz.

6. The method for preventing container trucks from lifting based on video stream and artificial intelligence according to claim 1 is characterized in that: When performing visual target tracking on the detection result area in step 2, the container truck bracket area is divided into at least 5 odd-numbered small tracking areas.