Household appliance, control method, device and storage medium for a household appliance
By using optical signal detection technology to calculate the rotation angle of household appliances in real time, the problem of long angle adjustment time in existing technologies has been solved, and efficient angle control has been achieved.
Patent Information
- Application Number
- CN202211162904.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2042-09-23
AI Technical Summary
Current home appliances require a considerable amount of time to find the right position when adjusting their angle, which cannot meet users' needs for high-efficiency use.
By employing an optical signal transmitter and a detection device, the rotation angle of the entire machine is calculated in real time by calculating the distance between the optical signal transmitter and the detection module, and precise control is achieved by combining the angle adjustment command.
It improves the working efficiency of home appliances, shortens the angle adjustment time, and meets users' needs for efficient use.
Smart Images

Figure CN115405544B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of household appliance technology, and in particular to a household appliance, a control method for the household appliance, a device for the control of the household appliance, and a storage medium. Background Technology
[0002] As people's living standards improve, the number of household appliances in users' homes is gradually increasing. Among them, to meet users' needs, some household appliances have angle adjustment functions. For example, fans with oscillation functions are widely used as common electrical appliances in summer. They use a motor to drive the fan blades to rotate, thereby accelerating air circulation and are mainly used for cooling and air circulation.
[0003] Most household appliances with oscillation functions on the market currently use stepper motors or synchronous motors installed inside the machine for oscillation drive. The oscillation angle is generally controlled by counting steps, making finding the current position a major challenge during control. The industry commonly uses fixed-position detection, setting detection points at several fixed locations. When the device rotates to that position, it outputs a signal to the main control unit. However, before rotating to that position, the current oscillation angle of the rotating part cannot be determined. Therefore, the device needs to rotate to the corresponding detection point before subsequent control logic can proceed. Since the machine rotates in two directions, traditional control logic cannot determine which direction takes less time. This results in a lengthy search for the machine's rotation angle before it can operate at the user-set angle, failing to meet users' demands for high efficiency. Summary of the Invention
[0004] This invention proposes a household appliance, a control method for the household appliance, a device, and a storage medium to solve the problem that existing technologies require a long time to find the position of the rotation angle of the whole machine, which cannot meet the user's need for high-efficiency use.
[0005] In one aspect, the present invention provides a household appliance, including a motor disposed inside the appliance, the motor driving the appliance to rotate to achieve angle adjustment of the appliance, the household appliance further including:
[0006] An optical signal transmitting device is installed on the whole machine and rotates with the rotation of the whole machine, and is used to transmit optical signals;
[0007] An optical signal detection device is installed outside the rotation trajectory of the whole machine. It is used to receive the optical signal emitted by the optical signal transmitter and convert the received optical signal into an electrical signal and upload it to the control device.
[0008] A control device is used to control the optical signal emitting device to emit optical signals, receive the electrical signals emitted by the optical signal detection device, and calculate the rotation angle of the whole machine at the current detection time based on the electrical signals.
[0009] Furthermore, the optical signal detection device includes a first detection module and a second detection module disposed on both sides of the rotation center shaft of the whole machine. The first detection module and the second detection module are respectively used to receive the optical signal emitted by the optical signal transmitting device and convert it into electrical signals of different intensities according to the different intensities of the received optical signal.
[0010] Furthermore, the control device calculates the first distance between the optical signal transmitter and the first detection module based on the first electrical signal transmitted from the first detection module, calculates the second distance between the optical signal transmitter and the second detection module based on the second electrical signal transmitted from the second detection module, and calculates the current angle information of the whole machine based on the first distance and the second distance.
[0011] Furthermore, the optical signal transmitting device is a point light source.
[0012] Furthermore, the optical signal emitting device is a point light source composed of LED light-emitting diodes.
[0013] Furthermore, the plane in which the rotation trajectories of the optical signal detection device and the optical signal transmitting device are located is on the same plane.
[0014] Furthermore, it also includes a drive unit.
[0015] The control device is also used to acquire the current angle adjustment command of the household appliance, and determine the oscillation control information of the whole machine based on the target rotation angle corresponding to the angle adjustment command and the current angle information of the whole machine;
[0016] The drive device is used to receive the yaw control information from the control device and drive the motor to drive the whole machine to complete the angle adjustment operation corresponding to the yaw control information.
[0017] In another aspect, the present invention provides a control method for the above-mentioned household appliances, the method comprising:
[0018] When the motor drives the carrier to perform angle adjustment, it controls the optical signal emitting device to emit an optical signal;
[0019] Receive electrical signals emitted by the optical signal detection device;
[0020] The rotation angle of the entire machine at the current detection moment is calculated based on the electrical signal.
[0021] Furthermore, the optical signal detection device includes a first detection module and a second detection module disposed on both sides of the central axis of rotation of the whole machine, and the method further includes:
[0022] Receive the first electrical signal emitted by the first detection module, and calculate the first distance between the optical signal emitting device and the first detection module based on the first electrical signal;
[0023] Receive the second electrical signal emitted by the second detection module, and calculate the second distance between the optical signal emitting device and the second detection module based on the second electrical signal;
[0024] The current angle information of the entire machine is calculated based on the first distance and the second distance.
[0025] Furthermore, calculating the current angle information of the entire machine based on the first distance and the second distance includes:
[0026] Obtain the position coordinate information of the first detection module and the second detection module;
[0027] The coordinate information of the optical signal transmitting device is calculated based on the position coordinate information of the first detection module and the second detection module, the first distance and the second distance;
[0028] The current angle information of the entire machine is determined based on the coordinate information of the optical signal transmitting device.
[0029] Furthermore, the household motor also includes a drive device, and the method further includes:
[0030] Obtain the current angle adjustment command of the household appliance, and determine the oscillation control information of the whole machine based on the target rotation angle corresponding to the angle adjustment command and the current angle information of the whole machine;
[0031] The oscillation control information is sent to the drive device of the household appliance to control the drive device to drive the motor to complete the angle adjustment operation corresponding to the oscillation control information.
[0032] In another aspect, the present invention also provides a control device for the household appliance as described above, the device comprising:
[0033] The control module is used to control the optical signal transmitting device to emit optical signals when the motor drives the carrier to perform angle adjustment operations;
[0034] The receiving module is used to receive electrical signals emitted by the optical signal detection device;
[0035] The calculation module is used to calculate the rotation angle of the entire machine at the current detection time based on the electrical signal.
[0036] In another aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above.
[0037] This invention provides a household appliance, a control method for the household appliance, a device for the household appliance, and a storage medium. The household appliance includes a motor disposed inside the appliance, which drives the appliance to rotate to adjust its angle. The appliance also includes: a light signal emitting device installed in the appliance and rotating with it to emit light signals; a light signal detection device installed outside the rotation trajectory of the appliance to receive the light signals emitted by the light signal emitting device and convert the received light signals into electrical signals, which are then uploaded to a control device; and a control device for controlling the light signal emitting device to emit light signals, receiving the electrical signals emitted by the light signal detection device, and calculating the rotation angle of the appliance based on the electrical signals. This invention uses light signals to detect the rotation angle information of the appliance, solving the problem of the long time required to locate the rotation angle in existing technologies, and improving the working efficiency of the household appliance.
[0038] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention are described below. Attached Figure Description
[0039] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. Furthermore, the same reference numerals denote the same parts throughout the drawings. In the drawings:
[0040] Figure 1 A schematic diagram of a control module for a household motor provided in an embodiment of the present invention;
[0041] Figure 2 This invention provides a schematic diagram of the principle for measuring the rotation angle of a household appliance.
[0042] Figure 3 A flowchart illustrating a method for controlling a household appliance, as provided in an embodiment of the present invention;
[0043] Figure 4 This is a schematic diagram of the structure of a control device for a household appliance provided in an embodiment of the present invention;
[0044] Explanation of markings in the diagram:
[0045] 1. Optical signal transmitting device; 2. Optical signal detection device; 3. Control device; 4. Drive device;
[0046] 2.1 First detection module; 2.2 Second detection module;
[0047] 401. Control module; 402. Receiving module; 403. Calculation module. Detailed Implementation
[0048] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0049] It will be understood by those skilled in the art that, unless otherwise defined, all terms used herein (including technical and scientific terms) have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. It should also be understood that terms such as those defined in general dictionaries should be understood to have the meaning consistent with their meaning in the context of the prior art, and should not be interpreted in an idealized or overly formal sense unless specifically defined.
[0050] This invention provides a household appliance that includes a motor installed inside the appliance. The motor drives the appliance to rotate, thereby adjusting the appliance's angle. Figure 1 This is a schematic diagram of a control module for a household motor provided in an embodiment of the present invention. Figure 1 As can be seen, the household appliance in this embodiment of the invention also includes a light signal emitting device 1, which is installed on the whole machine and rotates with the rotation of the whole machine, that is, the light signal emitting device 1 is installed on the rotating part of the whole machine and is used to emit light signals; a light signal detection device 2, which is installed outside the rotation trajectory of the whole machine and is used to receive the light signals emitted by the light signal emitting device and convert the received light signals into electrical signals and upload them to the control device; and a control device 3, which is used to control the light signal emitting device 1 to emit light signals, receive the electrical signals emitted by the light signal detection device 2, and calculate the rotation angle of the whole machine at the current detection time based on the electrical signals.
[0051] It should be noted that, to avoid the light signal emitted by the light signal emitting device 1 being blocked and affecting the accuracy of the detection, there is no obstruction device between the light signal emitting device 1 and the light signal detection device 2 in this embodiment of the invention. The light signal detection device 2 is located near the light signal emitting device 1, but outside the rotation trajectory of the entire machine. Specifically, being located outside the rotation trajectory means that the light signal detection device 2 does not rotate with the rotation of the entire machine. Specifically, the light signal emitting device 1 can be located in an unobstructed location such as a bracket or base.
[0052] Figure 2 This invention provides a schematic diagram of the principle for measuring the rotation angle of a household appliance, based on an embodiment of the present invention. Figure 2 As can be seen, the optical signal detection device 2 of this embodiment includes a first detection module 2.1 and a second detection module 2.2 disposed on both sides of the rotation center axis of the whole machine. The first detection module 2.1 and the second detection module 2.2 are respectively used to receive the optical signal emitted by the optical signal transmitting device 1, and convert it into electrical signals of different intensities according to the different intensity of the received optical signal. It should be noted that, for ease of calculation, the first detection module 2.1 and the second detection module 2.2 of this embodiment can be disposed in symmetrical positions on both sides of the rotation center axis. Due to the limitations of the structural design, the first detection module 2.1 and the second detection module 2.2 of this embodiment can also be disposed in asymmetrical positions, which is not limited by this invention.
[0053] Furthermore, the control device 3 calculates the first distance between the optical signal transmitting device 1 and the first detection module 2.1 based on the first electrical signal transmitted from the first detection module 2.1, calculates the second distance between the optical signal transmitting device 1 and the second detection module 2.2 based on the second electrical signal transmitted from the second detection module 2.2, and calculates the current angle information of the whole machine based on the first distance and the second distance.
[0054] Specifically, the distance between the first detection module 2.1 and the optical signal transmitting device 1 can be expressed as Ha = f(Xa) + m, where Ha is the first distance, Xa is the electrical signal strength corresponding to the first distance, and m is the corresponding compensation coefficient. Correspondingly, the distance between the second detection module 2.2 and the optical signal transmitting device 1 can be expressed as Hb = f(Xb) + n, where Hb is the second distance, Xb is the electrical signal strength corresponding to the second distance, and n is the compensation coefficient. It should be noted that in actual embodiments, this calculation formula can be determined through repeated experiments to establish specific numerical values and functional relationships, and these relationships can be pre-stored in the system for subsequent direct calculation.
[0055] Furthermore, after knowing the specific values of the first and second distances, based on the position of the first detection module 2.1 and the second detection module 2.2, the position coordinates of the optical signal transmitting device 1 can be determined using the corresponding geometric relationship: f(x, y) = f(Ha) + f(Hb) + c, where c is the compensation coefficient. Similarly, the specific functional relationship and the value of the compensation coefficient can be adjusted according to the specific form of the household appliance. After knowing the position coordinates of the optical signal transmitting device 1, the angle information of the initial position of the optical signal transmitting device relative to the whole machine can be derived.
[0056] It should be noted that the first detection module 2.1 and the second detection module 2.2 in the embodiments of the present invention can be set on the outside of the rotation trajectory circle or on the inside of the rotation trajectory circle, and the present invention does not limit them.
[0057] Furthermore, since the detection device in this embodiment of the invention is greatly affected by the optical signal source, in order to improve the detection accuracy, the optical signal emitting device 1 in this embodiment of the invention is a point light source. Specifically, the optical signal emitting device can be a point light source composed of LED light-emitting diodes. It should be noted that the point light source in this embodiment of the invention can also be other light sources with good propagation performance, and this invention is not limited thereto.
[0058] In a preferred embodiment of the present invention, the plane on which the rotation trajectory of the optical signal detection device 2 and the optical signal emitting device 1 lies is on the same plane to facilitate subsequent calculations. It should be noted that, due to limitations in the structure of household motors, the optical signal detection device 2 in this embodiment can also be located outside the plane on which the rotation trajectory of the optical signal emitting device 1 lies; in this case, the distance can be calculated by multiplying by the corresponding angle coefficient based on the relevant geometric relationship.
[0059] Furthermore, the household appliance in this embodiment of the invention also includes a drive device 4. The control device 3 is further configured to acquire the current angle adjustment command of the household appliance and determine the oscillation control information of the whole machine based on the target rotation angle corresponding to the angle adjustment command and the current angle information of the whole machine. The drive device 4 is configured to receive the oscillation control information from the control device 3 and drive the motor to drive the whole machine to complete the angle adjustment operation corresponding to the oscillation control information.
[0060] In this embodiment of the invention, determining the oscillation control information of the entire machine based on the target rotation angle corresponding to the angle adjustment command and the current angle information of the entire machine specifically involves determining the required rotation angle of the entire machine, the rate at which the corresponding rotation angle is achieved, and other information, based on the target rotation angle and the current angle information of the entire machine, thereby controlling the entire machine to complete the corresponding angle adjustment operation. In this embodiment of the invention, the control device 3 of the household appliance calculates the rotation angle of the entire machine at the current detection moment based on the received electrical signal to determine the current angle information of the entire machine.
[0061] Furthermore, the control device for the household appliances provided in this embodiment includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps in the control method embodiments of the various household appliances described below, for example... Figure 3 S1 to S3 are shown. Alternatively, when the processor executes the computer program, it implements the functions of each module / unit in the control device embodiment of the home appliance, for example... Figure 4 The control module 401, receiving module 402, and calculation module 403 are shown.
[0062] The household appliance in this embodiment of the invention can be any household appliance with an oscillation function that requires control of the oscillation angle, including fans, tower fans, etc., with an oscillation function. In this embodiment, a light signal emitting device installed in the appliance rotates with the appliance to emit light signals. A light signal detection device installed outside the appliance's rotation path receives the light signals emitted by the light signal emitting device and converts the received light signals into electrical signals, which are then uploaded to a control device. The control device controls the light signal emitting device to emit light signals, receives the electrical signals emitted by the light signal detection device, and calculates the rotation angle of the appliance based on the electrical signals. This invention uses light signals to detect the rotation angle information of the appliance, solving the problem of the long time required to locate the rotation angle in existing technologies, and improving the working efficiency of household appliances.
[0063] Figure 3 This is a flowchart illustrating a control method for a household appliance provided in an embodiment of the present invention. The control method for the household appliance in this embodiment is applied to the household appliance described in the above embodiment. The following is a detailed explanation... Figure 3 The control method for a household appliance according to the present invention will be described. The control method for a household appliance according to the present invention includes the following steps:
[0064] S1. When the motor drives the carrier to perform angle adjustment operation, control the optical signal transmitting device 1 to emit an optical signal;
[0065] In this embodiment of the invention, the light signal transmitting device 1 can transmit light signals to determine the current angle of the entire appliance when it is first turned on, or it can transmit light signals in real time during the oscillation process of the appliance to detect the oscillation angle of the appliance in real time.
[0066] S2, Receive the electrical signal emitted by the optical signal detection device 2;
[0067] In this embodiment of the invention, the optical signal detection device 2 includes a first detection module 2.1 and a second detection module 2.2 disposed on both sides of the rotation center axis of the whole machine. The acquisition of the electrical signal emitted by the optical signal detection device 2 includes: receiving the first electrical signal emitted by the first detection module 2.1 and receiving the second electrical signal emitted by the second detection module 2.2.
[0068] S3. Calculate the rotation angle of the entire machine at the current detection time based on the electrical signal.
[0069] In this embodiment of the invention, calculating the rotation angle of the entire machine based on the electrical signal includes: receiving a first electrical signal emitted by the first detection module 2.1, and calculating a first distance between the optical signal emitting device 1 and the first detection module 2.1 based on the first electrical signal; receiving a second electrical signal emitted by the second detection module 2.2, and calculating a second distance between the optical signal emitting device 1 and the second detection module 2.2 based on the second electrical signal; and calculating the current angle information of the entire machine based on the first distance and the second distance.
[0070] Further, the step of calculating the current angle information of the whole machine based on the first distance and the second distance includes: obtaining the position coordinate information of the first detection module 2.1 and the second detection module 2.2; calculating the coordinate information of the optical signal transmitting device 1 based on the position coordinate information of the first detection module 2.1 and the second detection module 2.2, the first distance and the second distance; and determining the current angle information of the whole machine based on the coordinate information of the optical signal transmitting device 1.
[0071] Specifically, the distance between the first detection module 2.1 and the optical signal transmitting device 1 can be expressed as Ha = f(Xa) + m, where Ha is the first distance, Xa is the electrical signal strength corresponding to the first distance, and m is the corresponding compensation coefficient. Correspondingly, the distance between the second detection module 2.2 and the optical signal transmitting device 1 can be expressed as Hb = f(Xb) + n, where Hb is the second distance, Xb is the electrical signal strength corresponding to the second distance, and n is the compensation coefficient. It should be noted that in actual embodiments, this calculation formula can be determined through repeated experiments to establish specific numerical values and functional relationships, and these relationships can be pre-stored in the system for subsequent direct calculation. Furthermore, after knowing the specific values of the first and second distances, based on the position of the first detection module 2.1 and the second detection module 2.2, the position coordinates of the optical signal transmitting device 1 can be determined using the corresponding geometric relationship: f(x, y) = f(Ha) + f(Hb) + c, where c is the compensation coefficient. Similarly, the specific functional relationship and the value of the compensation coefficient can be adjusted according to the specific form of the household appliance. After knowing the position coordinates of the optical signal transmitting device 1, the angle information of the initial position of the optical signal transmitting device relative to the whole machine can be derived.
[0072] Furthermore, the household appliance in this embodiment of the invention also includes a drive device 4, and the control method of the household appliance in this embodiment of the invention further includes the following steps (not shown in the accompanying drawings): obtaining the current angle adjustment command of the household appliance, and determining the oscillation control information of the whole machine according to the target rotation angle corresponding to the angle adjustment command and the current angle information of the whole machine; sending the oscillation control information to the drive device 4 of the household appliance to control the drive device 4 to drive the motor to complete the angle adjustment operation corresponding to the oscillation control information.
[0073] In this embodiment of the invention, determining the oscillation control information of the entire machine based on the target rotation angle corresponding to the angle adjustment command and the current angle information of the entire machine specifically involves determining the required rotation angle of the entire machine, the rate at which the corresponding rotation angle is achieved, and other information, based on the target rotation angle and the current angle information of the entire machine, thereby controlling the entire machine to complete the corresponding angle adjustment operation. In this embodiment of the invention, the control device 3 of the household appliance calculates the rotation angle of the entire machine at the current detection moment based on the received electrical signal to determine the current angle information of the entire machine.
[0074] For the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should understand that the embodiments of the present invention are not limited to the described order of actions, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions involved are not necessarily essential to the embodiments of the present invention.
[0075] Figure 4 This is a schematic diagram of the structure of the control device 3 according to an embodiment of the present invention. The control device 3 of the present invention is used to implement the control method of the above-mentioned household appliances. Figure 4 The control device 3 in this embodiment of the invention specifically includes a control module 401, a receiving module 402, and a calculation module 403, wherein:
[0076] Control module 401 is used to control the optical signal transmitting device 1 to emit optical signals when the motor drives the carrier to perform angle adjustment operation;
[0077] The receiving module 402 is used to receive electrical signals emitted by the optical signal detection device 2;
[0078] The calculation module 403 is used to calculate the rotation angle of the whole machine at the current detection time based on the electrical signal.
[0079] Furthermore, the receiving module 402 is specifically used to receive the first electrical signal emitted by the first detection module 2.1, and calculate the first distance between the optical signal transmitting device 1 and the first detection module 2.1 based on the first electrical signal;
[0080] The receiving module 402 is also used to receive the second electrical signal emitted by the second detection module 2.2, and calculate the second distance between the optical signal transmitting device 1 and the second detection module 2.2 based on the second electrical signal;
[0081] The calculation module 403 is specifically used to calculate the current angle information of the whole machine based on the first distance and the second distance.
[0082] Further, the calculation module 403 is specifically used to obtain the position coordinate information of the first detection module 2.1 and the second detection module 2.2; calculate the coordinate information of the optical signal transmitting device based on the position coordinate information of the first detection module 2.1 and the second detection module 2.2, the first distance and the second distance; and determine the current angle information of the whole machine based on the coordinate information of the optical signal transmitting device 1.
[0083] Furthermore, the control device 3 in this embodiment of the invention also includes an acquisition module, used to acquire the current angle adjustment command of the household appliance, and determine the oscillation control information of the whole machine according to the target rotation angle corresponding to the angle adjustment command and the current angle information of the whole machine;
[0084] The control module 401 is also used to send the oscillation control information to the drive device 4 of the household appliance, so as to control the drive device 4 to drive the motor to complete the angle adjustment operation corresponding to the oscillation control information.
[0085] As the device embodiment is basically similar to the method embodiment, the description is relatively simple, and relevant parts can be found in the description of the method embodiment.
[0086] This invention provides a household appliance, a control method for the household appliance, and a device for controlling the household appliance. The household appliance includes a motor installed inside the appliance, which drives the appliance to rotate to adjust its angle. The appliance also includes: a light signal emitting device installed on the appliance and rotating with it to emit light signals; a light signal detection device installed outside the rotation trajectory of the appliance to receive the light signals emitted by the light signal emitting device and convert the received light signals into electrical signals, which are then uploaded to a control device; and a control device for controlling the light signal emitting device to emit light signals, receiving the electrical signals emitted by the light signal detection device, and calculating the rotation angle of the appliance based on the electrical signals. This invention uses light signals to detect the rotation angle information of the appliance, solving the problem of the long time required to locate the rotation angle in existing technologies, and improving the working efficiency of the household appliance.
[0087] Furthermore, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method described above.
[0088] In this embodiment, if the module / unit integrated into the internal controller of the household appliance is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of the present invention can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable file, or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording media, USB flash drive, portable hard drive, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the content contained in the computer-readable medium may be appropriately added to or subtracted from the content as required by the legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable medium may not include electrical carrier signals and telecommunication signals.
[0089] Those skilled in the art will understand that although some embodiments herein include certain features included in other embodiments but not others, combinations of features from different embodiments are intended to be within the scope of the invention and form different embodiments. For example, any of the embodiments claimed in this application can be used in any combination.
[0090] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A household appliance, characterized in that, The appliance includes a motor installed inside the unit, which drives the unit to rotate, thereby adjusting the unit's angle. The appliance also includes: An optical signal transmitting device is installed on the whole machine and rotates with the rotation of the whole machine, and is used to transmit optical signals; An optical signal detection device is installed outside the rotation trajectory of the whole machine. It is used to receive the optical signal emitted by the optical signal transmitter and convert the received optical signal into an electrical signal and upload it to the control device. A control device is used to control the optical signal transmitting device to emit optical signals, receive the electrical signals emitted by the optical signal detection device, and calculate the rotation angle of the whole machine at the current detection time based on the electrical signals. There is no obstruction between the optical signal detection device and the optical signal transmitting device; The optical signal detection device includes a first detection module and a second detection module disposed on both sides of the rotation center shaft of the whole machine. The first detection module and the second detection module are respectively used to receive the optical signal emitted by the optical signal transmitting device and convert it into electrical signals of different intensities according to the different intensities of the received optical signal. The control device calculates the first distance between the optical signal transmitter and the first detection module based on the first electrical signal transmitted from the first detection module, calculates the second distance between the optical signal transmitter and the second detection module based on the second electrical signal transmitted from the second detection module, and calculates the current angle information of the whole machine based on the first distance and the second distance.
2. The household appliance according to claim 1, characterized in that, The optical signal transmitting device is a point light source.
3. The household appliance according to claim 2, characterized in that, The optical signal transmitting device is a point light source composed of LED light-emitting diodes.
4. The household appliance according to any one of claims 1-3, characterized in that, The plane in which the rotation trajectories of the optical signal detection device and the optical signal transmitting device are located is on the same plane.
5. The household appliance according to claim 1, characterized in that, It also includes a drive unit; The control device is also used to acquire the current angle adjustment command of the household appliance, and determine the oscillation control information of the whole machine based on the target rotation angle corresponding to the angle adjustment command and the current angle information of the whole machine; The drive device is used to receive the yaw control information from the control device and drive the motor to drive the whole machine to complete the angle adjustment operation corresponding to the yaw control information.
6. A method for controlling a household appliance as described in any one of claims 1-5, characterized in that, The method includes: When the motor drives the carrier to perform angle adjustment, it controls the optical signal emitting device to emit an optical signal; Receive electrical signals emitted by the optical signal detection device; The rotation angle of the entire machine at the current detection moment is calculated based on the electrical signal.
7. The method according to claim 6, characterized in that, The optical signal detection device includes a first detection module and a second detection module disposed on both sides of the rotating central shaft of the whole machine, and the method further includes: Receive the first electrical signal emitted by the first detection module, and calculate the first distance between the optical signal emitting device and the first detection module based on the first electrical signal; Receive the second electrical signal emitted by the second detection module, and calculate the second distance between the optical signal emitting device and the second detection module based on the second electrical signal; The current angle information of the entire machine is calculated based on the first distance and the second distance.
8. The method according to claim 7, characterized in that, The step of calculating the current angle information of the entire machine based on the first distance and the second distance includes: Obtain the position coordinate information of the first detection module and the second detection module; The coordinate information of the optical signal transmitting device is calculated based on the position coordinate information of the first detection module and the second detection module, the first distance and the second distance; The current angle information of the entire machine is determined based on the coordinate information of the optical signal transmitting device.
9. The method according to claim 6, characterized in that, The household appliance further includes a drive device, and the method further includes: Obtain the current angle adjustment command of the household appliance, and determine the oscillation control information of the whole machine based on the target rotation angle corresponding to the angle adjustment command and the current angle information of the whole machine; The oscillation control information is sent to the drive device of the household appliance to control the drive device to drive the motor to complete the angle adjustment operation corresponding to the oscillation control information.
10. A control device for a household appliance as described in any one of claims 1-5, characterized in that, The device includes: The control module is used to control the optical signal transmitting device to emit optical signals when the motor drives the carrier to perform angle adjustment operations; The receiving module is used to receive electrical signals emitted by the optical signal detection device; The calculation module is used to calculate the rotation angle of the entire machine at the current detection time based on the electrical signal.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the computer program implements the steps of the method as described in any one of claims 6-9.
Citation Information
Patent Citations
Oscillating fan and control method thereof
CN114893426A