Swing range control method and apparatus for swing head, and device

By monitoring the swing angle of the swing head and determining the control information for positioning, the problems of large size, high cost and poor portability of the swing head device in the prior art are solved, and sensorless swing range control is realized, reducing costs and improving Portability.

WO2024244120A1PCT designated stage expired Publication Date: 2024-12-05AIRMATE ELECTRICAL (SHEN ZHEN) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/106343
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-30
Filing Date
2023-07-07
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

The existing method of swing head swing range control of the swing head increases the size of the device, is costly and has poor portability due to the addition of position sensors.

Method used

By monitoring the swing angle of the swing head, the first and second control information are determined, and the positioning process is performed based on these information, and the first and second limit information is obtained, thereby realizing the control of the swing angle range without adding a position sensor.

Benefits of technology

The control of the swing range of the head swing is achieved, reducing costs, improving portability, and avoiding the installation needs of sensors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023106343_05122024_PF_FP_ABST
    Figure CN2023106343_05122024_PF_FP_ABST
Patent Text Reader

Abstract

A swing range control method and apparatus for a swing head, and a device. The swing range control method for a swing head comprises: step 110, during swinging of a swing head of a swing head apparatus, monitoring the swing angle of the swing head; step 120, when the swing angle is within a first angle range, determining first control information; step 130, positioning the swing head according to the first control information to obtain first limiting information of the swing head in the first angle range; step 140, when the swing angle is within a second angle range, determining second control information, wherein the first angle range does not coincide with the second angle range; step 150, positioning the swing head according to the second control information to obtain second limiting information of the swing head in the second angle range; and step 160, controlling the swing angle range of the swing head on the basis of the first limiting information and the second limiting information.
Need to check novelty before this filing date? Find Prior Art

Description

Method, device and equipment for controlling the swing range of a swing head

[0001] Citation of Related Applications

[0002] This disclosure claims all rights and interests in the Chinese invention patent application entitled "Method, Device and Equipment for Controlling the Swinging Range of a Swinging Head" filed with the State Intellectual Property Office of the People's Republic of China on May 30, 2023, with application number 202310631511.2, and incorporates the entire contents thereof into this disclosure by reference.

[0003] field

[0004] The present disclosure generally relates to the field of motor technology, and more specifically to a method, device, and apparatus for controlling the swing range of a swing head.

[0005] background

[0006] At present, many mechanical transmission mechanisms need to swing forward, up, down, left and right; for example, fans and stage lights need to achieve three-dimensional swinging, so a swing head device is designed. The swing head device is driven by a motor to swing to control the change of the swing head angle. During the operation of the swing head device, it is often necessary to control the swing range of the swing head around the zero position of the swing head. The existing method of controlling the swing head swing range is to control the swing head angle by adding a position sensor. Since the size of the swing head device is inevitably increased due to the addition of the sensor, the manufacturing cost increases. In addition, the larger size of the swing head device is also prone to poor portability. The equipment for installing the swing head device also needs to reserve more installation space. It can be seen that the existing method of controlling the swing head swing range has problems such as high cost and poor portability.

[0007] Overview

[0008] In a first aspect, the present disclosure provides a method for controlling the swing range of a swing head, comprising:

[0009] During the swinging process of the swinging head of the swinging head device, monitoring the swinging angle of the swinging head;

[0010] When the swing angle is within a first angle range, determining first control information;

[0011] performing positioning processing on the swing head according to the first control information to obtain first position limit information of the swing head within the first angle range;

[0012] determining second control information when the swing angle is within a second angle range, wherein the first angle range and the second angle range do not overlap;

[0013] performing positioning processing on the swing head according to the second control information to obtain second position limiting information of the swing head in the second angle range; and

[0014] Based on the first limit information and the second limit information, the swing angle range of the swing head is controlled.

[0015] In some embodiments, when the swing angle is within a first angle range, determining the first control information includes:

[0016] When the swing angle is within a first angle range, receiving a first positioning operation of the swing head, and extracting the first positioning information from the first positioning operation;

[0017] receiving a first reversing operation corresponding to the first positioning information, and extracting the first reversing information from the first reversing operation; and

[0018] The first control information is determined based on the first positioning information and the first commutation information.

[0019] In some embodiments, performing positioning processing on the swing head according to the first control information to obtain first limit information of the swing head in the first angle range includes:

[0020] Performing head positioning based on the first positioning information to obtain first angle information of the head within the first angle range; and

[0021] Position limiting is performed based on the first angle information to obtain the first position limiting information.

[0022] In some embodiments, after obtaining the first limit information, the method further includes:

[0023] determining the second angle range based on the first commutation information; and

[0024] The swing head is controlled to swing toward the second angle range.

[0025] In some embodiments, before determining the second angle range, the method further includes:

[0026] Determining secondary limit control information of the swing head;

[0027] Determining the secondary limit information based on the secondary limit control information; and

[0028] The first limit information is updated based on the secondary limit information.

[0029] In some embodiments, performing positioning processing on the swing head according to the second control information to obtain second limit information of the swing head in the second angle range includes:

[0030] Obtaining the zero position information of the swing head; and

[0031] Based on the second control information and in combination with the swing head zero position information, the second limit information is determined.

[0032] In some embodiments, performing positioning processing on the swing head according to the second control information to obtain second limit information of the swing head in the second angle range includes:

[0033] Performing positioning of the swing head based on the second control information to obtain second positioning information of the swing head in the second motion range; and

[0034] The second limit information is determined based on the second positioning information.

[0035] In some embodiments, controlling the swing angle range of the swing head based on the first limit information and the second limit information includes:

[0036] determining a first control angle based on the first limit information, and determining a second control angle based on the second limit information; and

[0037] A control range of the swing head is determined based on the first control angle and the second control angle.

[0038] In a second aspect, the present disclosure provides a device for controlling the swing range of a swing head, comprising:

[0039] A monitoring module configured to monitor the swing angle of the swing head during the swinging process of the swing head device;

[0040] a first control information determining module configured to determine first control information when the swing angle is within a first angle range;

[0041] a first position limit information determining module, configured to perform positioning processing on the swing head according to the first control information, and obtain first position limit information of the swing head in the first angle range;

[0042] a second control information determining module configured to determine second control information when the swing angle is within a second angle range, wherein the first angle range and the second angle range do not overlap;

[0043] a second position limiting information determining module configured to perform positioning processing on the swing head according to the second control information to obtain second position limiting information of the swing head in the second angle range; and

[0044] The control module is configured to control the swing angle range of the swing head based on the first limit information and the second limit information.

[0045] In a third aspect, the present disclosure provides an electronic device comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;

[0046] a memory configured to store a computer program;

[0047] The processor is configured to implement the swing range control method of the swing head described in the present disclosure when executing the program stored in the memory.

[0048] In certain embodiments, the embodiment of the present disclosure monitors the swing angle of the swing head during the swinging process of the swing head device, determines first control information when the swing angle is in a first angle range, positions the swing head based on the first control information, and obtains first limit information of the swing head in the first angle range, and determines second control information when the swing angle is in a second angle range, wherein the first angle range and the second angle range do not overlap, positions the swing head based on the second control information, and obtains second limit information of the swing head in the second angle range, and controls the swing angle range of the swing head based on the first limit information and the second limit information, thereby enabling the swing range of the swing head to be set at any time without adding a position sensor, thereby achieving control of the swing range of the swing head and further achieving the purpose of controlling the swing of the swing head.

[0049] BRIEF DESCRIPTION OF THE DRAWINGS

[0050] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for describing the embodiments. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0052] FIG1 is a schematic diagram of a flow chart of steps of a method for controlling the swing range of a swing head provided by an embodiment of the present disclosure;

[0053] FIG2 is a schematic flow chart of steps of a method for controlling the swing range of a swing head provided by another embodiment of the present disclosure;

[0054] FIG3 is a schematic diagram of the first setting of the swing range of the swing head device provided by an embodiment of the present disclosure;

[0055] FIG4 is a second schematic diagram of setting the swing range of a swing head device according to another embodiment of the present disclosure;

[0056] FIG5 is a third schematic diagram of setting the swing range of the swing head device according to another embodiment of the present disclosure;

[0057] FIG6 is a structural block diagram of a swing range control device for a swing head provided in one embodiment of the present disclosure; and

[0058] FIG7 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.

[0059] Details

[0060] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0061] To facilitate understanding of the embodiments of the present disclosure, further explanation will be given below in conjunction with the accompanying drawings and specific embodiments, which do not constitute a limitation on the embodiments of the present disclosure.

[0062] FIG1 is a flow chart of a method for controlling the swing range of a swing head according to an embodiment of the present disclosure. As shown in FIG1 , the method for controlling the swing range of a swing head according to an embodiment of the present disclosure may include the following steps:

[0063] Step 110, during the swinging process of the swinging head of the swinging head device, monitoring the swinging angle of the swinging head;

[0064] Step 120, when the swing angle is within a first angle range, determining first control information;

[0065] Step 130: Positioning the swing head according to the first control information to obtain first position limit information of the swing head in the first angle range;

[0066] Step 140: determining second control information when the swing angle is within a second angle range, wherein the first angle range and the second angle range do not overlap;

[0067] Step 150: Positioning the swing head according to the second control information to obtain second position limiting information of the swing head in the second angle range; and

[0068] Step 160: Control the swing angle range of the swing head based on the first limit information and the second limit information.

[0069] In some embodiments, the swing head device can be provided with a motor or other modules, and the motor or other modules can be used to drive the swing head to swing, such as driving the swing head to swing from left to right or from right to left, or driving the swing head to swing from top to bottom or from bottom to top. The embodiments of the present disclosure do not limit this.

[0070] In certain embodiments, the pendulum head may be provided with a zero position, i.e., a zero position of the pendulum head. For example, the zero position of the pendulum head may be provided in the middle of the pendulum head device, or may be freely adjustable. This embodiment does not limit the position of the zero position of the pendulum head. During the pendulum head's swinging process, the pendulum head may have a certain angle with respect to the zero position of the pendulum head, and this angle is the swing angle. Specifically, this embodiment may monitor the position of the pendulum head in real time during the pendulum head's swinging process, and determine the swing angle of the pendulum head based on the zero position of the pendulum head in combination with the position of the pendulum head.

[0071] In certain embodiments, the first control information may include first positioning information and first commutation information, which is not limited in the present embodiment. The first positioning information can be used to fix the swing head, locate the head of the swing head, and determine the current position of the swing head; the first commutation information can be used to achieve commutation movement of the swing head. For example, if the original direction of movement of the swing head is from left to right, the first commutation information can be used to control the swing head to change from the original left-to-right movement to the right-to-left movement, which is not limited in the present embodiment.

[0072] In some embodiments, this embodiment can divide the swing area of ​​the swing head based on the zero position of the swing head. For example, when the swing head moves left and right, the swing area of ​​the swing head can be divided into a left area range and a right area range based on the zero position of the swing head, corresponding to two angle ranges respectively. For example, when the left area range corresponds to the first angle range, the right area range can correspond to the second angle range, or, when the left area range corresponds to the second angle range, the right area range can correspond to the first angle range. The embodiments of the present disclosure do not limit this. In some embodiments, when the swing head moves within the first angle range, the swing angle is in the first angle range at this time, and the first control information can be determined when the swing head swings to the target position.

[0073] In certain embodiments, an operation button or a swing range setting program can be preset. Taking the operation button as an example, when the swing angle is within a first angle range, the operation button can be used to control the swing head to stop moving, thereby achieving the swing head positioning. At this time, the first positioning information of the swing head can be determined based on the current position of the swing head and the zero position of the swing head. Subsequently, the operation button can be used again to control the swing head to reverse the direction of the swing head, thereby achieving the swing head reversal. At this time, the first reversing information of the swing head can be determined. Subsequently, the first positioning information and the first reversing information can be combined to determine the first control information of the swing head.

[0074] In certain embodiments, the first position limit information may include the currently set maximum swing position of the swing head within the first angular range. For example, the maximum swing position may be the maximum swing angle between the swing head and the zero position of the swing head. This is not limited in the embodiments of the present disclosure. Specifically, in this embodiment, the swing head may be positioned based on the first control information, thereby determining the maximum swing angle of the swing head within the first angular range, obtaining the first position limit information, and implementing the position limit setting of the swing head within the first angular range.

[0075] In some embodiments, the second control information may include second positioning information and second switching information, which is not limited in the embodiments of the present disclosure.

[0076] In certain embodiments, after completing the limit setting of the first angle range, this embodiment can control the swing head to move to the second angle range through the first reversing information in the first control information. When the swing angle of the swing head is in the second angle range and swings to the target position, the second control information is determined.

[0077] In some embodiments, the second position limit information may include the currently set maximum swing position of the swing head within the second angle range, which is not limited in the present embodiment. In a specific implementation, this embodiment can perform positioning processing on the swing head based on the second control information, that is, using the second control information to determine the angle between the swing head and the zero position of the swing head within the second angle range, obtain the second position limit information, and implement the position limit setting of the swing head within the second angle range.

[0078] In certain embodiments, this embodiment can set the maximum swing angle of the pendulum head in the first angle range based on the first limit information, and can set the maximum swing angle of the pendulum head in the second angle range based on the second limit information. By setting the corresponding maximum swing angles in the two angle ranges respectively, the pendulum head can subsequently swing within the two angle ranges without exceeding the angle range, thereby achieving the purpose of setting the pendulum head swing range without the need for a position sensor, and solving the problems existing in the existing pendulum head swing range setting method.

[0079] It can be seen that in the embodiment of the present invention, during the swinging process of the swinging head device, the swinging angle of the swinging head is monitored, and when the swinging angle is in the first angle range, the first control information is determined, and the swinging head is positioned according to the first control information to obtain the first limit information of the swinging head in the first angle range. When the swinging angle is in the second angle range, the second control information is determined, wherein the first angle range and the second angle range do not overlap, and the swinging head is positioned according to the second control information to obtain the second limit information of the swinging head in the second angle range. Based on the first limit information and the second limit information, the swinging angle range of the swinging head is controlled, so that the swinging range of the swinging head can be set at any time without adding a position sensor, and the position range of the swinging head can be adjusted according to actual needs to realize the control of the swinging range of the swinging head, thereby achieving the purpose of controlling the swinging of the swinging head and solving the problems existing in the existing method for setting the swinging range of the swinging head.

[0080] 2, there is shown a schematic flow chart of the steps of a swing range control method for a swing head provided by another embodiment of the present disclosure. The swing range control method for a swing head may include the following steps:

[0081] Step 210: During the swinging process of the swing head device, monitor the swing angle of the swing head;

[0082] Step 220: When the swing angle is within a first angle range, receiving a first positioning operation of the swing head, and extracting the first positioning information from the first positioning operation;

[0083] Step 230: Receive a first reversing operation corresponding to the first positioning information, and extract the first reversing information from the first reversing operation;

[0084] Step 240: Determine the first control information based on the first positioning information and the first commutation information;

[0085] Step 250: Performing a swing head positioning based on the first positioning information to obtain first angle information of the swing head in the first angle range;

[0086] Step 260: performing position limiting based on the first angle information to obtain the first position limiting information;

[0087] Step 270: determining second control information when the swing angle is within a second angle range, wherein the first angle range and the second angle range do not overlap;

[0088] Step 280: Position the swing head according to the second control information to obtain second position limit information of the swing head in the second angle range;

[0089] Step 290: determining a first control angle based on the first limit information, and determining a second control angle based on the second limit information; and

[0090] Step 300: Determine a control range of the swing head based on the first control angle and the second control angle.

[0091] In certain embodiments, the swing head device may be provided with a motor, as shown in FIG3 , which is a schematic diagram of the swing head device provided in an embodiment of the present disclosure. The motor may be provided at the top of the swing head device, or may be provided at other locations, which is not limited in this embodiment of the present disclosure. Referring to FIG3 , the swing head device may be preset with a default maximum swing angle (also referred to as a normal swing head control angle), which is achieved by adding a limiter to the mechanism, which is not limited in this example.

[0092] In certain embodiments, after the swing head device is powered on, a swing head zero position can be calculated using a default limit point for the maximum swing head angle. The swing head zero position is then used to divide the swing head's range of motion into a first angle range and a second angle range. The swing head can then be driven by a motor to move, for example, from left to right or from right to left, although this example does not impose such limitations. During the swing head movement, the swing head's swing angle is monitored in real time.

[0093] It should be noted that in addition to moving left and right, the swing head in this embodiment can also rotate and move up and down. When the swing head is moving up and down, the angle range of the swing head can be divided into an upper angle range and a lower angle range. The embodiment of the present disclosure does not limit this.

[0094] In certain embodiments, to achieve positioning and reversing of the swing head, this embodiment may preset a swing head control key or a swing head control program, and control the swing head movement via the swing head control key or the swing head control program. In certain embodiments, when the swing head moves within a first angle range, a first positioning operation may be generated by operating the swing head control key, and then the current position of the swing head may be monitored. An angle calculation may be performed based on the current position of the swing head in combination with the zero position of the swing head to obtain first positioning information.

[0095] In certain embodiments, the embodiment of the present disclosure can operate the swing head control key again to operate the swing head to reverse after operating the swing head control key to generate the first positioning operation, thereby controlling the swing head to perform a reversing movement and generate a first reversing operation to extract the first reversing information from the first reversing operation.

[0096] In certain embodiments, taking the left and right movement of the swing head as an example, assuming that the swing head moves to the left after being powered on, the swing head control key can be operated twice to control the swing head to stop and change the original left movement to right movement to achieve reversal.

[0097] In certain embodiments, the disclosed embodiments may generate first control information based on the first positioning information and the first commutation information, so that the positioning and commutation of the swing head may be controlled by the control information, thereby limiting the solid swing head.

[0098] In some embodiments, this embodiment can perform pendulum head positioning based on the first positioning information. For example, the first positioning information can be used to determine the position of the pendulum head within the first angle range, and then the angle between the pendulum head and the pendulum head zero position can be calculated in combination with the pendulum head zero position to obtain the first angle information.

[0099] In certain embodiments, the embodiments of the present disclosure can use the first angle information for limiting. For example, the first angle information can be used to determine the maximum limit angle of the swing head within the first angle range, so that the swing head can move within the first angle range without exceeding the maximum limit angle, thereby obtaining the first limit information.

[0100] In certain embodiments, referring to FIG3 , the example of the left-side area being the first angle range is taken as an example when the head swing moves to the left. When the maximum angle limit of the left and right areas is not set for the head swing, after the head swing device is powered on, the head swing can swing around the virtual head zero position within the initial head swing control angle range (such as the default maximum head swing angle). When the head swing moves to the left to the dotted line position of the left area, the head swing control key is operated once to stop the head swing movement to achieve head positioning. When the head positioning is completed, the head swing control key is operated again to control the head swing reversal movement to achieve head reversal. At this time, the left-side area head swing limit is adjusted to the dotted line position. After the adjustment, the actual head swing angle range is the dotted left area + right area of ​​the head swing control angle.

[0101] Similarly, taking the swing head moving to the right and the right area as the first angle range as an example, when the swing head moves to the right to the right area, the swing head positioning and swing head reversal can be achieved by operating the swing head control button twice, and the actual swing head angle range after adjustment can be achieved, which is the right area + left area of ​​the swing head control angle.

[0102] In certain embodiments, after obtaining the first limit information, the embodiment of the present disclosure may further include: determining the second angle range based on the first commutation information; and controlling the swing head to swing to the second angle range.

[0103] In certain embodiments, this embodiment can use the commutation information to commutate the movement direction of the pendulum head, that is, to realize the control of the movement direction of the pendulum head. For example, if the pendulum head originally moves from left to right, the first commutation information can be used to control the pendulum head to move from right to left, so that the pendulum head can move from the first angle range to the second angle range, thereby realizing the control of the movement direction of the pendulum head without the need for a position sensor.

[0104] In certain embodiments, before determining the second angle range, the embodiment of the present disclosure may also include: determining the secondary limit control information of the swing head; determining the secondary limit information based on the secondary limit control information; and updating the first limit information based on the secondary limit information.

[0105] In certain embodiments, this embodiment can limit the swing head in the same side area multiple times, such as the limit of the swing head in the first angle area can be modified multiple times. Referring to Figure 4, after the swing head reverses its movement, the swing head gradually moves from the first angle range to the second angle range. During the movement of the swing head in the first angle range, the swing head control key can be operated twice to generate secondary limit control information, and the secondary limit control information can be used to control the swing head to stop moving and control the swing head to reverse, so as to obtain secondary limit information, and the secondary limit information can be used to update the first limit information, so as to readjust the swing head limit in the first angle range, thereby achieving the purpose of adjusting the swing head limit multiple times in a row.

[0106] In certain embodiments, in addition to placing multiple limits on the swing head in the same side area as the swing head gradually moves from the first angle range to the second angle range, multiple limits can also be placed on the swing head as it moves from the second angle range back to the first angle range. In certain embodiments, when a default maximum swing head angle is set, when the swing head moves from the first angle range to the default maximum swing head angle of the second angle range, the swing head can automatically reverse direction to move back from the second angle range to the first angle range. After the swing head angle is back in the first angle range, multiple limits can be set for the maximum swing head angle of the first angle range by operating the swing head control key.

[0107] It should be noted that the embodiment of the present disclosure can automatically exit and restore the default maximum swing head angle when the same-side limit is set multiple times, resulting in the swing head range being less than a certain value. That is, when the same-side limit is set multiple times, there can be a certain angular distance between the currently set maximum limit and the previously set maximum limit. When the angle between the currently set maximum limit and the previously set maximum limit is less than the angular distance, the swing head limit mode can be exited, and the maximum swing head limit of the area can be restored to the default maximum swing head angle to avoid abnormal situations in the swing head settings.

[0108] In certain embodiments, due to the presence of the swing head zero position, after completing the limit setting for the first angle range, the swing head zero position can be used to quickly set symmetrical limits for the second angle range, thereby quickly achieving the limit setting for the second angle range and obtaining the second limit information. Of course, the swing head can also be positioned first according to the second control information, and then the swing head is reversed to achieve the limit setting for the second angle range.

[0109] In some embodiments, performing positioning processing on the swing head according to the second control information to obtain second limit information of the swing head in the second angle range may include the following sub-steps:

[0110] Sub-step 2801, obtaining the zero position information of the swing head;

[0111] Sub-step 2802, performing symmetrical limiting based on the second control information and the swing head zero position information to determine the second limiting information;

[0112] Sub-step 2803, performing positioning of the swing head based on the second control information to obtain second positioning information of the swing head in the second motion range; and

[0113] Sub-step 2804: determining the second limit information based on the second positioning information.

[0114] In certain embodiments, the embodiments of the present disclosure may obtain the zero position information of the swing head, so that the zero position of the swing head may be used to quickly set the limit of the swing head within the area.

[0115] In certain embodiments, after determining the second control information, the disclosed embodiment can use the zero position information of the swing head, combined with the first limit information, to determine the maximum limit angle of the swing head within the first angle range, and then use the zero position of the swing head as the axis of symmetry, combined with the maximum limit angle, to symmetrically set the maximum limit angle within the second angle range to obtain the second limit information.

[0116] In some embodiments, the second control information may include second positioning information and second commutation information, which is not limited in the present embodiment. In some embodiments, the present embodiment may position the head of the swing head within a second angle range based on the second control information, thereby determining the second positioning information, and extracting the second commutation information from the second control information to ensure that the swing head achieves limit setting within the second angle range.

[0117] In some implementations, the disclosed embodiments may determine the second position limiting information based on the second positioning information.

[0118] In certain embodiments, as an example, referring to FIG5 , when the left side head limit is adjusted (i.e., the head limit of the first angle range has been adjusted), and the head moves to the dotted line position during the swing from left to right, the head control key is operated once to stop the head movement, so as to achieve the head positioning within the second angle range. After the head is positioned, the head control key is operated again to reverse the head movement, so as to achieve the reversal of the head within the second angle range. At this time, the actual head angle range is adjusted to between the dotted line of the left area and the dotted line of the right area (the right head boundary is adjusted). After adjusting the left and right sides or the right and left side head limits, the next time the head reversal is operated, it will automatically exit and restore the default maximum head angle. After restoring the default maximum head angle, the head positioning, reversal, and setting of the head range control operations can be performed again.

[0119] In some embodiments, the disclosed embodiment can determine the maximum swing angle of the swing head within the first angle range based on the first limit information, and can determine the maximum swing angle of the swing head within the second angle range based on the second limit information.

[0120] In certain embodiments, the embodiments of the present disclosure can determine the maximum swing range of the swing head between the first angle range and the second angle range based on the first control angle and the second control angle, and then obtain the control range of the swing head, so that the swing head control range can be set without a sensor. Compared with the existing swing head swing range control method, the swing head swing range control method provided by the embodiments of the present disclosure does not require the installation of a sensor at the swing head position, which has low cost, small space occupation, and better portability.

[0121] In summary, in the embodiment of the present disclosure, during the swinging process of the swing head device, the swing angle of the swing head is monitored. When the swing angle is within a first angle range, a first positioning operation of the swing head is received, and first positioning information is extracted from the first positioning operation. A first reversing operation corresponding to the first positioning information is received, and first reversing information is extracted from the first reversing operation. First control information is determined based on the first positioning information and the first reversing information. The swing head is positioned based on the first positioning information to obtain first angle information of the swing head within the first angle range. Positioning is performed based on the first positioning information to obtain first angle information of the swing head within the first angle range. Positioning is performed based on the first angle information to obtain first limit information. When the swing angle is within a second angle range, second control information is determined. Positioning of the swing head is performed based on the second control information to obtain second limit information of the swing head within the second angle range. A first control angle is determined based on the first limit information, and a second control angle is determined based on the second limit information. Based on the first control angle and the second control angle, the control range of the swing head is determined, thereby achieving setting of the swing range of the swing head. Thus, the swing range of the swing head can be set as needed without the need for a sensor, thereby achieving low cost, small space occupation, and better portability, thereby solving the problems existing in the existing method for setting the swing range of the swing head.

[0122] It should be noted that, for the sake of simplicity of description, the method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the embodiments of the present disclosure are not limited to the described order of actions, because according to the embodiments of the present disclosure, certain steps can be performed in other orders or simultaneously.

[0123] As shown in FIG6 , the embodiment of the present disclosure further provides a swing range control device 600 for a swing head, which includes:

[0124] The monitoring module 610 is configured to monitor the swing angle of the swing head during the swinging process of the swing head device;

[0125] A first control information determining module 620 is configured to determine first control information when the swing angle is within a first angle range;

[0126] A first position limit information determining module 630 is configured to perform positioning processing on the swing head according to the first control information to obtain first position limit information of the swing head in the first angle range;

[0127] A second control information determination module 640 is configured to determine second control information when the swing angle is within a second angle range, wherein the first angle range and the second angle range do not overlap;

[0128] A second position limiting information determining module 650 is configured to perform positioning processing on the swing head according to the second control information to obtain second position limiting information of the swing head in the second angle range; and

[0129] The control module 660 is configured to control the swing angle range of the swing head based on the first limit information and the second limit information.

[0130] In some embodiments, the first control information determining module 620 includes:

[0131] a first positioning information extraction submodule configured to receive a first positioning operation of the swing head when the swing angle is within a first angle range, and extract the first positioning information from the first positioning operation;

[0132] a first commutation information extraction submodule, configured to receive a first commutation operation corresponding to the first positioning information, and extract the first commutation information from the first commutation operation; and

[0133] The first control information determination submodule is configured to determine the first control information based on the first positioning information and the first commutation information.

[0134] In some embodiments, the first limit information determination module 630 includes:

[0135] a positioning submodule, configured to perform swing head positioning based on the first positioning information to obtain first angle information of the swing head in the first angle range; and

[0136] The limiting submodule is configured to perform limiting based on the first angle information to obtain the first limiting information.

[0137] In certain embodiments, the swing range control device 600 of the swing head further includes:

[0138] a second angle range determining module configured to determine the second angle range based on the first commutation information; and

[0139] The swing direction control module is configured to control the swing head to swing to the second angle range.

[0140] In certain embodiments, the swing range control device 600 of the swing head further includes:

[0141] a secondary limit control information determination module, configured to determine the secondary limit control information of the swing head;

[0142] a secondary limit information determining module, configured to determine the secondary limit information based on the secondary limit control information; and

[0143] The limit update module is configured to update the first limit information based on the secondary limit information.

[0144] In some embodiments, the second limit information determination module 650 includes:

[0145] A swing head zero position information acquisition submodule is configured to acquire the swing head zero position information of the swing head;

[0146] The symmetrical limiting submodule is configured to perform symmetrical limiting based on the second control information and in combination with the swing head zero position information to determine the second limiting information.

[0147] a swing head positioning submodule, configured to perform swing head positioning based on the second control information to obtain second positioning information of the swing head in the second motion range; and

[0148] The second position limiting information determining submodule is configured to determine the second position limiting information based on the second positioning information.

[0149] In certain embodiments, the control module 660 comprises:

[0150] a control angle determination submodule, configured to determine a first control angle based on the first limit information, and to determine a second control angle based on the second limit information; and

[0151] The control range determination submodule is configured to determine the control range of the swing head based on the first control angle and the second control angle.

[0152] It should be noted that the swing range control device of the swing head provided in the embodiment of the present disclosure can execute the swing range control method of the swing head provided in any embodiment of the present disclosure, and has the corresponding functions and beneficial effects of the execution method.

[0153] In certain embodiments, the swing range control device of the above-mentioned swing head can be integrated into the device, so that the device can determine the first limit information when the swing head is in the first angle range, and determine the second limit information when the swing head is in the second angle range, and then combine the first limit information and the second limit information to control the swing angle range of the swing head. As an electronic device, it is possible to achieve the swing head reversal and setting of the swing range of the swing head at any time without setting a position sensor. The electronic device can be composed of two or more physical entities, or it can be composed of one physical entity. For example, the electronic device can be a personal computer (PC), a computer, a server, etc., and the embodiments of the present disclosure do not impose specific restrictions on this.

[0154] As shown in Figure 7, an embodiment of the present disclosure provides an electronic device, including a processor 111, a communication interface 112, a memory 113 and a communication bus 114, wherein the processor 111, the communication interface 112, and the memory 113 communicate with each other through the communication bus 114; the memory 113 is configured to store computer programs; the processor 111 is configured to implement the swing range control method of the swing head provided by any method embodiment of the present disclosure when executing the program stored in the memory 113. In certain embodiments, the steps of the method for controlling the swing range of a swing head may include the following steps: monitoring the swing angle of the swing head during the swing process of the swing head device; determining first control information when the swing angle is in a first angle range; positioning the swing head according to the first control information to obtain first limit information of the swing head in the first angle range; determining second control information when the swing angle is in a second angle range, wherein the first angle range does not overlap with the second angle range; positioning the swing head according to the second control information to obtain second limit information of the swing head in the second angle range; and controlling the swing angle range of the swing head based on the first limit information and the second limit information.

[0155] An embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method for controlling the swing range of a swing head provided by any method embodiment of the present disclosure is implemented.

[0156] It should be noted that, in the present disclosure, relational terms such as "first" and "second" are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply the existence of any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment comprising a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the sentence "comprise a..." do not exclude the presence of other identical elements in the process, method, article or equipment comprising the elements.

[0157] The foregoing description is merely a list of specific embodiments of the present disclosure, intended to enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not limited to the embodiments shown herein, but is intended to be construed in the broadest manner consistent with the principles and novel features described herein.

Claims

1. A method for controlling the swing range of a swing head, comprising: During the swinging process of the swinging head of the swinging head device, monitoring the swinging angle of the swinging head; When the swing angle is within a first angle range, determining first control information; Performing positioning processing on the swing head according to the first control information to obtain first position limit information of the swing head in the first angle range; When the swing angle is within a second angle range, determining second control information, wherein the first angle range does not overlap with the second angle range; performing positioning processing on the swing head according to the second control information to obtain second position limiting information of the swing head in the second angle range; and Based on the first limit information and the second limit information, the swing angle range of the swing head is controlled.

2. The method of claim 1, wherein: When the swing angle is within the first angle range, determining the first control information includes: When the swing angle is within a first angle range, receiving a first positioning operation of the swing head, and extracting the first positioning information from the first positioning operation; receiving a first reversing operation corresponding to the first positioning information, and extracting the first reversing information from the first reversing operation; and The first control information is determined based on the first positioning information and the first commutation information.

3. The method according to claim 1 or 2, wherein: The performing positioning processing on the swing head according to the first control information to obtain first limit information of the swing head in the first angle range includes: Performing head positioning based on the first positioning information to obtain first angle information of the head within the first angle range; and Position limiting is performed based on the first angle information to obtain the first position limiting information.

4. The method of claim 3, wherein: After obtaining the first limit information, the method further includes: determining the second angle range based on the first commutation information; and The swing head is controlled to swing to the second angle range.

5. The method of claim 4, wherein: Before determining the second angle range, the method further includes: Determining secondary limit control information of the swing head; Determining the secondary limit information based on the secondary limit control information; The first limit information is updated based on the secondary limit information.

6. The method according to any one of claims 1 to 5, wherein: The performing positioning processing on the swing head according to the second control information to obtain second position limiting information of the swing head in the second angle range includes: Acquiring the zero position information of the swing head; and Based on the second control information, symmetrical limiting is performed in combination with the swing head zero position information to determine the second limiting information.

7. The method according to any one of claims 1 to 5, wherein: The performing positioning processing on the swing head according to the second control information to obtain second position limiting information of the swing head in the second angle range includes: Performing a swing head positioning based on the second control information to obtain second positioning information of the swing head in the second motion range; and Based on the second positioning information, the second limit information is determined.

8. The method according to any one of claims 1 to 7, wherein: The controlling the swing angle range of the swing head based on the first limit information and the second limit information includes: determining a first control angle based on the first limit information, and determining a second control angle based on the second limit information; and Based on the first control angle and the second control angle, a control range of the swing head is determined.

9. A swing range control device for a swing head, comprising: A monitoring module, configured to monitor the swing angle of the swing head during the swinging process of the swing head device; A first control information determination module, configured to determine first control information when the swing angle is within a first angle range; A first position limit information determination module is configured to perform positioning processing on the swing head according to the first control information to obtain first position limit information of the swing head in the first angle range; A second control information determination module, configured to determine second control information when the swing angle is in a second angle range, wherein the first angle range does not overlap with the second angle range; A second position limit information determination module, configured to perform positioning processing on the swing head according to the second control information to obtain second position limit information of the swing head in the second angle range; and The control module is configured to control the swing angle range of the swing head based on the first limit information and the second limit information.

10. An electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein: The processor, the communication interface, and the memory communicate with each other via the communication bus; The memory is configured to store a computer program; The processor is configured to implement the swing range control method of the swing head as described in any one of claims 1 to 8 when executing the program stored in the memory.

Citation Information

Patent Citations

  • Household appliance and head-oscillating control method thereof

    CN104331107A

  • Control method for rotation angle of fan swing head, device and fan

    CN107191403A

  • Control method and device and storage medium

    CN113494478A

  • Control method, control circuit, device, equipment and medium of electric fan

    CN114320979A

  • Fan, fan remote controller and fan system

    CN209414223U