A control method, device, LED screen and storage medium for a spliced LED screen
By obtaining the virtual coordinates of the LED module and the relative coordinates of the display module, calculating the standard size and physical coordinates, and judging the offset distance and angle, the precise splicing of the LED module is achieved, solving the problems of misalignment and angle offset during the splicing process, and improving the display effect and user experience.
Patent Information
- Application Number
- CN202411810338.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-10
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2044-12-10
AI Technical Summary
In the prior art, LED modules are prone to misalignment or angular offset during splicing, resulting in uneven light emission and image deformation, affecting the display effect and user experience.
By obtaining the virtual coordinates of the LED module and the relative coordinates of the display module, calculating the standard size and physical coordinates, judging the offset distance and angle, and performing correction or splicing operations, ensuring the module is accurately aligned.
It solves the problems of luminescence unevenness and image deformation caused by LED module misalignment or angle offset, and improves the display effect and user experience.
Smart Images

Figure CN119274480B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of display control, and particularly to a control method, device, LED screen and storage medium for a spliced LED screen. Background Art
[0002] An LED module is a large semiconductor light-emitting display device composed of multiple LED display modules and power modules, and its application scope is extensive, covering multiple fields such as stage background advertising, screens, information display, map display, and high-speed rail platform display. As a pixel-level self-luminous device, the LED module has the advantages of low energy consumption, high brightness, high contrast, and fast response speed, and is therefore widely used in various display requirements.
[0003] In the prior art, an LED module forms a large display screen through the splicing of multiple modules. However, due to the splicing accuracy problem between modules, there will inevitably be phenomena such as incomplete rows, misalignment, or angular deviation. For the problem of incomplete rows that appears in the ratio of the spliced display screen to the module of the relative coordinates, there is already a technology that can effectively compensate for the blank rows and columns of the screen and improve the visual effect of users. However, this solution only addresses the display defects when the number of rows is incomplete after the splicing of standard rectangular LED modules, and does not give an effective solution to the display defects when the LED modules are misaligned or angularly deviated.
[0004] This kind of misalignment or angular deviation will cause uneven light emission of the entire module and problems such as deformation of the displayed image, seriously affecting the display effect and user experience. Therefore, there is an urgent need to propose a new solution to solve the problems of module misalignment and angular deviation that occur during the splicing of LED modules, so as to improve the display effect and user satisfaction. Summary of the Invention
[0005] The present invention provides a control method, device, LED screen and storage medium for a spliced LED screen to solve the problems such as uneven light emission of the entire module and deformation of the displayed image caused by misalignment or angular deviation of LED modules, and improve the display effect and user experience.
[0006] In a first aspect, to solve the above technical problems, the present invention provides a control method for a spliced LED screen, including:
[0007] Obtain the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module;
[0008] Calculate according to the relative coordinates and the actual size to obtain the standard size of the display module;
[0009] Perform adjustment and encoding operations on the standard size to obtain the physical coordinates of the display module;
[0010] Calculate according to the physical coordinates and the virtual coordinates to obtain the offset distance and the offset angle of the display module;
[0011] When the offset distance is within a preset distance range, perform a correction operation on the display module;
[0012] When the offset angle is greater than a preset angle threshold, perform a correction operation on the display module;
[0013] When the offset angle is less than a preset angle threshold, perform a splicing operation on the display module; or when the offset distance exceeds the preset distance range, perform a splicing operation on the display module.
[0014] In an alternative embodiment, the obtaining the virtual coordinates of the LED module and the relative coordinates of the display module includes:
[0015] Number the LED modules to obtain the virtual coordinates of each numbered LED module;
[0016] According to the virtual coordinates of the LED module, perform a coordinate extraction operation to obtain the relative coordinates of the display module.
[0017] In an alternative embodiment, the calculating according to the relative coordinates and the actual size to obtain the standard size of the display module includes:
[0018] Calculate the scaling ratio according to the virtual coordinates and the relative coordinates;
[0019] Perform a multiplication calculation according to the scaling ratio and the actual size to obtain the standard size;
[0020] Wherein, the scaling ratio is the ratio of the modulus of the virtual coordinates to the relative coordinates.
[0021] In an alternative embodiment, the adjusting and encoding the standard size to obtain the physical coordinates of the display module includes:
[0022] Adjust the standard size to obtain an adjusted standard size;
[0023] Perform an encoding operation on the adjusted standard size to obtain the physical coordinates of the display module;
[0024] Wherein, the encoding operation is to directly convert each size into a numerical code;
[0025] Wherein, the adjusting operation is completed by the following formula:
[0026]
[0027]
[0028]
[0029] Wherein, are all standard sizes, scale is the scaling factor, and x, y, z are adjustment factors. are all the adjusted standard sizes.
[0030] In an alternative embodiment, calculating according to the physical coordinates and the virtual coordinates to obtain the offset distance and the offset angle of the display module specifically includes:
[0031] Performing distance calculation according to the projection spacing of the virtual coordinates on the Z axis to obtain the offset distance of the display module;
[0032] Performing angle calculation according to the offset angle between the projections of the physical coordinates on the Z axis to obtain the offset angle of the display module;
[0033] Wherein, the virtual coordinates and the physical coordinates are coordinates in a pre-established xyz coordinate system;
[0034] Wherein, the specific calculation formula for the offset distance is:
[0035]
[0036] Wherein, is the offset distance, and are respectively the projections of the horizontal and vertical coordinates of the physical coordinates on the Z axis, and are respectively the projections of the horizontal and vertical coordinates of the virtual coordinates on the Z axis;
[0037] The specific calculation formula for the offset angle is:
[0038]
[0039] Wherein, is the offset angle.
[0040] In an alternative embodiment, when the offset distance is within a preset distance range, performing a correction operation on the display module specifically includes:
[0041] Respectively obtaining the offset distances of the virtual coordinates and the physical coordinates of the first display module and the second display module in the X, Y, and Z axis directions;
[0042] Judging whether the offset distance is within the preset distance range:
[0043] When the offset distance is within a preset distance range, a distance correction operation is performed;
[0044] Among them, the specific calculation formula for the distance correction operation is:
[0045]
[0046]
[0047]
[0048] In the formula, , , are the corrected coordinates respectively, is the physical coordinate, is the virtual coordinate, is the preset distance, is the preset threshold.
[0049] In an alternative embodiment, when the offset angle is greater than a preset angle threshold, a correction operation is performed on the display module, which specifically includes:
[0050] Calculate the offset angle between the first display module and the second display module;
[0051] Determine whether the offset angle is greater than the preset angle threshold:
[0052] When the offset angle is greater than the preset angle threshold, an angle correction operation is performed;
[0053] Among them, the specific calculation formula for the angle correction operation is:
[0054]
[0055]
[0056] In the formula, and are the correction angles of the first display module and the second display module respectively, and are the offset angles of the first display module and the second display module respectively, and are the preset reference angles of the first display module and the second display module respectively, is the preset angle, is the preset threshold.
[0057] In a second aspect, the present invention provides a control device for a spliced LED screen, including:
[0058] A data acquisition module, configured to acquire the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module;
[0059] A size calculation module, configured to perform calculations based on the relative coordinates and the actual size to obtain the standard size of the display module;
[0060] A size encoding module, configured to perform adjustment and encoding operations on the standard size to obtain the physical coordinates of the display module;
[0061] An offset calculation module, configured to perform calculations based on the physical coordinates and the virtual coordinates to obtain the offset distance and offset angle of the display module;
[0062] An offset correction module, configured to perform a correction operation on the display module when the offset distance is within a preset distance range; and perform a correction operation on the display module when the offset angle is greater than a preset angle threshold;
[0063] A splicing operation module, configured to perform a splicing operation on the display module when the offset angle is less than a preset angle threshold; or perform a splicing operation on the display module when the offset distance exceeds a preset distance range.
[0064] In a third aspect, the present invention further provides an LED screen, including implementing the control method of the splicing LED screen described in any one of the above.
[0065] In a fourth aspect, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a stored computer program, and when the computer program runs, it controls the device where the computer-readable storage medium is located to execute the control method of the splicing LED screen described in any one of the above.
[0066] Compared with the prior art, the present invention has the following beneficial effects:
[0067] The present invention discloses a control method for a splicing LED screen, including acquiring the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module; performing calculations based on the relative coordinates and the actual size to obtain the standard size of the display module; performing adjustment and encoding operations on the standard size to obtain the physical coordinates of the display module; performing calculations based on the physical coordinates and the virtual coordinates to obtain the offset distance and offset angle of the display module; performing a correction operation on the display module when the offset distance is within a preset distance range; performing a correction operation on the display module when the offset angle is greater than a preset angle threshold; performing a splicing operation on the display module when the offset angle is less than a preset angle threshold; or performing a splicing operation on the display module when the offset distance exceeds a preset distance range.
[0068] The method is executed by a computer. First, the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module are obtained, and the standard size is calculated and encoded to obtain the physical coordinates. Then, the offset distance and angle of the display module are calculated based on the physical coordinates and the virtual coordinates, and compared with preset values to determine whether to perform a correction or splicing operation. The method can solve problems such as uneven light emission of the entire module and deformation of the displayed image caused by misalignment or angular deviation of the LED module, ensure the precise splicing of the LED screen, and improve the display effect and user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 FIG. is a schematic flow chart of a control method for splicing an LED screen provided by the first embodiment of the present invention;
[0070] Figure 2 FIG. is a schematic structural diagram of a control device for splicing an LED screen provided by the second embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0071] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0072] Referring to Figure 1 , the first embodiment of the present invention provides a control method for splicing an LED screen, including the following steps:
[0073] S11, obtaining the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module;
[0074] S12, calculating according to the relative coordinates and the actual size to obtain the standard size of the display module;
[0075] S13, performing adjustment and encoding operations on the standard size to obtain the physical coordinates of the display module;
[0076] S14, calculating according to the physical coordinates and the virtual coordinates to obtain the offset distance and offset angle of the display module;
[0077] S15, when the offset distance is within a preset distance range, performing a correction operation on the display module;
[0078] S16, when the offset angle is greater than a preset angle threshold, performing a correction operation on the display module;
[0079] S17. When the offset angle is less than the preset angle threshold, perform a splicing operation on the display module; or when the offset distance exceeds the preset distance range, perform a splicing operation on the display module.
[0080] In step S11, it is necessary to obtain the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module, including:
[0081] Number the LED modules to obtain the virtual coordinates of each numbered LED module;
[0082] According to the virtual coordinates of the LED module, perform a coordinate extraction operation to obtain the relative coordinates of the display module.
[0083] It should be noted that the virtual coordinates of the LED module can be obtained by numbering the LED modules, and each number corresponds to the virtual coordinates of each module.
[0084] The coordinate extraction operation first needs to determine a reference point. Select a reference point in the layout of the splicing screen, and this reference point is the center point of the screen. Record the virtual coordinates of the reference point. Use a computer measurement program to measure the actual offset of each module relative to the reference point. The actual offset includes two components (ΔX, ΔY) in the horizontal and vertical directions in the two-dimensional coordinate system. According to the virtual coordinates of the reference point and the measured offset, the relative coordinates of each module are obtained through basic vector calculations.
[0085] In step S12, calculate according to the relative coordinates and the actual size to obtain the standard size of the display module, including:
[0086] Calculate the scaling ratio according to the virtual coordinates and the relative coordinates;
[0087] Perform a multiplication calculation according to the scaling ratio and the actual size to obtain the standard size;
[0088] Among them, the scaling ratio is the ratio of the modulus of the virtual coordinates to the relative coordinates.
[0089] Exemplarily, the virtual coordinates are denoted as and the relative coordinates are denoted as where both have a value range from 1 to 100, both have a value range from 1 to 100, and the modulus of the virtual coordinates and the relative coordinates can be calculated by the following formula:
[0090]
[0091]
[0092] Wherein, and are respectively the moduli of the virtual coordinates and the relative coordinates.
[0093] The calculation formula of the scaling ratio is:
[0094]
[0095] In the formula, S is the scaling ratio.
[0096] In step S13, the operation of adjusting and encoding the standard size to obtain the physical coordinates of the display module includes:
[0097] Adjusting the standard size to obtain an adjusted standard size;
[0098] Performing an encoding operation on the adjusted standard size to obtain the physical coordinates of the display module;
[0099] Wherein, the encoding operation is to directly convert each size into a numerical code;
[0100] Wherein, the adjustment operation is completed through the following formula:
[0101]
[0102]
[0103]
[0104] In the formula, are all standard sizes, scale is the scaling factor, x, y, z are adjustment factors, are all adjusted standard sizes.
[0105] Exemplarily, the value range of the scaling factor scale is from 0 to 1, and the value ranges of the adjustment factors x, y, z are all from 1 to 100. The physical coordinates are denoted as .
[0106] It should be noted that the standard size is obtained in advance through calculation, which represents the size of the display module in the reference state. The adjustment operation is completed through a specific formula, which introduces the scaling factor scale and the adjustment factors x, y, and z. The scaling factor scale is a global proportionality factor that uniformly scales and adjusts all dimensions according to the display requirements. This coefficient is calculated based on the resolution of the display module to ensure consistent visual effects on different devices. For example, if the resolution of the first display module is 1920x1080 and the resolution of the second display module is 1920x1080, the scaling factor is 1. The adjustment factors x, y, and z correspond to the three spatial dimensions (X-axis, Y-axis, and Z-axis) respectively, which allow independent scaling adjustments for each dimension. These coefficients are set according to the display requirements (such as viewing angle changes, scaling ratios, etc.). For example, in three-dimensional graphics display, if it is necessary to enlarge or reduce the display module in a certain direction, it can be achieved by adjusting the corresponding adjustment factor. The encoding operation is to convert the adjusted standard size into a numerical encoding form that is easy to process and transmit. Here, the direct encoding is adopted in the encoding process, and each adjusted size value directly corresponds to a unique numerical encoding.
[0107] Optionally, in order to improve the encoding efficiency, some encoding optimization techniques can also be adopted, such as Huffman coding. Huffman coding is a variable-length coding method based on the frequency of character occurrence, which can assign shorter encodings to the sizes with higher occurrence frequencies, thereby reducing the overall encoding length. After the encoding operation is completed, verification is carried out to ensure that each standard size is correctly converted into a numerical encoding and there is no duplication or omission.
[0108] In step S14, the calculation based on the physical coordinates and the virtual coordinates to obtain the offset distance and offset angle of the display module specifically includes:
[0109] Performing distance calculation based on the projection distance between the physical coordinates and the virtual coordinates on the Z-axis to obtain the offset distance of the display module;
[0110] Performing angle calculation based on the offset angle between the projections of the physical coordinates and the virtual coordinates on the Z-axis to obtain the offset angle of the display module;
[0111] Wherein, the virtual coordinates and the physical coordinates are coordinates in the pre-established xyz coordinate system;
[0112] Wherein, the specific calculation formula for the offset distance is:
[0113]
[0114] Wherein, is the offset distance, and are the projections of the horizontal and vertical coordinates of the physical coordinates on the Z-axis respectively, and are the projections of the horizontal and vertical coordinates of the virtual coordinates on the Z-axis respectively;
[0115] The specific calculation formula for the offset angle is:
[0116]
[0117] where is the offset angle.
[0118] It should be noted that first, it is necessary to clearly understand the concepts of physical coordinates and virtual coordinates and their positions in the three-dimensional coordinate system. Physical coordinates represent the actual position of the display module in three-dimensional space, while virtual coordinates represent the target position. When calculating the offset distance and offset angle, in fact, the differences between these two positions are being compared.
[0119] When calculating the offset distance, the formula is used. This formula is carried out on a three-dimensional plane, that is, it considers the projections of the horizontal and vertical coordinates of the physical coordinates on the Z-axis and the projections of the horizontal and vertical coordinates of the virtual coordinates on the Z-axis. When calculating the offset angle, the formula is used. This formula is a variant of the arctangent function, which considers the absolute value of the coordinate difference. It should be noted that when calculating the offset angle, the variant arctan2 function of the arctangent function is used instead of the simple arctan function. This is because arctan2 can handle the angle calculations in all four quadrants, while the arctan function can only handle the angles in the first and second quadrants. Using arctan2 can ensure obtaining the correct angle value regardless of the relative positions of the coordinate points.
[0120] Optionally, coordinate system transformation can be considered. In practical applications, it is necessary to transform the coordinates from one coordinate system to another for calculation or comparison. For example, when calculating the offset distance and the offset angle, a translation transformation of the coordinate system can be used to obtain new coordinates, thereby simplifying the calculation and greatly reducing the memory space occupied by the calculation.
[0121] In step S15, when the offset distance is within the preset distance range, the correction operation on the display module specifically includes:
[0122] respectively obtain the offset distances of the virtual coordinates and physical coordinates of the first display module and the second display module in the X, Y, and Z-axis directions;
[0123] In a specific embodiment, the first display module is a component of a tiled LED screen and is one of the basic units that make up the entire LED display screen. The module internally contains LED pixels for display, and images or texts can be displayed by controlling the lighting and extinguishing of these LED pixels. During the tiling process, the first display module is tiled with other display modules (such as the second display module) to jointly form a large LED display screen. The second display module is also a basic unit of the tiled LED screen. Similar to the first display module, it also contains LED pixels for display and can display content by controlling these pixels. During tiling, the second display module is placed adjacent to the first display module and other display modules. In the control method, by calculating the offset angle and distance between the first display module and the second display module, and then using the position correction algorithm and angle correction algorithm to correct their positions and angles to ensure that the tiled LED screen can present a seamless and uniform display effect.
[0124] Determine whether the offset distance is within a preset distance range:
[0125] Specifically, the preset distance range is set according to the actual application requirements and the requirements for tiling accuracy. Different scenarios have different set distances, and this range is a relatively small value to ensure that the tiled LED screen visually achieves a seamless and uniform effect. For example, in high-end stage displays or high-precision advertising screens, this range is set to 0 - 2 mm or even smaller, 0 - 1 mm, to ensure that the minor differences at the joints do not affect the overall display effect. For the screens of some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens, and this range is set to 0 - 5 mm or 0 - 7 mm.
[0126] It should be noted that the setting of the preset distance range needs to meet visual consistency to ensure that the tiled LED screen remains consistent visually and avoid obvious color differences, uneven brightness, or tiling gaps. In addition, by setting the preset distance range, it can ensure that the LED modules meet the required accuracy requirements during the tiling process, thus avoiding obvious tiling gaps or image deformation and improving the visual effect.
[0127] When the offset distance is within the preset distance range, perform a distance correction operation;
[0128] Specifically, the purpose of the correction operation, where the specific calculation formula for the distance correction operation is:
[0129]
[0130]
[0131]
[0132] In the formula, , , are the corrected coordinates respectively, is the physical coordinate, is the virtual coordinate, is the preset distance, is the preset threshold.
[0133] Exemplarily, through the above formula for correction operation, the physical coordinates of the display module are adjusted to a position closer to the virtual coordinates to reduce the misalignment and angular deviation during splicing. is the preset distance, which is set according to the actual application requirements and the requirements for splicing accuracy. For example, in high-end stage displays or high-precision advertising screens, this distance is set to 1 mm or even smaller, 0.5 mm, to ensure that the small differences at the splicing location do not affect the overall display effect. For the screens of some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens, and this range is set to 2.5 mm or a lower accuracy of 3.5 mm. is the preset threshold, which is also set according to the actual application requirements and the requirements for splicing accuracy. The set value size is similar to that of the preset distance range. For example, in high-end stage displays or high-precision advertising screens, this range is set to 0 - 2 mm or even smaller, 0 - 1 mm. Correspondingly, the preset threshold is set to 2 mm or even smaller, 1 mm. For the screens of some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens, and this range is set to 0 - 5 mm or 0 - 7 mm. Correspondingly, the preset threshold is set to 5 mm or even larger, 7 mm.
[0134] It should be noted that the formula calculates the correction amount to be adjusted by adding the difference between the virtual coordinate and the physical coordinate to the physical coordinate and multiplying by a scaling factor This scaling factor is determined according to the relationship between the preset distance and the preset threshold. When the preset distance is small and the preset threshold is large, the correction amount is small; when the preset distance is large and the preset threshold is small, the correction amount is correspondingly large. Such a design can ensure that the correction operation can reduce misalignment and angular deviation without over-adjustment resulting in new errors.
[0135] In step S16, when the offset angle is greater than the preset angle threshold, the correction operation for the display module specifically includes:
[0136] Calculate the offset angle between the first display module and the second display module;
[0137] In one implementation, the offset angle between two display modules can be calculated through image processing. First, it is necessary to collect the images of the first display module and the second display module and perform image preprocessing. For example, the grayscale conversion and binarization methods are used to preprocess the images, converting the color images into grayscale images to reduce the computational amount. Grayscale conversion can be achieved by methods such as weighted average method, maximum value method, or minimum value method. The grayscale image is converted into a binary image, that is, the pixel points on the image have only two colors, black and white. Binarization helps to highlight the contours and shapes of the target objects, and methods such as fixed threshold method, adaptive threshold method, or Otsu threshold method can be used for binarization. Then, feature extraction is performed. Edge detection algorithms are used to detect the edges in the images, identify the contours and shapes of the target objects, extract features, and perform feature description based on the detected edges or corner points to generate feature vectors. Next, feature matching algorithms are used to match the feature vectors in the two display modules, and the matching results are screened to remove incorrect matching pairs. When performing matching screening, methods such as distance ratio test, RANSAC algorithm, or least squares method can be used for screening. Finally, according to the matched feature points, the transformation matrix between the two module images is calculated, and the transformation matrix can be solved by the least squares method. The rotation matrix part is extracted from the transformation matrix, and the offset angle between the first display module and the second display module is calculated based on the rotation matrix.
[0138] Judge whether the offset angle is greater than a preset angle threshold:
[0139] When the offset angle is greater than the preset angle threshold, perform an angle correction operation;
[0140] Among them, the specific calculation formula for the angle correction operation is:
[0141]
[0142]
[0143] In the formula, and are the correction angles of the first display module and the second display module respectively, and and are the offset angles of the first display module and the second display module respectively, and are the preset reference angles of the first display module and the second display module respectively, is the preset angle, is the preset threshold.
[0144] Exemplarily, the preset reference angles and , the set value is the angle formed by the first display module and the second display module in the entire display module with respect to the reference module and the horizontal distance. For example, in a display module composed of 100 LED modules, each module having a size of 1x1 meter, and the entire LED module forming a 10x10 meter display module, a corresponding planar rectangular coordinate system is established with the lower left corner. Taking the origin, i.e., the lower left corner, as the reference module, when the position of the first display module is (3, 2) and the position of the second display module is (3, 3), the preset reference angle of the first display module is 33.69°, and the preset reference angle of the first display module is 45°. To ensure calculation accuracy, in the calculation, the preset reference angle of the first display module is expressed as arctan , and the preset reference angle of the first display module is expressed as arctan .
[0145] Exemplarily, is the preset angle, which is set according to actual application requirements and the requirements for splicing accuracy. For example, in high-end stage displays or high-precision advertising screens, this angle is set to 0.1° or even smaller, 0.05°, to ensure that the slight differences at the splicing points do not affect the overall display effect. For the screens of some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens, and this range is set to 0.25° or lower precision, 0.35°. is the preset threshold, which is also set according to actual application requirements and the requirements for splicing accuracy. The set value is similar to that of the preset angle. According to the above correspondence, in high-end stage displays or high-precision advertising screens, this angle is set to 0.2° or even smaller, 0.1°. For the screens of some high-rise buildings, the required accuracy is lower than that of high-end stage displays or high-precision advertising screens, and this range is set to 0.5° or lower precision, 0.7°
[0146] It should be noted that the angle correction formula realizes the progressive correction of the deviation by introducing the correction proportionality factor , which avoids system instability or user discomfort caused by excessive one-time correction. At the same time, by adjusting the and values, the sensitivity and range of the correction can be adjusted as needed. For example, if it is desired that the system be more sensitive to the deviation, the value can be decreased; if it is desired that the corrected angle be closer to the reference angle, the The value. In addition, the formula preserves the directionality of the original deviation. If the original deviation is positive, the corrected angle will be smaller than the original angle but larger than the reference angle; if the original deviation is negative, the opposite is true. Due to the existence of the correction scale factor, even if the original deviation is large, the corrected angle will not jump to the opposite side of the reference angle (i.e., the other side of 180 degrees) all at once, thus avoiding the problem of overcorrection.
[0147] In step S17, when the offset angle is less than the preset angle threshold, a splicing operation is performed on the display module; or when the offset distance exceeds the preset distance range, a splicing operation is performed on the display module.
[0148] When the offset angle is less than the preset angle threshold, a splicing operation is performed;
[0149] Specifically, the offset angle between the first display module and the second display module is calculated through angle offset calculation and , when the absolute value of the angle difference between the two modules exceeds the threshold difference angle, the offset rotation angle of the first display module and the offset rotation angle of the second display module are obtained.
[0150] Among them, the specific calculation formula for the angle difference is:
[0151]
[0152] In the formula, is the absolute value of the angle difference between the two modules.
[0153] It should be noted that the angle difference is calculated through the formula The formula calculates the absolute value of the angle difference between the two display modules to ensure that is a non - negative number.
[0154] The calculation process of the offset rotation angle is as follows:
[0155] The rotated physical coordinates are obtained according to the product of the physical coordinates and the virtual coordinates of the display module and the rotation matrix and the rotated virtual coordinates ;
[0156] According to the offset angle between the projection of the rotated physical coordinates and the projection of the rotated virtual coordinates on the Z - axis, an angle calculation is performed to obtain the rotation offset angle of the display module.
[0157] Among them, the rotation matrix is:
[0158]
[0159] In the formula, is the x-factor of the rotation matrix, is the y-factor of the rotation matrix, is the z-factor of the rotation matrix.
[0160] It should be noted that the rotation matrix , , is the standard three-dimensional coordinate rotation formula, which is used to rotate a point by a specified angle around a specified axis and is widely used in computer graphics and robotics. The rotation matrix is a special orthogonal matrix that describes the transformation of an object rotating around an axis in three-dimensional space or two-dimensional plane. In two-dimensional space, the rotation matrix can be expressed as , where θ represents the rotation angle. This matrix represents rotating the vector on the two-dimensional plane counterclockwise around the origin by θ angle. In three-dimensional space, the rotation matrix is relatively complex but is based on a similar principle. For a third-order square matrix, the way to construct the rotation matrix is as follows: for the x-factor of the rotation matrix, it is obtained by rotating around the X-axis by an angle θ; for the y-factor of the rotation matrix, it is obtained by rotating around the Y-axis by an angle θ; for the z-factor of the rotation matrix, it is obtained by rotating around the Z-axis by an angle θ.
[0161] The rotated physical coordinate and the rotated virtual coordinate can be obtained through the following operations:
[0162]
[0163]
[0164] That is
[0165]
[0166]
[0167] It should be noted that the rotated physical coordinate and the rotated virtual coordinate are obtained through matrix multiplication. The rotated physical coordinate and the rotated virtual coordinate are both 1x3-order matrices, which are obtained by multiplying the physical coordinate and the virtual coordinate by the x-factor, y-factor, and z-factor of the rotation matrix respectively. The physical coordinate and the virtual coordinate are both 1x3-order matrices, and multiplying the x-factor, y-factor, and z-factor of the rotation matrix are all 3x3-order matrices.
[0168] Determine whether the rotation offset angle is greater than a preset angle threshold:
[0169] When the rotation offset angle is greater than the preset angle threshold, perform an angle correction operation;
[0170] When the rotation offset angle is less than the preset angle threshold, perform a module splicing operation.
[0171] It should be noted that when the rotation offset angle is greater than the preset angle threshold, after performing the angle correction operation, determine whether the corrected angle is less than the preset angle threshold. When the corrected angle is less than the preset angle threshold, perform a module splicing operation.
[0172] When the offset distance exceeds the preset distance range, perform a splicing operation on the display module;
[0173] It should be noted that when the offset distance exceeds the preset distance range, after performing the splicing operation on the display module, at this time, there are problems such as color difference, uneven brightness, or splicing gaps in the image. At this time, it is necessary to execute the steps in S14, calculate the offset distance of the display module according to the physical coordinates and the virtual coordinates, and then execute the steps in S15. When the offset distance is within the preset distance range, perform a correction operation on the display module, so as to realize the splicing correction operation and solve the problems such as color difference, uneven brightness, or splicing gaps in the image after splicing.
[0174] The working process of the present invention is described below by taking a relatively common scenario as an example. Please refer to Figure 2 , which is Figure 1 a schematic diagram of the working scenario of the method of
[0175] A multimedia display wall in a large exhibition center. This display wall is composed of multiple LED modules and needs to be precisely spliced to display high-definition images and video content. The exhibition center plans to install a large multimedia display wall at the entrance to display art works, exhibition information, and interactive content. The display wall is composed of 50 LED modules, each module has a size of 1x1 meter, and the entire wall forms a 5x10 meter display area. In order to ensure the continuity and clarity of the image, the splicing gap needs to be controlled within 1 mm, and the angle deviation does not exceed 0.1 degree.
[0176] First, number each LED module from 1 to 50 to ensure that the numbers of each module are unique and in order. After numbering, they use a professional software tool to assign virtual coordinates to each module. These coordinates are based on a unified three-dimensional coordinate system to ensure that the coordinates of all modules can accurately correspond to their actual positions on the display wall. The value range of the virtual coordinates is set to 1 to 100 for subsequent calculation and adjustment.
[0177] In the layout of the tiled screen, the center point of the screen is selected as the reference point, and its virtual coordinates are recorded. Then, they use computer measurement and calculation tools to calculate the actual offsets of each module relative to the reference point. These offsets include two components in the horizontal and vertical directions. Through mathematical operations, combining the virtual coordinates of the reference point and the measured offsets, the relative coordinates of each module are calculated.
[0178] Next, the scaling ratio is calculated based on the virtual coordinates and the relative coordinates. The scaling ratio is the ratio of the modulus of the virtual coordinates to the relative coordinates, which is used to adjust the actual size of the module to match the virtual size. According to the scaling ratio and the actual size, the scale calculation is performed to obtain the standard size of each module. After obtaining the standard size, it is adjusted, and the adjusted standard size is converted into physical coordinates through an encoding operation. The encoding operation directly converts each size into a numerical code, and these codes are used in subsequent tiling and calibration processes. According to the physical coordinates and the virtual coordinates, the offset distance and the offset angle of the display module are calculated by computer. The offset distance is obtained by comparing the projected spacing of the physical coordinates and the virtual coordinates on the Z-axis, while the offset angle is obtained by comparing the included angle between their projections on the Z-axis.
[0179] When the computer system detects that the offset distance or angle exceeds the preset range, a correction operation is performed. For distance correction, a distance correction formula is used to calculate the corrected distance. For angle correction, an angle correction formula is used to calculate the corrected angle. These correction operations ensure that the display modules can be precisely tiled. After all the correction operations are completed, the tiling operation begins. During the tiling process, the position of each LED module needs to be carefully checked to ensure the consistency of the physical coordinates and the virtual coordinates, as well as that the offset distance and angle are within the preset range. Through the above steps, the multimedia display wall in the exhibition center can display content with high precision and high stability, providing a shocking visual experience for visitors.
[0180] In summary, the present invention discloses a control method for a spliced LED screen, which includes obtaining the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module; calculating according to the relative coordinates and the actual size to obtain the standard size of the display module; performing adjustment and encoding operations on the standard size to obtain the physical coordinates of the display module; calculating according to the physical coordinates and the virtual coordinates to obtain the offset distance and offset angle of the display module; when the offset distance is within a preset distance range, performing a correction operation on the display module; when the offset angle is greater than a preset angle threshold, performing a correction operation on the display module; when the offset angle is less than a preset angle threshold, performing a splicing operation on the display module; or when the offset distance exceeds the preset distance range, performing a splicing operation on the display module. The method is executed by a computer. First, the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module are obtained, the standard size is calculated and encoded to obtain the physical coordinates. Then, the offset distance and angle of the display module are calculated according to the physical coordinates and the virtual coordinates, and compared with the preset values to determine whether to perform a correction or splicing operation. The method can solve problems such as uneven light emission of the entire module and deformation of the displayed image caused by misalignment or angular deviation of the LED module, ensure the precise splicing of the LED screen, and improve the display effect and user experience.
[0181] Referring to Figure 2 , the second embodiment of the present invention provides a control device for a spliced LED screen, including:
[0182] A data acquisition module, configured to obtain the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module;
[0183] A size calculation module, configured to calculate according to the relative coordinates and the actual size to obtain the standard size of the display module;
[0184] A size encoding module, configured to perform adjustment and encoding operations on the standard size to obtain the physical coordinates of the display module;
[0185] An offset calculation module, configured to calculate according to the physical coordinates and the virtual coordinates to obtain the offset distance and offset angle of the display module;
[0186] An offset correction module, configured to perform a correction operation on the display module when the offset distance is within a preset distance range; and perform a correction operation on the display module when the offset angle is greater than a preset angle threshold;
[0187] A splicing operation module, configured to perform a splicing operation on the display module when the offset angle is less than a preset angle threshold; or perform a splicing operation on the display module when the offset distance exceeds the preset distance range.
[0188] It should be noted that the control device for a spliced LED screen provided in the embodiments of the present invention is used to execute all the process steps of the control method for a spliced LED screen in the above embodiments. The working principles and beneficial effects of the two correspond one by one, so they will not be elaborated here.
[0189] The embodiments of the present invention further provide an LED screen, including the control device for a spliced LED screen as described in the above embodiments.
[0190] The embodiments of the present invention further provide an electronic device. The electronic device includes: a processor, a memory, and a computer program stored in the memory and executable on the processor, such as a control program for a spliced LED screen. When the processor executes the computer program, the steps in the embodiments of the above control methods for a spliced LED screen are implemented, such as Figure 1 the step S11 shown. Alternatively, when the processor executes the computer program, the functions of each module / unit in the above device embodiments are implemented, such as the data acquisition module.
[0191] Exemplarily, the computer program may be divided into one or more modules / units. The one or more modules / units are stored in the memory and executed by the processor to complete the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, and the instruction segments are used to describe the execution process of the computer program in the electronic device.
[0192] The electronic device may be a computing device such as a desktop computer, a notebook, a palm computer, and a smart tablet. The electronic device may include, but is not limited to, a processor and a memory. Those skilled in the art can understand that the above components are only examples of the electronic device and do not constitute a limitation on the electronic device. It may include more or fewer components than the above, or combine certain components, or different components. For example, the electronic device may further include input / output devices, network access devices, a bus, etc.
[0193] The so-called processor may be a Central Processing Unit (CPU), or may also be other general-purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field-Programmable Gate Arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The processor is the control center of the electronic device and connects various parts of the entire electronic device through various interfaces and circuits.
[0194] The memory can be used to store the computer programs and / or modules. The processor realizes various functions of the electronic device by running or executing the computer programs and / or modules stored in the memory, and by calling the data stored in the memory. The memory mainly includes a program storage area and a data storage area. Among them, the program storage area can store an operating system, application programs required for at least one function (such as a sound playback function, an image playback function, etc.); the data storage area can store data created according to the use of the mobile phone (such as audio data, phone book, etc.). In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, Flash Card, at least one magnetic disk storage device, flash device, or other volatile solid-state storage devices.
[0195] Among them, if the modules / units integrated in the electronic device are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on such an understanding, to implement all or part of the processes in the above-described embodiment methods of the present invention, it can also be completed by a computer program instructing relevant hardware. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-described various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file, or some intermediate form, etc. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal, and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium does not include electrical carrier signals and telecommunication signals.
[0196] It should be noted that the device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. In addition, in the attached drawings of the device embodiments provided by the present invention, the connection relationship between the modules indicates that they have a communication connection, which can be specifically implemented as one or more communication buses or signal lines. Those of ordinary skill in the art can understand and implement it without creative effort.
[0197] The above-described specific embodiments have further elaborated on the purpose, technical solution, and beneficial effects of the present invention. It should be understood that the above description is only the specific embodiments of the present invention and is not used to limit the protection scope of the present invention. It is particularly pointed out that for those skilled in the art, any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A control method for a spliced LED screen, characterized in that Executed by a computer, including: Obtaining the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module; Calculating according to the relative coordinates and the actual size to obtain the standard size of the display module; Performing adjustment and encoding operations on the standard size to obtain the physical coordinates of the display module; Calculating according to the physical coordinates and the virtual coordinates to obtain the offset distance and offset angle of the display module; When the offset distance is within a preset distance range, performing a correction operation on the display module; When the offset angle is greater than a preset angle threshold, performing a correction operation on the display module; When the offset angle is less than a preset angle threshold, performing a splicing operation on the display module; or when the offset distance exceeds the preset distance range, performing a splicing operation on the display module; Among them, the performing adjustment and encoding operations on the standard size to obtain the physical coordinates of the display module includes: Adjusting the standard size to obtain an adjusted standard size; Performing an encoding operation on the adjusted standard size to obtain the physical coordinates of the display module; Among them, the encoding operation is to directly convert each size into a numerical code; Among them, the adjustment operation is completed through the following formula: In the formula, are all standard sizes, scale is the scaling factor, and x, y, and z are adjustment factors. are all the adjusted standard sizes.
2. The control method of the spliced LED screen according to claim 1, wherein, The obtaining the virtual coordinates of the LED module and the relative coordinates of the display module includes: Numbering the LED modules to obtain the virtual coordinates of each numbered LED module; According to the virtual coordinates of the LED module, performing a coordinate extraction operation to obtain the relative coordinates of the display module.
3. The control method of the spliced LED screen according to claim 1, wherein The calculating according to the relative coordinates and the actual size to obtain the standard size of the display module includes: Calculating a scaling ratio according to the virtual coordinates and the relative coordinates; Performing a multiplication calculation according to the scaling ratio and the actual size to obtain the standard size; Among them, the scaling ratio is the ratio of the modulus of the virtual coordinates to the relative coordinates.
4. The control method for the spliced LED screen according to claim 1, wherein The calculating according to the physical coordinates and the virtual coordinates to obtain the offset distance and offset angle of the display module specifically includes: Performing a distance calculation according to the projection spacing of the physical coordinates and the virtual coordinates on the Z axis to obtain the offset distance of the display module; Performing an angle calculation according to the offset angle between the projections of the physical coordinates and the virtual coordinates on the Z axis to obtain the offset angle of the display module; Among them, the virtual coordinates and the physical coordinates are coordinates in a pre-established xyz coordinate system; Among them, the specific calculation formula for the offset distance is: Wherein, is the offset distance, and are respectively the projections of the horizontal and vertical coordinates of the physical coordinates on the Z-axis, and are respectively the projections of the horizontal and vertical coordinates of the virtual coordinates on the Z-axis; The specific calculation formula for the offset angle is: Among them, is the offset angle.
5. The control method of the spliced LED screen according to claim 1, wherein The when the offset distance is within a preset distance range, performing a correction operation on the display module specifically includes: Respectively obtaining the offset distances of the virtual coordinates and the physical coordinates of the first display module and the second display module in the X, Y, and Z axis directions; Judging whether the offset distance is within a preset distance range: When the offset distance is within a preset distance range, performing a distance correction operation; Among them, the specific calculation formula for the distance correction operation is: Wherein, , , are the corrected coordinates respectively, is the physical coordinate, is the virtual coordinate, is the preset distance, is the preset threshold.
6. The control method of the spliced LED screen according to claim 1, characterized in that, The when the offset angle is greater than a preset angle threshold, performing a correction operation on the display module specifically includes: Calculate the offset angle between the first display module and the second display module; Determine whether the offset angle is greater than a preset angle threshold: When the offset angle is greater than the preset angle threshold, perform an angle correction operation; Among them, the specific calculation formula for the angle correction operation is: Wherein, and are respectively the correction angles of the first display module and the second display module, and are respectively the offset angles of the first display module and the second display module, and are respectively the preset reference angles of the first display module and the second display module, is a preset angle, is a preset threshold value.
7. A control device for a spliced LED screen, characterized in that, Used to implement a control method for a spliced LED screen as described in any one of claims 1 to 6, including: A data acquisition module for acquiring the virtual coordinates of the LED module, the relative coordinates of the display module, and the actual size of the display module; A size calculation module for calculating according to the relative coordinates and the actual size to obtain the standard size of the display module; A size encoding module for performing adjustment and encoding operations on the standard size to obtain the physical coordinates of the display module; An offset calculation module for calculating according to the physical coordinates and the virtual coordinates to obtain the offset distance and offset angle of the display module; An offset correction module for performing a correction operation on the display module when the offset distance is within a preset distance range; and performing a correction operation on the display module when the offset angle is greater than the preset angle threshold; A splicing operation module for performing a splicing operation on the display module when the offset angle is less than the preset angle threshold; or performing a splicing operation on the display module when the offset distance exceeds the preset distance range.
8. An LED screen, characterized in that, Including the control device for a spliced LED screen as described in claim 7.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored computer program, wherein when the computer program runs, it controls the device where the computer-readable storage medium is located to execute the control method for a spliced LED screen as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Method and equipment for automatically adapting visual large-screen design drawing to display screen, and medium
CN116360720A
Machine automatic splicing calibration system
CN116363229A