User terminal equipment and method for controlling user terminal equipment
By using the processing chip to control the output pulse signal of the driver chip in the user terminal equipment, 360° rotation of the millimeter wave antenna is achieved, solving the complex problem of rotation control in the prior art, simplifying the design, reducing costs and protecting the motor.
Patent Information
- Application Number
- CN202210361784.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-07
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2042-04-07
AI Technical Summary
In the prior art, the rotation control scheme of millimeter wave antennas is relatively complex, resulting in increased costs and increased design complexity.
By using a processing chip to control the driving chip in the user terminal device, a pulse signal is output to drive the motor to rotate the antenna, and 360° rotation of the antenna is achieved. This solution does not require the addition of Hall components and magnetic parts, which simplifies the control scheme and reduces costs.
The 360° rotation of the antenna is achieved, the control scheme is simplified, the design complexity is reduced, and the product manufacturing cost is saved, while protecting the motor and avoiding blockage.
Smart Images

Figure CN114843780B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a user terminal device and a method for controlling the user terminal device. Background Art
[0002] Customer Premises Equipment (CPE) is a network switching device commonly used for indoor / short-range communications. When millimeter wave antennas are used in user terminal equipment, since millimeter wave antennas have strong directivity, if omnidirectional coverage of signals is to be achieved, the millimeter wave antennas usually need to be rotated to obtain the best direction with the strongest signal. However, in the related art, the rotation control scheme of millimeter wave antennas is relatively complex, resulting in increased costs. Summary of the invention
[0003] The present application provides a user terminal device and a control method for the user terminal device, wherein the user terminal device can simplify the control scheme, reduce the design complexity and save costs.
[0004] In a first aspect, the present application provides a user terminal device, the user terminal device comprising:
[0005] An antenna, used to receive a first network signal;
[0006] A motor, used for driving the antenna to rotate;
[0007] A driving chip, used to drive the motor so that the motor drives the antenna to rotate in a first direction or a second direction, wherein the first direction and the second direction are opposite directions;
[0008] A processing chip configured to:
[0009] outputting a first pulse, wherein the first pulse is used to control the driving chip so that the motor drives the antenna to rotate in the first direction;
[0010] Determine whether the motor is stalled in the process of driving the antenna to rotate in the first direction, and output a reversal signal when the motor is stalled, wherein the reversal signal is used to control the motor to reverse through the driving chip so that the motor drives the antenna to rotate in the second direction; and
[0011] Outputting a preset number of second pulses, where the second pulses are used to control the driving chip so that the motor drives the antenna to rotate one circle in the second direction;
[0012] The rotation angle X of the antenna satisfies: X=n×Y, wherein n is the number of pulses, and Y is the antenna rotation angle corresponding to one pulse.
[0013] In a second aspect, the present application further provides a method for controlling a user terminal device, the user terminal device comprising: an antenna and a motor, the antenna being used to receive a first network signal; the motor being used to drive the antenna to rotate; the method for controlling the user terminal device comprising:
[0014] Outputting a first pulse, wherein the first pulse is used to drive the motor to rotate so as to rotate the antenna in a first direction;
[0015] Determining whether the motor is stalled in the process of driving the antenna to rotate in the first direction;
[0016] When the motor is stalled, a reversal signal is output, wherein the reversal signal is used to reverse the motor and drive the antenna to rotate in a second direction through the motor, wherein the second direction is opposite to the first direction;
[0017] Output a preset number of second pulses for driving the motor to rotate, so that the antenna rotates one circle from the stalled position to the second direction, and the rotation angle X of the antenna satisfies: X=n×Y, where n is the number of pulses and Y is the antenna rotation angle corresponding to one pulse.
[0018] In the present application, the processing chip can output a first pulse to the driving chip, so that the driving chip drives the motor, and the motor then drives the antenna to rotate in the first direction. During this process, the processing chip determines whether the motor is blocked. If the motor is blocked, the processing chip outputs a reversal signal and a second pulse to enable the driving chip to control the motor to reverse, and then drive the antenna to rotate in the second direction through the motor. Since the rotation angle of the antenna satisfies a specific quantitative relationship, the antenna can be rotated in the second direction for one circle by outputting a preset number of second pulses, thereby enabling the antenna to obtain different first network signals in the circumferential direction. Compared with the related art, the present application only uses the original processing chip to realize the rotation of the antenna 360°, and there is no need to add Hall elements and magnetic parts. On the one hand, this can simplify the control scheme and reduce the design complexity, and on the other hand, it also saves the manufacturing cost of the product. Moreover, since the processing chip realizes the rotation of the antenna for one circle by controlling the number of pulses, the antenna will not encounter the situation of motor blocking during the rotation in the second direction, which is beneficial to protect the motor. 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 implementation will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0020] Figure 1 A schematic diagram of the application environment of the network device provided in the embodiment of the present application.
[0021] Figure 2 A schematic diagram of the structure of a network device provided in an embodiment of the present application.
[0022] Figure 3 for Figure 2 A schematic diagram of a network device shown behind a hidden housing.
[0023] Figure 4 A diagram of the electrical connections within a network device provided in accordance with an embodiment of the present application.
[0024] Figure 5 A schematic diagram of a partial structure of a network device provided in an embodiment of the present application.
[0025] Figure 6 A schematic diagram of a partial structure of a network device provided in another embodiment of the present application.
[0026] Figure 7 A diagram of the electrical connections within a network device provided in accordance with another embodiment of the present application.
[0027] Figure 8 A schematic diagram of a partial structure of a network device provided in another embodiment of the present application.
[0028] Fig. 9 A diagram of the electrical connections within a network device provided in accordance with another embodiment of the present application.
[0029] Fig.10 A flowchart of a method for controlling a user terminal device provided in one embodiment of the present application.
[0030] Fig.11 A flowchart of a method for controlling a user terminal device provided in another embodiment of the present application.
[0031] Fig.12 A flowchart of a method for controlling a user terminal device provided in yet another embodiment of the present application.
[0032] Fig.13 A flowchart of a method for controlling a user terminal device provided in yet another embodiment of the present application.
[0033] Fig.14 A flowchart of a method for controlling a user terminal device provided in yet another embodiment of the present application.
[0034] Fig.15 A flowchart of a method for controlling a user terminal device provided in yet another embodiment of the present application. DETAILED DESCRIPTION
[0035] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0036] Reference to "embodiment" or "implementation" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment or implementation may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0037] Please refer to Figure 1 , the present application provides a user terminal device 1 (Customer Premises Equipment, CPE). The user terminal device 1 is a network switching device commonly used for indoor / short-range communication, or a signal access device that receives a signal and forwards it as a wireless signal. The user terminal device 1 communicates with the base station 2, receives a first network signal sent by the base station 2, and converts the first network signal into a second network signal. The second network signal can be used by smart devices 3 such as mobile phones, tablet computers, and laptops. Among them, the first network signal can be but is not limited to a fifth generation mobile communication technology (5th generation mobile networks, 5G) signal, and the second network signal can be but is not limited to a wireless fidelity technology (Wireless Fidelity, WiFi) signal. The user terminal device 1 can be widely used in rural areas, towns, hospitals, factories, communities, etc.
[0038] Please refer to Figure 2 The user terminal device 1 includes a housing 11. The shape of the housing 11 can be a multi-faceted columnar tube, or a cylindrical tube. The material of the housing 11 can be, but is not limited to, insulating materials such as plastic. It can be understood that in other embodiments, the user terminal device 1 may not include the housing 11.
[0039] Please refer to Figure 3 and Figure 4 The user terminal device 1 further includes an antenna 12 and a signal converter 13. The antenna 12 is used to receive a first network signal, and the signal converter 13 is used to convert the first network signal received by the antenna 12 into a second network signal. When the user terminal device 1 includes a housing 11, the antenna 12 and the signal converter 13 may be disposed in the housing 11.
[0040] The first network signal may be, but is not limited to, a millimeter wave signal. Currently, in the fifth generation wireless systems (5G), according to the 3GPP TS 38.101 protocol, the 5G new radio (NR) mainly uses two frequency bands: FR1 band and FR2 band. Among them, the frequency range of the FR1 band is 450MHz to 6GHz, also known as the sub-6GHz band; the frequency range of the FR2 band is 24.25GHz to 52.6GHz, which belongs to the millimeter wave (mm Wave) band. The 3GPP Release 15 version specifies the current 5G millimeter wave bands: n257 (26.5 to 29.5GHz), n258 (24.25 to 27.5GHz), n261 (27.5 to 28.35GHz) and n260 (37 to 40GHz).
[0041] Millimeter wave signals have advantages such as fast transmission rate, however, millimeter wave signals have large propagation loss and are easily blocked by external objects. For example, in complex urban environments and some locations slightly far from the base station 2, the signal strength of the first network signal will become weak. In order to solve or weaken the problem of weak received signals, a rotating structure capable of 360° rotation is provided in the user terminal device 1. The rotating structure is used to drive the antenna 12 to rotate so that the antenna 12 receives the first network signal from different directions, and then selects the position with the best signal strength as the best orientation.
[0042] Please refer to Figure 5 and Figure 6 Specifically, the user terminal device 1 further includes a base 14, a bracket 15, and a driving component 16. The base 14 is fixed and can be directly or indirectly fixed to the housing 11 of the user terminal device 1. The bracket 15 is rotatably connected to the base 14. The antenna 12 is directly or indirectly supported on the bracket 15. The driving component 16 is disposed in a housing formed by the base 14. The driving component 16 is used to drive the bracket 15 to rotate relative to the base 14, so that the bracket 15 drives the antenna 12 to rotate.
[0043] Please refer to Figure 6, the driving component 16 includes a motor 161 and a plurality of gears 162. The motor 161 is connected to the gear 162, and the gear 162 is connected to the bracket 15. The motor 161 can drive the gear 162 to rotate, and the gear 162 then drives the bracket 15 to rotate. The step angle of the motor 161 is a first angle, and the gear 162 is used to convert the first angle into a second angle, and the second angle is smaller than the first angle. Such a setting can improve the rotation accuracy of the antenna 12. The so-called step angle refers to the mechanical angle through which the output shaft of the motor 161 rotates when a pulse signal is input. The step angle of the motor 161 can be, but is not limited to, 3°, 1.5°, 0.75°, 3.6°, 360°, or 1.8°.
[0044] Please refer to Figure 7 The user terminal device 1 further includes a driving chip 18 and a processing chip 17. The processing chip 17 is electrically connected to the driving chip 18, and the processing chip 17 is used to send a pulse signal to the driving chip 18. The driving chip 18 is electrically connected to the motor 161, and the driving chip 18 drives the output shaft of the motor 161 to rotate after receiving the pulse signal.
[0045] Please combine Figure 5 Reference Figure 8 , further, the antenna 12 is a millimeter wave antenna. The user terminal device 1 also includes a small board 21, a main board 19 and a transmission wire 22. The antenna 12 is electrically connected to the small board 21. The small board 21 is directly or indirectly carried on the bracket 15 to drive the antenna 12 to rotate. The processing chip 17 is electrically connected to the main board 19, and the main board 19 is fixedly arranged. The transmission wire 22 is electrically connected to the small board 21 and the main board 19 to enable the antenna 12 and the processing chip 17 to communicate. Among them, the small board 21 and the main board 19 are both circuit boards.
[0046] It is understandable that, since the small plate 21 is rotatable and the main plate 19 is fixed, the transmission wire 22 connected therebetween will be pulled and wound during the rotation of the antenna 12. If the rotation angle of the antenna 12 exceeds 360°, the transmission wire may be damaged due to strong pulling. Therefore, in order to avoid over-winding, the angular position of the antenna 12 needs to be detected at any time.
[0047] In the related art, the angle detection of the antenna 12 is realized by the Hall element, which can detect the magnetic field of the magnetic part. By applying this principle, one of the Hall element and the magnetic part is set on the rotatable bracket 15, and the other is set on the fixed base 14, so that the Hall element can sense the position information of the antenna 12 through the magnetic part, and then feed the position information back to the processing chip 17, and the processing chip 17 can make corresponding control actions in real time according to the position information. However, the method of using the Hall element to detect the position will increase the cost and the design complexity of the solution.
[0048] Based on this, the present application hopes to provide a solution that can solve but is not limited to the above-mentioned technical problems, the details of which will be explained in the subsequent embodiments.
[0049] Specifically, the antenna 12 is used to receive a first network signal. The motor 161 is used to drive the antenna 12 to rotate. The driving chip 18 is used to drive the motor 161 so that the motor 161 drives the antenna 12 to rotate in a first direction or a second direction, wherein the first direction and the second direction are opposite directions. The processing chip 17 is used to output a first pulse, and the first pulse is used to control the driving chip 18 so that the motor 161 drives the antenna 12 to rotate in the first direction. The processing chip 17 is also used to determine whether the motor 161 is blocked in the process of driving the antenna 12 to rotate in the first direction. When the motor 161 is blocked, the processing chip 17 outputs a reversal signal, and the reversal signal is used to control the motor 161 to reverse through the driving chip 18 so that the motor 161 drives the antenna 12 to rotate in the second direction. The processing chip 17 is also used to output a preset number of second pulses, and the second pulse is used to control the driving chip 18 so that the motor 161 drives the antenna 12 to rotate in the second direction for one circle. The rotation angle X of the antenna 12 satisfies: X=n×Y, wherein n is the number of pulses, and Y is the rotation angle of the antenna 12 corresponding to a second pulse.
[0050] In other words, the processing chip 17 first outputs a first pulse to the driving chip 18. After receiving the first pulse, the driving chip 18 drives the motor 161 to rotate, and the motor 161 then drives the antenna 12 to rotate in the first direction. During the process of the antenna 12 rotating in the first direction, the processing chip 17 will determine in real time whether the motor 161 is blocked. If the motor 161 encounters a blocking situation, the processing chip 17 outputs a reverse signal to the driving chip 18. After receiving the reverse signal, the driving chip 18 controls the voltage of the two electrodes connected to the motor 161 to reverse, so that the output shaft of the motor 161 rotates in the opposite direction the next time. Subsequently, the processing chip 17 outputs a second pulse to the driving chip 18. After receiving the second pulse, the driving chip 18 controls the motor 161 to rotate in the second direction. Among them, the number of second pulses is a preset number, and the preset number of second pulses causes the antenna 12 to rotate one circle in the second direction, that is, to rotate 360°.
[0051] It should be noted that there is no difference between the first pulse and the second pulse, and they are named independently only for the sake of understanding the scheme. Regardless of whether the antenna 12 rotates in the first direction or the second direction, a complete rotation of the antenna 12 is composed of multiple sub-rotations. Each sub-rotation corresponds to multiple pulses, that is, the processing chip 17 outputs multiple pulses each time, so that the antenna 12 completes a small-angle sub-rotation.
[0052] As can be seen from the previous introduction, the processing chip 17 outputs a pulse signal, the motor 161 rotates a certain angle accordingly, and the antenna 12 rotates the corresponding angle. Therefore, there is a positive mapping relationship between the number of pulse signals and the angle of rotation of the antenna 12, that is, the rotation angle X of the antenna 12 satisfies: X=n×Y, where n is the number of pulses and Y is the rotation angle of the antenna 12 corresponding to one pulse. It should be noted that the parameter Y is a coefficient related to the transmission of the gear 162, that is, the value of Y is related to the parameters of the gear 162. For example, if the number of pulses is 7200, the corresponding rotation angle of the antenna 12 is 360°, and the value of Y is 0.05. Therefore, according to the above relationship, the processing chip 17 can control the antenna 12 to rotate 360° according to the number of second pulses. It can be understood that in other embodiments, the number of pulses n corresponding to the rotation of the antenna 12 by 360° and the rotation angle Y of the antenna 12 corresponding to one pulse can also be other values, which is only an exemplary description.
[0053] It should be noted that the user terminal device 1 also has a limiting structure, which is a blocking structure for blocking the motor 161 to avoid the above-mentioned problem of excessive winding. Among them, the so-called blocking refers to a situation where the output shaft of the motor 161 still outputs torque when the speed is zero. The limiting structure enables the antenna 12 to have a first position and a second position, and the first position and the second position overlap with each other and differ by 360°. In other words, when the antenna 12 switches between the first position and the second position, it needs to rotate 360°. When the antenna 12 is in the first position and the second position, the motor 161 is blocked. The limiting structure can be, but is not limited to, set on the gear 162 or the bracket 15. When the antenna 12 is in the first position and the second position, the movement of the gear 162 or the bracket 15 is limited, so that the motor 161 is blocked.
[0054] When the antenna 12 is in the first position, the antenna 12 cannot move in the first direction, but can rotate 360° in the second direction. When the antenna 12 is in the second position, the antenna 12 cannot move in the second direction, but can rotate 360° in the first direction.
[0055] It is understandable that there are three situations for the initial position of the antenna 12, one is located at the first position, the second is located at the second position, and the third is located between the first position and the second position. In this embodiment, no matter where the initial position of the antenna 12 is located, the processing chip 17 first sends a first pulse to rotate the antenna 12 in one direction, and determines in real time whether the motor 161 is blocked. If the motor 161 is blocked, it indicates that the antenna 12 has rotated to the first position. At this time, the processing chip 17 controls the number of second pulses to make the antenna 12 reverse 360° to reach the second position. During the reversal process, the antenna 12 can obtain different first network signals in different directions of 360°.
[0056] Compared with the related art, the present application only uses the original processing chip 17 to realize the 360° rotation of the antenna 12, and does not need to add Hall elements and magnetic parts. This can simplify the control scheme and reduce the design complexity on the one hand, and save the manufacturing cost of the product on the other hand. Moreover, since the processing chip 17 realizes the rotation of the antenna 12 by controlling the number of pulses, the antenna 12 will not encounter the situation that the motor 161 is blocked during the rotation in the second direction, which is conducive to protecting the motor 161.
[0057] The following describes how to use the processing chip 17 to make the number of second pulses reach the preset number.
[0058] In one embodiment, the processing chip 17 is further used to clear the number of first pulses and gradually count the number of second pulses until the number of second pulses reaches a preset number. Specifically, when the processing chip 17 determines that the motor 161 encounters a stall, the number of first pulses counted when the antenna 12 rotates in the first direction is cleared, and then the second pulses are gradually counted based on the first pulse number being zero, thereby avoiding interference of the first pulse number on the second pulse number.
[0059] In another embodiment, the processing chip 17 is also used to calculate the difference between the total number of pulses and the first number of pulses until the absolute value of the difference reaches a preset number, wherein the total number of pulses is the total number of pulses output by the processing chip 17 counted since the motor 161 drives the antenna 12 to start rotating, and can also be understood as the sum of the number of first pulses and second pulses counted in real time. Specifically, the processing chip 17 cannot distinguish between the first pulse and the second pulse. When counting the number of second pulses, the first pulse is also counted. That is to say, if the processing chip 17 does not perform zeroing, the number of pulses counted is the sum of the number of first pulses and the number of second pulses, that is, the total number of pulses. In this embodiment, when the processing chip 17 determines that the motor 161 encounters a stall, it records the number of first pulses currently counted. Subsequently, in the process of driving the antenna 12 to rotate in the second direction, the processing chip 17 subtracts the number of first pulses from the total number of pulses counted until the difference between the two reaches a preset number. It can be understood that the difference between the total number of pulses and the number of first pulses is the number of second pulse signals, so that the influence of the number of first pulses on the number of second pulses can be avoided. It should be noted that, in this embodiment, the number of the first pulses may be zero, that is, the initial position of the antenna 12 is the first position.
[0060] For further information, please refer to Fig. 9The user terminal device 1 further includes a detection circuit 20, which is used to obtain the driving parameters of the driving chip 18 driving the motor 161. The processing chip 17 is also used to compare the driving parameters with the preset parameters, and when the driving parameters do not match the preset parameters, it is determined that the motor 161 is blocked.
[0061] Among them, the driving parameters can be but are not limited to current and voltage, and the corresponding preset parameters can be but are not limited to preset current and preset voltage. For current, when the motor 161 is blocked, the current will increase, so it is possible to determine whether the motor 161 is blocked by the current. When the current of the driver chip driving the motor is greater than the preset current, the processing chip 17 determines that the motor 161 is blocked. For voltage, when the motor 161 is blocked, the voltage will decrease, so it is possible to determine whether the motor 161 is blocked by the voltage. When the voltage of the driver chip driving the motor is less than the preset voltage, the processing chip 17 determines that the motor 161 is blocked. It should be noted that the preset parameter can be a fixed value or a range value. Similarly, the driving parameter can be an instantaneous value at a certain moment or an average value within a period of time.
[0062] Furthermore, during the process of the antenna 12 rotating from the blocked position to the second direction, the processing chip 17 is also used to record the signal strength of the first network signal received by the antenna 12 in each direction, and count the number of second pulses corresponding to each signal strength until the number of second pulses reaches a preset number. The processing chip 17 is also used to determine the first network signal with the largest signal strength based on the signal strengths of the recorded multiple first network signals, and control the motor 161 to drive the antenna 12 to rotate along the first direction to the position where the first network signal with the largest signal strength is located.
[0063] In other words, when the antenna 12 rotates in the second direction, the processing chip 17 outputs multiple second pulses each time, and accumulates the number of second pulses output each time. At the same time, the antenna 12 will gradually receive the first network signal of the position it passes through, and the processing chip 17 will record it until the accumulated number of second pulses reaches a preset number. Subsequently, the processing chip 17 compares the signal strengths of the multiple recorded first network signals to find the corresponding position when the signal strength of the first network signal is the largest. Then the antenna 12 is controlled to rotate to the position where the signal strength of the first network signal is the largest, and the first network signal with the largest signal strength is converted into a second network signal through the signal converter 13, so that the user terminal device 1 sends a second network signal with better signal quality.
[0064] Furthermore, the processing chip 17 is also used to calculate the difference between the number of second pulses corresponding to the position where the signal strength of the first network signal is the largest and a preset number to obtain a target number, and output the target number of third pulses so that the antenna 12 rotates along the first direction to the position where the signal strength of the first network signal is the largest.
[0065] Specifically, the processing chip 17 outputs multiple second pulses each time, so that the antenna 12 completes a small angle rotation each time. After the antenna 12 completes a rotation, the first network signal is obtained. At the same time, since the processing chip 17 accumulates the number of pulse signals, each first network signal has a corresponding number of second pulses. After the antenna 12 rotates 360° in the second direction, the processing chip 17 uses the preset number to subtract the number of second pulses corresponding to the position where the signal strength of the first network signal is the largest, thereby obtaining the target number. Then, the processing chip 17 outputs a reversal signal to the driving chip 18 to control the motor 161 to reverse through the driving chip 18. Subsequently, the processing chip 17 outputs a third pulse again, so that the motor 161 controls the antenna 12 to rotate in the first direction until the number of the third pulses reaches the target number. It can be understood that when the number of the third pulses reaches the target number, the antenna 12 just rotates to the position where the signal strength of the first network signal is the largest.
[0066] It should be noted that the target number is greater than or equal to zero. When the target number is equal to zero, the position where the signal strength of the first network signal is the largest is the second position. When the target number is greater than zero, the position where the signal strength of the first network signal is the largest is between the first position and the second position.
[0067] For further information, please refer to Fig.10 The present application also provides a control method for a user terminal device 1. The user terminal device 1 includes: an antenna 12 and a motor 161. The antenna 12 is used to receive a first network signal. The motor 161 is used to drive the antenna 12 to rotate. For a detailed introduction to the user terminal device 1, please refer to the previous embodiment.
[0068] The control method of the user terminal device 1 includes steps S100, S200, S300, and S400. The introduction of steps S100, S200, S300, and S400 is as follows.
[0069] S100: Output a first pulse, where the first pulse is used to drive the motor 161 to rotate so that the antenna 12 rotates in a first direction.
[0070] S200: Determine whether the motor 161 is stalled while driving the antenna 12 to rotate in the first direction.
[0071] S300: When the motor 161 is stalled, a reversal signal is outputted, where the reversal signal is used to reverse the motor 161 and drive the antenna 12 to rotate in a second direction through the motor 161, where the second direction is opposite to the first direction.
[0072] S400: Output a preset number of second pulses for driving the motor 161 to rotate, so that the antenna 12 rotates one circle in the second direction from the stalled position, and the rotation angle X of the antenna 12 satisfies: X=n×Y, where n is the number of pulses, and Y is the rotation angle of the antenna 12 corresponding to one pulse.
[0073] In short, the antenna 12 is first controlled to rotate in the first direction, and during this process, it is determined in real time whether the motor 161 is blocked. If the motor 161 is blocked, it means that the antenna 12 has rotated to the limit position and can no longer continue to rotate in the first direction. At this time, the antenna 12 is controlled to rotate one circle in the second direction. The essence of this embodiment is to first find the blocking position, and then drive the antenna 12 to rotate one circle by controlling the number of pulses. In this process, no additional angle measurement device, such as a Hall element, is required. The purpose of rotating one circle is achieved only by controlling the number of pulses, and the control of the number of pulses can be achieved by the original processing chip 17. It can be understood that this can simplify the control scheme and reduce the complexity of the design on the one hand, and save the manufacturing cost of the product on the other hand. Moreover, since the processing chip 17 realizes the rotation of the antenna 12 by controlling the number of pulses, the antenna 12 will not encounter the situation of motor 161 blocking during the rotation in the second direction, which is conducive to protecting the motor 161.
[0074] It should be noted that step S300 and step S400 may be performed simultaneously, or may be performed in the order of S300 and S400 , which is not limited here.
[0075] The user terminal device 1 also includes a small board 21, a main board 19 and a transmission wire 22. The antenna 12 is electrically connected to the small board 21. The transmission wire 22 is electrically connected to the small board 21 and the main board 19, so that the antenna 12 and the main board 19 are connected in communication. Among them, the main board 19 is fixedly arranged, and the antenna 12 is a millimeter wave antenna. Please refer to the introduction in the previous structural embodiment and the corresponding drawings for details, which will not be repeated here.
[0076] In the above embodiment, step S400 includes step S410 or S420.
[0077] S410: When the motor 161 is stalled, the number of the first pulses is reset to zero, and the number of the second pulses is gradually counted until the number of the second pulses reaches a preset number. Fig.11 .
[0078] In this embodiment, the number of first pulses originally counted is cleared, and then the number of second pulses is counted. If it is not cleared, the number of second pulses subsequently counted will be accumulated on the basis of the first pulses, which will cause the antenna 12 to stop prematurely, that is, the antenna 12 stays between the first position and the second position, and cannot reach the second position.
[0079] S420: Calculate the difference between the total number of pulses and the first number of pulses until the absolute value of the difference reaches a preset number, wherein the total number of pulses is the total number of pulses used to drive the motor to rotate counted since the motor drives the antenna to start rotating, please refer to Fig.12 .
[0080] In this embodiment, the total number of pulses is calculated in real time minus the number of first pulses. Since the total number of pulses includes the number of first pulses, the remainder after the subtraction is the second number of pulses. When the difference between the total number of pulses and the first number of pulses reaches a preset number, the antenna 12 rotates one circle.
[0081] Please refer to Fig.13 In the above embodiment, step S200 includes steps S210, S220, and S230. Steps S210, S220, and S230 are described as follows.
[0082] S210 : Acquire driving parameters of the driving motor 161 .
[0083] S220: Compare the driving parameters with the preset parameters.
[0084] S230: When the driving parameters do not match the preset parameters, it is determined that the motor 161 is stalled.
[0085] Among them, the driving parameters can be but are not limited to current and voltage, and the corresponding preset parameters can be but are not limited to preset current and preset voltage. For current, when the motor 161 is blocked, the current will increase, so it is possible to determine whether the motor 161 is blocked by the current. When the current driving the motor 161 is greater than the preset current, it is determined that the motor 161 is blocked. For voltage, when the motor 161 is blocked, the voltage will decrease, so it is possible to determine whether the motor 161 is blocked by the voltage. When the voltage driving the motor 161 is less than the preset voltage, it is determined that the motor 161 is blocked. It should be noted that the preset parameter can be a fixed value or a range value. Similarly, the driving parameter can be an instantaneous value at a certain moment or an average value within a period of time.
[0086] Please refer to Fig.14 In the above embodiment, when the antenna 12 rotates from the blocked position to the second direction, the control method further includes steps S430 and S440. Steps S430 and S440 are described as follows.
[0087] S430: Record the signal strength of the first network signal received by the antenna 12 in each direction, and count the number of second pulses corresponding to each signal strength until the number of second pulses reaches a preset number.
[0088] S440: Determine the first network signal with the greatest signal strength according to the recorded signal strengths of the multiple first network signals.
[0089] Specifically, during the rotation of the antenna 12 in the second direction, the number of second pulses will be accumulated. At the same time, the antenna 12 will gradually receive the first network signal of the passed position until the accumulated number of second pulses reaches a preset number. Subsequently, the signal strengths of multiple first network signals are compared to find the position corresponding to the maximum signal strength of the first network signal. Then, the antenna 12 is controlled to rotate to the position where the signal strength of the first network signal is the maximum, and the first network signal with the maximum signal strength is converted into a second network signal, so that the user terminal device 1 sends a second network signal with better signal quality.
[0090] Please refer to Fig.15 In the above embodiment, after the motor 161 drives the antenna 12 to rotate one circle in the second direction, the control method further includes steps S500 and S600. The introduction of steps S500 and S600 is as follows.
[0091] S500: Calculate the difference between the number of second pulses corresponding to the position where the signal strength of the first network signal is the largest and a preset number to obtain a target number.
[0092] S600: Output a target number of third pulses to rotate the antenna 12 along the first direction to a position where the signal strength of the first network signal is maximum.
[0093] Specifically, the antenna 12 completes a small-angle rotation each time. After the antenna 12 completes a rotation, the first network signal is obtained. At the same time, since the number of pulse signals is constantly accumulated, each first network signal has a corresponding number of second pulses. After the antenna 12 rotates 360° in the second direction, the number of second pulses corresponding to the position where the signal strength of the first network signal is the largest is subtracted from the preset number to obtain the target number. Then, an inversion signal and a third pulse are output, so that the motor 161 controls the antenna 12 to rotate in the first direction until the number of the third pulses reaches the target number. It can be understood that when the number of the third pulses reaches the target number, the antenna 12 just rotates to the position where the signal strength of the first network signal is the largest.
[0094] Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limitations on the present application. Ordinary technicians in the field can change, modify, replace and modify the above embodiments within the scope of the present application, and these improvements and modifications are also regarded as the scope of protection of the present application.
Claims
1. A user terminal device, characterized in that: The user terminal device comprises: An antenna, used to receive a first network signal; A motor, used for driving the antenna to rotate; A driving chip, used to drive the motor so that the motor drives the antenna to rotate in a first direction or a second direction, wherein the first direction and the second direction are opposite directions; A processing chip configured to: outputting a first pulse, wherein the first pulse is used to control the driving chip so that the motor drives the antenna to rotate in the first direction; Determine whether the motor is stalled in the process of driving the antenna to rotate in the first direction, and output a reversal signal when the motor is stalled, wherein the reversal signal is used to control the motor to reverse through the driving chip so that the motor drives the antenna to rotate in the second direction; and Outputting a preset number of second pulses, where the second pulses are used to control the driving chip so that the motor drives the antenna to rotate one circle in the second direction; During the process of the antenna rotating from the blocking position toward the second direction, the processing chip is further used to record the signal strength of the first network signal received by the antenna in each direction, and count the number of the second pulses corresponding to each signal strength until the number of the second pulses reaches a preset number; The rotation angle X of the antenna satisfies: X=n×Y, wherein n is the number of pulses, and Y is the antenna rotation angle corresponding to one pulse.
2. The user terminal device according to claim 1, characterized in that: The user terminal device also includes a small board, a main board and a transmission wire, the antenna is electrically connected to the small board, the processing chip is electrically connected to the main board, and the transmission wire is electrically connected to the small board and the main board, so that the antenna and the processing chip are communicatively connected, wherein the main board is fixedly arranged and the antenna is a millimeter wave antenna.
3. The user terminal device according to claim 1, characterized in that: The processing chip is further used to clear the number of the first pulses to zero, and gradually count the number of the second pulses until the number of the second pulses reaches a preset number; Alternatively, the processing chip is also used to calculate the difference between the total number of pulses and the first number of pulses until the absolute value of the difference reaches a preset number, wherein the total number of pulses is the total number of pulses output by the processing chip counted since the motor drives the antenna to start rotating.
4. The user terminal device according to claim 1, characterized in that: The user terminal device also includes a detection circuit, which is used to obtain the driving parameters of the motor driven by the driver chip; the processing chip is also used to compare the driving parameters with preset parameters, and when the driving parameters do not match the preset parameters, it is determined that the motor is stalled.
5. The user terminal device according to claim 4, characterized in that: The driving parameter is current, the preset parameter is a preset current, and when the current driven by the driving chip to drive the motor is greater than the preset current, the processing chip determines that the motor is stalled; Alternatively, the driving parameter is voltage, the preset parameter is a preset voltage, and when the voltage driven by the driving chip to drive the motor is less than the preset voltage, the processing chip determines that the motor is stalled.
6. The user terminal device according to claim 1, characterized in that: The processing chip is also used to determine the first network signal with the greatest signal strength based on the recorded signal strengths of multiple first network signals, and control the motor to drive the antenna to rotate along the first direction to the position of the first network signal with the greatest signal strength.
7. The user terminal device according to claim 6, characterized in that: The processing chip is also used to calculate the difference between the number of second pulses corresponding to the position where the signal strength of the first network signal is the largest and a preset number to obtain a target number, and output the target number of third pulses to rotate the antenna along the first direction to the position where the signal strength of the first network signal is the largest.
8. A method for controlling a user terminal device, the user terminal device comprising an antenna and a motor, the antenna being used to receive a first network signal, the motor being used to drive the antenna to rotate, characterized in that: The control method of the user terminal device includes: Outputting a first pulse, wherein the first pulse is used to drive the motor to rotate so as to rotate the antenna in a first direction; Determining whether the motor is stalled in the process of driving the antenna to rotate in the first direction; When the motor is stalled, a reversal signal is output, wherein the reversal signal is used to reverse the motor and drive the antenna to rotate in a second direction through the motor, wherein the second direction is opposite to the first direction; Outputting a preset number of second pulses for driving the motor to rotate, so that the antenna rotates one circle from the stalled position to the second direction, recording the signal strength of the first network signal received by the antenna in each direction, and counting the number of the second pulses corresponding to each signal strength until the number of the second pulses reaches a preset number; The rotation angle X of the antenna satisfies: X=n×Y, wherein n is the number of pulses, and Y is the antenna rotation angle corresponding to one pulse.
9. The control method of the user terminal device according to claim 8, characterized in that: The user terminal device also includes a small board, a main board and a transmission wire. The antenna is electrically connected to the small board. The transmission wire is electrically connected to the small board and the main board so that the antenna and the main board are communicatively connected. The main board is fixedly arranged and the antenna is a millimeter wave antenna.
10. The control method of the user terminal device according to claim 8, characterized in that: The outputting of a preset number of second pulses for driving the motor to rotate comprises: When the motor is stalled, the number of the first pulses is cleared to zero, and the number of the second pulses is gradually counted until the number of the second pulses reaches a preset number; Or, calculate the difference between the total number of pulses and the first number of pulses until the absolute value of the difference reaches a preset number, wherein the total number of pulses is the total number of pulses used to drive the motor to rotate counted since the motor drives the antenna to start rotating.
11. The control method of the user terminal device according to claim 8, characterized in that: The determining whether the motor is stalled in the process of driving the antenna to rotate in the first direction includes: Acquiring driving parameters for driving the motor; comparing the driving parameters with preset parameters; When the driving parameter does not match the preset parameter, it is determined that the motor is stalled.
12. The control method of the user terminal device according to claim 11, characterized in that: The driving parameter is current, and the preset parameter is a preset current; when the driving parameter does not match the preset parameter, the motor is judged to be stalled, including: when the current driving the motor is greater than the preset current, the motor is judged to be stalled; Or, the driving parameter is voltage, and the preset parameter is a preset voltage; when the driving parameter does not match the preset parameter, the motor is determined to be stalled, including: when the voltage driving the motor is less than the preset voltage, the motor is determined to be stalled.
13. The control method of the user terminal device according to claim 8, characterized in that: During the process of the antenna rotating from the blocked position toward the second direction, the control method further includes: The first network signal with the greatest signal strength is determined according to the recorded signal strengths of the plurality of first network signals.
14. The control method of the user terminal device according to claim 13, characterized in that: After the motor drives the antenna to rotate one circle in the second direction, the control method further includes: Calculate the difference between the number of second pulses corresponding to the position where the signal strength of the first network signal is the largest and a preset number to obtain a target number; The target number of third pulses is output to rotate the antenna along the first direction to a position where the signal strength of the first network signal is maximum.
Citation Information
Patent Citations
Network device
CN111129771A
Marine satellite antenna stop gear
CN207490089U