Mechanical antenna control method and system and medium

By controlling the speed regulation and feedback mechanism of the permanent magnet motor, the problems of large size and non-adjustable speed of the mechanical antenna are solved, and precise speed control and stable operation are achieved.

CN120979256APending Publication Date: 2025-11-18CHINA COAL RES INST +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510991293.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-17
Publication Date
2025-11-18

AI Technical Summary

Technical Problem

Mechanical antennas suffer from problems such as large size, inconvenience in carrying, non-adjustable rotation speed, and inability to provide real-time feedback on rotation speed, which limit their application in different scenarios.

Method used

By controlling the permanent magnet motor to start according to the preset initial speed parameters, the speed adjustment signal output by the potentiometer is received, converted into a PWM signal to adjust the motor speed, the actual speed is measured and converted into a pulse signal for display, and the motor parameters are adjusted according to the actual and expected speed to achieve the expected frequency.

Benefits of technology

Precise speed control and real-time feedback were achieved, improving the performance and operational stability of the mechanical antenna.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120979256A_ABST
    Figure CN120979256A_ABST
Patent Text Reader

Abstract

The invention provides a mechanical antenna control method and system and a medium, and relates to the technical field of low-frequency communication. Comprising the steps of controlling a permanent magnet motor to start operation according to a preset initial rotating speed parameter to drive a mechanical antenna to operate; receiving a rotating speed adjusting signal output by the potentiometer; the rotating speed adjusting signal is converted into a PWM signal, and the rotating speed of the permanent magnet motor is adjusted based on the PWM signal; measuring the actual rotating speed of the permanent magnet motor, and converting the actual rotating speed into a rotating speed pulse signal; the rotating speed pulse signal is converted into an actual rotating speed value to be displayed; according to the actual rotating speed value and the expected rotating speed, rotating speed parameters of the permanent magnet motor are adjusted, so that the rotating speed of the motor reaches the expected rotating speed, and the mechanical antenna reaches the expected frequency. By adopting the method provided by the embodiment of the invention, the performance and the operation stability of the mechanical antenna can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of low-frequency communication, and in particular to a mechanical antenna control method, system and medium. BACKGROUND

[0002] In related technologies, mechanical antenna driving devices usually have problems such as large volume, inconvenience to carry, non-adjustable rotating speed, and inability to provide real-time feedback of rotating speed, which limits the application of mechanical antennas in different scenarios. Therefore, there is an urgent need for a mechanical antenna control method that can accurately control the rotating speed. SUMMARY

[0003] The present application provides a mechanical antenna control method, system and medium. The technical solution of the present application is as follows:

[0004] In a first aspect, a mechanical antenna control method is provided, comprising:

[0005] controlling a permanent magnet motor to start running according to preset initial rotating speed parameters to drive a mechanical antenna to run;

[0006] receiving a rotating speed adjustment signal output by a potentiometer;

[0007] converting the rotating speed adjustment signal into a PWM signal, and adjusting the rotating speed of the permanent magnet motor based on the PWM signal;

[0008] measuring the actual rotating speed of the permanent magnet motor, and converting the actual rotating speed into a rotating speed pulse signal;

[0009] converting the rotating speed pulse signal into an actual rotating speed value for display;

[0010] adjusting the rotating speed parameters of the permanent magnet motor according to the actual rotating speed value and an expected rotating speed, so that the rotating speed of the motor reaches the expected rotating speed, and the mechanical antenna reaches an expected frequency.

[0011] In a possible implementation, the receiving of the rotating speed adjustment signal output by the potentiometer comprises:

[0012] adjusting the potentiometer of the rotating speed control module to output an analog value for controlling the rotating speed of the permanent magnet motor.

[0013] In a possible implementation, the converting of the rotating speed adjustment signal into a PWM signal and the adjusting of the rotating speed of the permanent magnet motor based on the PWM signal comprise:

[0014] receiving the analog value through a UNO board of the rotating speed control module;

[0015] converting the analog value into a PWM signal;

[0016] output the PWM signal to an L298N motor drive chip of the rotation speed control module;

[0017] adjust the rotation speed of the permanent magnet motor based on the PWM signal through the L298N motor drive chip.

[0018] In a possible implementation, the initial rotation speed parameter is set through a UNO board of the rotation speed control module.

[0019] In a possible implementation, the measuring of the actual rotation speed of the permanent magnet motor and the conversion of the actual rotation speed into a rotation speed pulse signal include:

[0020] measuring the actual rotation speed of the permanent magnet motor by using a rotation speed sensor of a rotation speed feedback module; wherein the rotation speed sensor is an optical rotation speed sensor;

[0021] converting the rotation speed signal of the actual rotation speed into a rotation speed pulse signal.

[0022] In a possible implementation, the conversion of the rotation speed pulse signal into an actual rotation speed value for display includes:

[0023] converting the rotation speed pulse signal into an actual rotation speed value through a rotation speed display of the rotation speed feedback module;

[0024] displaying the actual rotation speed value through the rotation speed display.

[0025] In a possible implementation, the adjustment of the rotation speed parameter of the permanent magnet motor according to the actual rotation speed value and the expected rotation speed, so that the rotation speed of the motor reaches the expected rotation speed, to make the mechanical antenna reach the expected frequency, includes:

[0026] adjusting the rotation speed parameter of the permanent magnet motor according to the actual rotation speed value and the expected rotation speed through the UNO board, so that the rotation speed of the permanent magnet motor reaches the expected rotation speed, to make the mechanical antenna reach the expected frequency.

[0027] In a second aspect, a mechanical antenna control system is provided, including:

[0028] a permanent magnet motor: used to start running according to a preset initial rotation speed parameter, to drive the mechanical antenna to run;

[0029] a rotation speed control module: used to receive a rotation speed adjustment signal output by a potentiometer, and convert the rotation speed adjustment signal into a PWM signal, and adjust the rotation speed of the permanent magnet motor based on the PWM signal;

[0030] A rotation speed feedback module is configured to measure an actual rotation speed of the permanent magnet motor, convert the actual rotation speed into a rotation speed pulse signal, and convert the rotation speed pulse signal into an actual rotation speed value for display.

[0031] A feedback adjustment module is configured to adjust a rotation speed parameter of the permanent magnet motor according to the actual rotation speed value and an expected rotation speed, so that the rotation speed of the motor reaches the expected rotation speed, and the mechanical antenna reaches an expected frequency.

[0032] In a possible implementation, the rotation speed control module includes:

[0033] A potentiometer is configured to output an analog value for controlling the rotation speed of the permanent magnet motor.

[0034] A UNO board is configured to receive the analog value, convert the analog value into a PWM signal, and output the PWM signal to an L298N motor drive chip.

[0035] The L298N motor drive chip is configured to receive the PWM signal and adjust the rotation speed of the permanent magnet motor based on the PWM signal.

[0036] In a third aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of the first aspect.

[0037] In a fourth aspect, the present application provides a computer program product including computer programs / instructions, wherein the computer programs / instructions, when executed by a processor, implement the method of the first aspect.

[0038] The technical solution disclosed in the present application at least has the following beneficial effects:

[0039] In the embodiments of the present application, the permanent magnet motor is controlled to start running according to preset initial rotation speed parameters to drive the mechanical antenna to run, a rotation speed adjustment signal output by a potentiometer is received, the rotation speed adjustment signal is converted into a PWM signal, the rotation speed of the permanent magnet motor is adjusted based on the PWM signal, the actual rotation speed of the permanent magnet motor is measured, the actual rotation speed is converted into a rotation speed pulse signal, the rotation speed pulse signal is converted into an actual rotation speed value for display, and the rotation speed parameter of the permanent magnet motor is adjusted according to the actual rotation speed value and an expected rotation speed, so that the rotation speed of the motor reaches the expected rotation speed, and the mechanical antenna reaches an expected frequency. In this way, the performance and running stability of the mechanical antenna can be significantly improved through accurate rotation speed control, real-time feedback adjustment, and a user-friendly operation interface.

[0040] It should be understood that the foregoing general description and the following detailed description are only exemplary and explanatory and are not restrictive of the application. BRIEF DESCRIPTION OF DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and serve to explain the principles of the application, and are not intended to represent the only embodiments consistent with the application.

[0042] Figure 1 A flowchart of a mechanical antenna control method provided in an embodiment of the application;

[0043] Figure 2 A structural diagram of a mechanical antenna control system provided in an embodiment of the application. DETAILED DESCRIPTION

[0044] In order for those skilled in the art to better understand the technical solutions of the application, the technical solutions in the embodiments of the application will be described clearly and completely below with reference to the drawings.

[0045] It should be noted that the terms "first", "second", and the like in the specification and claims of the application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all the embodiments consistent with the application. Rather, they are merely examples of devices and methods consistent with some aspects of the application as detailed in the appended claims.

[0046] It should be noted that the information (including but not limited to user device information, user personal information, etc.), data (including but not limited to data for analysis, stored data, displayed data, etc.), and signals involved in the application are authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data need to comply with relevant laws, regulations, and standards of relevant countries and regions.

[0047] The acquisition, storage, use, processing, etc. of data in the technical solutions of the application comply with the relevant provisions of national laws and regulations.

[0048] It should be noted that in the embodiments of the application, there may be some software, components, models, etc. that are already available in the industry, which should be considered as exemplary, and the purpose is only to illustrate the feasibility of the implementation of the technical solutions of the application, but it does not mean that the applicant has or will necessarily use the scheme.

[0049] The technical solutions provided by the embodiments of the present application are described in detail below with reference to the drawings.

[0050] Figure 1 A flowchart of a mechanical antenna control method provided by the embodiments of the present application is shown in FIG. 1. The method can be applied to a mechanical antenna control system, such as the mechanical antenna control system shown in FIG. 2. Figure 2 As shown in FIG. 2, the mechanical antenna control system includes:

[0051] A permanent magnet motor is used to start running according to preset initial rotation speed parameters, to drive the mechanical antenna to run.

[0052] A rotation speed control module is used to receive a rotation speed adjustment signal output by a potentiometer, and convert the rotation speed adjustment signal into a PWM signal, to adjust the rotation speed of the permanent magnet motor based on the PWM signal.

[0053] A rotation speed feedback module is used to measure the actual rotation speed of the permanent magnet motor, and convert the actual rotation speed into a rotation speed pulse signal, and convert the rotation speed pulse signal into an actual rotation speed value for display.

[0054] A feedback adjustment module is used to adjust the rotation speed parameters of the permanent magnet motor according to the actual rotation speed value and the expected rotation speed, so that the rotation speed of the motor reaches the expected rotation speed, to make the mechanical antenna reach the expected frequency.

[0055] In a possible implementation, the rotation speed control module can include:

[0056] A potentiometer is used to output an analog value for controlling the rotation speed of the permanent magnet motor.

[0057] A UNO board is used to receive the analog value, convert the analog value into a PWM signal, and output the PWM signal to an L298N motor drive chip.

[0058] The L298N motor drive chip is used to receive the PWM signal, and adjust the rotation speed of the permanent magnet motor based on the PWM signal.

[0059] Based on the mechanical antenna control system, a mechanical antenna control method can include the following steps, as shown in FIG. 1. Figure 1 As shown in FIG. 1, the mechanical antenna control method can include the following steps:

[0060] S101, control the permanent magnet motor to start running according to preset initial rotation speed parameters, to drive the mechanical antenna to run.

[0061] In embodiments of the present application, a user can preset an initial rotation speed parameter of a permanent magnet motor (hereinafter referred to as motor) so that the motor can run at the preset initial rotation speed. As an example, the initial rotation speed parameter can be a target rotation speed when the motor starts. This parameter can be set in advance according to the operation requirements of the mechanical antenna. For example, if the mechanical antenna needs to start rotating smoothly and slowly, the initial rotation speed parameter can be set to a low value, such as a few dozen revolutions per minute. The initial rotation speed parameter can be stored in a storage unit of a motor control system, and the control system will control the starting process of the motor according to this parameter. The starting of the permanent magnet motor can be realized through the motor control system. The motor control system can send a control signal to the driving circuit of the motor according to the preset initial rotation speed parameter, so that the motor starts rotating at the set initial rotation speed. The permanent magnet motor can be connected to the mechanical antenna. When the motor starts running according to the preset initial rotation speed parameter, the mechanical energy output by the motor can be transmitted to the mechanical antenna, so that the mechanical antenna starts running in a predetermined motion mode under the driving of the motor.

[0062] S102, receiving the rotation speed adjustment signal output by the potentiometer.

[0063] In embodiments of the present application, the potentiometer can be a variable resistor. By adjusting the potentiometer, the potentiometer can output a signal related to the rotation speed, i.e. a rotation speed adjustment signal, such as a voltage signal. This signal can represent the target rotation speed that the user hopes the motor to achieve. For example, when the potentiometer knob is adjusted to the middle position, the potentiometer outputs a medium voltage value, indicating that the motor is expected to run at a medium speed. In this way, the rotation speed adjustment signal output by the potentiometer can be received.

[0064] In a possible implementation, the initial rotation speed parameter can be set through the UNO board of the rotation speed control module.

[0065] In embodiments of the present application, the UNO board (such as Arduino UNO) is a microcontroller development board that can receive user input parameters and store and process them. In embodiments of the present application, the UNO board can be used to set the initial rotation speed parameter of the permanent magnet motor. As an example, the user can input the initial rotation speed parameter to the UNO board in some way (for example, through a potentiometer, a button, a serial communication or other input device connected to the UNO board). When the motor starts, the UNO board can read the stored initial rotation speed parameter and generate a corresponding PWM signal according to this parameter. This PWM signal is then sent to the motor driving chip (such as L298N) to control the motor to start running at the set initial rotation speed.

[0066] Storage parameter: After the UNO board receives the initial rotation speed value input by the user, it stores it in the internal storage unit. This stored value will be used as the reference rotation speed when the motor is started.

[0067] S103, convert the rotation speed adjustment signal into a PWM signal, and adjust the rotation speed of the permanent magnet motor based on the PWM signal.

[0068] In the embodiments of the present application, the PWM (Pulse Width Modulation) signal is a signal that adjusts the rotation speed of the motor by controlling the width of the pulse. The system (i.e. the control system of the mechanical antenna) can first convert the voltage signal output by the potentiometer into a PWM signal. Then, this PWM signal can be sent to the motor. The motor can adjust its rotation speed according to the pulse width of the PWM signal. It can be understood that the greater the pulse width, the higher the rotation speed of the motor; the smaller the pulse width, the lower the rotation speed of the motor.

[0069] S104, measure the actual rotation speed of the permanent magnet motor, and convert the actual rotation speed into a rotation speed pulse signal.

[0070] In the embodiments of the present application, the actual rotation speed of the permanent magnet motor can be measured by a rotation speed sensor. The rotation speed sensor can generate a pulse signal according to the rotation of the motor, and each pulse in the pulse signal can represent a certain angle of rotation of the motor. These pulse signals can reflect the actual rotation speed of the motor. It can be understood that the more pulses generated per second, the higher the rotation speed of the motor.

[0071] S105, convert the rotation speed pulse signal into an actual rotation speed value for display.

[0072] In the embodiments of the present application, the system can convert the pulse signal measured by the rotation speed sensor into a specific rotation speed value (such as revolutions per minute RPM), i.e. the actual rotation speed value of the motor. It can be understood that the actual rotation speed value of the motor can be displayed by a rotation speed display, so that the user can view the actual rotation speed of the motor in real time, and intuitively understand the actual running speed of the motor.

[0073] S106, adjust the rotation speed parameter of the permanent magnet motor according to the actual rotation speed value and the expected rotation speed, so that the rotation speed of the motor reaches the expected rotation speed, so that the mechanical antenna reaches the expected frequency.

[0074] In the embodiments of the present application, the system can compare the actual speed value of the motor with the expected speed set by the user, and adjust the speed parameter of the permanent magnet motor according to the actual speed value and the expected speed, so that the speed of the motor reaches the expected speed, so that the mechanical antenna reaches the expected frequency, wherein the expected speed can be set by a potentiometer, for example. For example, if the actual speed is lower than the expected speed, the pulse width of the PWM signal can be increased to increase the speed of the motor; on the contrary, if the actual speed is higher than the expected speed, the pulse width of the PWM signal can be reduced to reduce the speed of the motor. In this way, the speed parameter of the motor can be continuously adjusted until the actual speed of the motor is consistent with the expected speed, thereby ensuring that the mechanical antenna can operate at the expected frequency.

[0075] In the embodiments of the present application, the permanent magnet motor is controlled to start operating according to the preset initial speed parameter to drive the mechanical antenna to operate; a speed adjustment signal output by a potentiometer is received; the speed adjustment signal is converted into a PWM signal, and the speed of the permanent magnet motor is adjusted based on the PWM signal; the actual speed of the permanent magnet motor is measured, and the actual speed is converted into a speed pulse signal; the speed pulse signal is converted into an actual speed value for display; and the speed parameter of the permanent magnet motor is adjusted according to the actual speed value and the expected speed, so that the speed of the motor reaches the expected speed, so that the mechanical antenna reaches the expected frequency. In this way, through accurate speed control, real-time feedback adjustment and user-friendly operation interface, the performance and operating stability of the mechanical antenna can be significantly improved.

[0076] In some possible implementations, receiving a speed adjustment signal output by a potentiometer includes:

[0077] The potentiometer of the speed adjustment control module outputs an analog value for controlling the speed of the permanent magnet motor.

[0078] In the embodiments of the present application, when the knob of the potentiometer is adjusted, the potentiometer outputs an analog voltage value related to the position of the knob, that is, an analog value, which represents the speed target that the user hopes the motor to reach. For example, if the knob is adjusted to the lowest position, the potentiometer outputs a lower voltage value, indicating that the motor is expected to operate at a lower speed; if the knob is adjusted to the middle position, the potentiometer outputs a medium voltage value, indicating that the motor is expected to operate at a medium speed; if the knob is adjusted to the highest position, the potentiometer outputs a higher voltage value, indicating that the motor is expected to operate at a higher speed. The analog value can be sent to the motor control system, which can adjust the speed of the motor according to the analog value. It can be understood that the higher the analog value, the higher the speed target of the motor; the lower the analog value, the lower the speed target of the motor.

[0079] In some possible implementations, the rotating speed adjusting signal is converted into a PWM signal, and the rotating speed of the permanent magnet motor is adjusted based on the PWM signal, including:

[0080] The analog value is received by the UNO board of the rotating speed control module;

[0081] The analog value is converted into a PWM signal;

[0082] The PWM signal is output to the L298N motor drive chip of the rotating speed control module;

[0083] The rotating speed of the permanent magnet motor is adjusted based on the PWM signal by the L298N motor drive chip.

[0084] In the embodiments of the present application, the analog value can be received by the UNO board of the rotating speed control module, for example, the analog value output by the potentiometer can be connected to the analog input pin of the UNO board, so that the UNO board can read this analog value. The UNO board can convert the received analog value into a corresponding PWM signal. As an example, the UNO board can generate a PWM pulse with a corresponding width according to the size of the analog value voltage. For example, a higher analog voltage value will generate a wider PWM pulse, and a lower analog voltage value will generate a narrower PWM pulse. The PWM signal generated by the UNO board can be sent to the input end of the L298N motor drive chip through the digital output pin, and the L298N chip can control the rotating speed of the motor according to the received PWM signal, for example, the permanent magnet motor can adjust its rotating speed according to the current and voltage provided by the L298N chip, and finally reach the rotating speed corresponding to the PWM signal.

[0085] In some possible implementations, the actual rotating speed of the permanent magnet motor is measured, and the actual rotating speed is converted into a rotating speed pulse signal, including:

[0086] The actual rotating speed of the permanent magnet motor is measured by using the rotating speed sensor of the rotating speed feedback module; wherein the rotating speed sensor is an optical rotating speed sensor;

[0087] The rotating speed signal of the actual rotating speed is converted into a rotating speed pulse signal.

[0088] In embodiments of the present application, the actual speed of the permanent magnet motor is measured, and the actual speed is converted into a speed pulse signal. The actual speed of the permanent magnet motor can be measured by an optical speed sensor, for example. The optical speed sensor can be installed near the motor shaft so that it can detect a mark on the motor shaft. When the motor is running, the optical speed sensor can detect the passing of the mark and generate an electrical signal, such as a pulse signal, related to the speed of the motor. It can be understood that the electrical signal output by the optical speed sensor is usually a pulse signal, and each pulse represents a certain angle of rotation of the motor shaft. For example, if there is a mark on the motor shaft, one pulse will be generated per revolution; if there are multiple marks, multiple pulses will be generated per revolution. The frequency of these pulse signals is directly proportional to the actual speed of the motor. By calculating the number of pulses generated per unit time, the actual speed of the motor can be determined. For example, if 100 pulses are generated per second and each pulse represents one revolution of the motor shaft, the actual speed of the motor is 100 revolutions per minute (RPM).

[0089] In some possible implementations, converting the speed pulse signal into an actual speed value for display includes:

[0090] converting the speed pulse signal into an actual speed value by a speed display of the speed feedback module;

[0091] displaying the actual speed value by the speed display.

[0092] In embodiments of the present application, the actual speed value can be displayed by the speed display. For example, the speed display can receive the pulse signal from the optical speed sensor and calculate the number of pulses received per unit time. For example, if 100 pulses are received per second and each pulse represents one revolution of the motor shaft, the actual speed of the motor is 100 revolutions per minute. In this way, the speed display can convert the speed pulse signal into an actual speed value. Then, the speed display can display the calculated actual speed value in real time. It can be understood that the value on the display screen can also be updated in real time to reflect the actual speed of the motor. For example, if the speed of the motor changes, the display will quickly update the displayed actual speed value. In this way, the user can monitor the running speed of the motor in real time to ensure that it meets the expected requirements.

[0093] In further possible implementations, adjusting the speed parameter of the permanent magnet motor according to the actual speed value and the expected speed so that the speed of the motor reaches the expected speed to make the mechanical antenna reach the expected frequency includes:

[0094] adjusting the speed parameter of the permanent magnet motor by the UNO board according to the actual speed value and the expected speed so that the speed of the permanent magnet motor reaches the expected speed to make the mechanical antenna reach the expected frequency.

[0095] In the embodiments of the present application, according to the actual speed value and the expected speed, the speed parameter of the permanent magnet motor is adjusted so that the speed of the motor reaches the expected speed, so that the mechanical antenna reaches the expected frequency. At this time, the actual speed and the expected speed can be compared first, for example, the UNO board can read the actual speed value and the expected speed value in real time, and compare the two. If the actual speed is inconsistent with the expected speed, the UNO board can take corresponding adjustment measures according to the difference. As an example, the UNO board can adjust the pulse width of the output PWM signal according to the difference between the actual speed and the expected speed. If the actual speed is lower than the expected speed, the UNO board can increase the pulse width of the PWM signal to increase the speed of the motor; if the actual speed is higher than the expected speed, the UNO board can reduce the pulse width of the PWM signal to reduce the speed of the motor. The adjusted PWM signal can be sent to the L298N motor drive chip through the digital output pin of the UNO board. After receiving the PWM signal output by the UNO board, the L298N motor drive chip can adjust the current and voltage of the motor according to the pulse width of the PWM signal, so as to control the speed of the motor to reach the expected speed. It can be understood that the speed of the permanent magnet motor can directly affect the operating frequency of the mechanical antenna, when the speed of the motor reaches the expected speed, the operating frequency of the mechanical antenna will also correspondingly reach the expected frequency, so as to ensure that the antenna can work normally according to the preset parameters.

[0096] According to the embodiments of the present application, the present application also discloses a computer readable storage medium and a computer program product.

[0097] The program code of the computer program product for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to the processor or controller of a general purpose computer, a special purpose computer, or other programmable data processing apparatus, so that the program codes make the functions / operations specified in the flowchart and / or block diagram be implemented when executed by the processor or controller. The program code can be executed completely on the machine, partially on the machine, partially on the machine and partially on a remote machine, or completely on a remote machine or server.

[0098] In the context of this application, a computer-readable storage medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can be a machine-readable signal medium or a machine-readable storage medium. A computer-readable storage medium can include but is not limited to an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a computer-readable storage medium can include a wired or wireless electrical connection, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0099] To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the computer. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.

[0100] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), the Internet, and a blockchain network.

[0101] The computer system can include clients and servers. This relationship can be. remote, where each server is stored on a remote computer from a client. The clients and the servers can be connected through a communication network. The relationship can be a client-server relationship over a network. Servers can be cloud servers, also known as cloud computing servers or cloud hosts, which are a host product in the cloud computing service system. The servers can be servers of a distributed system, or servers combined with a blockchain.

[0102] It should be understood that the various forms of flow shown above can be reordered, steps added or removed. For example, the steps described in this application can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technology disclosed in this application can be achieved, which is not limited herein.

[0103] The above detailed description does not constitute a limitation on the scope of protection of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present application shall be included in the scope of protection of the present application.

Claims

1. A mechanical antenna control method, characterized in that, include: The permanent magnet motor is controlled to start running according to the preset initial speed parameters, driving the mechanical antenna to run; Receive the speed adjustment signal output by the potentiometer; The speed adjustment signal is converted into a PWM signal, and the speed of the permanent magnet motor is adjusted based on the PWM signal; The actual rotational speed of the permanent magnet motor is measured, and the actual rotational speed is converted into a rotational speed pulse signal. The speed pulse signal is converted into an actual speed value for display. Based on the actual rotational speed and the expected rotational speed, the rotational speed parameters of the permanent magnet motor are adjusted so that the motor's rotational speed reaches the expected speed, thereby enabling the mechanical antenna to reach the expected frequency.

2. The mechanical antenna control method according to claim 1, characterized in that, The speed adjustment signal output by the receiving potentiometer includes: Adjust the potentiometer of the speed control module to output an analog value that controls the speed of the permanent magnet motor.

3. The mechanical antenna control method according to claim 2, characterized in that, The step of converting the speed adjustment signal into a PWM signal and adjusting the speed of the permanent magnet motor based on the PWM signal includes: The analog value is received by the UNO board of the speed control module; Convert the analog value into a PWM signal; The PWM signal is output to the L298N motor driver chip of the speed control module; The L298N motor driver chip adjusts the speed of the permanent magnet motor based on the PWM signal.

4. The mechanical antenna control method according to claim 3, characterized in that, The initial speed parameters are set via the UNO board of the speed control module.

5. The mechanical antenna control method according to claim 1, characterized in that, The step of measuring the actual rotational speed of the permanent magnet motor and converting the actual rotational speed into a rotational speed pulse signal includes: The actual rotational speed of the permanent magnet motor is measured using a rotational speed sensor in a rotational speed feedback module; wherein, the rotational speed sensor is a photoelectric rotational speed sensor. The actual rotational speed signal is converted into a rotational speed pulse signal.

6. The mechanical antenna control method according to claim 5, characterized in that, The step of converting the speed pulse signal into an actual speed value for display includes: The speed pulse signal is converted into an actual speed value by the speed display of the speed feedback module; The actual rotational speed value is displayed on the rotational speed display.

7. The mechanical antenna control method according to claim 3, characterized in that, The step of adjusting the speed parameters of the permanent magnet motor according to the actual speed value and the expected speed, so that the motor speed reaches the expected speed, and so that the mechanical antenna reaches the expected frequency, includes: Based on the actual rotational speed and the expected rotational speed, the rotational speed parameters of the permanent magnet motor are adjusted via the UNO board to ensure that the rotational speed of the permanent magnet motor reaches the expected speed, thereby enabling the mechanical antenna to reach the expected frequency.

8. A mechanical antenna control system, characterized in that, include: Permanent magnet motor: Used to start and run according to preset initial speed parameters to drive the mechanical antenna; Speed ​​control module: used to receive the speed adjustment signal output by the potentiometer, convert the speed adjustment signal into a PWM signal, and adjust the speed of the permanent magnet motor based on the PWM signal; Speed ​​feedback module: used to measure the actual speed of the permanent magnet motor and convert the actual speed into a speed pulse signal; In addition, the rotational speed pulse signal is converted into an actual rotational speed value for display; Feedback adjustment module: used to adjust the speed parameters of the permanent magnet motor according to the actual speed value and the expected speed, so that the speed of the motor reaches the expected speed, so that the mechanical antenna reaches the expected frequency.

9. The mechanical antenna control system according to claim 9, characterized in that, The speed control module includes: A potentiometer is used to output an analog value that controls the speed of the permanent magnet motor; The UNO board is used to receive the analog value; convert the analog value into a PWM signal; and output the PWM signal to the L298N motor driver chip. The L298N motor driver chip is used to receive the PWM signal and adjust the speed of the permanent magnet motor based on the PWM signal.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the mechanical antenna control method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Advance angle control method and device and permanent magnet motor

    CN112701965A

  • Servo control system and method for MSK signal loading of mechanical antenna

    CN113346818A

  • Eddy current sensor system of permanent magnet synchronous motor and control method

    CN118984094A