Method for marking same target among multiple functional modules based on turntable

Through the synchronization signal and position signal of the turntable control module, combined with the field of view and pixel information, the problem of inaccurate target position marking during the turntable rotation process is solved, and precise positioning during the turntable scanning process is achieved, which is suitable for targets between multiple modules. mark.

CN118795933APending Publication Date: 2024-10-18HENAN COSTAR GRP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410769657.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-10-18

AI Technical Summary

Technical Problem

During the rotation of the turntable, it is difficult for the video display circuit module to accurately mark the target position, and the error is greatly affected by the speed of the turntable. Existing technology cannot effectively solve this problem.

Method used

The turntable control module generates synchronization signals and position signals, and combines the field of view size and effective pixels of the target detection or recognition circuit module and the video display circuit module to calculate the position of the target in the video display module, and correct the coordinates during the turntable scanning process. , ensure that the optical axes are consistent.

Benefits of technology

The precise positioning of the target position during the rotation of the turntable is achieved, and the problem of inaccurate marking caused by transmission delay is eliminated. The method is simple and easy to implement, and is suitable for engineering applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118795933A_ABST
    Figure CN118795933A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of monitoring signal synchronization methods, and provides a method for marking the same target among multiple functional modules based on a turntable. Through the position information of the rotary table in the horizontal and vertical directions, the view field sizes and effective pixels of the target detection or identification circuit module and the video display circuit module, and the coordinate position of the target in the target detection or identification circuit module, the coordinate origin of the video display circuit module and the target detection or identification circuit module is consistent. A location of the target in the display module may be obtained. According to the method, the target position is accurately positioned through the synchronizing signal and the rotary table position signal generated by the rotary table control module, and the problem of inaccurate target marking caused by delay brought by transmission or secondary processing is solved. The method is simple and easy to implement.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of monitoring signal synchronization methods, and in particular to a method based on the same target marking between multiple functional modules of a turntable type. Background Art

[0002] Some turntable products with multiple functions often contain circuit modules with different functions. These circuit modules have their own functions and missions. They are independent of each other but also interrelated. In some application scenarios, there are separate circuit modules for target detection or identification, and separate video display circuit modules. When the target detection or identification circuit module marks the target, it needs to be displayed in the video display circuit module. When the turntable is stationary, the video display circuit module can easily solve the coordinate position of the target in the display circuit module through the field of view size, effective pixels and coordinate position of the target in the target detection or identification circuit module. The optical axis is consistent, but during the rotation of the turntable, there will be errors in the target position solved using the field of view, effective pixels and coordinates in the display module, and the error size is greatly affected by the turntable speed, so it is difficult to mark the correct target position in the display circuit module. Summary of the invention

[0003] In view of the above problems, the present invention provides a method for marking the same target between multiple functional modules based on a turntable. Through the horizontal and vertical position information of the turntable, the field of view size, effective pixels and coordinate position of the target in the target detection or recognition circuit module and the video display circuit module, the coordinate origin of the video display circuit module and the target detection or recognition circuit module is consistent, and the position of the target in the display module can be obtained.

[0004] The technical solution adopted by the present invention is: a method based on marking the same target between multiple functional modules of a turntable, comprising the following steps:

[0005] S1, the system is powered on and initialized, the turntable position returns to the absolute zero position or the relative zero position, and the turntable control module sends a turntable position calibration signal to the video display circuit module, so that the video display circuit module collects the turntable position signal and synchronizes it with the turntable control module;

[0006] S2, the turntable control module controls the turntable scanning mode and scanning speed, and the turntable control module generates a synchronization signal. After receiving the synchronization signal, the video display circuit module latches the current turntable position signal, and the horizontal and vertical direction counts are M1 and N1;

[0007] S3, the target detection or identification circuit module performs target detection or identification on the current frame, and sends the detected and identified target position to the video display circuit module, wherein the target detection or identification circuit module does not send the target coordinate position information or sends fixed format information to the video display circuit module when the synchronization signal is not received, and sends the corresponding format information to the video display circuit module when the synchronization signal is received;

[0008] S4, the optical axis of the video display circuit module is consistent with that of the target detection or recognition circuit module, and the field of view size of the target detection or recognition circuit module is S1 水平 、S1 垂直 , horizontal effective pixel X1, vertical effective pixel Y1, the coordinate position of the detected and identified target in the effective pixel (a1, b1), the field of view size S2 of the video display circuit module 水平 、S2 垂直 , horizontal effective pixel X2, vertical effective pixel Y2, the coordinate position (a2, b2) of the target in the video display circuit module can be calculated when the turntable is stationary, where the reference coordinate origin of the effective pixels of the display module and the detection and recognition module is consistent, for example, both use the first pixel in the upper left corner as the origin or the center position of the effective pixel as the origin, then a2 = {(S1 水平 / X1) / (S2 水平 / X2)}*a1,b2={(S1 垂直 / Y1) / (S2 垂直 / Y2)}*b1;

[0009] S5. Obtain the coordinates of the turntable when it is stationary through S4. If the turntable is in the scanning process and the video display circuit module receives the target sent by the target detection or recognition circuit module, the horizontal and vertical counts of the current turntable position signal are latched as M2 and N2. The turntable position signal accuracy J = 360° / Q is used to calculate the turntable rotation angle D from the time when the synchronization signal is sent, i.e. step S2, to the time when the display circuit module receives the target sent by the target detection or recognition circuit module. 水平 =(M2-M1)*J,D 垂直 =(N2-N1)*J;

[0010] S6, the angle δ of a single pixel mapping can be obtained from the pixel size p of the image display module and the focal length f of the lens. The coordinates of the turntable at this time can be calculated from step S5 as (D 水平 / δ,D 垂直 / δ);

[0011] S7, the corrected position of the target in the video display circuit module (a2+D 水平 / δ,b2+D 垂直 / δ).

[0012] The beneficial effects of the present invention are as follows: the present method accurately locates the target position through the synchronization signal and the turntable position signal generated by the turntable control module, and eliminates the problem of inaccurate target marking caused by delays caused by transmission or secondary processing. The present method is simple, easy to implement, and convenient for engineering application. BRIEF DESCRIPTION OF THE DRAWINGS

[0013] The present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0014] Figure 1 It is a block diagram of the multi-module same target marking implementation of the method of the present invention;

[0015] Figure 2 It is a simplified diagram of system connection of an embodiment of the method of the present invention. DETAILED DESCRIPTION

[0016] Embodiment 1, see Figure 1 , 2 , a method based on marking the same target between multiple functional modules of a turntable, through the horizontal and vertical position information of the turntable, the field of view size of the target detection or recognition circuit module and the video display circuit module, the effective pixels and the coordinate position of the target in the target detection or recognition circuit module (the coordinate origin of the video display circuit module and the target detection or recognition circuit module is consistent), the position of the target in the display module can be obtained. Figure 1 , specific steps:

[0017] S1, the system is powered on and initialized, the turntable position returns to the absolute zero position or the relative zero position, and the turntable control module sends a turntable position calibration signal to the video display circuit module, so that the video display circuit module collects the turntable position signal and synchronizes it with the turntable control module;

[0018] S2, the turntable control module controls the turntable scanning mode, scanning speed, etc. The turntable control module generates a synchronization signal. After receiving the synchronization signal, the video display circuit module latches the current turntable position signal. The horizontal and vertical direction counts are M1 and N1;

[0019] S3, at the same time, the target detection or identification circuit module performs target detection or identification on the current frame, and sends the detected and identified target position (the coordinate position in the target detection or identification circuit module image) to the video display circuit module, wherein the target detection or identification circuit module does not send the target coordinate position information or sends fixed format information to the video display circuit module when the synchronization signal is not received, and sends the corresponding format information (the information includes the number of current targets and the coordinate position of each target) to the video display circuit module when the synchronization signal is received;

[0020] S4, the optical axis of the video display circuit module is consistent with that of the target detection or recognition circuit module, and the field of view size of the target detection or recognition circuit module is S1 水平 、S1 垂直 , horizontal effective pixel X1, vertical effective pixel Y1, the coordinate position of the detected and identified target in the effective pixel (a1, b1), the field of view size S2 of the video display circuit module 水平 、S2 垂直 , horizontal effective pixel X2, vertical effective pixel Y2, the coordinate position (a2, b2) of the target in the video display circuit module can be calculated when the turntable is stationary, where the reference coordinate origin of the effective pixels of the display module and the detection and recognition module is consistent, for example, both use the first pixel in the upper left corner as the origin or the center position of the effective pixel as the origin, then a2 = {(S1 水平 / X1) / (S2 水平 / X2)}*a1,b2={(S1 垂直 / Y1) / (S2 垂直 / Y2)}*b1;

[0021] S5. Obtain the coordinates of the turntable when it is stationary through S4. If the turntable is in the scanning process, when the video display circuit module receives the target sent by the target detection or recognition circuit module, the current turntable position signal is latched and counted in the horizontal and vertical directions as M2 and N2. According to the turntable position signal accuracy (i.e., one rotation of 360° is counted as Q) J = 360° / Q (for the convenience of explanation, the horizontal and vertical accuracy are the same here), calculate the turntable rotation angle D from the time when the synchronization signal is sent, i.e., step S2, to the time when the display circuit module receives the target sent by the target detection or recognition circuit module. 水平 =(M2-M1)*J,D 垂直 =(N2-N1)*J;

[0022] S6, the angle δ=arctan(p / f) of a single pixel mapping can be obtained from the pixel size p of the image display module (here, the pixel sizes in the horizontal and vertical directions are the same as an example) and the focal length f of the lens. The coordinates of the turntable at this time can be calculated from step S5 as (D 水平 / δ,D 垂直 / δ) (where the positive and negative are related to the selected coordinate origin);

[0023] S7, the corrected position of the target in the video display circuit module (a2+D 水平 / δ,b2+D 垂直 / δ).

[0024] Based on the first embodiment, the system connection diagram and working principle of the method of the present invention are described as follows. Figure 2The servo control module collects orthogonal photoelectric coding signals to control the relevant functions of the turntable and communicates with the video display module through RS422. It is mainly used for the servo control module to control the turntable to return to the absolute zero position or record the current coding signal position information and send it to the image display module through RS422 after the system is powered on, so that the starting position counts of the two are consistent. In addition, the video display module controls the switching of television and infrared and the corresponding functional instructions. At the same time, the servo control module synchronizes the laser detection module and the video display module through the I / O synchronization signal. The IO default level is high level, the falling edge is valid, or the default low level, the rising edge is valid; the laser detection module processes the target information detected in the current frame through the I / O synchronization signal, and sends it to the video display module through RS232; the video display module collects infrared and television videos, and synchronously collects orthogonal photoelectric coding signals. The servo control module controls whether the video currently displayed on the monitor / display device is television or infrared through RS422. In the system, the video display module and the laser detection module are consistent based on the optical axis of the turntable, and the center of the images of the two is the target origin. The servo control module controls the laser detection module to detect the target through the I / O synchronization signal. At this time, the video display module latches the position information, and the coordinates of the detected target in the detection camera (the center position is the origin), the detection camera field of view, the effective pixels, the video (TV or infrared) field of view currently displayed by the video display module, and the effective pixels can be calculated by the method S4 when the turntable is in a stationary state (the turntable is stationary or scanning, and the servo control module can inform the video display module through RS422). After that, when the video display module receives the target detected by the laser detection module through RS232, the position information is latched, and the coordinates of the turntable at this time are calculated through steps S5 and S6, and then the final target mark position in step S7 is obtained. This method can accurately mark the same target between multiple modules, and has engineering practical value. This method accurately locates the target position through the synchronization signal and the turntable position signal generated by the turntable control module, and eliminates the problem of inaccurate target marking caused by the delay caused by transmission or secondary processing. The method of the present invention is simple and easy to implement.

Claims

1. A method for marking the same target between multiple functional modules based on a turntable, characterized in that: The steps include: S1, the system is powered on and initialized, the turntable position returns to the absolute zero position or the relative zero position, and the turntable control module sends a turntable position calibration signal to the video display circuit module, so that the video display circuit module collects the turntable position signal and synchronizes it with the turntable control module; S2, the turntable control module controls the turntable scanning mode and scanning speed, and the turntable control module generates a synchronization signal. After receiving the synchronization signal, the video display circuit module latches the current turntable position signal, and the horizontal and vertical direction counts are M1 and N1; S3, the target detection or identification circuit module performs target detection or identification on the current frame, and sends the detected and identified target position to the video display circuit module, wherein the target detection or identification circuit module does not send the target coordinate position information or sends fixed format information to the video display circuit module when the synchronization signal is not received, and sends the corresponding format information to the video display circuit module when the synchronization signal is received; S4, the optical axis of the video display circuit module is consistent with that of the target detection or recognition circuit module, and the field of view size of the target detection or recognition circuit module is S1 水平 、S1 垂直 , horizontal effective pixel X1, vertical effective pixel Y1, the coordinate position of the detected and identified target in the effective pixel (a1, b1), the field of view size S2 of the video display circuit module 水平 、S2 垂直 , horizontal effective pixel X2, vertical effective pixel Y2, the coordinate position (a2, b2) of the target in the video display circuit module can be calculated when the turntable is stationary, where the reference coordinate origin of the effective pixels of the display module and the detection and recognition module is consistent, for example, both use the first pixel in the upper left corner as the origin or the center position of the effective pixel as the origin, then a2 = {(S1 水平 / X1) / (S2 水平 / X2)}*a1,b2={(S1 垂直 / Y1) / (S2 垂直 / Y2)}*b1; S5. Obtain the coordinates of the turntable when it is stationary through S4. If the turntable is in the scanning process and the video display circuit module receives the target sent by the target detection or recognition circuit module, the horizontal and vertical counts of the current turntable position signal are latched as M2 and N2. The turntable position signal accuracy J = 360° / Q is used to calculate the turntable rotation angle D from the time when the synchronization signal is sent, i.e. step S2, to the time when the display circuit module receives the target sent by the target detection or recognition circuit module. 水平 =(M2-M1)*J,D 垂直 =(N2-N1)*J; S6, the angle δ of a single pixel mapping can be obtained from the pixel size p of the image display module and the focal length f of the lens. The coordinates of the turntable at this time can be calculated from step S5 as (D 水平 / δ,D 垂直 / δ); S7, the corrected position of the target in the video display circuit module (a2+D 水平 / δ,b2+D 垂直 / δ).

2. A method for marking the same target between multiple functional modules based on a turntable as claimed in claim 1, characterized in that: The position of the target in the display module can be obtained through the horizontal and vertical position information of the turntable, the field of view size of the target detection or recognition circuit module and the video display circuit module, the effective pixels and the coordinate position of the target in the target detection or recognition circuit module.

3. A method for marking the same target between multiple functional modules based on a turntable as claimed in claim 1, characterized in that: The functional modules include: a turntable control module, a target detection or recognition circuit module, and a video display circuit module.

4. A method for marking the same target between multiple functional modules based on a turntable as claimed in claim 3, characterized in that: The turntable control module adopts a servo control module, the target detection or identification circuit module adopts a laser detection module and a detection camera, and the video display circuit module includes an infrared display and a video display device.