A cockpit multi-camera perception processing system, method and excavator
By fixing multiple cameras inside the excavator cab and performing unified calibration and synchronous triggering, the problems of easy damage and information isolation of external sensors are solved. This achieves unified association between the working environment, driver operation, and the position and posture of the working device, reducing maintenance costs and improving the system's stability and automatic operation capabilities.
Patent Information
- Application Number
- CN202611449884.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-17
- Publication Date
- 2026-11-27
AI Technical Summary
Existing excavator working device posture measurement technology suffers from problems such as easy damage to external sensors, unstable depth estimation, large camera installation errors, and isolated information, resulting in high installation and maintenance costs, and making it difficult to achieve a unified correlation between the working environment, driver operation, and working device posture.
A multi-camera perception and processing system is adopted in the cockpit. Multiple cameras are fixed on a rigid shell, uniformly calibrated and synchronously triggered. Combined with the rigid body prior of the mechanism, the pose is optimized and a time-synchronized data sequence is generated to realize the unified association between the working environment, driver operation and the pose of the working device.
It reduces the risk of damage to external sensors, improves the stability of depth estimation and the reliability of installation, reduces maintenance costs, and achieves unified spatial and temporal correlation of information, supporting automated operation and imitation learning.
Smart Images

Figure CN123181592A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of excavator technology, and in particular to a multi-camera perception and processing system, method and excavator in a cockpit. Background Technology
[0002] Excavators are widely used in earthmoving, mining, road construction, trench excavation, material loading and unloading, and leveling operations. The boom, stick, and bucket constitute a typical multi-link working device of an excavator. The working device's posture encompasses state information such as the boom, stick, and bucket joint angles, the hydraulic cylinder extension and retraction lengths, and the three-dimensional position of the bucket teeth. Accurately acquiring this type of information is fundamental to realizing intelligent functions such as construction guidance, assisted driving, safety warnings, automatic excavation, trajectory reproduction, and digital twins.
[0003] Several technical approaches have been developed for measuring the pose of excavator working devices. One approach involves installing external sensors and wiring harnesses on the boom, stick, bucket, or hydraulic cylinders. However, the excavator's operating environment is characterized by mud, dust, vibration, impact, and temperature variations, making these external devices prone to loosening, wear, water ingress, or wiring damage, resulting in high installation and maintenance costs. Another approach uses monocular or binocular cameras to identify the working device. However, current monocular cameras can only directly obtain two-dimensional images, and their depth estimation relies on training data or prior measurements of specific dimensions. When the excavator model, working distance, lighting, background, or bucket shape changes, depth estimation is prone to scale drift, making it difficult to stably obtain the true three-dimensional position of key components such as the bucket teeth. In conventional multi-camera systems, cameras are mounted on different supports or on the vehicle body, and the relative positions of each camera are easily affected by vibration and installation errors. The lack of unified camera intrinsic and extrinsic parameters, as well as the difficulty in uniformly converting these parameters to the excavator coordinate system during installation calibration, makes it challenging to achieve consistent conversion. Furthermore, the surround-view imaging system and the driver monitoring system operate independently, recording only the external environment and driver status separately, without outputting the three-dimensional pose of the working device. Summary of the Invention
[0004] In view of this, this application provides a cockpit multi-camera perception processing system, method and excavator, which aims to achieve unified association between the working environment, driver operation actions and working device posture without relying on large-scale external sensor modifications.
[0005] In a first aspect, this application provides a cockpit multi-camera perception processing system, the system comprising: A multi-camera sensing device includes a rigid housing fixedly connected to the cockpit and multiple cameras fixed to the rigid housing; the multiple cameras include a left camera, a right camera, a panoramic camera, and a downward-looking camera; the left camera and the right camera are horizontally spaced to form a binocular camera with a fixed baseline and face the working device outside the cockpit; the panoramic camera faces the working area outside the cockpit; the downward-looking camera faces the driver's operating area inside the cockpit. A synchronization triggering unit is used to associate image frames acquired by the multiple cameras with a unified timestamp; The processing and control unit is used to uniformly calibrate the multiple cameras, determine the intrinsic and extrinsic parameters of each camera, as well as the installation extrinsic parameters between the multi-camera sensing device and the cockpit coordinate system, so as to transform the spatial points observed by each camera to a unified coordinate system; perform binocular 3D reconstruction based on the synchronous binocular images acquired by the left and right cameras, and optimize the pose by combining the rigid body prior of the working device, and output the 3D pose of the working device; extract the driver's operation actions based on the downward view images acquired by the downward view camera, and extract the working environment information from the panoramic images acquired by the panoramic camera; and associate the working environment information, the driver's operation actions, and the 3D pose of the working device according to the unified timestamp to generate a time-synchronized data sequence.
[0006] Optionally, the rigid housing has a left camera hole for mounting the left camera on the left side, a right camera hole for mounting the right camera on the right side, a panoramic camera hole for mounting the panoramic camera on the upper part, and a downward camera hole for mounting the downward-looking camera on the lower part. The back of the rigid housing is provided with wiring holes and mounting holes for mounting in the cockpit. Power cables, data cables, synchronization cables and communication cables connected to the multiple cameras are led out through the wiring holes. The rigid housing is also provided with at least one of the following: a protective lens, a light shield, a sealing ring, a heat dissipation structure, a vibration damping pad, and anti-loosening fasteners.
[0007] Optionally, the system further includes a power input unit, a power protection unit, a voltage conversion unit, a camera interface unit, a storage unit, and a communication unit; The input terminal of the power input unit is used to connect to the vehicle power supply, the output terminal of the power input unit is connected to the input terminal of the power protection unit, the output terminal of the power protection unit is connected to the input terminal of the voltage conversion unit, and the output terminal of the voltage conversion unit is connected to the left camera, right camera, panoramic camera, downward camera, synchronization trigger unit and processing control unit for power supply. Each of the plurality of cameras is connected to the processing control unit via the camera interface unit, and the synchronization trigger unit is connected to the trigger terminal of each camera respectively; the processing control unit is connected to the storage unit and the communication unit.
[0008] Optionally, the synchronous triggering unit includes a reference clock, a trigger controller, and multiple trigger output terminals; The trigger controller is used to periodically generate acquisition trigger pulses according to the reference clock, and distribute the same acquisition trigger pulse to the left camera and the right camera through a multi-trigger output terminal, so that the left binocular image and the right binocular image are exposed at the same time or within a preset time error range; at the same time, for the panoramic camera and the downward-facing camera that accept external triggers, they are triggered by the same acquisition trigger pulse; for the panoramic camera and the downward-facing camera that do not accept external triggers, the timestamp is determined by correcting one or more of the following: the frame sequence number of the image frame in the camera, the time when the processing control unit receives the image frame, and the device clock. The processing control unit is used to record at least one of the following for each frame of image: hardware trigger number, camera exposure time, camera internal frame number, processing control unit receiving time, unified system clock time, and timestamp corresponding to GNSS, PTP, PPS, or vehicle bus time; assign the same synchronization frame number to the left binocular image and the right binocular image that are triggered by the same acquisition trigger pulse, and associate the image frames of the panoramic camera and the downward-looking camera according to the timestamp of the trigger time closest to the same acquisition trigger pulse.
[0009] Optionally, the processing control unit is further configured to, after the system is powered on, detect the power supply status and camera connection status, read the serial number and corresponding calibration parameters of each camera, configure exposure, gain, frame rate and trigger mode, and initiate synchronous triggering after confirming that each camera is ready, so as to receive the image frames fed back by each camera and uniformly configure the timestamp; when one or more of the following are detected: camera disconnection, trigger loss, discontinuous frame sequence number, power supply abnormality and temperature abnormality, generate a fault identifier and downweight or pause the affected data frames.
[0010] Optionally, the processing control unit is used for: The calibration coordinate systems are: left camera coordinate system, right camera coordinate system, panoramic camera coordinate system, downward camera coordinate system, device coordinate system, cockpit coordinate system, and working device base coordinate system; the relationship between the coordinate systems is represented by a homogeneous transformation matrix, and the device coordinate system adopts the left camera coordinate system or a coordinate system constructed based on the mechanical reference points of the rigid shell; The intrinsic parameters of the left camera, right camera, panoramic camera, and downward-looking camera are calibrated respectively; the extrinsic parameters between the left and right cameras are calibrated; the extrinsic parameters from the panoramic camera to the device coordinate system are calibrated; the extrinsic parameters from the downward-looking camera to the device coordinate system are calibrated; and the installation extrinsic parameters between the device coordinate system and the cockpit coordinate system are calibrated. The intrinsic parameters include the focal length, principal point, and distortion parameters of each camera. The extrinsic parameter calibration between the left and right cameras includes at least the relative rotation matrix and translation vector, epipolar correction matrix, and three-dimensional reprojection matrix between the left and right cameras. The time deviation between different cameras is calibrated, and the time deviation is used to correct the timestamps of image frames of each camera; for continuously moving working devices, time interpolation compensation is performed on non-fully synchronized images based on the poses of adjacent frames. The mechanism parameters of the working device are calibrated, including: the position and length of the hinge points at both ends of the boom, the position and length of the hinge points at both ends of the stick, the position of the bucket hinge point and the tooth tip, the mounting points at both ends of each hydraulic cylinder, the joint connection topology, the joint angle limit and the hydraulic cylinder length limit; The aforementioned calibrated coordinate system, intrinsic parameters, extrinsic parameters, time deviations between different cameras, and mechanism parameters of the working device are associated and saved according to the device number, camera serial number, and corresponding excavator number. During system operation, multiple preset indicators are verified. When the value of one or more indicators exceeds the threshold of the corresponding indicator, a prompt for recalibration or a reduction in the weight of the calibrated data is made.
[0011] Optionally, for performing binocular 3D reconstruction based on the synchronous binocular images acquired by the left and right cameras, and combining the mechanism rigid body prior of the working device for pose optimization, and outputting the 3D pose of the working device, the processing control unit is used to detect key points of the working device in the left binocular image and the right binocular image, match the same key points in the left binocular image and the right binocular image, and perform binocular triangulation based on the matched same key points to obtain the 3D coordinates of each key point; The joint states of the working device are represented as a set constructed from the boom joint angle, stick joint angle, and bucket joint angle. Based on the mechanism parameters of the working device and the joint states, the predicted three-dimensional positions of each key point are calculated using forward kinematics. Specifically, the joint states are solved using at least one of two methods: binocular triangulation and mechanism kinematics optimization, or direct pose optimization based on left and right reprojection errors. When using binocular triangulation and mechanism kinematics optimization, binocular triangulation is performed based on the corresponding key points in the left and right binocular images to obtain the observed three-dimensional coordinates of each key point. Then, the joint states are adjusted to ensure that each key point... The predicted 3D position of the key point is close to the observed 3D coordinates, while satisfying the constraints of link length, joint angle limit, and time continuity. When using the direct pose optimization method that combines left and right reprojection errors, the predicted 3D position of each key point is calculated based on the candidate joint state and projected onto the left binocular image and the right binocular image respectively. The comprehensive optimization objective is then optimized based on the predicted image points and the actual detected image points. The comprehensive optimization objective includes the reprojection error of the left and right binocular images, the link length and hinge structure rigidity error, the joint angle and hydraulic cylinder length over-limit penalty, and the time smoothing error of pose changes in adjacent frames. Based on the joint states obtained from the solution, the three-dimensional pose of the working device is calculated. The three-dimensional pose includes at least one of the boom joint angle, stick joint angle, bucket joint angle, length of each hydraulic cylinder, three-dimensional position of bucket tooth tip, and bucket posture.
[0012] Secondly, this application provides a cockpit multi-camera perception processing method, applied to any of the systems described above, the method comprising: The left camera, right camera, panoramic camera, and downward-looking camera are uniformly calibrated to determine the intrinsic parameters and corresponding extrinsic parameters of each camera, as well as the installation extrinsic parameters between the multi-camera sensing device and the cockpit coordinate system, so as to transform the spatial points observed by each camera to a unified coordinate system. Associate image frames captured by multiple cameras with a unified timestamp; Based on the synchronous binocular images acquired by the left and right cameras, binocular 3D reconstruction is performed, and pose optimization is performed by combining the rigid body prior of the working device, and the 3D pose of the working device is output. The driver's actions are extracted from the downward view images captured by the downward view camera; Extract the working environment information from the panoramic images captured by the panoramic camera; Based on the unified timestamp, the operating environment information, the driver's operating actions, and the three-dimensional pose of the working device are associated to generate a time-synchronized data sequence.
[0013] Thirdly, this application provides an excavator that employs a cockpit multi-camera perception and processing system as described in any of the above-mentioned claims.
[0014] This application provides a multi-camera perception and processing system, method, and excavator for a cab. The left camera, right camera, panoramic camera, and downward-facing camera are centrally fixed to the same rigid housing rigidly connected to the cab. This eliminates the need for additional sensors and wiring harnesses on the moving parts of the working device, avoiding loosening, wear, and wiring damage of external equipment in muddy, dusty, and vibrating environments, resulting in low installation and maintenance costs. Furthermore, because the device moves with the vehicle body and the orientation of each camera is clearly defined, the three types of information can be collected from the excavator's own cab perspective and stably bound to its own coordinate system, without relying on external fixed cameras. Moreover, due to the unified calibration of each camera, including intrinsic parameters, relative extrinsic parameters, and installation extrinsic parameters, the observations of each camera are transformed into a unified coordinate system, allowing the environmental, operational, and pose information to be spatially correlated. Based on a synchronous triggering unit, the image frames of each camera are associated with a unified timestamp, aligning the three types of information in time and establishing a causal correspondence between operational actions and pose responses. Therefore, the processing control unit associates the work environment information, driver operation actions and three-dimensional pose of the working device at the same time into data frames and forms a continuous sequence according to a unified timestamp, which can form expert operation teaching data that can be used for automatic operation and imitation learning. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings used in the description of the embodiment or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 This is a schematic diagram of the structure of a multi-camera sensing device provided in an embodiment of this application; Figure 2 This is a front view schematic diagram of a rigid shell provided in an embodiment of this application; Figure 3 This is a schematic diagram of the back of a rigid housing provided in an embodiment of this application; Figure 4 This is a flowchart illustrating a cockpit multi-camera perception processing method provided in an embodiment of this application.
[0017] Explanation of the attached figures: 1-Left camera hole; 2-Right camera hole; 3-Panoramic camera hole; 4-Downward camera hole; 5-Mounting hole; 6-Cable routing hole. Detailed Implementation
[0018] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.
[0019] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.
[0020] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0021] See Figure 1 , Figure 1 This is a schematic diagram of a multi-camera sensing device provided in an embodiment of this application. The system includes: A multi-camera sensing device includes a rigid housing fixedly connected to the cockpit and multiple cameras fixed to the rigid housing; the multiple cameras include a left camera, a right camera, a panoramic camera, and a downward-looking camera; the left camera and the right camera are horizontally spaced to form a binocular camera with a fixed baseline and face the working device outside the cockpit; the panoramic camera faces the working area outside the cockpit; the downward-looking camera faces the driver's operating area inside the cockpit. Optionally, the rigid housing described above may be made of metal, engineering plastics, or composite materials. The rigid housing configured in this application is used for fixed installation and to define the installation positions of the left and right cameras, the panoramic camera, and the downward-facing camera.
[0022] Optionally, the aforementioned rigid housing (multi-camera sensing device) can be fixedly installed in front of the excavator's cab, near the windshield, at the top edge of the cab, or at other locations that simultaneously cover the working device and the driver's operating area. After installation, the multi-camera sensing device moves with the cab, maintaining a fixed spatial position relative to the cab. Therefore, the device's observation results can be stably bound to the excavator's own coordinate system, without relying on external fixed cameras at the construction site.
[0023] A synchronization triggering unit is used to associate image frames acquired by the multiple cameras with a unified timestamp; The processing and control unit is used to uniformly calibrate the multiple cameras, determine the intrinsic and extrinsic parameters of each camera, as well as the installation extrinsic parameters between the multi-camera sensing device and the cockpit coordinate system, so as to transform the spatial points observed by each camera to a unified coordinate system; perform binocular 3D reconstruction based on the synchronous binocular images acquired by the left and right cameras, and optimize the pose by combining the rigid body prior of the working device, and output the 3D pose of the working device; extract the driver's operation actions based on the downward view images acquired by the downward view camera, and extract the working environment information from the panoramic images acquired by the panoramic camera; and associate the working environment information, the driver's operation actions, and the 3D pose of the working device according to the unified timestamp to generate a time-synchronized data sequence.
[0024] The aforementioned processing control unit is used to receive image frames fed back from the multiple cameras, configure and generate timestamps, perform calculations, and output or save the results. Optionally, the processing control unit can be an embedded processor, graphics processor, neural network processor, industrial computer, or vehicle controller, used to perform image correction, key point detection, 3D reconstruction, pose optimization, motion recognition, and data organization.
[0025] This application provides a multi-camera perception and processing system, method, and excavator for a cab. The left camera, right camera, panoramic camera, and downward-facing camera are centrally fixed on the same rigid housing rigidly connected to the cab. No additional sensors or wiring harnesses are needed for the moving parts of the working device, avoiding loosening, wear, and wiring damage of external equipment in muddy, dusty, and vibrating environments, resulting in low installation and maintenance costs. Furthermore, because the device moves with the vehicle body and the orientation of each camera is clearly defined, the three types of information can be collected from the excavator's own cab perspective and stably bound to its own coordinate system, without relying on external fixed cameras.
[0026] Furthermore, due to the unified calibration of each camera, including intrinsic parameters, relative extrinsic parameters, and installation extrinsic parameters, the observations of each camera are transformed into a unified coordinate system, allowing the three types of information—environment, operation, and pose—to be spatially correlated. Moreover, based on the synchronization trigger unit, the image frames of each camera are associated with a unified timestamp, aligning the three types of information temporally and establishing a causal correspondence between operational actions and pose responses. Thus, the processing and control unit correlates the operational environment information, driver operational actions, and the three-dimensional pose of the working device at the same moment into data frames according to the unified timestamp, forming a continuous sequence. This can generate expert operation teaching data that can be used for automated operation and imitation learning.
[0027] Furthermore, since the left and right cameras form a fixed baseline within the same housing and can achieve synchronous exposure through the synchronous triggering unit, the three-dimensional position of the key points of the working device can be directly recovered from the parallax of the left and right cameras. This overcomes the depth scale drift of monocular vision and avoids inconsistencies and erroneous parallax of corresponding points caused by the movement of the working device. Moreover, since the pose solution introduces the mechanical rigid body prior of the working device, the three-dimensional pose has both the real depth scale and the consistency of the mechanical structure.
[0028] Based on the above embodiments, see Figure 2 The diagram shows a front view of a rigid housing. The rigid housing has a left camera hole 1 for mounting a left camera on the left side, a right camera hole 2 for mounting a right camera on the right side, a panoramic camera hole 3 for mounting a panoramic camera on the upper part, and a downward-looking camera hole 4 for mounting a downward-looking camera on the lower part. In one example, the rigid housing includes a camera mounting reference surface, positioning posts, limiting grooves, and fasteners, and the left camera, right camera, panoramic camera, and downward-facing camera are fixed to the rigid housing via the camera mounting reference surface, positioning posts, limiting grooves, and fasteners.
[0029] For a binocular camera, the left and right cameras are horizontally spaced apart, forming a binocular camera with a fixed baseline. The optical axis of the binocular camera is oriented towards the excavator's working device, and its field of view covers at least the movement areas of the boom, stick, bucket, bucket teeth, and corresponding hinge points. The baseline length of the binocular camera is determined based on the excavator's working range, the camera's focal length, the target depth accuracy, and the housing dimensions. For example, the baseline length can be 100–300 mm, but this value is only an example and does not constitute a limitation on the scope of protection of this invention.
[0030] The aforementioned panoramic camera can be a fisheye camera, a wide-angle camera, a dual fisheye camera, or other large field-of-view imaging device. The panoramic camera faces outward from the cockpit and is used to collect environmental information such as the work area, earthwork, trenches, slopes, transport vehicles, unloading targets, personnel, obstacles, and other engineering machinery.
[0031] The field of view of the aforementioned downward-facing camera covers the left and right handlebars, foot pedals, driver's hands, and other control components. Optionally, the downward-facing camera can directly save the original operation image, or it can output a structured operation status through key point detection, object detection, or action classification methods.
[0032] See Figure 3 The diagram shows a schematic representation of the back of a rigid housing. The back of the rigid housing is provided with wiring holes and mounting holes 5 and 6 for installation in the cockpit. Power cables, data cables, synchronization cables, and communication cables connected to the plurality of cameras are led out through the wiring holes 6. In one embodiment, a mounting hole 5 is provided near each of the four corners of the back plate, forming a four-point fixing structure. The device is fixed to the cockpit mounting base by screws, bolts, clips, or mounting brackets. The mounting holes can also cooperate with positioning pins, positioning surfaces, or limiting grooves, so that the device can be reinstalled in approximately the same mounting position after disassembly.
[0033] Thus, a wiring hole is provided in the middle of the back of the device, through which power cables, data cables, synchronization cables and communication cables enter the cockpit or vehicle control equipment, reducing exposed wiring harnesses.
[0034] The rigid housing is also provided with at least one of the following: a protective lens, a light shield, a sealing ring, a heat dissipation structure, a vibration damping pad, and anti-loosening fasteners.
[0035] The housing can also be equipped with protective lenses, light shields, sealing rings, heat dissipation structures, vibration damping pads, and anti-loosening fasteners to adapt to the excavator's vibration, dust, strong light, and temperature change environment.
[0036] Based on the above embodiments, the system further includes a power input unit, a power protection unit, a voltage conversion unit, a camera interface unit, a storage unit, and a communication unit; The input terminal of the power input unit is used to connect to the vehicle power supply, the output terminal of the power input unit is connected to the input terminal of the power protection unit, the output terminal of the power protection unit is connected to the input terminal of the voltage conversion unit, and the output terminal of the voltage conversion unit is connected to the left camera, right camera, panoramic camera, downward camera, synchronization trigger unit and processing control unit for power supply. Excavators typically use a 12-volt or 24-volt onboard power supply. A voltage conversion unit is used to output one or more operating voltages required by the components connected to its output terminal, such as 12 volts, 5 volts, or 3.3 volts.
[0037] The aforementioned synchronization triggering units are connected to the triggering or synchronization terminals of each camera, respectively.
[0038] The power protection unit may include one or more combinations of fuses or resettable fuses, reverse connection protection circuits, overvoltage protection circuits, undervoltage protection circuits, surge absorbers, transient suppression diodes, and electromagnetic interference filtering circuits.
[0039] Optionally, to reduce image noise and synchronization errors in the camera, each camera power supply branch (the power supply branch formed by the connection of the power input unit, power protection unit, voltage conversion unit, and camera) can be equipped with filtering, voltage regulation, overcurrent detection, or independent switching control circuits. The circuit grounding can adopt a single-point connection, zoned wiring, or isolation design to reduce electromagnetic interference generated by the engine, solenoid valves, and hydraulic control system in the excavator.
[0040] Each of the plurality of cameras is connected to the processing control unit via the camera interface unit, and the synchronization trigger unit is connected to the trigger terminal of each camera respectively; the processing control unit is connected to the storage unit and the communication unit.
[0041] The aforementioned camera interface unit is used to receive image data, camera status, exposure information, and frame number, and can send configuration parameters and trigger signals to the camera. Optionally, the left and right cameras, panoramic camera, and downward-facing camera can be connected to the processing control unit via GMSL, FPD-Link, MIPI, USB, Ethernet, or other image interfaces.
[0042] Optionally, for cameras located far from the computing device, serializers and deserializers can be used to transmit images, clock, and control signals to improve interference immunity and reduce the number of wiring harnesses.
[0043] The aforementioned storage unit is used to save the original image, calibration parameters, timestamps, key points, 3D pose, operation actions, and environmental information.
[0044] The aforementioned communication unit can transmit the working device's pose and data sequence to the excavator control system, display terminal, or remote server via Ethernet, CAN, CANFD, wireless network, or other means.
[0045] Based on the above embodiments, the synchronous triggering unit includes a reference clock, a trigger controller, and multiple trigger output terminals; The trigger controller is used to periodically generate acquisition trigger pulses according to the reference clock, and distribute the same acquisition trigger pulse to the left camera and the right camera through a multi-channel trigger output terminal, so that the left binocular image and the right binocular image are exposed at the same time or within a preset time error range; at the same time, for the panoramic camera and the downward-facing camera that accept external triggers, they are triggered by the same acquisition trigger pulse, and the corresponding image is exposed at the same time or within a preset time error range as the left binocular image and the right binocular image; for the panoramic camera and the downward-facing camera that do not accept external triggers, the timestamp is determined by correcting one or more of the following: the frame sequence number of the image frame in the camera, the time when the processing control unit receives the image frame, and the device clock. The aforementioned device clock can be the internal clock used by the camera to mark the acquisition time of image frames.
[0046] The processing control unit is used to record for each frame of image at least one of the following: hardware trigger number, camera exposure time, camera internal frame sequence number, processing control unit receiving time, unified system clock time, and timestamp corresponding to GNSS (absolute time reference (satellite time synchronization)), PTP (unified time after multiple devices synchronize via network), PPS (hardware pulse provides second-level reference, combined with counting to obtain precise timestamps), or vehicle bus time; assign the same synchronization frame number to the left binocular image and the right binocular image triggered by the same acquisition trigger pulse, and associate the image frames of the panoramic camera and the downward-looking camera according to the timestamp of the trigger time closest to the same acquisition trigger pulse.
[0047] The time of the k-th frame image acquired by each camera can be expressed as: t(i,k)=t0+kT+Δt(i) Where t0 is the start time of the synchronization trigger, and T is the trigger period. Let Δt(i) be the fixed time deviation of the i-th camera relative to the reference clock. Δt(i) can be obtained through offline time calibration or online estimation.
[0048] Furthermore, the processing control unit is also used to detect the power supply status and camera connection status after the system is powered on, read the serial number and corresponding calibration parameters of each camera, configure exposure, gain, frame rate and trigger mode, and start synchronous triggering after confirming that each camera is ready to receive image frames fed back by each camera and uniformly configure timestamps; when one or more of the following are detected: camera disconnection, trigger loss, discontinuous frame sequence number, power supply abnormality and temperature abnormality, a fault identifier is generated, and the affected data frames are downweighted or suspended.
[0049] Based on the above embodiments, the processing control unit is specifically used for: The calibration coordinate systems are: left camera coordinate system, right camera coordinate system, panoramic camera coordinate system, downward camera coordinate system, device coordinate system, cockpit coordinate system, and working device base coordinate system; the relationship between the coordinate systems is represented by a homogeneous transformation matrix, and the device coordinate system adopts the left camera coordinate system or a coordinate system constructed based on the mechanical reference points of the rigid shell; In one example, the coordinate systems can be represented as follows: left camera coordinate system C_L; right camera coordinate system C_R; panoramic camera coordinate system C_P; downward camera coordinate system C_D; device coordinate system C_E; excavator body or cab coordinate system C_U; working device base coordinate system C_W.
[0050] The above uses a homogeneous transformation matrix to represent the relationship between coordinate systems. Let T_BA be the "transformation matrix from coordinate system A to coordinate system B". Then, the spatial points observed by each camera can be transformed to the excavator's unified coordinate system (which can be the above-mentioned device coordinate system) through the above-mentioned external parameters.
[0051] The intrinsic parameters of the left camera, right camera, panoramic camera, and downward-looking camera are calibrated respectively; the extrinsic parameters between the left and right cameras are calibrated; the extrinsic parameters from the panoramic camera to the device coordinate system are calibrated; the extrinsic parameters from the downward-looking camera to the device coordinate system are calibrated; and the installation extrinsic parameters between the device coordinate system and the cockpit coordinate system are calibrated. The intrinsic parameters include the focal length, principal point, and distortion parameters of each camera. The extrinsic parameter calibration between the left and right cameras includes at least the relative rotation matrix and translation vector, epipolar correction matrix, and three-dimensional reprojection matrix between the left and right cameras. In one implementation, the intrinsic parameter calibration of the left camera, right camera, panoramic camera, and downward-looking camera, respectively, can be performed as follows: For a standard perspective camera, intrinsic parameters include focal lengths f_x and f_y, principal points c_x and c_y, radial distortion parameters, and tangential distortion parameters. Furthermore, for fisheye or panoramic cameras, fisheye models, isometric projection models, or other distortion models suitable for large field-of-view lenses can be used.
[0052] During calibration, checkerboard patterns, dot arrays, AprilTag boards, or other calibration boards of known geometric dimensions are placed at different distances, angles, and positions within the camera's field of view. Multiple frames of images are acquired, and intrinsic parameters are solved based on the correspondence between the three-dimensional points of the calibration board and the image points. Optimization is then performed by minimizing the reprojection error.
[0053] In one implementation, the extrinsic parameters for calibrating the left and right cameras mentioned above can be: The same calibration board was placed simultaneously within the common field of view of the left and right cameras, and synchronous images were acquired at multiple positions and orientations.
[0054] Based on the calibration points observed by the left and right cameras respectively, solve for the rotation matrix R_RL and translation vector t_RL of the right camera relative to the left camera. The magnitude of the translation vector is the binocular baseline length.
[0055] After binocular positioning is completed, epipolar correction mapping is calculated based on the intrinsic and extrinsic parameters of the left and right cameras to ensure that the same spatial point is located on the same horizontal line as much as possible in the corrected left and right images.
[0056] The calibration optimization objective is to minimize the reprojection errors of the left and right cameras, while simultaneously constraining the epipolar error and the known baseline length. The calibration results should include at least: the relative rotation matrix between the left and right cameras; the relative translation vector between the left and right cameras; the epipolar correction matrix; and the 3D reprojection matrix.
[0057] In one implementation, calibrating the extrinsic parameters of the panoramic camera to the device coordinate system and calibrating the extrinsic parameters of the downward-looking camera to the device coordinate system can be: Using the device coordinate system (employing the left camera coordinate system) as a unified reference, the calibration plate is placed in the common field of view of the panoramic camera and the left camera, or the extrinsic parameters from the panoramic camera to the device coordinate system are obtained using a 3D calibration object that can be identified from different viewpoints. Similarly, the extrinsic parameters from the downward-looking camera to the device coordinate system are obtained in the same way.
[0058] In addition, when there is no direct common field of view between different cameras, indirect extrinsic parameters can be established by using a three-dimensional calibration frame with multiple calibration surfaces, a measuring arm, a total station, or the mechanical reference dimensions of the housing.
[0059] After calibration, any spatial point observed from any camera can be converted to the unified device coordinate system.
[0060] In one implementation, after the multi-camera device is installed in the cab, it is necessary to determine the installation extrinsic parameters between the device coordinate system C_E and the excavator body coordinate system C_U. These installation extrinsic parameters can be obtained using any of the following methods: Calculate based on the design dimensions of mounting holes, positioning surfaces, and cockpit mechanical references; use measuring tools to measure the position and orientation of the optical center of the device relative to the upper body reference point; fix the calibration plate at a known position on the upper body, observe the calibration plate with a camera and solve using the PnP method; collect multiple known working device attitudes, optimize the installation extrinsic parameters by combining the working device mechanism model with image observation; and perform combined calibration using two or more of the above methods.
[0061] After the extrinsic parameter calibration is completed, the three-dimensional points of the working device obtained by subsequent binocular reconstruction can be converted to the cockpit coordinate system.
[0062] The time deviation between different cameras is calibrated, and the time deviation is used to correct the timestamps of image frames of each camera; for continuously moving working devices, time interpolation compensation is performed on non-fully synchronized images based on the poses of adjacent frames. Understandably, hardware triggering can reduce time differences between cameras, but different cameras may still have exposure delays, transmission delays, and internal buffer delays. Therefore, this invention further calibrates the time deviation at the software level.
[0063] In one example, the above-mentioned calibration of the time deviation between different cameras can be achieved by setting a periodically moving or flashing target within the common field of view of each camera and calculating the time deviation between different cameras based on the target's motion trajectory or brightness changes; alternatively, the residual time deviation can be obtained through correlation analysis based on the changes in image characteristics when the working device moves rapidly.
[0064] In addition, for continuously moving working devices, time interpolation compensation can be performed on non-fully synchronized images based on the poses of adjacent frames.
[0065] The mechanism parameters of the working device are calibrated, including: the position and length of the hinge points at both ends of the boom, the position and length of the hinge points at both ends of the stick, the position of the bucket hinge point and the tooth tip, the mounting points at both ends of each hydraulic cylinder, the joint connection topology, the joint angle limit and the hydraulic cylinder length limit; Optionally, the mechanism parameters are derived from CAD models, design drawings, manual measurements, or joint estimation based on multi-frame visual observations. For excavators where precise design parameters cannot be obtained, the length of the same rigid link in multiple frames is set as a shared variable, and its statistical value is obtained through multi-frame optimization, thereby reducing the dependence on specific machine model drawings.
[0066] The aforementioned calibrated coordinate system, intrinsic parameters, extrinsic parameters, time deviations between different cameras, and mechanism parameters of the working device are associated and saved according to the device number, camera serial number, and corresponding excavator number. During system operation, multiple preset indicators are verified. When the value of one or more indicators exceeds the threshold of the corresponding indicator, a prompt for recalibration or a reduction in the weight of the calibrated data is made.
[0067] In one example, the metrics include the epipolar distance between left and right corresponding points; reprojection error after binocular triangulation; link length drift between adjacent hinge points; three-dimensional position fluctuation of stationary targets; camera triggering and frame sequence continuity.
[0068] Based on the above embodiments, the processing and control unit can be used to perform binocular 3D reconstruction based on the synchronous binocular images acquired by the left and right cameras, optimize the pose by combining the rigid body prior of the working device, and output the 3D pose of the working device. Step A1: Detect key points of the working device in the left and right binocular images, match the same key points in the left and right binocular images, and perform binocular triangulation based on the matched same key points to obtain the three-dimensional coordinates of each key point.
[0069] In one implementation, prior to step A1, key points are defined based on the mechanism topology of the excavator's working device. The key points include at least: P0: the hinge point connecting the boom and the upper body; P1: the hinge point connecting the boom and the stick; P2: the hinge point connecting the stick and the bucket; P3: the bucket tooth tip, the midpoint of the cutting edge, or the bucket reference point; P4: the mounting point of the boom hydraulic cylinder; P5: the mounting point of the stick hydraulic cylinder; and P6: the mounting point of the bucket hydraulic cylinder and the linkage mechanism.
[0070] It should be noted that the labels for each key point are set according to their mechanical semantics and connection relationships, rather than according to the absolute size of a certain model of excavator, so as to adapt to excavators of different sizes and models.
[0071] In one implementation, the key points of detecting the working device described above may include: First, distortion correction and epipolar correction are performed on the left and right binocular images based on the intrinsic and extrinsic parameters calibrated by the camera. Then, a keypoint detection network, object detection network, instance segmentation network, or a combination thereof are used to detect the boom, stick, bucket, hydraulic cylinder, hinge point, and tooth tip in the left and right images.
[0072] For example, the key point detection results include at least: the two-dimensional pixel coordinates of the key point; the semantic label of the key point; the key point detection confidence; the visibility or occlusion status of the key point; and the working device component to which the key point belongs.
[0073] Furthermore, candidate matching relationships are established for keypoints with the same name (same semantic label) in the left and right binocular images. Specifically, this can be done as follows: Candidate matches are screened using epipolar constraints, local image features, keypoint confidence, and working device topology. The matching cost can be expressed as: C=C_sem+λ1×C_epi+λ2×C_app+λ3×C_top Where C_sem is the semantic label consistency cost, C_epi is the epipolar distance cost, C_app is the local appearance or feature descriptor cost, C_top is the working device topology consistency cost, and λ1, λ2, and λ3 are weights. Optionally, keypoint pairs with inconsistent semantic labels are directly excluded; keypoint pairs with epipolar errors corresponding to C_epi or topology errors corresponding to C_top exceeding the threshold are downweighted or removed.
[0074] In one implementation, binocular triangulation is performed based on the matched keypoints with the same name to obtain the three-dimensional coordinates of each keypoint, including: For the left and right binocular images where candidate matching relationships are established for keypoints, if the pixel x-coordinates of the same keypoint in the left and right binocular images are u_L and u_R respectively, then the disparity is: d=u_L-u_R.
[0075] The key point depth can be calculated as: Z = f_x × B ÷ d.
[0076] The three-dimensional horizontal and vertical coordinates are: X=(u_L-c_x)×Z÷f_x; Y=(v_L-c_y)×Z÷f_y.
[0077] Where B is the binocular baseline length, f_x and f_y are the focal lengths, and c_x and c_y are the principal point coordinates.
[0078] For binocular cameras that have not undergone standard parallel correction, the three-dimensional coordinates can be calculated using linear or nonlinear triangulation based on the projection matrices of the left and right cameras.
[0079] Step A2: Represent the joint state of the working device as a set constructed from the boom joint angle, stick joint angle and bucket joint angle, and calculate the predicted three-dimensional position of each key point through forward kinematics based on the mechanism parameters of the working device and the joint state. The joint state is solved using at least one of two methods: binocular triangulation and mechanism kinematics optimization, or direct pose optimization combining left and right reprojection errors. When using binocular triangulation and mechanism kinematics optimization, binocular triangulation is performed on corresponding key points in the left and right binocular images to obtain the observed 3D coordinates of each key point. The joint state is then adjusted so that the predicted 3D position of each key point is close to the observed 3D coordinates, while simultaneously satisfying constraints on link length, joint angle limits, and time continuity. When using direct pose optimization combining left and right reprojection errors, the predicted 3D position of each key point is calculated based on the candidate joint state and projected onto the left and right binocular images respectively. The comprehensive optimization objective is then solved based on the predicted image points and the actual detected image points. The comprehensive optimization objective includes reprojection errors of the left and right binocular images, link length and hinge structure rigidity errors, joint angle and hydraulic cylinder length over-limit penalties, and time smoothing errors in pose changes between adjacent frames.
[0080] In step A2 above, based on the pose optimization of the rigid body prior, the joint state of the working device is represented as: q = [θ_boom, θ_stick, θ_bucket]. Wherein, θ_boom is the boom joint angle, θ_stick is the stick joint angle, and θ_bucket is the bucket joint angle.
[0081] Based on the working device mechanism parameters ξ and joint state q, the three-dimensional position of each key point is predicted by forward kinematics calculation: P_j=F_j(q, ξ).
[0082] Based on step A2 above, it can be seen that the following two pose solving methods can be used in this application.
[0083] Option 1: Binocular Triangulation and Mechanism Kinematics Optimization
[0084] Based on the corresponding key points in the left and right binocular images, binocular triangulation is performed to obtain the observed three-dimensional coordinates of each key point. Then, the joint state is adjusted so that the predicted three-dimensional position of each key point is close to the observed three-dimensional coordinates, while satisfying the constraints of link length, joint angle limit and time continuity.
[0085] Option 2: Direct pose optimization based on left and right reprojection errors
[0086] Instead of explicitly obtaining the final three-dimensional coordinates of each key point, the three-dimensional position of the key point of the working device is calculated based on the candidate joint state, and then projected onto the left binocular image and the right binocular image respectively. By comprehensively optimizing the target, the reprojection error between the predicted image point and the actual detected image point is minimized, and the joint state is directly solved.
[0087] In one instance, for Scheme 2, the above comprehensive optimization objective can be expressed as: E(q)=E_reproj+λ_r×E_rigid+λ_l×E_limit+λ_t×E_temporal.
[0088] Where: E_reproj is the reprojection error of the left and right binocular images; E_rigid is the link length and hinge structure rigidity error; E_limit is the penalty for exceeding the joint angle and hydraulic cylinder length limits; E_temporal is the temporal smoothing error of pose changes between adjacent frames; λ_r, λ_l and λ_t are the corresponding weights.
[0089] Optionally, the above optimization can be solved using the Gauss-Newton method, the Levenberg-Marquardt algorithm, particle filtering, extended Kalman filtering, or other optimization methods.
[0090] Step A3: Calculate the three-dimensional pose of the working device based on the joint states obtained from the solution. The three-dimensional pose includes at least one of the following: boom joint angle, stick joint angle, bucket joint angle, length of each hydraulic cylinder, three-dimensional position of bucket tooth tip, bucket posture, three-dimensional coordinates of key points of the working device, pose estimation confidence level, and quality label.
[0091] In one implementation, the calculation of the hydraulic cylinder length and the end-effector (bucket) pose can be as follows: Based on step A2, after obtaining the joint state, the three-dimensional coordinates of both ends of the hydraulic cylinder are calculated according to the positions of the mounting points at both ends of the hydraulic cylinder on the corresponding connecting rods. The length of the hydraulic cylinder is: L_cylinder = ||P_A - P_B||.
[0092] Where P_A and P_B are the coordinates of the mounting points at both ends of the hydraulic cylinder.
[0093] The three-dimensional position P_tip of the bucket tooth tip and the bucket posture R_bucket are calculated based on the bucket joint angle and bucket geometry parameters.
[0094] The confidence level of pose estimation can be determined by combining the confidence levels of key points mentioned in step A1 above with the final error based on the comprehensive optimization objective of Scheme 2. The quality label can be determined based on the confidence level of pose estimation.
[0095] In one possible implementation, when a keypoint is occluded, outside the image range, or has low detection confidence, the system reduces the weight of that keypoint in the optimization objective. For keypoints that are temporarily invisible, their position can be predicted based on visible keypoints, mechanism topology, previous state, and motion velocity. When the number of valid observations is insufficient to uniquely determine the state of the working device, the system retains the previous valid result or outputs an invalid flag to avoid generating incorrect poses that do not conform to the mechanical structure.
[0096] In one possible implementation, the work environment information extracted by the processing control unit from the panoramic image includes at least one of earthwork, material piles, trenches, slopes, transport vehicles, carriages, unloading targets, personnel, obstacles, other construction machinery, work area boundaries, hazardous areas, construction reference lines, work object categories, locations and states, and environmental context features extracted by the image model; the work environment information is bound to the three-dimensional pose of the working device and the driver's operating actions at the same time.
[0097] Panoramic cameras are used to capture the working environment and external scene context. Panoramic images can be directly saved as raw teaching data, or they can undergo distortion correction, object detection, semantic segmentation, and region recognition to obtain structured environmental information. The panoramic environmental information is linked to the pose of the working device and the driver's actions at the same time to interpret the scene conditions under which the driver takes corresponding actions.
[0098] In one possible implementation, a downward-facing camera captures images of the operating area inside the cockpit, with its field of view including the left and right handlebars, foot pedals, and the driver's hands.
[0099] The processing control unit extracts the driver's operation actions from the lower view image, including: locating the left handlebar, right handlebar, foot pedal, and hand area; detecting key points of the handlebar, foot pedal, and hand; identifying the operation state based on the key point position, image features, or action classification model; performing temporal smoothing on the continuous frame results; and dividing the start, duration, switching, and end times of the action. The driver's operation information from the lower view image includes at least one of the following: left handlebar movement direction, amplitude, and speed; right handlebar movement direction, amplitude, and speed; foot pedal depressing degree; hand position and posture; and the start, duration, switching, and end times of the action.
[0100] The images from the downward-looking camera can also be saved as raw evidence of the operation, and then used for offline action recognition later.
[0101] In one possible implementation, the processing control unit associates the left binocular image, right binocular image, panoramic image, downward view image, the three-dimensional pose of the working device, and the driver's operation actions at the same time into a data frame according to a unified timestamp, and forms the operation teaching data sequence from consecutive data frames. The data frame also includes a data quality identifier. The operation teaching data sequence is used for assisted driving, automatic operation, imitation learning, trajectory reproduction, operation evaluation, construction review, fault analysis, or digital twin.
[0102] The system aligns binocular images, panoramic images, downward-view operation images, the three-dimensional pose of the working device, and the driver's operating actions with a unified timeline.
[0103] The data frame at time t can be represented as: D_t={I_L,t,I_R,t,I_P,t,I_D,t,q_t,P_tip,t,R_bucket,t,a_t,e_t} Where: I_L,t and I_R,t are left and right binocular images; I_P,t is a panoramic image; I_D,t is a downward-viewing operation image; q_t is the joint status of the working device; P_tip,t is the three-dimensional position of the bucket tooth tip; R_bucket,t is the bucket posture; a_t is the driver's operation action; e_t is the environmental context and data quality identifier.
[0104] Data from consecutive time points form a sequence: {D_1, D_2, ..., D_T}.
[0105] This sequence describes the operations performed by a skilled driver in a specific work scenario, as well as the three-dimensional pose changes of the working device as a result of the operation.
[0106] This data sequence can be used for driver assistance, automated operations, imitation learning, trajectory reproduction, driver operation evaluation, construction review, fault analysis, and digital twins.
[0107] The above are some specific implementation methods of the system embodiments provided in this application. Based on this, this application also provides corresponding methods.
[0108] See Figure 4 The flowchart shown is a cockpit multi-camera perception processing method, applied to any of the systems described above. The cockpit multi-camera perception processing method includes: S41. Perform unified calibration on the left camera, right camera, panoramic camera and downward camera, determine the intrinsic parameters and corresponding extrinsic parameters of each camera, as well as the installation extrinsic parameters between the multi-camera sensing device and the cockpit coordinate system, so as to transform the spatial points observed by each camera to a unified coordinate system. S42. Simultaneously trigger multiple cameras and associate image frames acquired by multiple cameras with a unified timestamp; In one possible implementation, acquisition trigger pulses are periodically generated based on a reference clock, and the same acquisition trigger pulse is distributed to the left camera and the right camera, so that the left binocular image and the right binocular image are exposed at the same time or within a preset time error range; at the same time, for the panoramic camera and the downward-facing camera that accept external triggers, they are triggered by the same acquisition trigger pulse; for the panoramic camera and the downward-facing camera that do not accept external triggers, the timestamp is determined by correcting one or more of the following: the frame sequence number of the image frame in the camera, the time when the processing control unit receives the image frame, and the device clock. Furthermore, for each frame of image, at least one of the following is recorded: hardware trigger number, camera exposure time, camera internal frame sequence number, processing control unit receiving time, unified system clock time, and timestamp corresponding to GNSS, PTP, PPS, or vehicle bus time; the left binocular image and the right binocular image triggered by the same acquisition trigger pulse are assigned the same synchronization frame number, and the image frames of the panoramic camera and the downward-looking camera are associated according to the timestamp of the trigger time closest to the same acquisition trigger pulse.
[0109] In addition, step S42 may also include: after the system is powered on, detecting the power supply status and camera connection status, reading the serial number of each camera and its corresponding calibration parameters, configuring exposure, gain, frame rate and trigger mode, and starting synchronous triggering after confirming that each camera is ready, so as to receive the image frames fed back by each camera and uniformly configure the timestamp; when one or more of the following are detected: camera disconnection, trigger loss, discontinuous frame sequence number, power supply abnormality and temperature abnormality, generating a fault identifier and downgrading or pausing the affected data frames.
[0110] S43. Perform binocular 3D reconstruction based on the synchronous binocular images acquired by the left and right cameras, and optimize the pose by combining the rigid body prior of the working device, and output the 3D pose of the working device. In one possible implementation, the steps of step S43 above may include: S431. Detect key points of the working device in the left binocular image and the right binocular image, match the same key points in the left binocular image and the right binocular image, and perform binocular triangulation based on the matched same key points to obtain the three-dimensional coordinates of each key point.
[0111] S432. The joint state of the working device is represented as a set constructed by the boom joint angle, stick joint angle and bucket joint angle. The predicted three-dimensional position of each key point is calculated by forward kinematics based on the mechanism parameters of the working device and the joint state. The joint state is solved using at least one of two methods: binocular triangulation and mechanism kinematics optimization, or direct pose optimization combining left and right reprojection errors. When using binocular triangulation and mechanism kinematics optimization, binocular triangulation is performed on corresponding key points in the left and right binocular images to obtain the observed 3D coordinates of each key point. The joint state is then adjusted so that the predicted 3D position of each key point is close to the observed 3D coordinates, while simultaneously satisfying constraints on link length, joint angle limits, and time continuity. When using direct pose optimization combining left and right reprojection errors, the predicted 3D position of each key point is calculated based on the candidate joint state and projected onto the left and right binocular images respectively. The comprehensive optimization objective is then solved based on the predicted image points and the actual detected image points. The comprehensive optimization objective includes reprojection errors of the left and right binocular images, link length and hinge structure rigidity errors, joint angle and hydraulic cylinder length over-limit penalties, and time smoothing errors in pose changes between adjacent frames.
[0112] S433. Based on the joint states obtained from the solution, calculate the three-dimensional pose of the working device. The three-dimensional pose includes at least one of the following: boom joint angle, stick joint angle, bucket joint angle, length of each hydraulic cylinder, three-dimensional position of bucket tooth tip, bucket posture, three-dimensional coordinates of key points of the working device, pose estimation confidence level, and quality label.
[0113] S44. Extract the driver's operating actions from the downward view image captured by the downward view camera; In one possible implementation, extracting driver operation actions from the lower view image includes: locating the left handlebar, right handlebar, foot pedal, and hand area; detecting key points of the handlebar, foot pedal, and hand; identifying the operation state based on the key point position, image features, or action classification model; performing temporal smoothing on the continuous frame results; and dividing the start, duration, switching, and end times of the action. The driver operation information from the lower view image includes at least one of the following: left handlebar movement direction, amplitude, and speed; right handlebar movement direction, amplitude, and speed; foot pedal depressing degree; hand position and posture; and start, duration, switching, and end times of the action.
[0114] S45. Extract the working environment information from the panoramic image captured by the panoramic camera; In one possible implementation, the work environment information extracted from the panoramic image includes at least one of the following: earthwork, material piles, trenches, slopes, transport vehicles, trucks, unloading targets, personnel, obstacles, other construction machinery, work area boundaries, hazardous areas, construction reference lines, types, locations, and states of work objects, and environmental context features extracted by the image model. S46. Based on the unified timestamp, associate the operating environment information, the driver's operation actions, and the three-dimensional pose of the working device to generate a time-synchronized data sequence.
[0115] In one possible implementation, the processing control unit associates the left binocular image, right binocular image, panoramic image, downward view image, the three-dimensional pose of the working device, and the driver's operation actions at the same time into a data frame according to a unified timestamp, and forms the operation teaching data sequence from consecutive data frames. The data frame also includes a data quality identifier. The operation teaching data sequence is used for assisted driving, automatic operation, imitation learning, trajectory reproduction, operation evaluation, construction review, fault analysis, or digital twin.
[0116] This application also provides corresponding devices and computer storage media for implementing the solutions provided in this application.
[0117] The device includes a memory and a processor. The memory stores instructions or code, and the processor executes the instructions or code to enable the device to perform a cockpit multi-camera perception processing method according to any embodiment of this application.
[0118] The computer storage medium stores code, and when the code is executed, the device running the code implements a cockpit multi-camera perception processing method as described in any embodiment of this application.
[0119] In the embodiments of this application, the terms "first" and "second" (if they exist) are used only as name identifiers and do not represent the order of first and second.
[0120] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that all or part of the steps in the methods of the above embodiments can be implemented by means of software plus a general-purpose hardware platform. Based on this understanding, the technical solution of this application can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including several instructions to cause a computer device (which may be a personal computer, a server, or a network communication device such as a router) to execute the methods described in various embodiments or some parts of the embodiments of this application.
[0121] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on its differences from other embodiments. In particular, the apparatus embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without creative effort.
[0122] The above description is merely an exemplary implementation of this application and is not intended to limit the scope of protection of this application.
Claims
1. A cockpit multi-camera perception and processing system, characterized in that, The system includes: A multi-camera sensing device includes a rigid housing fixedly connected to the cockpit and multiple cameras fixed to the rigid housing; the multiple cameras include a left camera, a right camera, a panoramic camera, and a downward-looking camera; the left camera and the right camera are horizontally spaced to form a binocular camera with a fixed baseline and face the working device outside the cockpit; the panoramic camera faces the working area outside the cockpit; the downward-looking camera faces the driver's operating area inside the cockpit. A synchronization triggering unit is used to associate image frames acquired by the multiple cameras with a unified timestamp; The processing and control unit is used to uniformly calibrate the multiple cameras, determine the intrinsic and extrinsic parameters of each camera, as well as the installation extrinsic parameters between the multi-camera sensing device and the cockpit coordinate system, so as to transform the spatial points observed by each camera to a unified coordinate system; perform binocular 3D reconstruction based on the synchronous binocular images acquired by the left and right cameras, and optimize the pose by combining the rigid body prior of the working device, and output the 3D pose of the working device; extract the driver's operation actions based on the downward view images acquired by the downward view camera, and extract the working environment information from the panoramic images acquired by the panoramic camera; and associate the working environment information, the driver's operation actions, and the 3D pose of the working device according to the unified timestamp to generate a time-synchronized data sequence.
2. The system according to claim 1, characterized in that, The rigid housing has a left camera hole for mounting the left camera on the left side, a right camera hole for mounting the right camera on the right side, a panoramic camera hole for mounting the panoramic camera on the upper part, and a downward camera hole for mounting the downward-looking camera on the lower part. The back of the rigid housing is provided with wiring holes and mounting holes for mounting in the cockpit. Power cables, data cables, synchronization cables and communication cables connected to the multiple cameras are led out through the wiring holes. The rigid housing is also provided with at least one of the following: a protective lens, a light shield, a sealing ring, a heat dissipation structure, a vibration damping pad, and anti-loosening fasteners.
3. The system according to claim 1, characterized in that, The system also includes a power input unit, a power protection unit, a voltage conversion unit, a camera interface unit, a storage unit, and a communication unit; The input terminal of the power input unit is used to connect to the vehicle power supply, the output terminal of the power input unit is connected to the input terminal of the power protection unit, the output terminal of the power protection unit is connected to the input terminal of the voltage conversion unit, and the output terminal of the voltage conversion unit is connected to the left camera, right camera, panoramic camera, downward camera, synchronization trigger unit and processing control unit for power supply. Each of the plurality of cameras is connected to the processing control unit via the camera interface unit, and the synchronization trigger unit is connected to the trigger terminal of each camera respectively; the processing control unit is connected to the storage unit and the communication unit.
4. The system according to claim 1, characterized in that, The synchronous triggering unit includes a reference clock, a trigger controller, and multiple trigger output terminals; The trigger controller is used to periodically generate acquisition trigger pulses according to the reference clock, and distribute the same acquisition trigger pulse to the left camera and the right camera through a multi-trigger output terminal, so that the left binocular image and the right binocular image are exposed at the same time or within a preset time error range; Meanwhile, for the panoramic camera and the downward-facing camera that accept external triggers, they are triggered by the same acquisition trigger pulse; for the panoramic camera and the downward-facing camera that do not accept external triggers, the timestamp is determined by one or more of the following: the frame sequence number of the image frame inside the camera, the time when the processing control unit receives the image frame, and the device clock. The processing control unit is used to record at least one of the following for each frame of image: hardware trigger number, camera exposure time, camera internal frame number, processing control unit receiving time, unified system clock time, and timestamp corresponding to GNSS, PTP, PPS, or vehicle bus time; assign the same synchronization frame number to the left binocular image and the right binocular image that are triggered by the same acquisition trigger pulse, and associate the image frames of the panoramic camera and the downward-looking camera according to the timestamp of the trigger time closest to the same acquisition trigger pulse.
5. The system according to claim 4, characterized in that, The processing control unit is also used to detect the power supply status and camera connection status after the system is powered on, read the serial number and corresponding calibration parameters of each camera, configure exposure, gain, frame rate and trigger mode, and start synchronous triggering after confirming that each camera is ready to receive image frames fed back by each camera and uniformly configure timestamps; when one or more of the following are detected: camera disconnection, trigger loss, discontinuous frame sequence number, power supply abnormality and temperature abnormality, a fault identifier is generated, and the affected data frames are downweighted or suspended.
6. The system according to claim 1, characterized in that, The processing control unit is used for: The calibration coordinate systems are: left camera coordinate system, right camera coordinate system, panoramic camera coordinate system, downward camera coordinate system, device coordinate system, cockpit coordinate system, and working device base coordinate system; the relationship between the coordinate systems is represented by a homogeneous transformation matrix, and the device coordinate system adopts the left camera coordinate system or a coordinate system constructed based on the mechanical reference points of the rigid shell; The intrinsic parameters of the left camera, right camera, panoramic camera, and downward-looking camera are calibrated respectively; the extrinsic parameters between the left and right cameras are calibrated; the extrinsic parameters from the panoramic camera to the device coordinate system are calibrated; the extrinsic parameters from the downward-looking camera to the device coordinate system are calibrated; and the installation extrinsic parameters between the device coordinate system and the cockpit coordinate system are calibrated. The intrinsic parameters include the focal length, principal point, and distortion parameters of each camera. The extrinsic parameter calibration between the left and right cameras includes at least the relative rotation matrix and translation vector, epipolar correction matrix, and three-dimensional reprojection matrix between the left and right cameras. The time deviation between different cameras is calibrated, and the time deviation is used to correct the timestamps of image frames from each camera. For continuously moving working devices, time interpolation compensation is performed on non-fully synchronized images based on the poses of adjacent frames. The mechanism parameters of the calibrated working device include: the position and length of the hinge points at both ends of the boom, the position and length of the hinge points at both ends of the stick, the position of the bucket hinge point and the tooth tip, the mounting points at both ends of each hydraulic cylinder, the joint connection topology, the joint angle limit, and the hydraulic cylinder length limit.
7. The system according to claim 6, characterized in that, The processing and control unit is used to associate and save the calibrated coordinate system, intrinsic parameters, extrinsic parameters, time deviations between different cameras, and mechanism parameters of the working device according to the device number, camera serial number, and corresponding excavator number. During system operation, it verifies multiple preset indicators. When the value of one or more indicators exceeds the threshold of the corresponding indicator, it prompts for recalibration or performs weight reduction processing on the calibrated data.
8. The system according to claim 1, characterized in that, The processing and control unit is used to perform binocular 3D reconstruction based on the synchronous binocular images acquired by the left and right cameras, optimize the pose by combining the rigid body prior of the working device, and output the 3D pose of the working device. The processing and control unit is used to detect key points of the working device in the left and right binocular images, match the same key points in the left and right binocular images, and perform binocular triangulation based on the matched same key points to obtain the 3D coordinates of each key point. The joint states of the working device are represented as a set constructed from the boom joint angle, stick joint angle, and bucket joint angle. Based on the mechanism parameters of the working device and the joint states, the predicted three-dimensional positions of each key point are calculated using forward kinematics. Specifically, the joint states are solved using at least one of two methods: binocular triangulation and mechanism kinematics optimization, or direct pose optimization based on left and right reprojection errors. When using binocular triangulation and mechanism kinematics optimization, binocular triangulation is performed based on the corresponding key points in the left and right binocular images to obtain the observed three-dimensional coordinates of each key point. Then, the joint states are adjusted to ensure that each key point... The predicted 3D position of the key point is close to the observed 3D coordinates, while satisfying the constraints of link length, joint angle limit, and time continuity. When using the direct pose optimization method that combines left and right reprojection errors, the predicted 3D position of each key point is calculated based on the candidate joint state and projected onto the left binocular image and the right binocular image respectively. The comprehensive optimization objective is then optimized based on the predicted image points and the actual detected image points. The comprehensive optimization objective includes the reprojection error of the left and right binocular images, the link length and hinge structure rigidity error, the joint angle and hydraulic cylinder length over-limit penalty, and the time smoothing error of pose changes in adjacent frames. Based on the joint states obtained from the solution, the three-dimensional pose of the working device is calculated. The three-dimensional pose includes at least one of the boom joint angle, stick joint angle, bucket joint angle, length of each hydraulic cylinder, three-dimensional position of bucket tooth tip, and bucket posture.
9. A cockpit multi-camera perception processing method, characterized in that, The method, applied to the system according to any one of claims 1-8, comprises: The left camera, right camera, panoramic camera, and downward-looking camera are uniformly calibrated to determine the intrinsic parameters and corresponding extrinsic parameters of each camera, as well as the installation extrinsic parameters between the multi-camera sensing device and the cockpit coordinate system, so as to transform the spatial points observed by each camera to a unified coordinate system. Associate image frames captured by multiple cameras with a unified timestamp; Based on the synchronous binocular images acquired by the left and right cameras, binocular 3D reconstruction is performed, and pose optimization is performed by combining the rigid body prior of the working device, and the 3D pose of the working device is output. The driver's actions are extracted from the downward view images captured by the downward view camera; Extract the working environment information from the panoramic images captured by the panoramic camera; Based on the unified timestamp, the operating environment information, the driver's operating actions, and the three-dimensional pose of the working device are associated to generate a time-synchronized data sequence.
10. An excavator, characterized in that, The cockpit multi-camera perception processing system described in any one of claims 1-8 is adopted.
