Scanning control mechanism, holder and scanning control method

By using a rotary encoder on the gimbal to convert the angle into a pulse signal and sending it to the radar, the problem of radar scanning data deviation is solved, achieving more accurate and reliable scanning data transmission.

CN119087360APending Publication Date: 2024-12-06SHANGHAI HUACE NAVIGATION TECH +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411254795.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-06
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

During the radar scanning process, due to motor performance fluctuations, load changes and mechanical wear, the speed of the moving mechanism is difficult to maintain uniformity, resulting in a large deviation in the final data scanned by the radar.

Method used

Set up a rotary encoder on the gimbal to convert the current angle into a pulse signal and send it to the radar, so that the radar can determine the current angle according to the number of pulse signals to scan, ensuring the accuracy of angle reverse conversion regardless of rotation at a constant speed or non-uniform speed. This reduces data deviation.

Benefits of technology

Through the reverse conversion of pulsed signals, the final data deviation scanned by the radar is reduced, the accuracy of scanned data and the reliability of signal transmission are improved, especially in the long-distance transmission, effectively resisting noise interference.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119087360A_ABST
    Figure CN119087360A_ABST
Patent Text Reader

Abstract

The invention provides a scanning control mechanism, a cradle head and a scanning control method, the scanning control mechanism comprises a main control board, the cradle head and a radar, the cradle head communicates with the main control board and the radar, the cradle head is provided with a rotary encoder, and the rotary encoder is used for outputting the current angle of the cradle head; the main control board is used for generating a control instruction; the holder is used for rotating the current angle of the holder according to the control instruction and converting the current angle of the holder into a pulse signal; the radar is used for determining the current angle of the radar according to the number of the pulse signals and scanning according to the current angle of the radar. In the implementation process of the scheme, the angle value generated when the holder rotates by one circle is converted into the number of the pulse signals to be transmitted to the radar, so that the radar can be reversely converted into the current angle according to the number of the received pulse signals, and the current angle reversely converted from the number of the pulse signals cannot be influenced no matter whether the holder rotates at a constant speed or not; therefore, the final data deviation scanned by the radar is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of automatic control, and in particular to a scanning control mechanism, a pan-tilt platform and a scanning control method. Background Art

[0002] At present, in the process of controlling the scanning of the radar, the rotation speed and time of the motion mechanism (such as the pan / tilt that carries the radar) are usually used to calculate the current rotation angle of the radar. However, the principle of using the rotation speed and time of the motion mechanism to calculate the rotation angle of the radar is based on the following assumption: if the average speed (the angle turned per unit time) and time of the motor are known, the rotation angle of the radar can be estimated by a simple multiplication operation. In the specific practice, it is found that due to the fluctuation of motor performance, load changes, mechanical wear and other reasons, it is often difficult to keep the speed of most motion mechanisms completely uniform. Therefore, the final data scanned by the radar has a large deviation. Summary of the invention

[0003] The purpose of the embodiments of the present application is to provide a scanning control mechanism, a gimbal and a scanning control method, which are used to improve the problem of large deviation in the final data scanned by a radar.

[0004] The embodiment of the present application provides a scanning control mechanism, including: a main control board, a pan-tilt and a radar, the pan-tilt communicates with the main control board and the radar respectively, the pan-tilt has a rotary encoder, the rotary encoder is used to output the current angle of the pan-tilt; the main control board is used to generate control instructions; the pan-tilt is used to rotate the current angle of the pan-tilt according to the control instructions, and convert the current angle of the pan-tilt into a pulse signal; the radar is used to determine the current angle of the radar according to the number of pulse signals, and scan according to the current angle of the radar. In the implementation process of the above scheme, a rotary encoder for outputting the current angle is set on the pan-tilt, and the current angle is converted into a pulse signal by the pan-tilt and then sent to the radar, so that the current angle of the radar is determined according to the number of pulse signals, and scans according to the current angle of the radar. Since the angle value of one rotation of the pan-tilt is converted into the number of pulse signals and transmitted to the radar, the radar can reversely convert it into the current angle according to the number of received pulse signals. Therefore, whether it is a uniform rotation or not, it will not affect the current angle reversely converted by the number of pulse signals, thereby reducing the final data deviation scanned by the radar.

[0005] Optionally, in an embodiment of the present application, the rotary encoder includes: a pitch rotary encoder and a horizontal rotary encoder, and the current angle of the pan-tilt includes: the current pitch angle of the pan-tilt and the current horizontal angle of the pan-tilt; the pitch rotary encoder is used to output the current pitch angle of the pan-tilt; the horizontal rotary encoder is used to output the current horizontal angle of the pan-tilt. In the implementation process of the above scheme, the pitch rotary encoder and the horizontal rotary encoder are used to monitor the angle change in real time, and the system can quickly adjust the pan-tilt posture as needed to achieve rapid scanning or tracking of moving targets, thereby increasing the dynamic adjustment capability of the scanning control mechanism.

[0006] Optionally, in an embodiment of the present application, the pan / tilt head further includes: a conversion circuit; the conversion circuit is in communication connection with the rotary encoder; the conversion circuit is used to convert the current angle from the TTL signal output by the rotary encoder into a pulse signal. In the implementation process of the above scheme, the current angle is converted from the TTL signal output by the rotary encoder into a pulse signal by the conversion circuit, which can improve the anti-interference ability of the signal, especially in long-distance transmission, the pulse signal can better resist noise interference, thereby improving the reliability of signal transmission.

[0007] Optionally, in an embodiment of the present application, a timer is provided on the main control board, and the timer is used to periodically reset the pointer of the rotary encoder to zero. In the implementation process of the above scheme, the pointer of the rotary encoder is periodically reset to zero by the timer, which effectively eliminates the accumulated error introduced by long-term operation, thereby regularly maintaining the accuracy of the pointer position.

[0008] An embodiment of the present application also provides a gimbal, including: a rotary encoder, which is used to output the current angle of the gimbal, the gimbal communicates with a main control board and a radar, and the main control board is used to generate control instructions; the gimbal is used to rotate the current angle of the gimbal according to the control instructions, and convert the current angle of the gimbal into a pulse signal, and send the pulse signal to the radar.

[0009] Optionally, in an embodiment of the present application, the rotary encoder includes: a pitch rotary encoder and a horizontal rotary encoder; the pitch rotary encoder is used to output the current pitch angle of the gimbal; the horizontal rotary encoder is used to output the current horizontal angle of the gimbal.

[0010] Optionally, in an embodiment of the present application, the gimbal further includes: a conversion circuit; the conversion circuit is communicatively connected to the rotary encoder; the conversion circuit is used to convert the TTL signal output from the rotary encoder of the current angle into a pulse signal.

[0011] The embodiment of the present application also provides a scanning control method, which is applied to a gimbal, wherein the gimbal communicates with a main control board and a radar respectively, and the gimbal has a rotary encoder, and the rotary encoder is used to output the current angle of the gimbal. The scanning control method includes: obtaining a control instruction generated by the main control board; rotating the current angle of the gimbal according to the control instruction, and converting the current angle of the gimbal into a pulse signal; sending a pulse signal to the radar, so that the radar determines the current angle of the radar according to the number of pulse signals, and scans according to the current angle of the radar. In the implementation process of the above scheme, the current angle of the radar is determined according to the number of pulse signals, and scans according to the current angle of the radar. Since the angle value of one rotation of the gimbal is converted into the number of pulse signals and transmitted to the radar, the radar can reversely convert it into the current angle according to the number of received pulse signals. Therefore, whether it is a uniform rotation or not, it will not affect the current angle reversely converted by the number of pulse signals, thereby reducing the final data deviation scanned by the radar.

[0012] Optionally, in an embodiment of the present application, the rotary encoder includes: a pitch rotary encoder and a horizontal rotary encoder, and the current angle of the gimbal includes: the current pitch angle of the gimbal and the current horizontal angle of the gimbal; before the current angle of the gimbal is rotated according to the control instruction, it also includes: outputting the current pitch angle of the gimbal through the pitch rotary encoder; outputting the current horizontal angle of the gimbal through the horizontal rotary encoder. In the implementation process of the above scheme, the angle change is monitored in real time through the pitch rotary encoder and the horizontal rotary encoder, and the system can quickly adjust the gimbal posture as needed to achieve rapid scanning or tracking of moving targets, thereby increasing the dynamic adjustment capability of the scanning control mechanism.

[0013] Optionally, in an embodiment of the present application, the gimbal further includes: a conversion circuit; the conversion circuit is communicatively connected to the rotary encoder; converting the current angle of the gimbal into a pulse signal, including: converting the current angle from the TTL signal output by the rotary encoder into a pulse signal through the conversion circuit. In the implementation of the above scheme, the current angle is converted from the TTL signal output by the rotary encoder into a pulse signal through the conversion circuit, which can improve the anti-interference ability of the signal, especially in long-distance transmission, the pulse signal can better resist noise interference, thereby improving the reliability of signal transmission.

[0014] Optionally, in an embodiment of the present application, a timer is provided on the main control board; the scanning control method further includes: periodically resetting the pointer of the rotary encoder to zero by the timer. In the implementation process of the above scheme, the pointer of the rotary encoder is periodically reset to zero by the timer, which effectively eliminates the accumulated error introduced by long-term operation, thereby regularly maintaining the accuracy of the pointer position.

[0015] The embodiment of the present application also provides a scanning control method, which is applied to a main control board, the main control board communicates with a pan-tilt and a radar, the pan-tilt has a rotary encoder, and the rotary encoder is used to output the current angle of the pan-tilt; the scanning control method includes: obtaining the current angle and absolute target angle of the pan-tilt; determining the relative rotation angle and relative rotation direction according to the current angle and absolute target angle of the pan-tilt; generating a control instruction according to the relative rotation angle and relative rotation direction; sending a control instruction to the pan-tilt so that the pan-tilt rotates the current angle of the pan-tilt according to the control instruction, and converting the current angle of the pan-tilt into a pulse signal, and the number of pulse signals is used to determine the current angle of the radar. In the implementation process of the above scheme, the current angle of the radar is determined according to the number of pulse signals. Since the angle value of one circle of the pan-tilt is converted into the number of pulse signals and transmitted to the radar, the radar can reversely convert it into the current angle according to the number of received pulse signals. Therefore, whether it is a uniform rotation or not, it will not affect the current angle reversely converted by the number of pulse signals, thereby reducing the final data deviation scanned by the radar.

[0016] The embodiment of the present application also provides a scanning control method, which is applied to a radar, wherein the radar communicates with a main control board and a gimbal, and the gimbal has a rotary encoder, and the rotary encoder is used to output the current angle of the gimbal; the scanning control method includes: receiving a pulse signal sent by the gimbal, the pulse signal is obtained by the gimbal rotating the current angle of the gimbal according to the control instruction generated by the main control board, and converting the current angle of the gimbal; determining the current angle of the radar according to the number of pulse signals; and scanning according to the current angle of the radar. In the implementation process of the above scheme, the current angle of the radar is determined according to the number of pulse signals, and scanning is performed according to the current angle of the radar. Since the angle value of one rotation of the gimbal is converted into the number of pulse signals and transmitted to the radar, the radar can reversely convert it into the current angle according to the number of received pulse signals. Therefore, whether it is a uniform rotation or not, it will not affect the current angle reversely converted by the number of pulse signals, thereby reducing the final data deviation scanned by the radar.

[0017] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method described above is executed.

[0018] The embodiment of the present application also provides a computer program product, including: a computer program or a computer instruction, and the computer program or the computer instruction executes the method described above when executed by a processor. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A schematic diagram of the specific structure of the scanning control mechanism provided in the embodiment of the present application is shown;

[0021] Figure 2 A schematic flow chart of a scanning control method performed by a pan / tilt platform according to an embodiment of the present application is shown;

[0022] Figure 3 A schematic flow chart of a scanning control method performed by a main control board provided in an embodiment of the present application is shown;

[0023] Figure 4 A schematic flow chart of a scanning control method performed by a radar according to an embodiment of the present application is shown.

[0024] Icons: 100-scanning control mechanism; 110-main control board; 120-pan / tilt head; 121-rotary encoder; 130-radar. DETAILED DESCRIPTION

[0025] To make the purpose, technical scheme and advantages of the embodiment of the present application clearer, the technical scheme in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application. It should be understood that the drawings in the embodiment of the present application only serve the purpose of explanation and description, and are not used to limit the protection scope of the embodiment of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in the embodiment of the present application shows the operation implemented according to some embodiments of the embodiment of the present application. It should be understood that the operation of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the embodiment of the present application, or remove one or more operations from the flowchart.

[0026] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all embodiments. The components of the embodiments of the present application described and shown in the drawings generally here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the embodiments of the present application claimed, but merely represents the selected embodiments of the embodiments of the present application.

[0027] In the related art, in order to obtain high-resolution radar images, the radar needs to accurately know the angle and position of its antenna, which helps to reduce the image blur caused by position uncertainty. In the process of controlling the scanning of the radar, the rotation speed and time of the motion mechanism (such as the pan / tilt that carries the radar) are usually used to calculate the current rotation angle of the radar, and the speed requirements of the motion mechanism are high, such as requiring the synchronous control of the position and time of the antenna. In the specific practice process, it is found that if the position and time of the antenna are not synchronized, it will cause image blurring phenomena such as artifacts or distortion in the image. Among them, there are many reasons for the position and time of the above-mentioned antenna to be out of sync, such as: motor performance fluctuations, load changes, mechanical wear delays, electronic system delays, interference from external environmental factors (such as temperature changes that affect the physical properties of mechanical parts), sensor errors and mechanical vibrations (vibration will cause slight changes in the position of the antenna, causing it to deviate from the target position) and other reasons. These reasons cause the final data measured by the radar to deviate greatly when the position and time of the antenna are not synchronized.

[0028] In view of the above problems, in the embodiment of the present application, a rotary encoder is added to the pan-tilt of the scanning control mechanism, and the current angle is converted into a pulse signal by the pan-tilt and then sent to the radar, so that the current angle of the radar is determined according to the number of pulse signals, and scanning is performed according to the current angle of the radar. Since the angle value of one rotation of the pan-tilt is converted into the number of pulse signals and transmitted to the radar, the radar can reversely convert it into the current angle according to the number of received pulse signals. Therefore, whether it is a uniform rotation or not, it will not affect the current angle reversely converted from the number of pulse signals, thereby reducing the final data deviation scanned by the radar.

[0029] See also Figure 1 The specific structural diagram of the scanning control mechanism provided in the embodiment of the present application is shown; the embodiment of the present application provides a scanning control mechanism 100, including: a main control board 110, a pan-tilt 120 and a radar 130, and the pan-tilt 120 communicates with the main control board 110 and the radar 130 respectively. The pan-tilt 120 has a rotary encoder 121, that is, the pan-tilt 120 is provided with a rotary encoder 121, and the rotary encoder 121 is used to output the current angle of the pan-tilt 120.

[0030] The main control board 110 can be used to generate control instructions and send the control instructions to the pan-tilt platform. Optionally, the main control board can include a transceiver, and the transceiver is used to perform data communication interaction with the pan-tilt platform, for example, the main control board sends the control instructions to the pan-tilt platform through the transceiver.

[0031] The pan / tilt 120 can be used to rotate the current angle of the pan / tilt according to the control command sent by the main control board, and convert the current angle of the pan / tilt into a pulse signal. Optionally, the pan / tilt can also include a transceiver, which is used to perform data communication interaction with the main control board, for example, the pan / tilt receives the control command sent by the main control board through the transceiver.

[0032] The radar 130 can be used to determine the current angle of the radar according to the number of pulse signals, and scan the observed terrain in the direction according to the current angle of the radar to obtain the scanned terrain deformation data. The radar can be fixedly connected to the gimbal, or it can be movably connected, for example: the radar and the gimbal are fixed to each other through a structural member (for example, the radar is fixed on the top of the gimbal), or a card slot for fixing the radar is set on the gimbal, so that the radar and the gimbal rotate together in a linkage manner, so that the rotation angle of the gimbal is the same as the rotation angle of the radar.

[0033] In the implementation process of the above scheme, a rotary encoder for outputting the current angle is set on the pan-tilt, and the current angle is converted into a pulse signal by the pan-tilt and then sent to the radar, so that the current angle of the radar is determined according to the number of pulse signals, and scanning is performed according to the current angle of the radar. Since the angle value of one rotation of the pan-tilt is converted into the number of pulse signals and transmitted to the radar, the radar can reversely convert it into the current angle according to the number of received pulse signals. Therefore, whether the radar rotates at a constant speed or not, it will not affect the current angle reversely converted from the number of pulse signals, thereby reducing the final data deviation scanned by the radar.

[0034] Optionally, the above-mentioned rotary encoder can use an incremental encoder, for example, an incremental encoder with an accuracy of 0.006°. The resolution of the incremental encoder is to generate a pulse signal for each rotation of a certain angle. The resolution of 0.006° means that a pulse signal will be generated for each rotation of the encoder by 0.006°, so as to meet the application requirements of the real aperture radar (RAR), where RAR is a radar that uses a fixed-size antenna for scanning. When the accuracy of the above-mentioned rotary encoder is 0.006°, the radar will receive 60,000 pulse signals every time the pan-tilt drives the radar to rotate one circle. The radar can calculate the relative angle of the current radar rotation based on the number of received pulse signals. Therefore, whether the radar is rotating at a constant speed or not, it will not affect the current angle of the reverse conversion of the number of pulse signals, thereby reducing the final data deviation scanned by the radar.

[0035] As an optional implementation of the scanning control mechanism, the rotary encoder may include: a pitch rotary encoder and a horizontal rotary encoder, and the gimbal may include two mechanical rotating shafts, and the gimbal may drive the radar and the radar antenna to rotate through the two mechanical rotating shafts. Specifically, the two mechanical rotating shafts may be a pitch rotating shaft and a horizontal rotating shaft, wherein the gimbal may rotate in the pitch direction through the pitch rotating shaft, and may rotate in the horizontal direction through the horizontal rotating shaft.

[0036] The above-mentioned pitch rotary encoder can be used to measure the rotation angle of the radar antenna on the pitch axis. Since the rotation angle of the gimbal in the pitch direction is the same as the rotation angle of the radar, the rotation angle of the radar (antenna) output by the pitch rotary encoder can be determined as the current pitch angle of the gimbal. Therefore, the pitch rotary encoder can also be considered to output the current pitch angle of the gimbal.

[0037] The above-mentioned horizontal rotary encoder can be used to measure the rotation angle of the radar antenna on the horizontal axis. Since the rotation angle of the gimbal in the horizontal direction is the same as the rotation angle of the radar, the rotation angle of the radar (antenna) output by the horizontal rotary encoder can be determined as the current horizontal angle of the gimbal. Therefore, the horizontal rotary encoder can also be considered to output the current horizontal angle of the gimbal.

[0038] Optionally, the above-mentioned gimbal can carry a radar that communicates with it, or the gimbal can also carry a main control board that communicates with it, and can also carry a radar and a main control board at the same time, so that the radar and / or the main control board can rotate together with the gimbal on the pitch axis and / or the horizontal axis. Correspondingly, the current angle of the above-mentioned gimbal may include: the current pitch angle of the gimbal and the current horizontal angle of the gimbal. In the implementation process of the above-mentioned scheme, the angle changes are monitored in real time through the pitch rotary encoder and the horizontal rotary encoder. The system can quickly adjust the gimbal posture as needed to achieve rapid scanning or tracking of moving targets, thereby increasing the dynamic adjustment capability of the scanning control mechanism.

[0039] As an optional implementation of the above-mentioned scanning control mechanism, the above-mentioned pan-tilt head also includes: a conversion circuit; the conversion circuit is communicatively connected with the rotary encoder, and a 485 chip may also be provided in the above-mentioned pan-tilt head, and the conversion circuit may be a circuit in the 485 chip.

[0040] The conversion circuit is used to convert the TTL (Transistor-Transistor Logic) signal output by the rotary encoder of the current angle into a pulse signal. The above-mentioned conversion circuit can be a circuit in a 485 chip, and the 485 chip can convert the TTL signal into a differential signal or a single-ended pulse signal of the RS-485 standard. Among them, the differential signal has a stronger anti-interference ability than the single-ended pulse signal, which can reduce interference during the transmission process.

[0041] As an optional implementation of the above-mentioned scanning control mechanism, since the mechanical components of the scanning control mechanism may cause cumulative angle deviations in the long-term operation state, a timer can be set on the main control board. The timer is used to periodically reset the pointer of the rotary encoder to zero, that is, to periodically perform self-inspection on the pan-tilt head (for example, perform self-inspection on the pan-tilt head once a week), and reset the pointer of the above-mentioned rotary encoder to the current zero position during the pan-tilt self-inspection process (for example, match the zero position of the encoder and the zero position of the photoelectric switch once to eliminate the cumulative error introduced by long-term operation), so as to regularly maintain the accuracy of the pointer position.

[0042] The embodiment of the present application also provides a gimbal, which may include: a rotary encoder, that is, the gimbal is provided with a rotary encoder, the rotary encoder is used to output the current angle of the gimbal, the gimbal can communicate with the main control board and the radar respectively, the main control board is used to generate control instructions and send the control instructions to the gimbal. Optionally, the main control board may include a transceiver, the transceiver is used to perform data communication interaction with the gimbal, for example, the main control board sends control instructions to the gimbal through the transceiver.

[0043] The above-mentioned gimbal is used to rotate the current angle of the gimbal according to the control instruction sent by the main control board, and convert the current angle of the gimbal into a pulse signal through the conversion circuit in the 485 chip. Optionally, the gimbal may also include a transceiver, which is used to perform data communication interaction with the main control board, for example, the gimbal receives the control instruction sent by the main control board through the transceiver.

[0044] As an optional embodiment of the above-mentioned gimbal, the above-mentioned rotary encoder may include: a pitch rotary encoder and a horizontal rotary encoder, and the above-mentioned gimbal may include two mechanical shafts, and the gimbal may drive the radar and the radar antenna to rotate through the two mechanical shafts. Specifically, the above-mentioned two mechanical shafts may be a pitch shaft and a horizontal shaft, wherein the gimbal may rotate in the pitch direction through the pitch shaft, and may rotate in the horizontal direction through the horizontal shaft. The above-mentioned main control board may be arranged above the gimbal, and the main control board and the radar are movably connected to the gimbal through a metal top plate, that is, the above-mentioned gimbal may carry the radar communicating with it, or the gimbal may also carry the main control board communicating with it, and may also carry the radar and the main control board at the same time, so that the radar and / or the main control board may rotate together with the gimbal on the pitch shaft and / or the horizontal shaft. Accordingly, the current angle of the above-mentioned gimbal may include: the current pitch angle of the gimbal and the current horizontal angle of the gimbal.

[0045] The above-mentioned pitch rotary encoder can be used to measure the rotation angle of the radar antenna on the pitch axis. Since the rotation angle of the gimbal in the pitch direction is the same as the rotation angle of the radar, the pitch angle output by the above-mentioned pitch rotary encoder is also the current pitch angle of the gimbal.

[0046] The above-mentioned horizontal rotary encoder can be used to measure the rotation angle of the radar antenna on the horizontal axis. Since the rotation angle of the gimbal in the horizontal direction is the same as the rotation angle of the radar, the horizontal angle output by the above-mentioned horizontal rotary encoder is also the current horizontal angle of the gimbal.

[0047] As an optional implementation of the above-mentioned gimbal, the above-mentioned gimbal further includes: a conversion circuit; the conversion circuit is communicatively connected with the rotary encoder, and a 485 chip may also be provided in the above-mentioned gimbal, and the conversion circuit may be a circuit in the 485 chip.

[0048] The conversion circuit is used to convert the TTL signal output from the rotary encoder of the current angle into a pulse signal. The above-mentioned conversion circuit can be a circuit in a 485 chip, which can convert the TTL signal into a differential signal or a single-ended pulse signal of the RS-485 standard.

[0049] See also Figure 2 The flowchart of the scanning control method performed by the pan-tilt platform provided in the embodiment of the present application is shown; the implementation method of the scanning control method performed by the pan-tilt platform may include:

[0050] Step S210: The PTZ obtains the control instruction generated by the main control board.

[0051] Step S220: the pan / tilt head rotates the current angle of the pan / tilt head according to the control instruction, and converts the current angle of the pan / tilt head into a pulse signal.

[0052] For example, the implementation of the above steps S210 to S220 is as follows: a transceiver may be provided on the main control board, and after the main control board generates the control instruction, the control instruction may be sent to the gimbal through the transceiver. The above gimbal may be provided with a transceiver, and the gimbal may also receive the control instruction sent by the main control board through the transceiver. The gimbal rotates the current angle of the gimbal according to the control instruction sent by the main control board, and converts the current angle of the gimbal into a pulse signal through the conversion circuit in the 485 chip.

[0053] Step S230: The gimbal sends a pulse signal to the radar, so that the radar determines the current angle of the radar according to the number of pulse signals and scans according to the current angle of the radar.

[0054] The implementation of the above step S230 is, for example: after the PTZ sends a pulse signal to the radar, the radar can receive the pulse signal sent by the PTZ, record the number of pulse signals, and then calculate the current angle of the radar (e.g., horizontal angle and / or pitch angle) according to the number of pulse signals. Finally, the observed terrain in the direction is scanned according to the current angle of the radar to obtain the scanned terrain deformation data. Optionally, after obtaining the scanned terrain deformation data, the radar can also send the terrain deformation data to the main control board, so that the main control board generates a new control instruction according to the terrain deformation data, and sends the new control instruction to the PTZ.

[0055] In the implementation process of the above scheme, the current angle is converted into a pulse signal by the pan-tilt and then sent to the radar, so that the current angle of the radar is determined according to the number of pulse signals, and scanning is performed according to the current angle of the radar. Since the angle value of one rotation of the pan-tilt is converted into the number of pulse signals and transmitted to the radar, the radar can reversely convert it into the current angle according to the number of received pulse signals. Therefore, whether it is a uniform rotation or not, it will not affect the current angle reversely converted from the number of pulse signals, thereby reducing the final data deviation scanned by the radar.

[0056] As an optional implementation of the scanning control method, the rotary encoder may include: a pitch rotary encoder and a horizontal rotary encoder, and the current angle of the pan / tilt may include: a current pitch angle of the pan / tilt and a current horizontal angle of the pan / tilt; before rotating the current angle of the pan / tilt according to the control instruction, the method further includes:

[0057] Step S211: output the current pitch angle of the gimbal through the pitch rotary encoder.

[0058] An implementation example of the above-mentioned step S211 is: the gimbal measures the rotation angle of the radar antenna on the pitch axis through the pitch rotary encoder. Since the rotation angle of the gimbal in the pitch direction is the same as the rotation angle of the radar, the rotation angle of the radar (antenna) output by the pitch rotary encoder can be determined as the current pitch angle of the gimbal, so the pitch rotary encoder can also be considered to output the current pitch angle of the gimbal.

[0059] Step S212: Output the current horizontal angle of the pan / tilt via the horizontal rotary encoder.

[0060] An implementation example of the above-mentioned step S212 is: the gimbal measures the rotation angle of the radar antenna on the horizontal axis through a horizontal rotary encoder. Since the rotation angle of the gimbal in the horizontal direction is the same as the rotation angle of the radar, the rotation angle of the radar (antenna) output by the horizontal rotary encoder can be determined as the current horizontal angle of the gimbal, so the horizontal rotary encoder can also be considered to output the current horizontal angle of the gimbal.

[0061] In the implementation process of the above scheme, the pitch rotary encoder and the horizontal rotary encoder are used to monitor the angle changes in real time. The system can quickly adjust the gimbal posture as needed to achieve rapid scanning or tracking of moving targets, thereby increasing the dynamic adjustment capability of the scanning control mechanism.

[0062] As an optional implementation of the above step S220, the above pan / tilt may further include: a conversion circuit; the conversion circuit may be communicatively connected to the rotary encoder; the above implementation of converting the current angle of the pan / tilt into a pulse signal may include:

[0063] Step S221: Convert the TTL signal outputted from the rotary encoder of the current angle into a pulse signal through a conversion circuit.

[0064] An example of an implementation of the above step S221 is: the pan / tilt converts the current angle from the TTL signal output by the rotary encoder into a differential pulse signal or a single-ended pulse signal of the RS-485 standard through the conversion circuit in the 485 chip. Compared with the single-ended pulse signal, the differential pulse signal has a stronger anti-interference ability, which can reduce the interference received during the transmission process. In the implementation of the above scheme, the current angle is converted from the TTL signal output by the rotary encoder into a pulse signal through the conversion circuit, which can improve the anti-interference ability of the signal, especially in long-distance transmission, the pulse signal can better resist noise interference, thereby improving the reliability of signal transmission.

[0065] As an optional implementation of the above scanning control method, the above main control board also has a timer; the implementation of the above scanning control method also includes: regularly resetting the pointer of the rotary encoder to zero through the timer. Specifically, this implementation is, for example: the main control board regularly resets the pointer of the rotary encoder to zero, that is, periodically performs self-inspection on the pan-tilt head (for example, performs self-inspection on the pan-tilt head once a week), and resets the pointer of the above rotary encoder to the current zero position during the pan-tilt self-inspection process (for example, the zero position of the encoder and the zero position of the photoelectric switch are matched once to eliminate the accumulated error introduced by long-term operation), so as to regularly maintain the accuracy of the pointer position.

[0066] See also Figure 3 The flowchart of the scanning control method performed by the main control board provided in the embodiment of the present application is shown; the implementation method of the scanning control method performed by the main control board may include:

[0067] Step S310: The main control board obtains the current angle and absolute target angle of the gimbal.

[0068] The implementation method of the above step S310 is, for example: the PTZ obtains the precise current angle and absolute target angle through the rotary encoder, and sends the current angle and absolute target angle of the PTZ to the main control board through the transceiver. The main control board can also receive the current angle and absolute target angle sent by the PTZ through the transceiver.

[0069] Step S320: The main control board determines the relative rotation angle and relative rotation direction according to the current angle of the gimbal and the absolute target angle.

[0070] Step S330: the main control board generates a control instruction according to the relative rotation angle and the relative rotation direction.

[0071] An implementation example of the above-mentioned steps S320 to S330 is as follows: when the main control board needs the radar to scan the observed terrain in the direction, it can determine the relative rotation angle and the relative rotation direction according to the current angle of the gimbal and the absolute target angle (for example, the current angle is 90 degrees, and the absolute target angle is 120 degrees, then the relative rotation angle is 120 degrees minus 90 degrees, which equals 30 degrees, and it is easy to deduce that the relative rotation direction is counterclockwise), and generate a control instruction according to the relative rotation angle and the relative rotation direction (for example, a control instruction is generated based on a rotation angle of 30 degrees and a counterclockwise direction as the relative rotation direction).

[0072] Step S340: The main control board sends a control instruction to the gimbal, so that the gimbal rotates the current angle of the gimbal according to the control instruction, and converts the current angle of the gimbal into a pulse signal. The number of pulse signals is used to determine the current angle of the radar.

[0073] For example, the implementation method of the above step S340 is as follows: a transceiver may be provided on the main control board, and after the main control board generates the control instruction, the control instruction may be sent to the gimbal through the transceiver. The above gimbal may be provided with a transceiver, and the gimbal may also receive the control instruction sent by the main control board through the transceiver. The gimbal rotates the current angle of the gimbal according to the control instruction sent by the main control board, and converts the current angle of the gimbal into a pulse signal through the conversion circuit in the 485 chip.

[0074] See also Figure 4 The flowchart of the scanning control method performed by the radar provided in the embodiment of the present application is shown. The implementation of the scanning control method performed by the radar may include:

[0075] Step S410: The radar receives a pulse signal sent by the gimbal, and the pulse signal is obtained by the gimbal rotating the current angle of the gimbal according to the control instruction generated by the main control board and converting the current angle of the gimbal.

[0076] An implementation example of the above-mentioned step S410 is as follows: the radar can receive the pulse signal sent by the gimbal and record the number of pulse signals, and then calculate the current angle of the radar (such as the horizontal angle and / or the pitch angle) according to the number of pulse signals. Finally, the observed terrain in the direction is scanned according to the current angle of the radar to obtain the scanned terrain deformation data.

[0077] Step S420: The radar determines the current angle of the radar according to the number of pulse signals, and scans according to the current angle of the radar.

[0078] An implementation example of the above-mentioned step S420 is: the radar determines the current angle of the radar based on the number of pulse signals, and scans according to the current angle of the radar to obtain the scanned terrain deformation data, and sends the terrain deformation data to the main control board, so that the main control board generates a new control instruction based on the terrain deformation data, and sends this new control instruction to the gimbal.

[0079] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to execute the above method. Wherein, the computer-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (Static Random Access Memory, referred to as SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, referred to as EEPROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, referred to as EPROM), programmable read-only memory (Programmable Read-Only Memory, referred to as PROM), read-only memory (Read-Only Memory, referred to as ROM), magnetic memory, flash memory, disk or optical disk.

[0080] The embodiment of the present application also provides a computer program product, including: a computer program or a computer instruction, and the computer program or the computer instruction executes the method described above when executed by a processor.

[0081] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0082] In several embodiments provided by the embodiments of the present application, it should be understood that the disclosed device and method can also be implemented in other ways. The device embodiments described above are only schematic, for example, the flowcharts and block diagrams in the accompanying drawings show the possible implementation architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a part of a module, a program segment or a code, and a part of a module, a program segment or a code includes one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also be different from the order of occurrence marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which is mainly determined by the functions involved.

[0083] In addition, each functional module of each embodiment in the embodiment of the present application can be integrated together to form an independent part, or each module can exist separately, or two or more modules can be integrated to form an independent part. In addition, in the description of this specification, the description of reference terms "one embodiment", "some embodiments", "example", "specific example", "some examples", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the embodiment of the present application. In this specification, the schematic representation of the above terms does not necessarily target the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples without contradicting each other.

[0084] The above description is only an optional implementation manner of the embodiments of the present application, but the protection scope of the embodiments of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the embodiments of the present application, which should be covered within the protection scope of the embodiments of the present application.

Claims

1. A scanning control mechanism, characterized in that: include: A main control board, a gimbal and a radar, wherein the gimbal communicates with the main control board and the radar respectively, and the gimbal is provided with a rotary encoder, and the rotary encoder is used to output the current angle of the gimbal; The main control board is used to generate control instructions; The pan / tilt head is used to rotate the current angle of the pan / tilt head according to the control instruction, and convert the current angle of the pan / tilt head into a pulse signal; The radar is used to determine a current angle of the radar according to the number of the pulse signals, and to scan according to the current angle of the radar.

2. The mechanism according to claim 1, characterized in that: The rotary encoder includes: a pitch rotary encoder and a horizontal rotary encoder, and the current angle of the gimbal includes: a current pitch angle of the gimbal and a current horizontal angle of the gimbal; The pitch rotary encoder is used to output the current pitch angle of the gimbal; The horizontal rotary encoder is used to output the current horizontal angle of the pan / tilt head.

3. The mechanism according to claim 1, characterized in that: The pan / tilt head further comprises: a conversion circuit; the conversion circuit is communicatively connected with the rotary encoder; The conversion circuit is used to convert the current angle from the TTL signal output by the rotary encoder into the pulse signal.

4. The mechanism according to any one of claims 1 to 3, characterized in that: The main control board is provided with a timer, and the timer is used to reset the pointer of the rotary encoder to zero periodically.

5. A pan / tilt head, characterized in that: include: A rotary encoder, the rotary encoder is used to output the current angle of the gimbal, the gimbal communicates with a main control board and a radar, and the main control board is used to generate control instructions; The gimbal is used to rotate the current angle of the gimbal according to the control instruction, convert the current angle of the gimbal into a pulse signal, and send the pulse signal to the radar.

6. The pan / tilt head according to claim 5, characterized in that: The rotary encoder comprises: a pitch rotary encoder and a horizontal rotary encoder; The pitch rotary encoder is used to output the current pitch angle of the gimbal; The horizontal rotary encoder is used to output the current horizontal angle of the pan / tilt head.

7. The pan / tilt head according to claim 5, characterized in that: The pan / tilt head further comprises: a conversion circuit; the conversion circuit is communicatively connected with the rotary encoder; The conversion circuit is used to convert the current angle from the TTL signal output by the rotary encoder into the pulse signal.

8. A scanning control method, characterized in that: Applied to a pan-tilt platform, the pan-tilt platform communicates with a main control board and a radar respectively, the pan-tilt platform has a rotary encoder, the rotary encoder is used to output the current angle of the pan-tilt platform, the scanning control method includes: Obtaining control instructions generated by the main control board; Rotate the current angle of the pan / tilt head according to the control instruction, and convert the current angle of the pan / tilt head into a pulse signal; The pulse signal is sent to the radar, so that the radar determines the current angle of the radar according to the number of the pulse signal and scans according to the current angle of the radar.

9. A scanning control method, characterized in that: Applied to a main control board, the main control board communicates with the gimbal and the radar, the gimbal is provided with a rotary encoder, the rotary encoder is used to output the current angle of the gimbal; The scanning control method comprises: Obtaining the current angle and absolute target angle of the gimbal; Determining a relative rotation angle and a relative rotation direction according to a current angle of the pan / tilt head and the absolute target angle; generating a control instruction according to the relative rotation angle and the relative rotation direction; The control instruction is sent to the gimbal, so that the gimbal rotates the current angle of the gimbal according to the control instruction, and converts the current angle of the gimbal into a pulse signal, and the number of the pulse signals is used to determine the current angle of the radar.

10. A scanning control method, characterized in that: Applied to radar, the radar communicates with the main control board and the gimbal, the gimbal is provided with a rotary encoder, and the rotary encoder is used to output the current angle of the gimbal; The scanning control method comprises: Receiving a pulse signal sent by the pan / tilt platform, wherein the pulse signal is obtained by the pan / tilt platform rotating the current angle of the pan / tilt platform according to the control instruction generated by the main control board and converting the current angle of the pan / tilt platform; Determining a current angle of the radar according to the number of the pulse signals; Scanning is performed according to the current angle of the radar.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 8 to 10 is executed.

12. A computer program product, characterized in that include: A computer program or a computer instruction, wherein when the computer program or the computer instruction is executed by a processor, the method according to any one of claims 8 to 10 is executed.