Rotation angle acquisition device and window cleaning robot

By combining working ball and signal detection components, replacing the six-axis gyroscope chip, the low-cost angle detection of window cleaning robots on the vertical plane is realized, the problems of waste of hardware resources and operating burden are solved, and the non-level surface Swing angle detection accuracy.

CN222075083UActive Publication Date: 2024-11-29AMICRO SEMICONDUCTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202323469180.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2024-11-29
Estimated Expiration
2033-12-19

AI Technical Summary

Technical Problem

Existing window cleaning robots use expensive six-axis gyroscope chips for posture detection when walking vertically, resulting in waste of hardware computing resources and increased operating burden.

Method used

The rotation angle acquisition device consisting of working balls and multiple sets of signal detection components is used to rotate between different effective detection areas by rotating the working balls, detecting signal changes to obtain the rotation angle, and then determining the two-dimensional posture information of the moving carrier, avoiding the use of six Axis gyroscope chip.

Benefits of technology

It realizes the acquisition of angle information at low cost and low computing power, reduces hardware costs and operating burden, and improves the robot's swing angle detection accuracy on non-horizontal surfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222075083U_ABST
    Figure CN222075083U_ABST
Patent Text Reader

Abstract

The utility model discloses a rotation angle obtaining device and a window cleaning robot. The rotation angle obtaining device comprises a working ball and a plurality of signal detection assemblies. Each group of signal detection assemblies has an effective detection area, and the working balls are rotatably arranged between different effective detection areas, so that detection signals detected by the corresponding group of signal detection assemblies in the effective detection areas through which the working balls pass are changed; whenever the working ball rotates to the effective detection area of one signal detection assembly, the rotation angle of the working ball is obtained. The window cleaning robot control method comprises the steps that under the condition that a window cleaning robot is located on a non-horizontal plane, one rotating disc is controlled to rotate around the other rotating disc, and a working ball is driven to rotate reversely; whenever a detection signal detected by one signal detection assembly changes, it is determined that the working ball rotates into the effective detection area of one signal detection assembly, and then the swing angle of the window cleaning robot is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of window-cleaning robots, and in particular to a rotation angle acquisition device and a window-cleaning robot. Background Art

[0002] A window-wiping robot generally includes a travel motor and two window-wiping turntables. The travel motor drives the window-wiping turntable to rotate through a driving mechanism such as a worm gear mechanism, and simultaneously completes the rotating wiping and swinging travel actions. Among them, the window-wiping turntable is arranged on a vacuum suction cup, and the vacuum suction cup is connected to a vacuum pump. The vacuum suction cup and the window-wiping turntable are in a concentric position, and the vacuum suction cup and the vacuum pump are connected to form a vacuum air cavity. The vacuum suction cup completes the adsorption action, and the position of the vacuum suction cup is in a concentric position with the window-wiping turntable, and an adsorption effect is formed by wiping the cleaning cloth and the wiped surface.

[0003] At present, the window cleaning robot working on the vertical plane uses a relatively expensive six-axis gyroscope chip to obtain the walking posture of the machine. For example, a six-axis sensor module is installed to obtain the walking posture of the machine through six-axis detection and calculation of the acceleration of each axis. However, in the process of walking on the vertical plane, only the data of the vertical axis and the horizontal axis can be used to obtain the posture. Therefore, the use of a relatively expensive six-axis gyroscope chip is likely to cause a waste of hardware computing resources and increase the operating burden of the machine. Summary of the invention

[0004] The present application discloses a rotation angle acquisition device and a window cleaning robot, and the specific technical solutions are as follows:

[0005] A rotation angle acquisition device, the rotation angle acquisition device includes a working ball and multiple groups of signal detection components; each group of signal detection components has an effective detection area, and the working ball can be rotatably arranged between different effective detection areas, causing the detection signal detected by the corresponding group of signal detection components in the effective detection area passed by the working ball to change; whenever the working ball rotates to the effective detection area of ​​a group of signal detection components, the rotation angle of the working ball is acquired. In summary, the present application uses working balls and signal detection components to form a low-cost and easy-to-acquire angle information rotation angle acquisition device, so that the working ball rolls to the effective detection area of ​​the signal detection component at the corresponding position in a vertical state, thereby detecting the corresponding angle orientation of the motion carrier where the rotation angle acquisition device is located, and the rotation angle of the working ball can be determined, and then the two-dimensional posture information (vertical axis and horizontal axis posture data) of the motion carrier where the rotation angle acquisition device is located is determined by posture transformation; avoid using a relatively expensive six-axis gyroscope chip for posture detection, and prevent waste of hardware computing resources and increase the operating burden of the machine.

[0006] A window cleaning robot, the window cleaning robot comprises two turntables and the rotation angle acquisition device, so as to acquire the swing angle of the window cleaning robot. Therefore, the window cleaning robot disclosed in the present application can use the working ball and the signal detection component to form a low-cost rotation angle acquisition device that is easy to acquire angle information, so that the working ball rolls to the effective detection area of ​​the signal detection component at the corresponding position in a vertical state, thereby detecting that the motion carrier where the rotation angle acquisition device is located is running to the corresponding angle orientation, and the rotation angle of the working ball can be determined, and then the two-dimensional posture information (vertical axis and horizontal axis posture data) of the motion carrier where the rotation angle acquisition device is located can be determined through posture transformation; avoid using a relatively expensive six-axis gyroscope chip for posture detection, and prevent waste of hardware computing resources and increase the operating burden of the machine. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] Figure 1 This is a front view structural schematic diagram of the trigger switch device 10 provided in the present application.

[0008] Figure 2 A top view structural schematic diagram of a rotation angle acquisition device is provided for the present application, wherein rectangular areas 211 to 216 are used to identify the area between the detection holes opened on the side of the annular track structure 300 and the signal detection component, and can also be identified as the effective detection area of ​​the signal detection component, but is not limited to the actual opening position of the detection hole on the surface of the annular track structure 300.

[0009] Figure 3 A top view structural schematic diagram of the assembly structure of the rotation angle acquisition device and the trigger switch device 10 in the window cleaning robot is provided for the present application.

[0010] Figure 4 The present application provides a front view structural schematic diagram of a trigger switch device 10 mounted in the vertical direction of the body of the window cleaning robot (perpendicular to the plane where the turntable is located or the walking plane of the window cleaning robot).

[0011] Figure 5 For the present application, in a non-horizontal plane, the rotating disk 1 rotates upward clockwise around the rotating disk 2, and the working ball 200 rotates counterclockwise to Figure 2 A schematic diagram of the rectangular area 214 shown and reaching the effective detection area of ​​the signal detection component 204; or Figure 5 It is provided that in a non-horizontal plane, when the turntable 2 rotates clockwise downward around the turntable 1, the working ball 200 rotates counterclockwise to Figure 2 A schematic diagram of the effective detection area of ​​the signal detection component 204 at the rectangular area 214 shown.

[0012] Figure 6For the present application, in a non-horizontal plane, the rotating disk 1 rotates upward clockwise around the rotating disk 2, and the working ball 200 rotates counterclockwise to Figure 2 A schematic diagram of the effective detection area of ​​the signal detection component 205 at the rectangular area 215 shown; or Figure 6 Provided in a non-horizontal plane, during the process of the turntable 2 rotating clockwise downward around the turntable 1, the working ball 200 rotates counterclockwise to Figure 2 The rectangular area 215 shown is a schematic diagram of the effective detection area of ​​the signal detection component 205.

[0013] Figure 7 For the present application, in a non-horizontal plane, the rotating disk 1 rotates upward clockwise around the rotating disk 2, and the working ball 200 rotates counterclockwise to Figure 2 A schematic diagram of the effective detection area of ​​the signal detection component 206 at the rectangular area 216 shown; or Figure 7 Provided in a non-horizontal plane, during the process of the turntable 2 rotating clockwise downward around the turntable 1, the working ball 200 rotates counterclockwise to Figure 2 The rectangular area 216 shown is a schematic diagram of the effective detection area of ​​the signal detection component 206.

[0014] Figure 8 For the present application, in a non-horizontal plane, the turntable 1 rotates counterclockwise to the right around the turntable 2, and the working ball 200 rotates counterclockwise to Figure 2 A schematic diagram of the effective detection area of ​​the signal detection component 203 at the rectangular area 213 shown; or Figure 8 Provided in a non-horizontal plane, during the process of the turntable 2 rotating counterclockwise to the left around the turntable 1, the working ball 200 rotates counterclockwise to Figure 2 The rectangular area 213 shown is a schematic diagram of the effective detection area of ​​the signal detection component 203.

[0015] Fig. 9 For the present application, in a non-horizontal plane, the turntable 1 rotates counterclockwise to the right around the turntable 2, and the working ball 200 rotates counterclockwise to Figure 2 A schematic diagram of the effective detection area of ​​the signal detection component 202 at the rectangular area 212 shown; or Fig. 9 Provided in a non-horizontal plane, during the process of the turntable 2 rotating counterclockwise to the left around the turntable 1, the working ball 200 rotates counterclockwise to Figure 2 The rectangular area 212 shown is a schematic diagram of the effective detection area of ​​the signal detection component 202.

[0016] Fig.10 For the present application, in a non-horizontal plane, the turntable 1 rotates counterclockwise to the right around the turntable 2, and the working ball 200 rotates counterclockwise to Figure 2 A schematic diagram of the effective detection area of ​​the signal detection component 201 at the rectangular area 211 shown; or Fig.10 Provided in a non-horizontal plane, during the process of the turntable 2 rotating counterclockwise to the left around the turntable 1, the working ball 200 rotates counterclockwise to Figure 2 The rectangular area 211 shown is a schematic diagram of the effective detection area of ​​the signal detection component 201.

[0017] Fig.11 A schematic diagram of a distribution between a signal transmitter and a signal receiver in a set of signal detection components provided by the present application, wherein the area between a signal transmitter and a signal receiver is Figure 3 The annular track structure shown passes through and allows its probe to be inserted into the detection holes opened on both sides of the annular track structure 300. DETAILED DESCRIPTION

[0018] Embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions.

[0019] In the description of the present invention, it should be noted that directional words, such as the terms "center", "lateral", "longitudinal", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc., indicating directions and positional relationships are based on the directions or positional relationships shown in the accompanying drawings, which are only for the convenience of narrating the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and cannot be understood as limiting the specific scope of protection of the present invention.

[0020] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features. Therefore, the definition of "first" and "second" features can explicitly or implicitly include one or more of the features. In the description of the present invention, "at least" means one or more, unless otherwise clearly and specifically defined.

[0021] In the present invention, unless otherwise specified and limited, the terms "assemble", "connect", and "connection" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can also be a mechanical connection; it can be directly connected, or it can be connected through an intermediate medium, or the two elements can be internally connected. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0022] In the invention, unless otherwise specified and limited, a first feature being “above” or “below” a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being “above”, “below”, and “above” a second feature includes that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being “above”, “below”, and “below” a second feature includes that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.

[0023] The present application discloses a rotation angle acquisition device, which can be installed in a self-propelled robot such as a window cleaning robot that works specifically on a vertical surface or an inclined surface; thus, the rotation angle acquisition device can be used to replace the built-in six-axis gyroscope chip of the self-propelled robot, and the two-dimensional coordinate data in the working surface (vertical surface or inclined surface) can be calculated according to the triangular geometric relationship, that is, the parameters in the two coordinate axes can be converted by acquiring the angle information, as the posture information of the self-propelled robot in the working surface. This can reduce costs and save computing resources of electronic chip devices.

[0024] In the rotation angle acquisition device, the rotation angle acquisition device includes a working ball and multiple groups of signal detection components; each group of signal detection components has an effective detection area, which is determined by the receiving range of the corresponding signal receiver and the transmitting range of the signal transmitter; the effective detection areas are distributed in different positions due to the different installation positions of different groups of signal detection components; the working ball can be rotatably arranged between different effective detection areas, so that the working ball blocks different effective detection areas during rotation, causing the detection signal detected by the corresponding group of signal detection components in the effective detection area passed by the working ball to change. Whenever the working ball rotates to the effective detection area of ​​a group of signal detection components, the rotation angle of the working ball is obtained. Specifically, the angle information of the working ball in the rotatable space is obtained through the group of signal detection components, which can be used as the transient angle value or the rotated angle value of the working ball; wherein, the angle information of the working ball in the rotatable space can be directly represented by the distribution angle of the group of signal detection components, or obtained by adding or subtracting a certain angle offset to the distribution angle of the group of signal detection components; the rotation angle of the working ball obtained in the present application can represent the swing angle of the rotation angle acquisition device or the motion carrier where it is located, but the rotation direction may be opposite. The swing angle of the rotation angle acquisition device or the motion carrier where it is located is the angle rotated around a center when the rotation angle acquisition device or the motion carrier where it is located swings; the motion carrier where the rotation angle acquisition device is located includes self-moving robots such as window cleaning robots that need to be adsorbed on a vertical surface to work.

[0025] In the present application, the rotation of the working ball is expressed as the working ball rolling in a clockwise or counterclockwise direction. The rotation of the working ball here can also be understood as a clockwise or counterclockwise rotation around a preset center, rather than the working ball rotating in place, so that the rotation angle of the working ball represents the angle that the working ball has rotated or reached around a preset center in a certain clockwise direction.

[0026] When the signal detection component is an infrared pair tube, the signal in the effective detection area is an infrared signal; when the signal detection component is a laser pair tube, the signal in the effective detection area is a laser signal; when the signal detection component is an ultrasonic pair tube, the signal in the effective detection area is an ultrasonic signal; if the signal detection component is a Hall sensor and the working ball is a magnetic sphere, when the working ball rotates / rolls to the effective detection area, the signal generated by the working ball in the effective detection area is a magnetic field signal. This application does not specifically limit the type of sensor used by the signal detection component.

[0027] The distribution angle corresponding to each group of signal detection components or its effective detection area is different due to the different distribution positions of the group of signal detection components; there is a preset mapping relationship between the rotation angle of the working ball and the distribution angle of the effective detection area of ​​the group of signal detection components to which it is rotated; in some embodiments, each group of signal detection components is distributed at intervals to the outside of the rotation space of the working ball to form an angle detection device with a uniform scale.

[0028] like Figure 2 The working ball 200 shown in the figure, driven by external or internal forces, passes through the effective detection areas of the six groups of signal detection components in sequence along the direction indicated by the arrows, causing changes in the detection signals detected between the six groups of signal detection components in sequence; if the rotation angle acquisition device is placed on a vertical plane or an inclined plane, the working ball 200 rolls / rotates in the annular track structure to a force balance position under the action of gravity and preferably reaches an effective detection area detected by a group of signal detection components, thereby feeding back as a change in the rotation angle of the working ball 200 or a change in the swing angle of the rotation angle acquisition device body (the swing / rotation of the rotation angle acquisition device on a vertical plane or an inclined plane will cause the working ball 200 to swing / rotate); it is suitable for the window cleaning robot to detect the motion trajectory in the non-horizontal plane (the working plane inclined relative to the horizontal plane) to which it is adsorbed, including the detection of the inclination angle relative to the horizontal plane (the direction in which the turntable drives the body to swing), etc.

[0029] In summary, the present application utilizes a working ball and a signal detection component to form a low-cost rotation angle acquisition device that is easy to obtain angle information, so that the working ball rolls in a vertical state to the effective detection area of ​​the signal detection component at the corresponding position, thereby detecting that the motion carrier where the rotation angle acquisition device is located has moved to the corresponding angle position, and the rotation angle of the working ball can be determined, and then the two-dimensional posture information (vertical and horizontal axis posture data) of the motion carrier where the rotation angle acquisition device is located can be determined through posture transformation; avoid using a relatively expensive six-axis gyroscope chip for posture detection, and prevent waste of hardware computing resources and increased machine operation burden.

[0030] As an embodiment, the rotation angle acquisition device also includes an annular track structure; the working ball is rotatably arranged in the annular track structure, and the interior of the annular track structure provides a rolling track of appropriate size for the rotation of the working ball; when the contour shape of the annular track structure is circular, it is regarded as a circular ring structure. Of course, the contour shape of the annular track structure can be an ellipse, a prismatic shape, or other shapes that support multi-angle rotation of the working ball. The working ball here can be a sphere.

[0031] A plurality of detection holes are arranged on the surface of the annular track structure, and each group of detection holes runs through the annular track structure, allowing the detection signals required to be detected by each group of signal detection components to pass through a corresponding group of detection holes; optionally, each group of signal detection components includes a signal transmitter and a signal receiver, and the detection signal emitted by a signal transmitter passes through a group of detection holes in turn and is emitted into a signal receiver in the same group, forming an effective detection area corresponding to a group of signal detection components at corresponding positions in the annular track structure, and if none of the working balls is blocked in the effective detection area, the signal receiver in the signal detection component receives a valid signal in the effective detection area, that is, receives a detection signal with an intensity greater than a certain threshold.

[0032] The detection probes set in each group of signal detection components are aligned with a corresponding group of detection holes, and each group of signal detection components has a corresponding effective detection area. Then, a group of signal detection components is aligned with a group of detection holes, and a group of detection holes corresponds to a group of effective detection areas of signal detection components, so that the corresponding effective detection areas partially or completely cover a group of detection holes.

[0033] Whenever the working ball rotates to block a group of detection holes, the rotation angle of the working ball is set by the distribution angle of a group of signal detection components aligned with the blocked group of detection holes, including but not limited to using the distribution angle of a group of signal detection components aligned with the blocked group of detection holes to be set as the current rotation angle of the working ball or the angle that the working ball has rotated, wherein the distribution angle of a group of signal detection components is the angle of a group of signal detection components distributed around the center of the annular track structure, using the angle formed by the line connecting the signal receiver and the center of the annular track structure relative to the perpendicular line connecting the centers of the two turntables. Or the distribution angle of a group of signal detection components aligned with the blocked group of detection holes plus a fixed angle offset is controlled to obtain the current rotation angle of the working ball; wherein the distribution angle of a group of signal detection components includes the angle of a group of signal detection components distributed around the center of the annular track structure.

[0034] Specifically, the working ball rotates to block a group of detection holes, which means that the working ball blocks the external signal from passing through the group of detection holes, that is, blocks the propagation channel of the signal; for example, blocking the signal incident on one side of a group of detection holes to prevent the incident signal from passing through the group of detection holes and entering the signal receiver located on the other side of the group of detection holes; for another example, after blocking a group of detection holes, the signal generated by the annular track structure at the position of the working ball can be emitted to the outside through the blocked group of detection holes to be received by the signal receiver set outside. Since the signal emitted or received by each group of signal detection components (detection signal) passes through the inside of the annular track structure, the working ball blocks different effective detection areas during the rotation process, causing the detection signal detected by the corresponding group of signal detection components in the effective detection area passed by the working ball to change. Whenever the detection signal in the effective detection area of ​​a group of signal detection components is detected to change, the rotation angle of the working ball is set by using the distribution angle of the group of signal detection components aligned with the blocked group of detection holes or the distribution angle corresponding to the effective detection area where the detection signal changes.

[0035] Indicatively, Figure 2 A schematic diagram of a top view of a rotation angle acquisition device is provided for this application. Each group of signal detection components is located on both sides of the annular track structure 300 and has a corresponding effective detection area. Figure 2 , observed from the counterclockwise direction, the signal detection component 201, the signal detection component 202, the signal detection component 203, the signal detection component 204, the signal detection component 205 and the signal detection component 206 are separated on the left and right sides (also understood as the inner and outer sides) of the circular track structure, wherein the 6 groups of signal detection components are distributed along the edge of the circular track structure 300. Rectangular areas 211 to 216 only indicate the relative position relationship between the detection holes opened on the side of the circular track structure 300 and the signal detection components, and can also be identified as the effective detection area of ​​the signal detection component, but are not limited to the actual opening position of the detection holes on the surface of the circular track structure 300, wherein the detection holes that allow the detection signal required to be detected by the signal detection component to pass through are not shown in the top view structural schematic diagram, wherein the direction of the detection signal passing through the detection hole includes the direction of the transmitting probe of the signal transmitter outside the circular track structure 300 ( Figure 2 The cathode of the diode outside the circular structure is pointed to the direction shown in the figure) or the receiving probe of the signal receiver is pointed to the direction shown in the figure. Figure 2 The cathode of the diode on the inner side of the circular structure is pointed to the direction shown in the figure) and is considered to be opposite to the detection hole.

[0036] In some embodiments, the distribution angle of a group of signal detection components is represented by the angle of distribution of a group of signal detection components around the center of the annular track structure, and the angle of distribution of a group of signal detection components around the center of the annular track structure is preset; the distribution angle corresponding to the effective detection area is the angle of distribution of a group of signal detection components around the center of the annular track structure that forms the effective detection area. There may also be a certain conversion relationship between the rotation angle of the working ball and the distribution angle of the effective detection area of ​​the group of signal detection components to which it rotates.

[0037] As an embodiment, a group of signal detection components includes a signal transmitter and a signal receiver, or a group of signal detection components includes a signal receiver; wherein, the signal transmitter and the signal receiver are both aligned with the same group of detection holes; for example, a group of signal detection components includes a signal transmitter and a signal receiver as follows: when a group of signal detection components is a group of infrared pairs of tubes, a group of infrared pairs of tubes includes an infrared transmitting tube and an infrared receiving tube; for example, a group of signal detection components includes a signal receiver as follows: the working ball is a magnetic sphere or a spherical magnet, and a group of signal detection components is a Hall sensor.

[0038] If there is a signal receiver that changes from receiving a valid signal to not receiving a valid signal, or there is a signal receiver that changes from not receiving a valid signal to receiving a valid signal, it is determined that the working ball rotates in the annular track structure to block a group of detection holes, that is, it is determined that the working ball rotates in the annular track structure to the position where a group of detection holes are located and blocks a group of detection holes, and it is determined that the detection signal detected by the signal receiver changes, and it is determined that the working ball rotates to an effective detection area of ​​a group of signal detection components where the signal receiver that detects the change in the detection signal is located. It can be further combined with the posture relationship of the working ball in the effective detection areas of different groups of signal detection components, the installation angle of a group of detection holes currently blocked by the working ball, or the current The current posture of the rotation angle acquisition device is calculated by converting the distribution angle of a group of signal detection components that are aligned with a group of blocked detection holes relative to the initial position of the working ball in the annular track structure, or the installation angle of a group of detection holes currently blocked by the working ball, or the distribution angle of a group of signal detection components that are aligned with a group of currently blocked detection holes relative to the installation angle of a pre-selected group of detection holes, or the posture relationship between a pre-selected group of signal detection components, which can then be reflected as the posture change of the rotation angle acquisition device or its moving carrier on a non-horizontal plane. Therefore, this embodiment can use the detection signal change detected by the signal detection component as the working ball rotates in the vertical plane to trigger the technical effect of posture conversion.

[0039] like Figure 5As shown, during the movement of the rotation angle acquisition device or the motion carrier on which it is located, the working ball 200 will be driven to rotate in the annular track structure 300 to the location of a group of detection holes, that is, rotated to the effective detection area of ​​the signal detection component 205, blocking the detection holes that the signal detection component 205 is aligned with, and can block the detection signal that the signal detection component 205 needs to receive. Then, the angular relationship and position relationship of the signal detection component 205 or its effective detection area relative to the initial rotation position of the working ball 200 in the annular track structure can be combined to convert the current posture of the rotation angle acquisition device.

[0040] It should be noted that a group of signal detection components has a signal receiver; if the strength of the detection signal received by the signal receiver is greater than a preset strength threshold, it is determined that the signal receiver has received a valid signal; if the strength of the detection signal received by the signal receiver is less than or equal to the preset strength threshold, it is determined that the signal receiver has not received a valid signal.

[0041] As an embodiment, the annular track structure is a circular ring structure, corresponding to Figure 2 The ring structure and Figure 3 The circular ring structure is located between the turntable 1 and the turntable 2; the circular ring structure includes an inner ring and an outer ring. The two sides of the circular track structure are divided into an inner ring side and an outer ring side; or the two sides of the circular track structure are divided into an upper side of the circular track structure and a lower side of the circular track structure. If all the detection holes set on the upper side of the circular track structure can be distributed in sequence as the rectangular area 211 to the rectangular area 216, each group of signal detection components are sequentially arranged in the rectangular area 211 to the rectangular area 216 on the upper side of the circular track structure.

[0042] Each group of signal detection components includes a signal transmitter and a signal receiver; in each group of signal detection components, the signal transmitter and the signal receiver are separated on both sides of the annular track structure, and may not contact the surface of the annular track structure, or the probe of the signal detection component may be inserted into the detection hole.

[0043] The situation that it does not contact with the surface of the annular track structure, such as Figure 2As shown, the signal transmitter (the direction from the anode of the diode to the cathode is toward the outer ring of the circular ring structure and toward the center of the circular ring structure) is arranged on the left side of the outer ring of the circular ring structure, and the signal receiver (the direction from the anode of the diode to the cathode is toward the inner ring of the circular ring structure and toward the direction away from the center of the circular ring structure) is arranged on the right side of the inner ring of the circular ring structure. When the working ball 200 completely blocks a group of detection holes, the detection signal emitted by the relatively aligned signal transmitter can be blocked, thereby generating obvious signal changes in the effective detection area, which are fed back to the signal receiver, thereby setting the rotation angle of the working ball by detecting the distribution angle of a group of signal detection components where the signal receiver where the detection signal changes is located.

[0044] When the probe of the signal detection component is inserted into the detection hole, Fig.11 As shown, a group of signal detection components includes a signal transmitter that is an infrared transmitting tube, and a group of signal detection components includes a signal receiver that is an infrared receiving tube, which are separated on both sides of the annular track structure 300, and the probes of the infrared transmitting tube and the infrared receiving tube are both inserted into the detection holes set on the corresponding side of the annular track structure 300, and do not contact the working ball 200, so as to prevent light leakage, that is, to prevent the infrared rays emitted by the infrared transmitting tube from emitting to the outside of the annular track structure 300, and limit the effective detection area of ​​a group of signal detection components to the inside of the annular track structure 300, so that the working ball 200 can completely block the infrared rays (detection signal) emitted by the infrared transmitting tube.

[0045] In the relative directions of the signal transmitter and the signal receiver included in the same group of signal detection components, two detection holes are symmetrically opened on the surface of the annular track structure to form a group of detection holes, so that the signal transmitter and the signal receiver included in the same group of signal detection components are aligned with the same group of detection holes; specifically, when a signal transmitter transmits a detection signal to a signal receiver, a detection hole is respectively opened on both side surfaces of the annular track structure to transmit the detection signal to form the group of detection holes, so that a signal transmitter and a signal receiver are respectively arranged on the outside of a group of detection holes, respectively arranged on the outside of the detection holes set on the upper side surface of the annular track structure and the outside of the detection holes set on the lower side surface of the annular track structure, or respectively arranged on the outside of the detection holes opened on the outer circle of the annular track structure and the outside of the detection holes opened on the inner circle of the annular track structure, at least ensuring that the emission angle of the signal transmitter is aligned with the corresponding group of detection holes.

[0046] In this embodiment, if a signal receiver changes from receiving a valid signal to not receiving a valid signal, it is determined that the working ball rotates in the annular track structure to a signal emitted by a signal transmitter included in a group of signal detection components, that is, the working ball blocks a group of detection holes aligned with the signal transmitter, and it is determined that the detection signal detected by the signal receiver changes.

[0047] In this embodiment, among the signal transmitters and signal receivers included in the same group of signal detection components, the overlapping area of ​​the transmission range of the signal transmitter and the receiving range of the signal receiver forms an effective detection area of ​​a group of signal detection components. Thus, in the relative direction of a signal transmitter and a signal receiver, the detection signal emitted by a signal transmitter enters the receiving range of a signal receiver, and a signal receiver may receive a valid signal, so as to form a corresponding radiation area / effective detection area of ​​a group of signal detection components between a signal transmitter and a signal receiver.

[0048] Indicatively, Fig.11 The schematic diagram of the distribution between an infrared transmitting tube and an infrared receiving tube in a group of signal detection components provided is equivalent to a cross-sectional view of the annular track structure 300 at the effective detection area of ​​a group of signal detection components, wherein the working ball 200 is located in the middle and blocks a group of detection holes to prevent the infrared rays emitted by the infrared transmitting tube from being received by the infrared receiving tube. Therefore, the position where the working ball 200 blocks a group of detection holes is also the position that causes the detection signal detected by the corresponding group of signal detection components to change. The overlapping area of ​​the emission angle range of an infrared transmitting tube and the receiving angle range of an infrared receiving tube is Figure 3 The annular track structure 300 shown passes through and supports being blocked by the working ball 200 to cause changes in the infrared signal received by the infrared receiving tube.

[0049] In summary, detection holes are opened on the two side surfaces of the annular track structure between the signal transmitter and the signal receiver included in the same group of signal detection components, and an effective detection area is formed that runs through the annular track structure, providing assembly conditions for the working ball to enter the effective detection area and creating a detection environment for the working ball to block the detection signal emitted into the detection hole.

[0050] As an embodiment, when each group of signal detection components only includes a signal receiver, the signal receiver is arranged on one side of the annular track structure; within the same group of signal detection components, in the detection direction of the signal receiver, at least one detection hole is opened on the surface of the annular track structure to form a group of detection holes, so that the signal receivers included in the same group of signal detection components are aligned with the same group of detection holes; wherein the detection range of the signal receiver forms an effective detection area of ​​a group of signal detection components; if there is a signal receiver that changes from not receiving a valid signal to receiving a valid signal, it is determined that the working ball rotates in the annular track structure to block a group of detection holes, and it is determined that the detection signal detected by the signal receiver changes, at this time, the signal receiver is aligned with the working ball through a group of detection holes, and the signal receiver receives the detection signal provided by the working ball, wherein the working ball exists in the form of a signal source.

[0051] Schematically, the working ball is a magnetic sphere or a spherical magnet, and the signal receiver is a Hall sensor. Before the working ball blocks a specific set of detection holes, the Hall sensor aligned with the specific set of detection holes does not receive a valid signal, that is, a magnetic field signal of insufficient strength; when the working ball rotates to block the specific set of detection holes, the magnetic field signal generated by the working ball is emitted to the outside through the blocked set of detection holes to be received by the Hall sensor set outside. At this time, the Hall sensor receives a magnetic field signal with a sufficiently large intensity, which is recorded as receiving a valid signal, thereby determining that the detection signal detected by the signal receiver has changed. Therefore, the working ball blocks different effective detection areas during the rotation process, causing the detection signal detected by the corresponding set of signal detection components in the effective detection area passed by the working ball to change. On this basis, the rotation angle of the working ball is set by using the distribution angle of the set of signal detection components aligned with the blocked set of detection holes or the distribution angle corresponding to the effective detection area where the detection signal changes, which is then reflected as the rotation angle information generated by the rotation angle acquisition device.

[0052] Preferably, each group of signal detection components is evenly distributed around the center of the annular track structure, and specifically, the signal transmitter and the signal receiver included in each group of signal detection components are evenly distributed around the center of the annular structure, wherein the center of the annular track structure is Figure 2 The smallest circle mark in the annular track structure shown. Moreover, the centers of each device included in a group of signal detection components, the center of a corresponding group of detection holes, and the center of the annular structure are preferably distributed on the same straight line, so that the signal transmitter and signal receiver included in the same group of signal detection components are aligned with the same group of detection holes.

[0053] The angle at which each group of signal detection components is distributed around the center of the circular track structure is preset; the angle at which each group of signal detection components is distributed around the center of the circular track structure is equal to the installation angle of a relatively accurate group of detection holes in the circular track structure; the distribution angle corresponding to the effective detection area of ​​each group of signal detection components is the angle at which a group of signal detection components that form the effective detection area are distributed around the center of the circular track structure. As for the angle measurement method, a reference coordinate axis (such as a polar coordinate axis) can be constructed with the center of the circular track structure as the origin of the coordinate system, and angle measurement is performed starting from the reference coordinate axis to measure the installation angle of the corresponding group of detection holes in the circular track structure or the angle at which a relatively accurate group of signal detection components are distributed around the center of the circular track structure.

[0054] Therefore, when the working ball rotates in the annular track structure to block a group of detection holes (or the location where a group of detection holes are located), the rotation angle of the working ball in the annular track structure can be obtained based on the change in the detection signal detected by the signal receiver installed on the outside of the group of detection holes.

[0055] In some embodiments, when the rotation angle acquisition device is placed on a vertical plane, the working ball rotates along the circular track structure to a force balance position to block the detection hole, or block the detection signal emitted into a group of detection holes, or allow the working ball to emit a signal to the outside through a group of detection holes. Then, it can be determined that the working ball rotates to an effective detection area of ​​a group of signal detection components and the corresponding angle information can be obtained. In particular, when the motion carrier where the rotation angle acquisition device is located walks on the vertical plane, the angle information obtained includes the rotation angle of the working ball in the circular track structure, and the position change of the rotation angle acquisition device or the motion carrier where it is located on the vertical plane. Among them, the line connecting the force balance position and the center of the circular track structure is parallel to the direction of gravity, such as Figures 5 to 10 The line connecting the working ball 200 and the center of the annular track structure is along the vertical direction and is considered to be parallel to the gravity direction of the rotation angle acquisition device. At this time, the installation plane where the rotation angle acquisition device is located is parallel to the vertical plane.

[0056] On the basis of the above-mentioned embodiment, the rotation angle acquisition device further includes an installation slot for assembling the signal detection components, and one installation slot assembles a group of signal detection components to align with a group of detection holes; wherein each group of signal detection components is correspondingly assembled with one installation slot, and the installation slots of each group of signal detection components are evenly distributed around the center of the annular track structure. Then, the angle at which a group of signal detection components are distributed around the center of the annular track structure is equal to the angle at which a group of assembled signal detection components are distributed around the center of the annular track structure, and is also equal to the installation angle in the annular track structure of a group of detection holes aligned with a group of assembled signal detection components.

[0057] When each group of signal detection components includes a signal transmitter and a signal receiver, each signal transmitter is installed in a peripheral installation slot of the outer ring of the circular track structure around the center of the circular track structure, and each signal transmitter is installed in a peripheral installation slot of the inner ring of the circular track structure around the center of the circular track structure. In each installation slot, the transmitting probe of each signal transmitter is aligned with the receiving probe of the corresponding signal receiver through the corresponding detection hole.

[0058] Under the action of external force or the motion factor of the rotation angle acquisition device, the working ball rotates through the effective detection areas of each group of signal detection components in the annular track structure in turn and blocks the detection signals that each group of signal detection components needs to detect. In the process, there is a corresponding relationship between the installation slots of a group of signal detection components corresponding to the detection signal currently blocked by the working ball (a group of signal detection components that are aligned with the currently blocked group of detection holes) and the rotation angle of the working ball in the annular track structure, so that a mapping relationship is established between the rotation angle of the working ball in the annular track structure and the corresponding group of signal detection components. Specifically, there is a one-to-one corresponding relationship between a rotation angle rotated by the working ball in the annular track structure and the installation angle of a group of signal detection components. It is convenient to call the corresponding rotation angle through the installation slots of each group of signal detection components to perform rotation angle detection of the rotation angle acquisition device, thereby forming a simple angle measurement mold component to replace chip-level electronic materials and reduce detection costs.

[0059] The present application also discloses a control method for a window cleaning robot, wherein the window cleaning robot comprises two turntables and a rotation angle acquisition device, such as Figure 3As shown, the window cleaning robot includes a rotation angle acquisition device where the circular track structure 300 is located, a turntable 1 on the left side of the body and a turntable 2 on the right side of the body. Preferably, the rotation angle acquisition device is arranged between the turntable 1 on the left side of the body and the turntable 2 on the right side of the body, and the rotation angle acquisition device can be arranged inside the housing or on the outer surface of the body. The rotation angle acquisition device includes working balls and multiple groups of signal detection components. The specific structural distribution relationship and angle acquisition principle refer to Figure 2 The aforementioned embodiments will not be described in detail here.

[0060] In the present application, the window cleaning robot control method includes:

[0061] When the window cleaning robot is located on a non-horizontal plane, one turntable is controlled to rotate around another turntable, driving the working balls to rotate in the opposite direction, so that while swinging on the side where the turntable is located, combined with the effects of gravity and inertia, the working balls rotate in the opposite direction within the movable space. For example, if one turntable rotates clockwise around another turntable, it drives the working balls to rotate counterclockwise around a center, and the working balls will move counterclockwise across the effective detection area of ​​multiple groups of signal detection components.

[0062] In the present application, the behavior of one turntable rotating around another turntable is the behavior of the window cleaning robot swinging in a non-horizontal plane; the non-horizontal plane is inclined relative to the horizontal plane; when the window cleaning robot swings in the non-horizontal plane, the rotation speed of one turntable is faster than the rotation speed of the other turntable in the same direction, causing one turntable to rotate around the other turntable, then whenever the detection signal detected by a group of signal detection components changes, it is determined that the working ball rotates into the effective detection area of ​​a group of signal detection components, that is, it rolls into the effective detection area in a certain clockwise direction (opposite to the rotation direction of one turntable around another turntable), and then the swing angle of the window cleaning robot is obtained; wherein, the swing angle of the window cleaning robot is obtained by performing angle compensation or other angle posture transformation on the distribution angles of the group of signal detection components.

[0063] On the basis of obtaining the swing angle of the window cleaning robot, combined with the posture relationship of the working ball in the effective detection area of ​​different groups of signal detection components, the posture relationship between the effective detection area of ​​a group of signal detection components currently entered by the working ball and the initial position of the working ball, or the posture relationship between the effective detection area of ​​a group of signal detection components currently entered by the working ball and a pre-selected group of signal detection components, the current posture of the window cleaning robot on the non-horizontal plane is calculated, specifically the two-dimensional posture parameter of the midpoint of the center line of the two turntables in a plane or the two-dimensional posture parameter of the rotation angle acquisition device, thereby reflecting the posture change of the window cleaning robot on the non-horizontal plane. The non-horizontal plane here is still the walking plane, but it is tilted relative to the horizontal plane or vertically set to a vertical plane.

[0064] In some implementation scenarios, the window cleaning robot sets the rotation angle of the working ball based on the changes in the detected detection signals, using the distribution angles of a group of signal detection components that currently detect the detection signals or the distribution angles corresponding to the effective detection areas of the group of signal detection components. In the present application, the swing angle of the window cleaning robot can be expressed by the rotation angle of the working ball, wherein the angle at which the working ball has rotated in a certain clockwise direction is equal to the angle at which the one turntable has rotated in the opposite clockwise direction relative to the other turntable.

[0065] It is worth noting that since one turntable drives the working ball to rotate in the opposite direction when it rotates around another turntable, the rotation angle of the working ball can represent the swing angle of the window cleaning robot. When using the distribution angle corresponding to a set of signal detection components to perform posture conversion, it is necessary to reverse the rotation direction corresponding to the rotation angle of the working ball, and then set the reversed direction as the swing direction of the window cleaning robot.

[0066] Preferably, the distribution angle corresponding to the effective detection area of ​​each group of signal detection components is different due to the difference in the distribution angle of the group of signal detection components, and the mapping relationship between the swing angle of the window cleaning robot and the distribution angle corresponding to the effective detection area of ​​the signal detection component is pre-set, and there is a pre-set mapping relationship between the rotation angle of the working ball and the distribution angle of the effective detection area of ​​the group of signal detection components to which it is rotated, and there is also a mapping relationship between the distribution angle of a group of signal detection components and the distribution angle corresponding to the effective detection area of ​​the group of signal detection components; therefore, when the working ball rotates to the effective detection area corresponding to a group of signal detection components, the signal receiver in the corresponding group of signal detection components does not receive the detection signal, and a detection signal change is generated and fed back to the control unit of the window cleaning robot, and the control unit determines the swing angle of the window cleaning robot on a non-horizontal plane based on the aforementioned mapping relationship.

[0067] contrast Figure 2 , Figures 5 to 7 It can be seen that, during the clockwise rotation of the turntable 1 from bottom to top around the turntable 2, the working ball 200 successively enters the effective detection area of ​​the signal detection component 204, the effective detection area of ​​the signal detection component 205, and the effective detection area of ​​the signal detection component 206 in the counterclockwise direction. If there is a signal transmitter in the signal detection component to transmit a detection signal to the signal receiver, the working ball 200 successively blocks the detection signal of the signal detection component 204, the detection signal of the signal detection component 205, and the detection signal of the signal detection component 206 during the counterclockwise rotation, and also rotates successively in this process. Figure 2 The rectangular area 214 shown, Figure 2 The rectangular area 215 and Figure 2 The rectangular area 216 shown in FIG. 2 sequentially causes changes in the detection signals among the three groups of signal detection components.

[0068] The angle at which the working ball 200 rotates counterclockwise is equal to the angle at which the turntable 1 rotates around the turntable 2 in the clockwise direction, and the angle at which the working ball 200 rotates counterclockwise is represented by the difference between the distribution angles of the three groups of signal detection components. Therefore, the rotation angle of the working ball 200 and the rotation angle of the turntable 1 around the turntable 2 can be obtained by compensating the distribution angle of the signal detection component according to the preset angle offset, so that the angle mapping relationship between the rotation angle of one turntable around another turntable and the distribution angle of each group of signal detection components can be established in advance based on the preset angle offset, that is, the mapping relationship between the swing angle of the window cleaning robot and the distribution angle of the signal detection component, wherein the angle at which the turntable 1 rotates clockwise around the turntable 2 is represented as the swing angle of the window cleaning robot. Based on the aforementioned angle mapping relationship, the rotation angles of the working ball in the effective detection area of ​​the signal detection component 204, the effective detection area of ​​the signal detection component 205, and the effective detection area of ​​the signal detection component 206 are determined in turn, and then the swing angles of the window cleaning robot in the three stages of upward rotation of the side where the turntable 1 is located in the non-horizontal plane are determined.

[0069] In summary, the relative rotation between the two turntables is used to drive the ball to rotate to the effective detection area of ​​a group of signal detection components, and the swing angle of the window cleaning robot is obtained through this group of signal detection components, so as to realize the detection of the swinging motion posture of the window cleaning robot in a non-horizontal plane without using a six-axis gyroscope chip. Therefore, the window cleaning robot performs low-cost and low-computing-power detection of the two-dimensional motion trajectory in the non-horizontal plane to which it is adsorbed (the working plane inclined relative to the horizontal plane), including the detection of the inclination angle relative to the horizontal plane (the direction in which the turntable drives the body to swing), etc., which is suitable for the window cleaning robot to perform swing angle detection during wiping operations.

[0070] As an embodiment, the window cleaning robot control method specifically includes:

[0071] By adjusting the speed difference between the two turntables, one turntable is controlled to rotate around the other turntable, and the working balls are driven to rotate in the circular track structure, so that the window cleaning robot swings in the non-horizontal plane, that is, by controlling the speed of one turntable to be greater than the speed of the other turntable or controlling the speed of one turntable to be less than the speed of the other turntable, the window cleaning robot is driven to swing upward, downward, left or right in the non-horizontal plane. In each swinging behavior, one turntable rotates clockwise around the other turntable or one turntable rotates counterclockwise around the other turntable, but drives the working balls to rotate in the opposite direction in the circular track structure. For example, when one turntable rotates clockwise around the other turntable, the working balls rotate / roll (roll along the center track set in the circular track structure) / move in the counterclockwise direction in the circular track structure.

[0072] In the case where each group of signal detection components includes a signal transmitter and a signal receiver, controlling the signal transmitter installed on one side of the annular track structure to transmit a detection signal to the signal receiver installed on the other side of the annular track structure can be understood as controlling the signal transmitter installed on one side of a group of detection holes to transmit a detection signal to the signal receiver installed on the other side of a group of detection holes. The detection signal needs to pass through a group of detection holes until the working ball blocks the detection hole, that is, blocks the propagation path of the detection signal within a group of detection holes.

[0073] It should be noted that a group of signal detection components includes a signal transmitter and a signal receiver; the detection signal emitted by a signal transmitter is emitted into a signal receiver of the same group through a group of detection holes, and an effective detection area corresponding to a group of signal detection components is formed at the corresponding position of the annular track structure; each group of detection holes is partially or fully covered by the effective detection area of ​​the corresponding group of signal detection components.

[0074] Indicatively, Figure 2 A top-view structural schematic diagram of a rotation angle acquisition device is provided for the present application. Rectangular areas 211 to 216 only indicate the relative position relationship between the detection holes opened on the side of the annular track structure 300 and the signal detection component. They can also be identified as the corresponding shooting areas of the signal detection component, but are not limited to the actual opening positions of the detection holes on the surface of the annular track structure 300, because the detection holes that allow the detection signals emitted by the signal detection component to pass through (opposite to the emission direction of the signal transmitter outside the annular track structure) are not shown in the top-view structural schematic diagram.

[0075] When each group of signal detection components includes a signal transmitter and a signal receiver, in the relative direction of the signal transmitter and the signal receiver, two detection holes are symmetrically opened on the surface of the annular track structure to form a group of detection holes, so that a signal transmitter and a signal receiver are respectively arranged on the outside of a group of detection holes, respectively arranged on the outside of the detection holes set on the upper side of the annular track structure and the outside of the detection holes set on the lower side of the annular track structure, or respectively arranged on the outside of the detection holes opened in the outer circle of the annular track structure and the outside of the detection holes opened in the inner circle of the annular track structure, at least ensuring that the transmitting probe of the signal transmitter is aligned with a corresponding group of detection holes in a group of signal detection components, if the signal receiver changes from receiving a valid signal to not receiving a valid signal, it is determined that the detection detected by the group of signal detection components The detection signal changes, and it is determined that the working ball rotates in the circular track structure to block a group of detection holes, and it is determined that the working ball rotates to an effective detection area of ​​a group of signal detection components; then the distribution angle of the signal receiver that has not received the valid signal is used to set the swing angle of the window cleaning robot, that is, the distribution angle of the group of signal detection components rotated to is used to set the swing angle of the window cleaning robot, wherein the distribution angle of the signal receiver is the angle at which the signal receiver is distributed around the center of the circular track structure, which is a preset angle value; a group of signal detection components included in the signal receiver and the signal transmitter and the center of the circular track structure are collinear; thereby, when the working ball rotates to an effective detection area of ​​a group of signal detection components, the swing angle of the window cleaning robot is obtained by the distribution angle of the signal receiver included in the group of signal detection components.

[0076] When each group of signal detection components includes a signal transmitter and a signal receiver, each time the swing angle of the window cleaning robot is obtained, it is determined that the working ball blocks the detection signal within the effective detection area of ​​a group of signal detection components. Since the swing angle of the window cleaning robot obtained each time can be pre-configured and associated with the assembly angle value of the signal detection component or the detection hole, when the working ball rotates into the effective detection area of ​​a group of signal detection components and causes the detection signal within the effective detection area of ​​a group of signal detection components to change, the pre-stored corresponding angle is directly called to be set as the swing angle of the window cleaning robot, thereby completing the detection of the swing angle of the window cleaning robot through the rotation of the working ball in the annular track structure and its blocking effect on the detection signal in the effective detection area of ​​each group of signal detection components, avoiding the use of a six-axis gyroscope chip for multi-axis angle posture data calculation, reducing the detection cost, and preventing the waste of hardware computing resources and increasing the operating burden of the machine.

[0077] In the case where each group of signal detection components includes a signal receiver, in the detection direction of the signal receiver, at least one detection hole is opened on the surface of the annular track structure to form a group of detection holes; the group of detection holes is partially or completely covered by the effective detection area of ​​the corresponding group of signal detection components, and the corresponding group of signal detection components is aligned with the group of detection holes. The detection range of the signal receiver forms the effective detection area of ​​a group of signal detection components.

[0078] In the case where each group of signal detection components includes a signal receiver, the signal receiver installed on one side of the circular track structure is controlled to detect changes in the detection signal; within a group of signal detection components, if the signal receiver changes from not receiving a valid signal to receiving a valid signal, it is determined that the detection signal detected by the group of signal detection components has changed, and it is determined that the working ball rotates within the circular track structure to block a group of detection holes. At this time, the signal receiver aligns the working ball through a group of detection holes, allowing the working ball to transmit a detection signal to the signal receiver through the group of detection holes. The signal receiver receives the detection signal provided by the working ball, and determines that the working ball rotates to an effective detection area of ​​a group of signal detection components; then the swing angle of the window cleaning robot is set using the distribution angle of the signal receivers that have received the valid signal; wherein the working ball exists in the form of a signal source.

[0079] Schematically, the working ball is a magnetic sphere or a spherical magnet, and the signal receiver is a Hall sensor. Before the working ball blocks a specific set of detection holes, the Hall sensor aligned with the specific set of detection holes does not receive a valid signal, that is, a magnetic field signal of insufficient strength; when the working ball rotates to block the specific set of detection holes, the magnetic field signal generated by the working ball is emitted to the outside through the blocked set of detection holes to be received by the Hall sensor set outside. At this time, the Hall sensor receives a magnetic field signal with a sufficiently large intensity, which is recorded as receiving a valid signal, thereby determining that the detection signal detected by the signal receiver has changed. Therefore, the working ball blocks different effective detection areas during the rotation process, causing the detection signal detected by the corresponding set of signal detection components in the effective detection area passed by the working ball to change, and directly calling the pre-stored corresponding angle to be set as the swing angle of the window cleaning robot, wherein the pre-stored corresponding angle is the result of a fixed angle offset compensation for the distribution angle of a set of signal detection components aligned with the blocked set of detection holes or the distribution angle corresponding to the effective detection area where the detection signal changes, and of course the distribution angle of each set of signal detection components is also pre-set.

[0080] In some embodiments, within a group of signal detection components, if the strength of the detection signal received by the signal receiver is greater than a preset strength threshold, it is determined that the signal receiver has received a valid signal; if the strength of the detection signal received by the signal receiver is less than or equal to the preset strength threshold, it is determined that the signal receiver has not received a valid signal.

[0081] In the case where a signal detection component includes a signal transmitter and a signal receiver, if the working ball rotates in the annular track structure to block a group of detection holes, the working ball blocks the detection signal emitted by the signal transmitter for the signal receiver. Therefore, the intensity of the detection signal received by the signal receiver drops from greater than the preset intensity threshold to less than or equal to the preset intensity threshold, then it is determined that the detection signal detected by the signal receiver has changed.

[0082] In the case where a signal detection component includes a signal receiver, if the working ball rotates in the annular track structure to block a group of detection holes, the signal receiver is aligned with a group of detection holes, so that the signal receiver is aligned with the working ball through a group of detection holes, wherein the signal receiver receives the detection signal provided by the working ball, and the working ball exists in the form of a signal source. Therefore, when the working ball rotates in the annular track structure to block a group of detection holes, the intensity of the detection signal received by the signal receiver increases from less than or equal to the preset intensity threshold to greater than the preset intensity threshold, then it is determined that the detection signal detected by the signal receiver has changed.

[0083] In the process of controlling one turntable to rotate around another turntable in the above embodiment, the method of adjusting the speed difference between the two turntables includes: controlling at least one turntable to rotate, at this time, there may be two turntables rotating, but the speed of one turntable in one direction is greater than the speed of the other turntable in the same direction; or, there may be one turntable rotating and the other turntable remaining stationary, and the speed and direction of rotation of one turntable are not restricted. The rotation of one turntable here is a circular motion with the other turntable as the center, and is not limited to the rotation of the turntable. Then, by adjusting the speed of the two turntables, one turntable is controlled to rotate counterclockwise or clockwise around the other turntable, thereby driving the working balls to rotate in the opposite direction in the circular track structure. Then, when one turntable rotates counterclockwise around the other turntable, it drives the working balls to move clockwise along the circular track structure; when one turntable rotates clockwise around the other turntable, it drives the working balls to move counterclockwise along the circular track structure (regarded as rotating counterclockwise along the circular track); thereby, the change in the swing angle of the window cleaning robot on the non-horizontal plane is fed back through the angular position of the working balls in the circular track structure; wherein, the angle through which the working balls rotate in a certain clockwise direction in the circular track structure is equal to the angle through which one turntable rotates in the opposite clockwise direction around the other turntable on the non-horizontal plane.

[0084] Preferably, adjusting the speed of the two turntables includes configuring the speed of one turntable to be greater than the speed of the other turntable to form the speed of the two turntables, and then adjusting the speed of one turntable to be greater and the speed of the other turntable to be less, forming a speed difference between the two turntables, thereby controlling one turntable to rotate counterclockwise or clockwise around the other turntable. In the actual debugging process of the window cleaning robot, the speed ratio adjustment of the two turntables needs to consider the elimination of torsional stress, and is determined by factors such as the friction coefficient of the suction cup, the wiping speed, and the prevention of slippage. Thereby improving the accuracy of the window cleaning robot in obtaining the swing angle.

[0085] When one turntable rotates upward or downward around another turntable relative to the horizontal plane beyond a preset upper limit angle, or one turntable rotates left or right around another turntable relative to the vertical plane beyond a preset upper limit angle, the two turntables are controlled to alternately speed up and slow down to control the other turntable to rotate in the opposite direction around the one turntable, but without changing the swing direction of the window cleaning robot relative to the horizontal plane or the vertical plane; and the working balls are driven to rotate in the corresponding direction within the annular track structure; thereby, the swing angle of the window cleaning robot is fed back according to the distribution angle of each group of signal detection components or detection holes.

[0086] It should be noted that, when one turntable rotates upward clockwise around another turntable relative to the horizontal plane, the swing direction of the window cleaning robot relative to the horizontal plane is upward swing, specifically, clockwise upward swing; when one turntable rotates upward around another turntable relative to the horizontal plane is clockwise upward rotation, after controlling the two turntables to alternately rotate at fast and slow speeds, controlling the other turntable to rotate in the opposite direction around the one turntable is that the other turntable rotates upward counterclockwise relative to the one turntable, wherein the rotation direction of the two turntables changes from clockwise to counterclockwise; so as to maintain the upward swing direction of the window cleaning robot relative to the horizontal plane, and swing upward over a greater distance, and drive the working ball to move along the annular track structure through a corresponding set of signal detection components to obtain swing angle information. Similarly, when one turntable rotates counterclockwise upward relative to the horizontal plane around the other turntable, the swing direction of the window cleaning robot relative to the horizontal plane is upward; after controlling the two turntables to alternately rotate at fast and slow speeds, the other turntable rotates in the opposite direction around the one turntable, which is clockwise upward, wherein the rotation direction of the two turntables changes from counterclockwise to clockwise.

[0087] When one turntable rotates clockwise downward around another turntable relative to the horizontal plane, the swing direction of the window cleaning robot relative to the horizontal plane is downward, specifically, clockwise downward; when one turntable rotates clockwise downward around another turntable relative to the horizontal plane, after controlling the two turntables to alternately rotate at fast and slow speeds, controlling the other turntable to rotate in the opposite direction around the one turntable is that the other turntable rotates counterclockwise downward relative to the one turntable, wherein the rotation directions of the two turntables are changed from clockwise to counterclockwise; so as to maintain the swing direction of the window cleaning robot relative to the horizontal plane to keep swinging downward, and swing downward over a greater distance, and drive the working ball to move along the annular track structure through a corresponding set of signal detection components to obtain swing angle information. Similarly, when one turntable rotates counterclockwise downward relative to the horizontal plane around the other turntable, the swing direction of the window cleaning robot relative to the horizontal plane is downward; after controlling the two turntables to alternately rotate at fast and slow speeds, the other turntable rotates in the opposite direction around the one turntable, which is clockwise downward, wherein the rotation direction of the two turntables changes from counterclockwise to clockwise.

[0088] When one turntable rotates clockwise to the left around another turntable relative to the vertical plane, the swing direction of the window cleaning robot relative to the vertical plane is to swing to the left; when one turntable rotates left around another turntable relative to the vertical plane, it is a clockwise left rotation. After controlling the two turntables to rotate alternately at fast and slow speeds, the other turntable is controlled to rotate in the opposite direction around the one turntable, that is, the other turntable rotates counterclockwise downward relative to the one turntable, wherein the rotation directions of the two turntables are changed from clockwise to counterclockwise; so as to maintain the swing direction of the window cleaning robot relative to the vertical plane to swing to the left, and swing to the left over a greater distance, and drive the working ball to move along the annular track structure through a corresponding set of signal detection components to obtain swing angle information. Similarly, when one turntable rotates counterclockwise to the left around the other turntable relative to the vertical plane, the swing direction of the window cleaning robot relative to the vertical plane is to the left; after controlling the two turntables to alternately rotate at fast and slow speeds, the other turntable rotates in the opposite direction around the one turntable, which is clockwise to the left, wherein the rotation direction of the two turntables changes from counterclockwise to clockwise.

[0089] When one turntable rotates clockwise to the right around another turntable relative to a vertical plane, the swing direction of the window cleaning robot relative to the vertical plane is to swing to the right; when one turntable rotates right around another turntable relative to the vertical plane, that is, it rotates clockwise to the right, after controlling the two turntables to alternately rotate at fast and slow speeds, the other turntable is controlled to rotate in the opposite direction around the one turntable, that is, the other turntable rotates counterclockwise to the right relative to the one turntable, wherein the rotation directions of the two turntables are changed from clockwise to counterclockwise; so as to maintain the swing direction of the window cleaning robot relative to the vertical plane to swing to the right, and swing to the right over a greater distance, and drive the working ball to move along the annular track structure through a corresponding set of signal detection components to obtain swing angle information. Similarly, when one turntable rotates counterclockwise to the right around the other turntable relative to the vertical plane, the swing direction of the window cleaning robot relative to the vertical plane is to the right; after controlling the two turntables to alternately rotate at fast and slow speeds, the other turntable rotates in the opposite direction around the one turntable, that is, clockwise to the right, wherein the rotation direction of the two turntables changes from counterclockwise to clockwise.

[0090] In summary, when the window cleaning robot reaches the specified inclination angle (corresponding to the preset upper limit angle), the two turntables are controlled to rotate alternately at fast and slow speeds, and the speed of the turntable with a relatively high speed is updated to the speed of the turntable with a relatively low speed. At the same time, the speed of the turntable with a relatively low speed is updated to the speed of the turntable with a relatively high speed. Moreover, the travel motor used to control the two turntables may adopt opposite directions to drive the turntable with a relatively high speed to rotate around the turntable with a relatively low speed to perform the aforementioned reverse rotation (opposite to the clockwise direction) to maintain the original swing direction of the robot unchanged, strive to cover more areas along the original swing direction, and support the detection of the swing angles generated in the process of the window cleaning robot swinging in multiple directions to wipe non-horizontal surfaces.

[0091] On the basis of the aforementioned embodiment, the method of controlling one turntable to rotate around another turntable includes: controlling one turntable to rotate counterclockwise / clockwise around the other turntable according to a preset swing angle step by adjusting the speed difference between the two turntables, so that the window cleaning robot performs a step-by-step swing on the non-horizontal plane; wherein the speed difference between the two turntables adjusted within a certain time interval is used to determine the size of the preset swing angle step, forming the basis for the step-by-step detection angle.

[0092] During the actual movement, if the rotation speed of one turntable is greater than that of the other turntable, the side of the window cleaning robot where the one turntable is located can rotate counterclockwise with the center of the other turntable as the center, that is, one side of the body of the window cleaning robot rotates counterclockwise relative to the other side of the body, forming a swinging walk in the counterclockwise direction, driving the working ball to rotate clockwise synchronously in the circular track structure; or, the side of the window cleaning robot where the one turntable is located can rotate clockwise with the center of the other turntable as the center, that is, one side of the body of the window cleaning robot rotates clockwise relative to the other side of the body, forming a swinging walk in the clockwise direction, driving the working ball to rotate counterclockwise synchronously in the circular track structure.

[0093] The preset swing angle step is equal to the rotation angle step of the working ball in the annular track structure; whenever the working ball rotates the preset swing angle step in the annular track structure, the working ball rotates to block the corresponding set of detection holes and enters the effective detection area of ​​a set of signal detection components aligned with the currently blocked set of detection holes; the working ball can block the detection signal transmitted by the corresponding set of detection holes or the working ball can transmit the detection signal to the outside through the corresponding set of detection holes, causing the detection signal to be detected to change in the effective detection area of ​​a set of signal detection components aligned with the corresponding set of detection holes. Therefore, each time the window cleaning robot swings the preset swing angle step, a detection signal change is detected and a swing angle is obtained, thereby realizing step-by-step angle detection.

[0094] It should be noted that the angle formed by the positions of two adjacent groups of detection holes relative to the center of the annular track structure, or the angle formed by two adjacent groups of signal detection components relative to the center of the annular track structure is the preset swing angle step. Preferably, the preset swing angle step is pre-set to the angle step required for the window cleaning robot to swing starting from the initial swing position.

[0095] As an embodiment, the two rotating disks are respectively a first rotating disk and a second rotating disk; when the window cleaning robot swings up and down on the non-horizontal plane, in order to detect the swing angle of the window cleaning robot during the up and down swinging process, the first rotating disk is installed on the left side of the window cleaning robot and the second rotating disk is installed on the right side of the window cleaning robot, and the control is performed from the perspective of the up and down swinging behavior of the window cleaning robot, wherein the up and down swinging includes movement from bottom to top;

[0096] When the window cleaning robot moves from bottom to top on the non-horizontal surface, there are:

[0097] First, control the first turntable to rotate upward around the second turntable clockwise; at this time, in some embodiments, the line connecting the center of the first turntable and the center of the second turntable forms a preset upper limit angle relative to the horizontal plane, which may be the result of the second turntable rotating upward around the first turntable relative to the horizontal plane counterclockwise beyond the preset upper limit angle. At this time, it is necessary to control the two turntables to alternately rotate fast and slow speeds so that the first turntable moves upward around the second turntable.

[0098] During the process of the first turntable rotating upward clockwise around the second turntable, the left side of the window cleaning robot swings upward relative to its right side, and drives the working ball to rotate counterclockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components. At this time, the working ball can reach the force balance position and block the corresponding group of detection holes, which also causes the detection signal detected by the corresponding group of signal detection components to change. Based on the relevant mapping relationship mentioned in the aforementioned embodiment (for example, the angle mapping relationship), the swing angle of the window cleaning robot can be obtained, and then the current posture of the window cleaning robot can be converted, specifically the posture of the midpoint of the center line of the two turntables in the non-horizontal plane or the posture of the rotation angle acquisition device.

[0099] It should be noted that when the rotation speed of the first turntable is greater than the rotation speed of the second turntable in the same direction, the first turntable makes a circular motion around the second turntable; if the first turntable and the second turntable both rotate clockwise, the left boundary of the window cleaning robot swings upward, and the ball rotates on the circular track structure toward the right side of the window cleaning robot.

[0100] When the first turntable rotates upward clockwise around the second turntable relative to the horizontal plane and exceeds the preset upper limit angle, the two turntables are controlled to rotate upward counterclockwise around the first turntable to control the other turntable to rotate in the opposite direction around the one turntable, but the swing direction of the window cleaning robot relative to the horizontal plane is not changed; in the process of the second turntable rotating upward counterclockwise around the first turntable, the right side of the window cleaning robot swings upward relative to its left side, and drives the working ball to rotate clockwise in the annular track structure to the effective detection area corresponding to a group of signal detection components, and then the swing angle of the window cleaning robot is obtained; thus, the swing angle of the window cleaning robot is fed back according to the distribution angle of each group of signal detection components. Therefore, when one turntable rotates upward clockwise around the other turntable relative to the horizontal plane, the swing direction of the window cleaning robot relative to the horizontal plane is upward swing; after controlling the two turntables to rotate upward clockwise, the reverse rotation of the other turntable around the one turntable is counterclockwise upward rotation. To maintain the upward swing direction of the window cleaning robot relative to the horizontal plane, and to swing upward over a greater distance, and to drive the working ball to move along the circular track structure through a corresponding set of signal detection components to obtain more swing angle information.

[0101] Schematically, combined Figures 5 to 7 It can be seen that:

[0102] Corresponding to Figure 2 and Figure 5 In the non-horizontal plane, the rotating disc 1 rotates upward clockwise around the rotating disc 2, and the working ball 200 rotates counterclockwise to Figure 2 The rectangular area 214 shown in the figure and the effective detection area of ​​the signal detection component 204 can block a group of detection holes to cause the detection signal required to be detected by the signal detection component 204 to change. At this time, the angle formed by the line connecting the center of the turntable 1 and the center of the turntable 2 and the horizontal plane downward is 30 degrees, and the swing angle of the window cleaning robot is 30 degrees horizontally downward, which has a mapping relationship with the angle of the signal detection component 204 distributed around the center of the annular track structure 300 (the distribution angle of the signal detection component 204 set in advance); the swing angle of the window cleaning robot can be recorded as the middle and lower 30 degrees, so as to convert the posture of the window cleaning robot in the non-horizontal plane using triangular geometric relationships, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 204 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. Then continue to control the turntable 1 to rotate clockwise upward around the turntable 2, wherein the turntable 2 remains relatively stationary relative to the turntable 1, and the turntable 1 rotates relatively to climb up.

[0103] Then correspond to Figure 2 and Figure 6In the non-horizontal plane, when the turntable 1 rotates upward clockwise around the turntable 2, Figure 6 The left boundary of the window cleaning robot is relative to Figure 5 The left boundary of the window cleaning robot swings upward, and the working ball 200 rotates counterclockwise to Figure 2 At the rectangular area 215 shown, the effective detection area of ​​the signal detection component 205 is reached, and a group of detection holes can be blocked, causing the detection signal required to be detected by the signal detection component 205 to change and be detected. At this time, the line connecting the center of the turntable 1 and the center of the turntable 2 is parallel to the horizontal plane, that is, the window cleaning robot runs to a horizontal position, and the swing angle of the window cleaning robot is 0 degrees, which has a mapping relationship with the angle of the signal detection component 205 distributed around the center of the annular track structure 300 (the distribution angle of the signal detection component 205 set in advance); the swing angle of the window cleaning robot can be recorded as the horizontal middle position 0 degrees, so as to convert the posture of the window cleaning robot in a non-horizontal plane using triangular geometric relationships, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 205 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. Then continue to control the turntable 1 to rotate upward clockwise around the turntable 2, wherein the turntable 2 remains relatively stationary relative to the turntable 1, and the turntable 1 rotates relatively to climb up.

[0104] Then correspond to Figure 2 and Figure 7 In the non-horizontal plane, when the turntable 1 rotates upward clockwise around the turntable 2, Figure 7 The left boundary of the window cleaning robot is relative to Figure 6 The left boundary of the window cleaning robot swings upward, and the working ball 200 rotates counterclockwise to Figure 2At the rectangular area 216 shown, the effective detection area of ​​the signal detection component 206 is reached, which can block a group of detection holes, causing the detection signal required to be detected by the signal detection component 206 to change and be detected. At this time, the angle formed by the line connecting the center of turntable 1 and the center of turntable 2 and the horizontal plane upward is 30 degrees, then the swing angle of the window cleaning robot is 30 degrees horizontally upward, and there is a mapping relationship with the angle of the signal detection component 206 distributed around the center of the annular track structure 300 (the pre-set distribution angle of the signal detection component 206). The swing angle of the window cleaning robot can be recorded as 30 degrees in the middle and upper part, so as to use the triangular geometric relationship to convert the posture of the window cleaning robot in a non-horizontal plane, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 206 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. At the same time, when it is determined that turntable 1 rotates upward clockwise around turntable 2 relative to the horizontal plane to a preset upper limit angle (30 degrees), the two turntables are controlled to alternate between fast and slow rotation speeds, that is, the moving and static turntables are exchanged to climb upward, so that turntable 2 starts to rotate upward counterclockwise around turntable 1. Correspondingly, turntable 1 is relatively stationary, and turntable 2 rotates relatively to climb upward.

[0105] It should be noted that the rotation speed of the second turntable is not equal to the rotation speed of the first turntable. The obtained swing angle of the window cleaning robot is represented by the angle at which one turntable rotates around another turntable relative to the horizontal plane.

[0106] Similarly, if we follow Figure 7 , Figure 6 and Figure 5 , then combined with Figure 7 , Figure 6 and Figure 5 It can be seen from the process that the turntable 2 (corresponding to the second turntable) rotates counterclockwise upward around the turntable 1 (corresponding to the first turntable), Figure 6 The right boundary of the window cleaning robot is relative to Figure 7 The right boundary of the window cleaning robot swings upward, Figure 5 The right boundary of the window cleaning robot is relative to Figure 6 The right boundary of the window cleaning robot swings upward; there are:

[0107] First, control the second turntable to rotate counterclockwise upward around the first turntable. At this time, the line connecting the center of the first turntable and the center of the second turntable may form a preset upper limit angle relative to the horizontal plane. It may be the result that the first turntable has been rotated upward clockwise around the second turntable relative to the horizontal plane beyond the preset upper limit angle. At this time, it is necessary to control the two turntables to alternately rotate at fast and slow speeds, and the second turntable rotates upward around the first turntable, so that the window cleaning robot continues to climb / swing upward.

[0108] As the second turntable rotates counterclockwise upward around the first turntable, the right side of the window cleaning robot swings upward relative to its left side, and drives the working ball to rotate clockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components. At this time, the working ball can reach the force balance position and block the corresponding group of detection holes, which also causes the detection signal detected by the corresponding group of signal detection components to change. Based on the relevant mapping relationship mentioned in the above embodiment (for example, the angle mapping relationship), the swing angle of the window cleaning robot can be obtained, and then the current posture of the window cleaning robot can be calculated and updated.

[0109] When the second turntable rotates counterclockwise around the first turntable relative to the horizontal plane and exceeds the preset upper limit angle, the two turntables are controlled to rotate alternately at fast and slow speeds, so that the first turntable rotates clockwise around the second turntable, and the corresponding return begins. Figure 5 , Figure 6 and Figure 7 In the process that the turntable 1 (corresponding to the first turntable) rotates upward clockwise around the turntable 2 (corresponding to the second turntable), the swing direction of the window cleaning robot relative to the horizontal plane is not changed, and the swing angle of the window cleaning robot can still be fed back according to the distribution angle of each group of signal detection components. In the process that the second turntable rotates upward clockwise around the first turntable, the left side of the window cleaning robot swings upward relative to its right side, and drives the working ball to rotate counterclockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components, which triggers the acquisition of the swing angle of the window cleaning robot. Therefore, when one turntable rotates upward counterclockwise around the other turntable relative to the horizontal plane, the swing direction of the window cleaning robot relative to the horizontal plane is upward swinging. After controlling the two turntables to alternately rotate at fast and slow speeds, the other turntable rotates in the opposite direction around the one turntable clockwise upward, so as to maintain the swing direction of the window cleaning robot relative to the horizontal plane to keep swinging upward, and swing upward over a greater distance, and drive the working ball to move along the annular track structure through the corresponding group of signal detection components to obtain swing angle information in more directions.

[0110] As an embodiment, the up-and-down swinging also includes moving from top to bottom. Based on the above embodiment, it is deduced that when the window cleaning robot moves from top to bottom on the non-horizontal plane, there exists:

[0111] First, control the first turntable to rotate counterclockwise downward around the second turntable; at this time, in some embodiments, the line connecting the center of the first turntable and the center of the second turntable forms a preset upper limit angle relative to the horizontal plane, which may be the result of the second turntable rotating counterclockwise downward around the first turntable relative to the horizontal plane beyond the preset upper limit angle. At this time, it is necessary to control the two turntables to alternately rotate fast and slow speeds so that the first turntable moves downward around the second turntable.

[0112] As the first turntable rotates counterclockwise downward around the second turntable, the left side of the window cleaning robot swings downward relative to its right side, driving the working ball to rotate clockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components. At this time, the working ball can reach the force balance position and block the corresponding group of detection holes, which also causes the detection signal detected by the corresponding group of signal detection components to change. Based on the relevant mapping relationship mentioned in the above embodiment (for example, the angle mapping relationship), the swing angle of the window cleaning robot can be obtained, and then the current posture of the window cleaning robot can be converted.

[0113] It should be noted that when the rotation speed of the first turntable is greater than the rotation speed of the second turntable in the same direction, the first turntable moves in a circular motion around the second turntable; if the first turntable and the second turntable both rotate counterclockwise, the left boundary of the window cleaning robot swings downward.

[0114] When the first turntable rotates counterclockwise downward around the second turntable relative to the horizontal plane and exceeds the preset upper limit angle, the two turntables are controlled to rotate clockwise downward around the first turntable alternately, so that the two turntables are controlled to rotate in the opposite direction after the alternating speed, but the swing direction of the window cleaning robot relative to the horizontal plane is not changed; in the process of the second turntable rotating clockwise downward around the first turntable, the right side of the window cleaning robot swings downward relative to its left side, and drives the working ball to rotate counterclockwise in the annular track structure to the effective detection area corresponding to a group of signal detection components, and then the swing angle of the window cleaning robot is obtained; thus, the swing angle of the window cleaning robot is fed back according to the distribution angle of each group of signal detection components. Therefore, when one turntable rotates counterclockwise downward around another turntable relative to the horizontal plane, the swing direction of the window cleaning robot relative to the horizontal plane is downward swinging; after controlling the two turntables to rotate in the opposite direction, the reverse rotation of the other turntable around the one turntable is clockwise downward rotation. To maintain the window cleaning robot's swinging direction relative to the horizontal plane to be downward swinging, and to swing downward over a greater distance, and to drive the working ball to move along the circular track structure through a corresponding set of signal detection components to obtain more swing angle information.

[0115] Schematically, combined Figure 7 to Figure 5 It can be seen that:

[0116] Corresponding to Figure 2 and Figure 7 In the non-horizontal plane, the rotating disc 1 rotates counterclockwise downward around the rotating disc 2, and the working ball 200 rotates counterclockwise to Figure 2The rectangular area 216 shown in the figure and the effective detection area of ​​the signal detection component 206 can block a group of detection holes to cause the detection signal required to be detected by the signal detection component 206 to change. At this time, the angle formed by the line connecting the center of the turntable 1 and the center of the turntable 2 and the horizontal plane is 30 degrees, so the swing angle of the window cleaning robot is 30 degrees from the horizontal upward, which has a mapping relationship with the angle of the signal detection component 206 distributed around the center of the annular track structure 300 (the distribution angle of the signal detection component 206 set in advance); the swing angle of the window cleaning robot can be recorded as 30 degrees in the middle and upper part, so as to convert the posture of the window cleaning robot in the non-horizontal plane using triangular geometric relationship, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 206 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. Then continue to control the turntable 1 to rotate counterclockwise downward around the turntable 2, wherein the turntable 2 remains relatively stationary relative to the turntable 1, and the turntable 1 rotates relatively to climb down.

[0117] Then correspond to Figure 2 and Figure 6 In the non-horizontal plane, when the turntable 1 rotates counterclockwise downward around the turntable 2, Figure 6 The left boundary of the window cleaning robot is relative to Figure 7 The left boundary of the window cleaning robot swings downward, and the working ball 200 rotates counterclockwise to Figure 2 At the rectangular area 215 shown, the effective detection area of ​​the signal detection component 205 is reached, and a group of detection holes can be blocked, causing the detection signal required to be detected by the signal detection component 205 to change and be detected. At this time, the line connecting the center of the turntable 1 and the center of the turntable 2 is parallel to the horizontal plane, that is, the window cleaning robot runs to a horizontal position, and the swing angle of the window cleaning robot is 0 degrees, which has a mapping relationship with the angle of the signal detection component 205 distributed around the center of the annular track structure 300 (the distribution angle of the signal detection component 205 set in advance); the swing angle of the window cleaning robot can be recorded as the horizontal middle position 0 degrees, so as to convert the posture of the window cleaning robot in a non-horizontal plane using triangular geometric relationships, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 205 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. Then continue to control the turntable 1 to rotate counterclockwise downward around the turntable 2, wherein the turntable 2 remains relatively stationary relative to the turntable 1, and the turntable 1 rotates relatively to climb down.

[0118] Then correspond to Figure 2 and Figure 5 In the non-horizontal plane, when the turntable 1 rotates counterclockwise downward around the turntable 2, Figure 5 The left boundary of the window cleaning robot is relative to Figure 6The left boundary of the window cleaning robot swings downward, and the working ball 200 rotates counterclockwise to Figure 2 At the rectangular area 214 shown, the effective detection area of ​​the signal detection component 204 is reached, which can block a group of detection holes, causing the detection signal required to be detected by the signal detection component 204 to change and be detected. At this time, the angle formed by the line connecting the center of turntable 1 and the center of turntable 2 and the horizontal plane downward is 30 degrees, then the swing angle of the window cleaning robot is 30 degrees horizontally upward, and there is a mapping relationship with the angle distributed around the center of the annular track structure 300 by the signal detection component 204 (the pre-set distribution angle of the signal detection component 204). The swing angle of the window cleaning robot can be recorded as the middle and lower 30 degrees, so as to use the triangular geometric relationship to convert the posture of the window cleaning robot in a non-horizontal plane, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 204 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. At the same time, when it is determined that turntable 1 rotates counterclockwise downward around turntable 2 relative to the horizontal plane to a preset upper limit angle (30 degrees), the two turntables are controlled to alternate between fast and slow rotation speeds, that is, the moving and static turntables are exchanged to climb upward, so that turntable 2 starts to rotate clockwise downward around turntable 1. Correspondingly, turntable 1 is relatively stationary, and turntable 2 rotates relatively to climb downward.

[0119] It should be noted that the rotation speed of the second turntable is not equal to the rotation speed of the first turntable. The obtained swing angle of the window cleaning robot is represented by the angle at which one turntable rotates around another turntable relative to the horizontal plane.

[0120] Similarly, if we follow Figure 5 , Figure 6 and Figure 7 , then combined with Figure 5 , Figure 6 and Figure 7 It can be seen from the process that the turntable 2 (corresponding to the second turntable) rotates clockwise downward around the turntable 1 (corresponding to the first turntable), Figure 6 The right boundary of the window cleaning robot is relative to Figure 5 The right boundary of the window cleaning robot swings downward, Figure 7 The right boundary of the window cleaning robot is relative to Figure 6 The right boundary of the window cleaning robot swings downward; there are:

[0121] First, the second turntable is controlled to rotate downward clockwise around the first turntable; during the process of the second turntable rotating downward clockwise around the first turntable, the right side of the window cleaning robot swings downward relative to its left side, and drives the working ball to rotate counterclockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components. At this time, the working ball can reach the force balance position and block the corresponding group of detection holes, which also causes the detection signal detected by the corresponding group of signal detection components to change, triggering the acquisition of the swing angle of the window cleaning robot, and then calculating and updating the current posture of the window cleaning robot.

[0122] When the second turntable rotates clockwise around the first turntable relative to the horizontal plane and exceeds the preset upper limit angle, the two turntables are controlled to alternately speed up and slow down, so that the first turntable rotates counterclockwise around the second turntable and starts the corresponding return. Figure 7 , Figure 6 and Figure 5 During the process in which turntable 1 (corresponding to the first turntable) rotates counterclockwise downward around turntable 2 (corresponding to the second turntable), the swing direction of the window cleaning robot relative to the horizontal plane is not changed, and the swing angle of the window cleaning robot can still be fed back according to the distribution angle of each group of signal detection components. During the process in which the first turntable rotates counterclockwise downward around the second turntable, the left side of the window cleaning robot swings downward relative to its right side, and drives the working ball to rotate clockwise in the annular track structure to the effective detection area corresponding to a group of signal detection components, which triggers the acquisition of the swing angle of the window cleaning robot.

[0123] In summary, the up and down swinging (up and down swinging movement) of the window cleaning robot in the non-horizontal plane can be classified into upper and middle 30 degrees, horizontal middle position 0 degrees and lower and middle 30 degrees. The three swinging angles are obtained by the rotation angle acquisition device, which is suitable for the window cleaning robot to determine various posture information in the up and down swinging in the scenario of up and down swinging wiping operation.

[0124] As an embodiment, the two turntables are respectively the first turntable and the second turntable; when the window cleaning robot swings left and right in the non-horizontal plane, in order to detect the swinging angle of the window cleaning robot during the left and right swinging process, this embodiment installs the first turntable on the lower side of the window cleaning robot, and the second turntable on the upper side of the window cleaning robot, and controls it from the perspective of the left and right swinging behavior of the window cleaning robot; wherein, the left and right swinging includes movement from left to right.

[0125] When the window cleaning robot moves from left to right on the non-horizontal plane, there are:

[0126] First, control the first turntable to rotate counterclockwise to the right around the second turntable; the rotation can start from a predetermined initial position; in the process of the first turntable rotating counterclockwise to the right around the second turntable, the lower side of the window cleaning robot swings to the right relative to its upper side, and drives the working ball to rotate in the clockwise direction in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components. At this time, the working ball can reach the force balance position and block the corresponding group of detection holes, and also cause the detection signal detected by the corresponding group of signal detection components to change. Based on the relevant mapping relationship mentioned in the aforementioned embodiment (for example, the angle mapping relationship), the swing angle of the window cleaning robot can be obtained, and then the current posture of the window cleaning robot can be converted, specifically the posture of the midpoint of the center line of the two turntables in the non-horizontal plane or the posture of the rotation angle acquisition device.

[0127] It should be noted that when the rotation speed of the first turntable is greater than the rotation speed of the second turntable in the same direction, the first turntable moves in a circular motion around the second turntable; if the first turntable and the second turntable both rotate counterclockwise, the lower boundary of the window cleaning robot swings to the right, and the ball rotates in the circular track structure toward the left side of the window cleaning robot.

[0128] When the first turntable rotates counterclockwise to the right around the second turntable relative to the vertical plane and exceeds a preset upper limit angle, the two turntables are controlled to alternately speed up and slow down, so that the second turntable rotates clockwise to the right around the first turntable. At this time, the swing direction of the window cleaning robot relative to the vertical plane is not changed; in the process of the second turntable rotating clockwise to the right around the first turntable, the upper side of the window cleaning robot swings to the right relative to its lower side, and drives the working ball to rotate counterclockwise in the annular track structure to the effective detection area corresponding to a group of signal detection components, so as to obtain the swing angle of the window cleaning robot; thereby, the swing angle of the window cleaning robot is fed back according to the distribution angle of each group of signal detection components.

[0129] Schematically, combined Figures 8 to 10 It can be seen that:

[0130] Corresponding to Figure 2 and Figure 8 In the non-horizontal plane, when the turntable 1 rotates counterclockwise to the right around the turntable 2, the working ball 200 rotates counterclockwise to Figure 2At the rectangular area 213 shown, the effective detection area of ​​the signal detection component 203 is reached, and a group of detection holes can be blocked to cause the detection signal required to be detected by the signal detection component 203 to change. At this time, the angle formed by the line connecting the center of the turntable 1 and the center of the turntable 2 and the vertical plane to the left is 30 degrees, and the swing angle of the window cleaning robot is 30 degrees vertically to the left, which has a mapping relationship with the angle of the signal detection component 203 distributed around the center of the annular track structure 300 (the distribution angle of the signal detection component 203 set in advance); the swing angle of the window cleaning robot can be recorded as 30 degrees in the middle left, so as to convert the posture of the window cleaning robot in a non-horizontal plane using triangular geometric relationships, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 203 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. Then continue to control the turntable 1 to rotate counterclockwise to the right around the turntable 2, wherein the turntable 2 remains relatively stationary relative to the turntable 1, and the turntable 1 rotates relatively to move to the right.

[0131] Then correspond to Figure 2 and Fig. 9 In the non-horizontal plane, turntable 1 rotates counterclockwise to the right around turntable 2. Fig. 9 The lower boundary of the window cleaning robot is relative to Figure 8 The lower boundary of the window cleaning robot swings rightward, and the working ball 200 rotates clockwise to Figure 2 At the rectangular area 212 shown, the effective detection area of ​​the signal detection component 202 is reached, and a group of detection holes can be blocked, causing the detection signal required to be detected by the signal detection component 202 to change and be detected. At this time, the line connecting the center of the turntable 1 and the center of the turntable 2 is parallel to the vertical plane, and the swing angle of the window cleaning robot is 0 degrees, which has a mapping relationship with the angle of the signal detection component 202 distributed around the center of the annular track structure 300 (the distribution angle of the signal detection component 202 set in advance); the swing angle of the window cleaning robot can be recorded as the vertical middle position 0 degrees, so as to convert the posture of the window cleaning robot in the non-horizontal plane using triangular geometric relationships, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 202 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. Then continue to control the turntable 1 to rotate counterclockwise to the right around the turntable 2, wherein the turntable 2 remains relatively stationary relative to the turntable 1, and the turntable 1 rotates relatively to move to the right.

[0132] Then correspond to Figure 2 and Fig.10 In the non-horizontal plane, turntable 1 rotates counterclockwise to the right around turntable 2. Fig.10 The lower boundary of the window cleaning robot is relative to Fig. 9 The lower boundary of the window cleaning robot swings rightward, and the working ball 200 rotates clockwise to Figure 2 At the rectangular area 211 shown, the effective detection area of ​​the signal detection component 201 is reached, and a group of detection holes can be blocked, causing the detection signal required to be detected by the signal detection component 201 to change and be detected. At this time, the angle formed by the line connecting the center of turntable 1 and the center of turntable 2 and the vertical plane to the right is 30 degrees, then the swing angle of the window cleaning robot is 30 degrees vertically to the right, and there is a mapping relationship with the angle distributed around the center of the annular track structure 300 by the signal detection component 201 (the pre-set distribution angle of the signal detection component 201). The swing angle of the window cleaning robot can be recorded as 30 degrees to the right of the center, so as to use the triangular geometric relationship to convert the posture of the window cleaning robot in a non-horizontal plane, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 201 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. At the same time, when it is determined that turntable 1 rotates counterclockwise to the right around turntable 2 relative to the vertical plane beyond a preset upper limit angle (preferably 30 degrees), the two turntables are controlled to alternate between fast and slow speeds, that is, the moving and static turntables are exchanged, so that turntable 2 starts to rotate clockwise to the right around turntable 1. Correspondingly, turntable 1 is relatively stationary, and turntable 2 rotates relatively to the right.

[0133] Similarly, if we follow Fig.10 , Fig. 9 and Figure 8 , then combined with Fig.10 , Fig. 9 and Figure 8 It can be seen from the process that the turntable 2 (corresponding to the second turntable) rotates counterclockwise upward around the turntable 1 (corresponding to the first turntable), Fig. 9 The upper boundary of the window cleaning robot is relative to Fig.10 The upper boundary of the window cleaning robot swings rightward, Figure 8 The upper boundary of the window cleaning robot is relative to Fig. 9 The upper boundary of the window cleaning robot swings right; there are:

[0134] First, control the second turntable to rotate clockwise to the right around the first turntable; during the process of the second turntable rotating clockwise to the right around the first turntable, the upper side of the window cleaning robot swings to the right relative to its lower side, and drives the working ball to rotate counterclockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components. At this time, the working ball can reach the force balance position and block the corresponding group of detection holes, and also cause the detection signal detected by the corresponding group of signal detection components to change. Based on the relevant mapping relationship mentioned in the aforementioned embodiment (for example, the angle mapping relationship), the swing angle of the window cleaning robot can be obtained, and then the current posture of the window cleaning robot can be calculated and updated.

[0135] When the second turntable rotates clockwise to the right around the first turntable relative to the horizontal plane and exceeds the preset upper limit angle, the two turntables are controlled to rotate alternately fast and slow, so that the first turntable rotates counterclockwise to the right around the second turntable, but the swing direction of the window cleaning robot relative to the vertical plane is not changed, and the swing angle of the window cleaning robot can still be fed back according to the distribution angle of each group of signal detection components; during the process of the first turntable rotating counterclockwise to the right around the second turntable, the lower side of the window cleaning robot swings to the right relative to its upper side, and drives the working ball to rotate clockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components, which triggers the acquisition of the swing angle of the window cleaning robot. In this way, the swing direction of the window cleaning robot relative to the horizontal plane can be maintained to swing upward, and swing upward over a greater distance, and drive the working ball to move along the annular track structure through the corresponding group of signal detection components to obtain swing angle information in more directions.

[0136] As an embodiment, the left-right swinging further includes moving from right to left; when the window cleaning robot moves from right to left on the non-horizontal plane, there exists:

[0137] First, control the first turntable to rotate clockwise to the left around the second turntable; during the process of the first turntable rotating clockwise to the left around the second turntable, the lower side of the window cleaning robot swings to the left relative to its upper side, and drives the working ball to rotate counterclockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components. At this time, the working ball can reach the force balance position and block the corresponding group of detection holes, and also cause the detection signal detected by the corresponding group of signal detection components to change. Based on the relevant mapping relationship mentioned in the aforementioned embodiment (for example, the angle mapping relationship), the swing angle of the window cleaning robot can be obtained, and then the current posture of the window cleaning robot can be converted.

[0138] It should be noted that when the rotation speed of the first turntable is greater than the rotation speed of the second turntable in the same direction, the first turntable moves in a circular motion around the second turntable; if the first turntable and the second turntable both rotate clockwise, the lower boundary of the window cleaning robot swings left.

[0139] When the first turntable rotates clockwise to the left around the second turntable relative to the vertical plane and exceeds a preset upper limit angle, the two turntables are controlled to alternate between fast and slow speeds, so that the second turntable rotates counterclockwise to the left around the first turntable, so that the two turntables are controlled to rotate in the opposite direction after the alternation of fast and slow speeds, but the swinging direction of the window cleaning robot relative to the vertical plane is not changed; in the process of the second turntable rotating counterclockwise to the left around the first turntable, the upper side of the window cleaning robot swings to the left relative to its lower side, and drives the working ball to rotate counterclockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components, and then the swing angle of the window cleaning robot is obtained; thereby maintaining the swing direction of the window cleaning robot relative to the vertical plane to swing to the left, and swinging to the left over a greater distance, and driving the working ball to move along the annular track structure through the corresponding group of signal detection components to obtain more swing angle information, so as to realize the feedback of the swing angle of the window cleaning robot according to the distribution angle of each group of signal detection components.

[0140] Schematically, combined Figure 10 to Figure 8 It can be seen that:

[0141] Corresponding to Figure 2 and Fig.10 In the non-horizontal plane, the turntable 1 rotates clockwise to the left around the turntable 2, and the working ball 200 rotates counterclockwise to Figure 2 If the rectangular area 211 shown in the figure reaches the effective detection area of ​​the signal detection component 201, a group of detection holes can be blocked to cause the detection signal required to be detected by the signal detection component 201 to change. At this time, the angle formed by the line connecting the center of the turntable 1 and the center of the turntable 2 and the vertical plane to the right is 30 degrees, and the swing angle of the window cleaning robot is 30 degrees vertically to the right, which has a mapping relationship with the angle of the signal detection component 206 distributed around the center of the annular track structure 300 (the distribution angle of the signal detection component 201 set in advance); the swing angle of the window cleaning robot can be recorded as 30 degrees in the middle right, so as to convert the posture of the window cleaning robot in a non-horizontal plane using triangular geometric relationships, wherein, when the non-horizontal plane is a vertical plane, the line connecting the center of the signal detection component 201 and the annular track structure 300 is parallel to the gravity direction of the working ball 200. Then continue to control the turntable 1 to rotate clockwise to the left around the turntable 2, wherein the turntable 2 remains relatively stationary relative to the turntable 1, and the turntable 1 rotates relatively to move left.

[0142] Then correspond to Figure 2 and Fig. 9 In the non-horizontal plane, turntable 1 rotates clockwise to the left around turntable 2. Fig. 9 The lower boundary of the window cleaning robot is relative to Fig.10 The lower boundary of the window cleaning robot swings leftward, and the working ball 200 rotates clockwise to Figure 2At the rectangular area 212 shown, the effective detection area of ​​the signal detection component 202 is reached, and a group of detection holes can be blocked, causing the detection signal required to be detected by the signal detection component 202 to change and be detected. At this time, the line connecting the center of the turntable 1 and the center of the turntable 2 is parallel to the vertical plane, that is, the window cleaning robot runs to the vertical position, and the swing angle of the window cleaning robot is 0 degrees, which has a mapping relationship with the angle of the signal detection component 202 distributed around the center of the annular track structure 300 (the distribution angle of the signal detection component 202 set in advance); then the swing angle of the window cleaning robot can be recorded as the vertical middle position 0 degrees, so as to convert the posture of the window cleaning robot in the non-horizontal plane using triangular geometric relationships, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 202 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. Then continue to control the turntable 1 to rotate clockwise to the left around the turntable 2, wherein the turntable 2 remains relatively stationary relative to the turntable 1, and the turntable 1 rotates relatively to move to the left.

[0143] Then correspond to Figure 2 and Figure 8 In the non-horizontal plane, turntable 1 rotates clockwise to the left around turntable 2. Figure 8 The lower boundary of the window cleaning robot is relative to Fig. 9 The lower boundary of the window cleaning robot swings leftward, and the working ball 200 rotates clockwise to Figure 2 At the rectangular area 213 shown, the effective detection area of ​​the signal detection component 203 is reached, which can block a group of detection holes, causing the detection signal required to be detected by the signal detection component 203 to change and be detected. At this time, the angle formed by the line connecting the center of turntable 1 and the center of turntable 2 and the vertical plane to the left is 30 degrees, then the swing angle of the window cleaning robot is 30 degrees vertically to the left, and there is a mapping relationship with the angle distributed around the center of the annular track structure 300 by the signal detection component 201 (the distribution angle of the signal detection component 203 set in advance). The swing angle of the window cleaning robot can be recorded as 30 degrees to the left of the center, so as to use the triangular geometric relationship to convert the posture of the window cleaning robot in a non-horizontal plane, wherein, when the non-horizontal plane is a vertical plane, the line connecting the signal detection component 203 and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. At the same time, when it is determined that turntable 1 rotates clockwise to the left around turntable 2 relative to the vertical plane beyond a preset upper limit angle (preferably 30 degrees), the two turntables are controlled to alternate between fast and slow rotation speeds, that is, the dynamic and static turntables are exchanged, so that turntable 2 starts to rotate counterclockwise to the left around turntable 1. Correspondingly, turntable 1 is relatively stationary, and turntable 2 rotates relatively to the left.

[0144] Similarly, if we follow Figure 8 , Fig. 9 and Fig.10 , then combined with Figure 8 , Fig. 9 and Fig.10 It can be seen from the process that the turntable 2 (corresponding to the second turntable) rotates counterclockwise to the left around the turntable 1 (corresponding to the first turntable), Fig. 9 The upper boundary of the window cleaning robot is relative to Figure 8 The upper boundary of the window cleaning robot swings leftward, Fig.10 The upper boundary of the window cleaning robot is relative to Fig. 9 The upper boundary of the window cleaning robot swings left; there are:

[0145] First, control the second turntable to rotate counterclockwise to the left around the first turntable; during the process of the second turntable rotating counterclockwise to the left around the first turntable, the upper side of the window cleaning robot swings to the left relative to its lower side, and drives the working ball to rotate clockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components. At this time, the working ball can reach the force balance position and block the corresponding group of detection holes, and also cause the detection signal detected by the corresponding group of signal detection components to change. Based on the relevant mapping relationship mentioned in the aforementioned embodiment (for example, the angle mapping relationship), the swing angle of the window cleaning robot can be obtained, and then the current posture of the window cleaning robot can be calculated and updated.

[0146] When the second turntable rotates counterclockwise to the left around the first turntable relative to the vertical plane and exceeds the preset upper limit angle, the two turntables are controlled to rotate alternately fast and slow, so that the first turntable rotates clockwise to the left around the second turntable, but the swing direction of the window cleaning robot relative to the vertical plane is not changed, and the swing angle of the window cleaning robot can still be fed back according to the distribution angle of each group of signal detection components; during the process of the first turntable rotating clockwise to the left around the second turntable, the lower side of the window cleaning robot swings to the left relative to its upper side, and drives the working ball to rotate counterclockwise in the annular track structure to the effective detection area of ​​the corresponding group of signal detection components, which triggers the acquisition of the swing angle of the window cleaning robot. In this way, the swing direction of the window cleaning robot relative to the vertical plane can be maintained to swing to the left, and swing to the left over a greater distance, and drive the working ball to move along the annular track structure through the corresponding group of signal detection components to obtain swing angle information in more directions.

[0147] In summary, the left and right swinging (left and right swinging movement) of the window cleaning robot in the non-horizontal plane can be classified into 30 degrees in the middle left, 0 degrees in the vertical middle position, and 30 degrees in the middle right. The three swinging angles are obtained correspondingly by the rotation angle acquisition device, which is suitable for the window cleaning robot to determine various posture information in the left and right swinging in the scenario of left and right swinging wiping operation.

[0148] In the aforementioned embodiment, the method for obtaining the swing angle of the window cleaning robot includes: first determining the angle mapping relationship between the rotation angle of one turntable around another turntable and the distribution angle of each group of signal detection components; in the window cleaning robot, the relative position between the circular track structure and the two turntables in the angle acquisition device remains unchanged, and the working ball moves in the circular track structure as one turntable rotates around the other turntable, and based on the relevant triangular geometric relationship, the angle rotated by the working ball in a certain clockwise direction is equal to the angle rotated by one turntable around the other turntable in the opposite clockwise direction; the angle rotated by the working ball in a certain clockwise direction can be represented by the difference in the distribution angles of different groups of signal detection components to feedback the change in the swing angle of the window cleaning robot.

[0149] It should be noted that the distribution angle of a group of signal detection components is the angle at which the signal receivers included in the group of signal detection components are distributed around the center of the circular track structure; the distribution angle of the signal receivers around the center of the circular track structure can be expressed by the angle formed by the line connecting the signal receiver and the center of the circular track structure relative to the perpendicularity of the line connecting the centers of the two turntables.

[0150] In some implementation scenarios, the window cleaning robot sets the rotation angle of the working ball based on the changes in the detected detection signals, using the distribution angles of a group of signal detection components that currently detect the detection signals or the distribution angles corresponding to the effective detection areas of the group of signal detection components. In the present application, the swing angle of the window cleaning robot can be expressed by the rotation angle of the working ball.

[0151] Indicatively, compared Figure 2 , Figures 5 to 7 It can be seen that the angle at which the working ball 200 rotates in the counterclockwise direction is equal to the angle at which the turntable 1 rotates around the turntable 2 in the clockwise direction, and the angle at which the working ball 200 rotates in the counterclockwise direction is represented by the difference between the distribution angles of the three groups of signal detection components. Therefore, the rotation angle of the working ball 200 and the rotation angle of the turntable 1 around the turntable 2 can be obtained by compensating the distribution angle of the signal detection component according to the preset angle offset, so that the angle mapping relationship between the rotation angle of one turntable around another turntable and the distribution angle of each group of signal detection components can be established in advance based on the preset angle offset, that is, the mapping relationship between the swing angle of the window cleaning robot and the distribution angle of the signal detection component.

[0152] Therefore, based on the aforementioned angle mapping relationship, the swing angle of the window cleaning robot is mapped using the distribution angle of a group of signal detection components whose detected detection signals have changed. The swing angle of the window cleaning robot relative to the horizontal plane is represented by the angle between the center line of the two turntables and the horizontal plane; or the swing angle of the window cleaning robot relative to the vertical plane is represented by the angle between the center line of the two turntables and the vertical plane.

[0153] Preferably, when the non-horizontal surface is a vertical surface, if one turntable does not rotate around the other turntable, the position of the working ball in the annular track structure is a force-balanced position, wherein the line connecting the force-balanced position and the center of the annular track structure is parallel to the gravity direction of the working ball, such as Figures 5 to 10 In the figure, the line connecting the group of signal detection components blocked by the working ball 200 (i.e., within the effective detection area of ​​the group of signal detection components) and the center of the annular track structure 300 is parallel to the gravity direction of the working ball 200. Therefore, when one turntable rotates around another turntable, the working ball rotates in a certain clockwise direction to the effective detection area of ​​the group of signal detection components to which the force balance position exists.

[0154] As an embodiment, based on the posture of the window cleaning robot that was previously acquired the last time it walked, the angle offset is calculated using the currently acquired swing angle, and then the current posture of the window cleaning robot is converted in combination with the angle offset. Specifically, whenever the swing angle of the window cleaning robot is acquired, the current posture of the window cleaning robot is converted in combination with the posture of the robot before it rotated through the currently acquired swing angle (i.e., the posture of the last time it walked), using the currently acquired swing angle as the angle offset, and a mapping relationship is established between the current posture of the window cleaning robot and the distribution angle of a group of signal detection components corresponding to the effective detection area where the working ball is currently located, so that the installation slots of a group of signal detection components corresponding to the effective detection area where the working ball is currently located in the rotation angle acquisition device correspond to the current posture of the window cleaning robot.

[0155] The corresponding relationship can be understood as: on the basis of obtaining the swing angle of the window cleaning robot, combined with the posture relationship of the working ball in the effective detection area of ​​different groups of signal detection components, the posture relationship between the effective detection area of ​​a group of signal detection components currently entered by the working ball and the initial position of the working ball, or the posture relationship between the effective detection area of ​​a group of signal detection components currently entered by the working ball and a pre-selected group of signal detection components, the current posture of the window cleaning robot on the non-horizontal plane is calculated, specifically the two-dimensional posture parameter of the midpoint of the center line of the two turntables in a plane or the two-dimensional posture parameter of the rotation angle acquisition device, thereby reflecting the posture change of the window cleaning robot on the non-horizontal plane. The non-horizontal plane here is still the walking plane, but it is tilted relative to the horizontal plane or vertically set to a vertical plane.

[0156] The current posture of the window cleaning robot is the posture of the body center of the window cleaning robot, and the body center is the midpoint of the line connecting the centers of the two turntables.

[0157] Furthermore, when the working ball passes through the effective detection area of ​​the same set of signal detection components multiple times, if different postures are allowed to be calculated each time, the distribution angles of the same set of signal detection components are configured to correspond to multiple postures. Figures 5 to 10 It can be seen that whenever the working ball passes through the effective detection area of ​​the same group of signal detection components for multiple times, the posture calculated each time may not be the same, although the numerical value of the swing angle of the window cleaning robot may be equal. Therefore, it is necessary to establish a corresponding relationship between the distribution angle of the same group of signal detection components and multiple postures, and more specifically, to establish a corresponding relationship between the installation slots of the same group of signal detection components in the rotation angle acquisition device and multiple postures; therefore, simple mold components (the setting of the installation slots of the signal detection components and the ball and the track structure on which they move) can be used instead of chip-level materials, structural components with specific slotted positions are designed, and signal detection components are placed, so as to establish a one-to-one correspondence between the machine posture and the installation slots where the signal detection components are located, so as to obtain accurate posture information at a lower cost, and it is also convenient to adjust the posture information to be obtained by changing the relative position of the installation slots.

[0158] Under the action of external force or the motion factor of the rotation angle acquisition device, the working ball rotates through the effective detection areas of each group of signal detection components in the annular track structure in turn and affects the detection signals that each group of signal detection components needs to detect. In the process, there is a corresponding relationship between the installation slots of a group of signal detection components corresponding to the detection signal currently blocked by the working ball (a group of signal detection components that are aligned with the currently blocked group of detection holes) and the rotation angle of the working ball in the annular track structure, so that a mapping relationship is established between the rotation angle of the working ball in the annular track structure and the corresponding group of signal detection components. Specifically, there is a one-to-one corresponding relationship between a rotation angle rotated by the working ball in the annular track structure and the installation angle of the installation slot of a group of signal detection components, which facilitates the rotation angle detection of the rotation angle acquisition device by calling the corresponding rotation angle through the installation slots of each group of signal detection components, thereby forming a simple angle measurement mold component to replace chip-level electronic materials and reduce detection costs.

[0159] As an example, combining Figure 4 It can be seen that the window cleaning robot also includes a trigger switch device for detecting whether the window cleaning robot is on a horizontal plane; the non-horizontal plane disclosed in the aforementioned embodiment is not parallel to the horizontal plane, and the non-horizontal plane includes but is not limited to a vertical plane, and the window cleaning robot needs to rely on a motor to adsorb to the vertical plane.

[0160] The control method of the window cleaning robot comprises: detecting whether the window cleaning robot is placed horizontally by triggering a switch device, and using Figure 4 The up and down movement of the switch ball 101 in the trigger switch device 10 is detected; when the window cleaning robot is placed horizontally, the switch ball 101 falls freely in the trigger switch device under the action of gravity to cause the trigger signal to change. Thus, it is detected that the window cleaning robot is adsorbed to a horizontal surface or a non-horizontal surface.

[0161] If the trigger signal emitted by the trigger switch device changes, it is detected that the window cleaning robot is placed horizontally, that is, the window cleaning robot is placed on the horizontal plane, and at least the two turntables are placed on the horizontal plane so that the installation planes of the two turntables are parallel to the horizontal plane; then the window cleaning robot is triggered to walk randomly on the horizontal plane, so that the swinging direction and rotation speed of the window cleaning robot on the horizontal plane are not fixed, and the two turntables can operate on a non-horizontal plane at any rotation speed and rotation direction, forming a random cleaning strategy.

[0162] If the trigger signal emitted by the trigger switch device does not change, it is detected that the window cleaning robot is placed on a non-horizontal plane, and then the window cleaning robot is triggered to swing left and right or up and down on the non-horizontal plane, thereby controlling the rotation angle acquisition device to cooperate with the relative rotation of the two turntables to perform swing angle detection, so as to execute the window cleaning robot control method disclosed in the above-mentioned embodiment.

[0163] In summary, by adopting the trigger switch device and the rotation angle acquisition device, the horizontal plane and the non-horizontal plane are detected and the window cleaning robot is controlled to execute the corresponding behavior strategy to perform the wiping operation adapted to the environment.

[0164] The present application also discloses a window cleaning robot, which includes two turntables and the rotation angle acquisition device to obtain the swing angle of the window cleaning robot. In the rotation angle acquisition device, the rotation angle acquisition device includes a working ball and multiple groups of signal detection components; each group of signal detection components has an effective detection area, which is determined by the receiving range of the corresponding signal receiver and the transmitting range of the signal transmitter; the effective detection areas are distributed in different positions due to the different installation positions of different groups of signal detection components; the working ball can be rotatably arranged between different effective detection areas, so that the working ball blocks different effective detection areas during the rotation process, causing the detection signal detected by the corresponding group of signal detection components in the effective detection area passed by the working ball to change. Whenever the working ball rotates to the effective detection area of ​​a group of signal detection components, the rotation angle of the working ball is obtained. Specifically, the angle information of the working ball in the rotatable space is obtained through the group of signal detection components, which can be used as the transient angle value or the rotated angle value of the working ball; wherein, the angle information of the working ball in the rotatable space can be directly represented by the distribution angle of the group of signal detection components, or obtained by adding or subtracting a certain angle offset to the distribution angle of the group of signal detection components; the rotation angle of the working ball obtained in the present application can represent the swing angle of the rotation angle acquisition device or the motion carrier in which it is located, but the rotation direction may be opposite.

[0165] Based on the aforementioned embodiments, the window cleaning robot disclosed in the present application actually includes two turntables, a control unit and the rotation angle acquisition device. The control unit is used to execute the window cleaning robot control method, so that whenever the working ball rotates into the effective detection area of ​​a group of signal detection components, the swing angle of the window cleaning robot is acquired through the group of signal detection components. Specifically, in the window cleaning robot, each group of signal detection components can be evenly distributed around the center of the annular track structure, wherein the angle at which each group of signal detection components is distributed around the center of the annular track structure is pre-set; the angle at which each group of signal detection components is distributed around the center of the annular track structure is equal to the installation angle of a relatively aligned group of detection holes in the annular track structure; whenever the working ball rotates to the effective detection area of ​​a group of signal detection components, the rotation angle of the working ball is set by the distribution angle corresponding to the effective detection area to which the working ball rotates; the distribution angle corresponding to the effective detection area is the distribution angle of a group of signal detection components forming the effective detection area around the annular track structure. The angle of the center distribution of the track structure, and the angle at which the working ball rotates in a certain clockwise direction is equal to the angle at which one turntable rotates around another turntable in the opposite clockwise direction; thereby, the control unit establishes an angle mapping relationship between the rotation angle of one turntable around another turntable and the distribution angle of each group of signal detection components based on the rotation angle acquisition device, which is equivalent to the mapping relationship between the swing angle of the window cleaning robot and the distribution angle of a corresponding group of signal detection components, so as to facilitate the determination of the current swing angle of the window cleaning robot according to the effective detection area of ​​the corresponding group of signal detection components to which the working ball rotates, and then convert the current posture of the window cleaning robot. Therefore, the window cleaning robot disclosed in the present application can use the working ball and the signal detection component to form a low-cost and easy-to-acquire angle information rotation angle acquisition device, so that the working ball rolls in a vertical state to the effective detection area of ​​the signal detection component at the corresponding position, thereby detecting that the motion carrier where the rotation angle acquisition device is located has moved to the corresponding angle orientation, and the rotation angle of the working ball can be determined, and then the two-dimensional posture information (vertical and horizontal axis posture data) of the motion carrier where the rotation angle acquisition device is located is determined through posture transformation; avoid using the more expensive six-axis gyroscope chip for posture detection, and prevent waste of hardware computing resources and increase the operating burden of the machine.

[0166] The window cleaning robot disclosed in the present application can be a swing-type self-propelled window cleaning robot, and its control unit can conveniently control the forward and reverse walking modes of the window cleaning robot by executing the window cleaning robot control method, that is, by adjusting the same-direction rotation of the two turntables and the transfer speed adjustment, the swing walking of the window cleaning robot is completed, and at the same time, the relative motion between the turntable and the non-horizontal surface to be wiped is formed to complete the wiping action. The present application designs low-cost and easily accessible non-chip-level materials (signal detection components and working balls) in the window cleaning robot, so that the working balls roll to the effective detection area of ​​the signal detection component at a preset position in a vertical state, that is, the window cleaning robot is detected to run to the preset position, and the changed detection signal can be obtained by the control unit, and the control unit can transform the posture of the two-dimensional plane.

[0167] Specifically, the up and down swinging (up and down swinging movement) of the window cleaning robot in the non-horizontal plane can be classified into 30 degrees in the middle and upper part, 0 degrees in the horizontal middle position, and 30 degrees in the middle and lower part, and the three swinging angles are obtained by the rotation angle acquisition device, which is suitable for the window cleaning robot to determine various posture information in the up and down swinging in the scene of the up and down swinging wiping operation. On the other hand, the left and right swinging (left and right swinging movement) of the window cleaning robot in the non-horizontal plane can be classified into 30 degrees in the middle and left part, 0 degrees in the vertical middle position, and 30 degrees in the middle and right part, and the three swinging angles are obtained by the rotation angle acquisition device, which is suitable for the window cleaning robot to determine various posture information in the left and right swinging in the scene of the left and right swinging wiping operation.

[0168] In summary, the relative rotation between the two turntables is used to drive the ball to rotate to the effective detection area of ​​a group of signal detection components, and the swing angle of the window cleaning robot is obtained through this group of signal detection components, so as to realize the detection of the swinging motion posture of the window cleaning robot in a non-horizontal plane without using a six-axis gyroscope chip. Therefore, the window cleaning robot performs low-cost and low-computing-power detection of the two-dimensional motion trajectory in the non-horizontal plane to which it is adsorbed (the working plane inclined relative to the horizontal plane), including the detection of the inclination angle relative to the horizontal plane (the direction in which the turntable drives the body to swing), etc., which is suitable for the window cleaning robot to perform swing angle detection during wiping operations.

[0169] As an embodiment, the window cleaning robot further comprises a trigger switch device; the trigger switch device is arranged in the body of the window cleaning robot. Figure 3 As shown, the trigger switch device 10 and the rotation angle acquisition device where the annular track structure 300 is located are respectively installed at different positions in the body of the window cleaning robot.

[0170] The trigger switch device 10 includes an upper limit contact, a lower limit contact and a switch ball; Figure 1 and Figure 4It can be seen that the upper limit contact is set at the upper end of the trigger switch device 10, and the lower limit contact is set at the lower end of the trigger switch device 10. The switch ball 101 can be rotatably assembled in the movable space between the upper end and the lower end of the trigger switch device 10, wherein the movable space is perpendicular to the installation plane of the two turntables, that is, the rolling direction of the switch ball 101 is limited to be perpendicular to the line between the centers of the two turntables.

[0171] When the switch ball rolls down to the upper limit contact or the lower limit contact, it is determined that the window cleaning robot is placed on the horizontal plane, wherein the switch ball can fall freely in the trigger switch device under the action of gravity to cause a change in the trigger signal; at this time, the control unit detects the change in the trigger signal emitted by the trigger switch device, and can obtain the motion state of the working ball inside the device without detecting the rotation angle; then the window cleaning robot is triggered to walk randomly on the horizontal plane, so that the swinging direction and rotation speed of the window cleaning robot on the horizontal plane are not fixed, and the two turntables can operate on a non-horizontal plane at any rotation speed and rotation direction, forming a random cleaning strategy, including wiping at random swinging angles in the horizontal plane.

[0172] In actual application, when the switch ball rolls down to the lower limit contact, the window cleaning robot is adsorbed on the front side of the horizontal plane; when the switch ball rolls down to the upper limit contact, the window cleaning robot is adsorbed on the back side of the horizontal plane.

[0173] When the switch ball rolls down neither to the upper limit contact nor to the lower limit contact, it is determined that the window cleaning robot is placed on the non-horizontal surface, and the control unit detects that the trigger signal emitted by the trigger switch device has not changed, triggering the window cleaning robot to swing left and right or up and down on the non-horizontal surface, and it is necessary to control the rotation angle acquisition device to cooperate with the relative rotation of the two turntables to perform swing angle detection, including controlling one turntable to rotate counterclockwise / clockwise around the other turntable according to a preset swing angle step, so that the window cleaning robot performs step-by-step on the non-horizontal surface. Swinging; it also includes controlling one turntable to rotate counterclockwise or clockwise around the other turntable by adjusting the speed of the two turntables, driving the working balls to rotate in the opposite direction in the annular track structure, so as to feedback the change of the swing angle of the window cleaning robot on the non-horizontal plane; when one turntable rotates upward or downward around the other turntable relative to the horizontal plane beyond a preset upper limit angle, or one turntable rotates left or right around the other turntable relative to the vertical plane beyond a preset upper limit angle, the two turntables are controlled to rotate alternately at different speeds to control the other turntable to rotate in the opposite direction around the one turntable.

[0174] Therefore, the limit contacts and switch balls are used to detect whether the window cleaning robot is placed horizontally, thereby detecting whether the window cleaning robot is adsorbed to a horizontal plane or a non-horizontal plane, so as to trigger the window cleaning robot to execute a corresponding behavior strategy and perform wiping operations adapted to the environment.

[0175] In the description of the specification, the description with reference to the terms "one embodiment", "preferably", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention, and the schematic expressions of the above terms in this specification do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner. The connection method connected in the description of the specification has obvious effects and practical effectiveness.

[0176] Through the description of the above structure and principle, technicians in the relevant technical field should understand that the present invention is not limited to the above-mentioned specific implementation methods. Improvements and substitutions based on the present invention using the well-known technology in the field all fall within the protection scope of the present invention and should be defined by the claims.

Claims

1. A rotation angle acquisition device, characterized in that: The rotation angle acquisition device includes a working ball and a plurality of signal detection components; each group of signal detection components has an effective detection area, and the working ball can be rotatably arranged between different effective detection areas, causing the detection signal detected by the corresponding group of signal detection components in the effective detection area passed by the working ball to change; Whenever the working ball rotates to an effective detection area of ​​a group of signal detection components, the rotation angle of the working ball is obtained.

2. The rotation angle acquisition device according to claim 1, characterized in that: The rotation angle acquisition device also includes a ring track structure; The working balls are rotatably arranged in the annular track structure; A plurality of detection holes are arranged on the surface of the annular track structure, and each group of detection holes runs through the annular track structure; The detection probes provided in each group of signal detection components are aligned with a corresponding group of detection holes, and each group of signal detection components has a corresponding effective detection area, so that the corresponding effective detection area partially or completely covers a group of detection holes; Whenever the working ball rotates to block a group of detection holes, the rotation angle of the working ball is set by the distribution angle of a group of signal detection components aligned with the blocked group of detection holes; wherein the distribution angle of a group of signal detection components includes the angle at which a group of signal detection components are distributed around the center of the annular track structure.

3. The rotation angle acquisition device according to claim 2, characterized in that: A group of signal detection components includes a signal transmitter and a signal receiver, or a group of signal detection components includes a signal receiver; wherein the signal transmitter and the signal receiver are both aligned with the same group of detection holes; If there is a signal receiver that changes from receiving a valid signal to not receiving a valid signal, or if there is a signal receiver that changes from not receiving a valid signal to receiving a valid signal, it is determined that the working ball rotates in the annular track structure to block a group of detection holes, and it is determined that the detection signal detected by the signal receiver changes, and it is determined that the working ball rotates to an effective detection area of ​​a group of signal detection components where the signal receiver that detects the change in the detection signal is located.

4. The rotation angle acquisition device according to claim 3, characterized in that: The annular track structure is a circular ring structure; The circular ring structure includes an inner ring and an outer ring, wherein the two sides of the circular track structure are divided into an inner ring side and an outer ring side; or the two sides of the circular track structure are divided into an upper side of the circular track structure and a lower side of the circular track structure; When each group of signal detection components includes a signal transmitter and a signal receiver, the signal transmitter and the signal receiver are located on both sides of the annular track structure; In the relative directions of the signal transmitter and the signal receiver included in the same group of signal detection components, two detection holes are symmetrically opened on the surface of the annular track structure to form a group of detection holes, so that the signal transmitter and the signal receiver included in the same group of signal detection components are aligned with the same group of detection holes; if there is a signal receiver that changes from receiving a valid signal to not receiving a valid signal, it is determined that the working ball rotates in the annular track structure to the signal emitted by the signal transmitter included in a group of signal detection components, and it is determined that the detection signal detected by the signal receiver changes; Among the signal transmitters and signal receivers included in the same group of signal detection components, the overlapping area of ​​the transmission range of the signal transmitter and the receiving range of the signal receiver forms an effective detection area of ​​the group of signal detection components.

5. The rotation angle acquisition device according to claim 3, characterized in that: When each group of signal detection components only includes a signal receiver, the signal receiver is arranged on one side of the annular track structure; In the same group of signal detection components, in the detection direction of the signal receiver, at least one detection hole is opened on the surface of the annular track structure to form a group of detection holes, so that the signal receivers included in the same group of signal detection components are aligned with the same group of detection holes; wherein the detection range of the signal receiver forms an effective detection area of ​​a group of signal detection components; if there is a signal receiver that changes from not receiving a valid signal to receiving a valid signal, it is determined that the working ball rotates in the annular track structure to block a group of detection holes, and it is determined that the detection signal detected by the signal receiver changes; wherein the working ball exists in the form of a signal source.

6. The rotation angle acquisition device according to claim 4 or 5, characterized in that: Each group of signal detection components is evenly distributed around the center of the annular track structure; wherein the angle at which each group of signal detection components is distributed around the center of the annular track structure is preset; the angle at which each group of signal detection components is distributed around the center of the annular track structure is equal to the installation angle of a relatively aligned group of detection holes in the annular track structure; Whenever the working ball rotates to an effective detection area of ​​a group of signal detection components, the rotation angle of the working ball is set by the distribution angle corresponding to the effective detection area to which the working ball rotates; wherein the distribution angle corresponding to the effective detection area is the angle at which a group of signal detection components forming the effective detection area are distributed around the center of the annular track structure.

7. The rotation angle acquisition device according to claim 6, characterized in that: The rotation angle acquisition device also includes an installation slot for assembling the signal detection components; one installation slot assembles a group of signal detection components to align with a group of detection holes; The installation slots of each group of signal detection components are evenly distributed around the center of the annular track structure.

8. A window cleaning robot, characterized in that: The window cleaning robot comprises two turntables and the rotation angle acquisition device according to any one of claims 1 to 5.

9. The window cleaning robot according to claim 8, characterized in that: The window cleaning robot further comprises a trigger switch device; the trigger switch device is arranged in the body of the window cleaning robot; The trigger switch device comprises an upper limit contact, a lower limit contact and a switch ball; the upper limit contact is arranged at the upper end of the trigger switch device, the lower limit contact is arranged at the lower end of the trigger switch device, and the switch ball is rollably assembled in an active space between the upper end and the lower end of the trigger switch device, wherein the active space is perpendicular to the mounting plane of the two rotating disks; When the switch ball rolls down to the upper limit contact or the lower limit contact, the window cleaning robot is placed on a horizontal plane; When the switch ball rolls down neither to the upper limit contact nor to the lower limit contact, the window cleaning robot is placed on a non-horizontal plane.