Control method and system of air conditioner fan, controller and air conditioner

By immediately verifying the written data in the air-conditioning fan control system and obtaining fan operation information, the problems of unstable and insecure data transmission in the existing system are solved, and the system's operating efficiency and user experience are improved.

CN119554724APending Publication Date: 2025-03-04FOSHAN SHUNDE MIDEA ELECTRONICS TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411910613.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-23
Publication Date
2025-03-04

AI Technical Summary

Technical Problem

The existing air conditioner fan control system has problems of unstable and unsafe data transmission, and cannot effectively verify the data link layer, and lacks the ability to obtain fan operating information, which affects the system's scalability and anti-interference ability.

Method used

After the main control module writes the set speed to the driver module, the write speed in the driver module register is immediately read and the fan's operating information is obtained through the I2C communication bus to ensure the accuracy and reliability of data transmission.

Benefits of technology

It improves the stability and security of data transmission in the air-conditioning fan system, and improves the operation efficiency and user experience of the air-conditioning fan.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119554724A_ABST
    Figure CN119554724A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric appliance motor control, and provides a control method and system of an air conditioner fan, a controller and an air conditioner, and the control system of the air conditioner fan comprises a main control module and a driving module; the main control module is connected with the driving module through an I2C communication bus; the method comprises the steps that a main control module sends a set rotating speed to a driving module, preferentially reads a write-in rotating speed in a register of the driving module, determines whether the write-in rotating speed is consistent with the set rotating speed or not, responds to the consistency of the write-in rotating speed and the set rotating speed, sends an inquiry instruction to the driving module and determines the inquiry frequency of the inquiry instruction; and obtaining fan information stored in the target register corresponding to the inquiry frequency according to the inquiry frequency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electrical motor control, and in particular to a control method for an air conditioner fan, a control system for an air conditioner fan, a controller and an air conditioner. Background Art

[0002] For household variable frequency electrical appliances, a fan control system is generally used, and the fan is adjusted using speed regulation and feedback signals. However, the current air conditioning fan control system has several technical limitations.

[0003] First, the VSP speed control signal and FG feedback signal rely on hardware lines for transmission, which not only limits the scalability of the system, but also makes it difficult for the system to drive multiple fans at the same time, and weakens the system's anti-interference ability. Secondly, the control system in the relevant technology lacks the ability to obtain fan operation information. Finally, the verification mechanism cannot be set on the data link layer between the main control module and the drive module, which may affect the accuracy and reliability of data transmission. Summary of the invention

[0004] The present invention aims to solve at least one of the technical problems in the related art to a certain extent. To this end, the first purpose of the present invention is to propose a control method for an air-conditioning fan, which verifies whether the written data is correct on the data communication link immediately after writing the data into the driving module, and can obtain various operating information of the fan, effectively improving the stability and security of data transmission in the air-conditioning fan system, improving the operating efficiency of the air-conditioning fan, and enhancing the user experience.

[0005] The second objective of the present invention is to provide a control system for an air conditioner fan.

[0006] The third object of the present invention is to provide a controller.

[0007] A fourth object of the present invention is to provide an air conditioner.

[0008] To achieve the above-mentioned purpose, the first aspect of the embodiment of the present invention proposes a control method for an air-conditioning fan, which is applied to the control system of the air-conditioning fan, and the control system of the air-conditioning fan includes a main control module and a driving module; the main control module and the driving module are connected via an I2C communication bus; the method includes: the main control module sends a set speed to the driving module, and preferentially reads the written speed in the register of the driving module to determine whether the written speed is consistent with the set speed, in response to the written speed being consistent with the set speed, sending an inquiry instruction to the driving module and determining the inquiry frequency of the inquiry instruction, and obtaining the fan information stored in the target register corresponding to the inquiry frequency according to the inquiry frequency.

[0009] In addition, the control method of the air conditioner fan according to the above embodiment of the present invention may also have the following additional technical features:

[0010] According to some embodiments of the present invention, after the main control module responds that the write rotation speed is consistent with the set rotation speed, and before sending an inquiry instruction to the drive module, the method also includes: the main control module starts timing, and in response to the timing reaching a first preset time interval, determines to send an inquiry instruction to the drive module.

[0011] According to some embodiments of the present invention, the method further includes: in response to the writing rotation speed being inconsistent with the set rotation speed, the main control module re-sends the set rotation speed to the driving module.

[0012] According to some embodiments of the present invention, the target register includes a first target register and a second target register; the method also includes: the main control module determines whether the inquiry frequency of the inquiry instruction is the first frequency, and in response to the inquiry frequency being the first frequency, obtains the first fan information stored in the first target register of the driving module; the main control module determines whether the inquiry frequency of the inquiry instruction is the second frequency in response to the inquiry frequency not being the first frequency, and in response to the inquiry frequency being the second frequency, obtains the second fan information stored in the second target register of the driving module; wherein the second frequency is greater than the first frequency, and the weight of the first fan information is greater than the weight of the second fan information; the weight is used to characterize the importance of the fan information.

[0013] According to some embodiments of the present invention, the method further includes: the main control module re-sending the set rotation speed to the driving module in response to the inquiry frequency being not the second frequency.

[0014] According to some embodiments of the present invention, the driving module also includes an I2C communication module, and the I2C communication module is connected to the main control module via an I2C communication bus; the method also includes: the I2C communication module receives the set speed sent by the main control module, and sends the set speed to the driving module; the I2C communication module receives the fan information sent by the driving module, and sends the fan information to the main control module.

[0015] To achieve the above-mentioned purpose, the second aspect of the embodiment of the present invention proposes a control system for an air-conditioning fan, including a main control module and a driving module; the main control module and the driving module are connected via an I2C communication bus; the main control module is configured to send a set speed to the driving module, and preferentially read the written speed in the register of the driving module to determine whether the written speed is consistent with the set speed, and in response to the written speed being consistent with the set speed, send an inquiry instruction to the driving module and determine the inquiry frequency of the inquiry instruction, obtain the fan information stored in the target register of the driving module corresponding to the inquiry frequency according to the inquiry frequency, and send the fan information to the main control module.

[0016] In addition, the control system of the air conditioner fan according to the above embodiment of the present invention may also have the following additional technical features:

[0017] According to some embodiments of the present invention, the driving module also includes an I2C communication module; the I2C communication module is connected to the main control module via an I2C communication bus; the I2C communication module is configured to receive a set speed sent by the main control module, and send the set speed to the driving module; the I2C communication module is configured to receive fan information sent by the driving module, and send the fan information to the main control module.

[0018] According to the control system of the air-conditioning fan of the embodiment of the present invention, after writing the data into the driving module, it immediately verifies whether the written data is correct on the data communication link, and can obtain various operating information of the fan, thereby effectively improving the stability and security of data transmission in the air-conditioning fan system, improving the operating efficiency of the air-conditioning fan, and enhancing the user experience.

[0019] To achieve the above-mentioned purpose, the third aspect of the present invention proposes a controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the air-conditioning fan as described above when executing the computer program. By executing the control method of the air-conditioning fan described above, the controller can verify whether the written data is correct on the data communication link immediately after writing the data into the driving module, and can obtain various operating information of the fan, thereby effectively improving the stability and security of data transmission in the air-conditioning fan system, improving the operating efficiency of the air-conditioning fan, and enhancing the user experience.

[0020] To achieve the above-mentioned purpose, the third aspect of the embodiment of the present invention proposes an air conditioner, which includes the air-conditioning fan described above. The air-conditioning fan can verify whether the written data is correct immediately on the data communication link after writing the data into the driving module by executing the above-mentioned air-conditioning fan control method, and can obtain various operating information of the fan, thereby effectively improving the stability and security of data transmission in the air-conditioning fan system, improving the operating efficiency of the air-conditioning fan, and enhancing the user experience.

[0021] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only for the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 A schematic diagram of the control system framework of an air-conditioning fan provided in an embodiment of the present invention.

[0024] Figure 2 A schematic flow chart of a method for controlling an air conditioner fan provided in an embodiment of the present invention.

[0025] Figure 3 A schematic diagram of the controller structure provided by an embodiment of the present invention.

[0026] Figure 4 A schematic diagram of the air conditioning structure provided by an embodiment of the present invention.

[0027] Reference numerals:

[0028] 100-control system of air conditioning fan, 101-main control module, 102-drive module, 1021-I2C communication module, 200-controller, 300-air conditioning. DETAILED DESCRIPTION

[0029] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0030] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0031] As described in the background technology section, in the prior art, the communication between the main control module and the driver module relies on the I2C communication method, and data transmission is achieved through read / write registers. However, this communication method cannot set an effective verification mechanism at the data link layer, resulting in the inability to fully guarantee the accuracy and reliability of data transmission.

[0032] In the process of implementing the present invention, the applicant discovered that after the main control module of the air-conditioning fan control system writes the set speed to the drive module, the written speed in the register of the drive module can be immediately read to verify whether the written set speed is correct based on the read written speed.

[0033] The technical solution of the present invention is further described in detail below through specific embodiments.

[0034] refer to Figure 1 , is a schematic diagram of the control system framework of the air-conditioning fan provided in an embodiment of the present invention.

[0035] The control system 100 of the air-conditioning fan provided in the embodiment of the present invention mainly includes a main control module 101 and a driving module 102, and the main control module 101 is connected to the driving module 102 via an I2C communication bus. The control system 100 of the air-conditioning fan also includes an isolation module, and the driving module 102 also includes an I2C communication module 1021. Among them, the I2C communication module 1021 is connected to multiple registers (register A, register B, register C, register D, etc.) in the driving module 101, and each register stores different fan status information of the target fan.

[0036] Specifically, the main control module 101 is the active communication end of the control system of the air-conditioning fan, and the drive module 102 is the slave communication end of the control system of the air-conditioning fan. The main control module 101 and the drive module 102 are connected to each other through the I2C communication module 1021, and the drive module 102 communicates with the main control module 101 through the I2C communication protocol.

[0037] Among them, the main control module 101, as the active communication terminal of the control system, can accurately control the start and stop, speed, wind direction, etc. of the fan according to the preset parameters or real-time feedback signals, to ensure that the target fan can operate as required. The drive module 102 includes an I2C communication module 1021, which is used to process the signal transmitted to the drive module 102. The I2C communication protocol uses two lines in the system: the serial data line (SDA) and the serial clock line (SCL) for communication. The I2C communication is triggered by the master device sending a start signal, which is triggered by pulling down the SDA line (when the SCL line is high), marking the start of data transmission; then, the master device sends the address of the slave device (7 bits or 10 bits) and a read / write bit (0 for write, 1 for read) to specify the communication target and the type of operation to be performed. If the slave device recognizes its own address, it prepares for the corresponding data transmission; in the data transmission stage, data is transmitted serially on the SDA line in bytes, and each byte is followed by an acknowledge bit, which is sent by the slave device to confirm that the data is successfully received. The data is transmitted synchronously under the control of the SCL clock signal to ensure the stability and accuracy of the data; when the data transmission is completed or the communication needs to be terminated, the master device sends a stop signal, which is achieved by pulling the SDA line high when the SCL line is at a high level, releasing the bus for use by other devices.

[0038] The I2C communication protocol can achieve efficient serial communication, effectively simplify the circuit design, and make the hardware interface easier to wire and design in the PCB (Printed Circuit Board), reducing production costs. At the same time, the I2C communication protocol supports multiple devices to communicate on the same bus through SDA and SCL. At this time, the master device can flexibly communicate with different slave devices, greatly improving the flexibility and scalability of the system.

[0039] An isolation module is provided between the main control module 101 and the driving module 102 , and the isolation module is used to isolate the low-voltage area of ​​the main control module from the high-voltage area of ​​the driving module.

[0040] In addition, the driving module 102 further includes an ADC sampling unit, a storage unit, a protection unit, a logic control unit and a driving amplification unit.

[0041] ADC sampling unit: responsible for converting analog signals (such as the fan's current, voltage, etc.) into digital signals for further analysis and processing, so that the control system can understand the fan's operating status in real time and adjust the control strategy as needed;

[0042] Storage unit: It is mainly used to store control algorithms, parameter settings, operating data and other information in the system, so that the system can operate stably for a long time and ensure the security and integrity of the stored data.

[0043] Protection unit: responsible for monitoring the operating status of the fan and changes in the external environment. Once an abnormal situation is detected (such as overcurrent, overvoltage, overheating, etc.), measures will be taken immediately to cut off the power supply of the fan or reduce its output power to prevent damage to the fan or cause a safety accident.

[0044] Logic control unit: It can generate corresponding control signals according to the digital signals provided by the ADC sampling unit, as well as the preset control algorithms and logic, to drive the fan to operate in a predetermined manner. The control signals may include the start, stop, forward and reverse rotation, speed adjustment, etc. of the fan. It can automatically adjust the control strategy according to the actual operating status of the fan and changes in the external environment, realize intelligent control, and flexibly meet the different control requirements of the fan.

[0045] Drive amplifier unit: responsible for amplifying the control signal generated by the logic control unit to drive the fan to operate. Since the fan usually requires a large current and voltage to start and run, to ensure sufficient power for the load, the drive module is in the high-voltage area. The drive module in the high-voltage area can reduce energy losses caused by factors such as resistance and inductance, and improve the overall operating efficiency of the system.

[0046] refer to Figure 2 , which is a flow chart of a control method for an air-conditioning fan provided in an embodiment of the present invention.

[0047] In step S202, the main control module sends the set speed to the driving module, and preferentially reads the write speed in the register of the driving module to determine whether the write speed is consistent with the set speed. In response to the write speed being consistent with the set speed, an inquiry instruction is sent to the driving module.

[0048] Step S204: the main control module determines the inquiry frequency of the inquiry instruction, and acquires the wind turbine information stored in the target register corresponding to the inquiry frequency according to the inquiry frequency.

[0049] Specifically, the main control module first sends a set speed value to the driver module, and then the main control module immediately reads the speed value actually written in the driver module register. Since the main control module and the driver module communicate through the I2C communication bus, after the main control module sends the set speed to the driver module, the speed value actually written in the driver module register is immediately read, and the sending and reading processes can be understood as being performed almost simultaneously.

[0050] The main control module compares the two speed values ​​(set speed and written speed) to verify whether they are consistent. By comparing the set speed and the written speed, it ensures that the speed of the air-conditioning fan is accurately controlled, and also implements the verification process of non-link data. If the set speed is consistent with the written speed, the main control module will send an inquiry command to the driver module and determine the frequency of inquiry. According to this inquiry frequency, the main control module will access the corresponding target register in the driver module, which stores information related to the fan (such as current speed, working status, etc.). The driver module sends this fan information back to the main control module. Through the query command and the return of fan information, real-time feedback of the fan status is achieved, which is helpful for system monitoring and maintenance.

[0051] As an optional embodiment, after the main control module responds that the write rotation speed is consistent with the set rotation speed and before sending an inquiry instruction to the drive module, the main control module starts timing, and in response to the timing reaching a first preset time interval, determines to send an inquiry instruction to the drive module.

[0052] Specifically, after confirming that the write speed is consistent with the set speed, the main control module will not send an inquiry instruction immediately, but first start a timer, and the main control module waits for the timer to count until the timer reaches a preset first time interval (for example, 1 second, 0.5 seconds, etc., which can be set according to actual needs). When the timer reaches the first time interval, the main control module determines that it is the right time to send an inquiry instruction to the drive module, and the main control module sends an inquiry instruction to the drive module. By introducing the waiting of the first time interval, the main control module can send the inquiry instruction after ensuring that the write speed is stable and consistent with the set speed. This helps to reduce erroneous feedback caused by speed fluctuations or system instability. In addition, the introduction of the waiting time interval provides a buffer period for the system, allowing the system to operate in a more stable state and reduce unnecessary communication and data processing.

[0053] As an optional embodiment, if the main control module responds that the write rotation speed is inconsistent with the set rotation speed, the set rotation speed is re-sent to the driving module.

[0054] Specifically, if the main control module finds that the writing speed is inconsistent with the set speed (i.e., there is an error or the writing is unsuccessful), it will not immediately proceed to the subsequent steps, but will resend the set speed value to the driving module. In the embodiment of the present invention, this resending process can be set as a cycle until the writing speed is consistent with the set speed, or a preset upper limit of the number of retries is reached.

[0055] As an optional embodiment, in order to avoid infinite loops and possible system resource exhaustion, an upper limit of the number of retries can be set. When this upper limit is reached, the system can take further error handling measures, such as sounding an alarm, recording an error log, etc.

[0056] By introducing the judgment step, the present invention enables the control system to automatically correct when it finds that the writing rotation speed is inconsistent with the set rotation speed, thereby improving the accuracy and reliability of the control. In addition, the process of resending the set rotation speed is set as a cycle, which helps to automatically recover when the control system is temporarily disturbed or unstable, thereby improving the robustness of the control system.

[0057] As an optional embodiment, the target register includes a first target register and a second target register; the main control module determines whether the inquiry frequency of the inquiry instruction is the first frequency, and in response to the inquiry frequency being the first frequency, obtains the first fan information stored in the first target register of the driving module; in response to the inquiry frequency being not the first frequency, the main control module determines whether the inquiry frequency of the inquiry instruction is the second frequency, and in response to the inquiry frequency being the second frequency, obtains the second fan information stored in the second target register of the driving module; wherein, the second frequency is greater than the first frequency, and the weight of the first fan information is greater than the weight of the second fan information; the weight is used to characterize the importance of the fan information.

[0058] Specifically, when the main control module sends an inquiry instruction to the driving module, and determines the inquiry frequency of the inquiry instruction. The inquiry frequency can be understood as the "number of times" the main control module sends an inquiry instruction to the driving module. If the inquiry frequency is the first frequency (lower frequency), the main control module accesses the first target register of the driving module to obtain the first fan information stored therein. The first fan information usually contains more critical or important fan operating parameters, such as current speed, fault status, etc. If the inquiry frequency is not the first frequency, the main control module further checks whether it is the second frequency (higher frequency). If it is the second frequency, the second target register of the driving module is accessed to obtain the second fan information stored therein. The second fan information may contain some relatively less critical or frequently changing parameters, such as voltage, current, power, etc. Further, the driving module sends the acquired fan information back to the main control module.

[0059] It should be noted that fan information with different weights is stored in different target registers. In this example, taking the example that the driving module includes two target registers, and the two target registers respectively store fan information with two different weights, the first fan information is assigned a higher weight because it contains more critical operating parameters. Although the second fan information is equally important, it is assigned a lower weight because it contains some relatively less frequently changing parameters. After receiving the fan information, the main control module can prioritize or analyze the information according to the weight. By introducing different inquiry frequencies and corresponding target registers, the present invention can flexibly adjust the frequency and content of information acquisition according to different monitoring requirements. The introduction of fan information weights enables the system to process and analyze fan information more efficiently, giving priority to more critical operating parameters.

[0060] As an optional embodiment, in response to the inquiry frequency not being the second frequency, the main control module re-sends the set rotation speed to the driving module.

[0061] It is understandable that if the inquiry frequency is neither the first frequency nor the second frequency (i.e., a non-preset inquiry frequency), the main control module will not directly access any target register of the driver module. Furthermore, the main control module resends the set speed value to the driver module according to the preset logic or strategy. The occurrence of a non-preset inquiry frequency may mean that some changes have occurred in the system state, and the speed needs to be reset to ensure the stable operation of the fan. After receiving the resent set speed value, the driver module performs writing, verification, and subsequent operations according to the previous logic.

[0062] As an optional embodiment, the driving module also includes an I2C communication module, which is connected to the main control module via an I2C communication bus; the I2C communication module receives the set speed sent by the main control module, and sends the set speed to the driving module; the I2C communication module receives the fan information sent by the driving module, and sends the fan information to the main control module.

[0063] Specifically, the I2C communication module provides an efficient and reliable communication method, making the data transmission between the main control module and the driver module more stable and fast. By introducing the I2C communication module, the number of connection lines between the main control module and the driver module can be reduced, thereby simplifying the circuit design and reducing the system cost. The I2C communication module supports the mounting of multiple slave devices (such as multiple driver modules), so the system can be easily expanded to meet more fan control requirements.

[0064] From the above description, it can be seen that the control method of an air-conditioning fan provided by the present invention can verify whether the written data is correct on the data communication link immediately after writing the data into the driving module, and can obtain various operating information of the fan, thereby effectively improving the stability and security of data transmission in the air-conditioning fan system, improving the operating efficiency of the air-conditioning fan, and enhancing the user experience.

[0065] It should be noted that the method of the embodiment of the present invention can be performed by a single device, such as a computer or a server. The method of this embodiment can also be applied in a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present invention, and the multiple devices will interact with each other to complete the described method.

[0066] It should be noted that some embodiments of the present invention are described above. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0067] Based on the same inventive concept, corresponding to the method provided in any of the above embodiments, the present invention also provides a control system for an air-conditioning fan, including a main control module and a driving module; the main control module and the driving module are connected via an I2C communication bus; the main control module is configured to send a set speed to the driving module, and read the written speed in the register of the driving module to determine whether the written speed is consistent with the set speed, and in response to the written speed being consistent with the set speed, send an inquiry instruction to the driving module and determine the inquiry frequency of the inquiry instruction, and obtain the fan information stored in the target register of the driving module corresponding to the inquiry frequency according to the inquiry frequency.

[0068] According to some embodiments of the present invention, the driving module also includes an I2C communication module; the I2C communication module is connected to the main control module via an I2C communication bus; the I2C communication module is configured to receive the set speed sent by the main control module, and send the set speed to the driving module; the I2C communication module is configured to receive the fan information sent by the driving module, and send the fan information to the main control module.

[0069] A control system for an air-conditioning fan provided by the present invention verifies whether the written data is correct on a data communication link immediately after writing the data into a driving module, and can obtain a variety of operating information of the fan, thereby effectively improving the stability and security of data transmission in the air-conditioning fan system, improving the operating efficiency of the air-conditioning fan, and enhancing the user experience.

[0070] For the convenience of description, the above system is described as being divided into various modules according to their functions. Of course, when implementing the present invention, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0071] The system of the above embodiment is used to implement the corresponding method in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be repeated here.

[0072] refer to Figure 3 , is a schematic diagram of the controller structure provided in an embodiment of the present invention.

[0073] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments, the present application also provides a controller, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the control method of the air-conditioning fan described in any of the above-mentioned embodiments is implemented. Figure 3 A more specific schematic diagram of the hardware structure of the controller provided in this embodiment is shown, and the controller 300 may include: a processor 310, a memory 320, an input / output interface 330, a communication interface 340 and a bus 350. The processor 310, the memory 320, the input / output interface 330 and the communication interface 340 are connected to each other in communication within the device through the bus 350.

[0074] The processor 310 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0075] The memory 320 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 320 can store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 320 and are called and executed by the processor 310.

[0076] The input / output interface 330 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0077] The communication interface 340 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).

[0078] The bus 350 comprises a pathway that transmits information between the various components of the device (eg, the processor 310 , the memory 320 , the input / output interface 330 , and the communication interface 340 ).

[0079] It should be noted that, although the above device only shows the processor 310, the memory 320, the input / output interface 330, the communication interface 340 and the bus 350, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0080] The controller of the above embodiment is used to implement the control method of the corresponding air conditioner fan in any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be described in detail here.

[0081] Based on the same inventive concept, corresponding to the controller of any of the above embodiments, the present application also provides an air conditioner 400, including the controller 300 described above.

[0082] refer to Figure 4 , is a schematic diagram of the air conditioning structure provided in an embodiment of the present invention.

[0083] The present invention proposes an air conditioner, which includes the controller described above. The controller can verify whether the written data is correct on the data communication link immediately after writing the data into the driving module by executing the control method of the air-conditioning fan described above, and can obtain various operating information of the fan, thereby effectively improving the stability and security of data transmission in the air-conditioning fan system, improving the operating efficiency of the air-conditioning fan, and enhancing the user experience.

[0084] In addition, although the operations of the method of the present invention are described in a specific order in the accompanying drawings, this does not require or imply that the operations must be performed in this specific order, or that all the operations shown must be performed to achieve the desired results. On the contrary, the steps depicted in the flow chart can be performed in a different order. Additionally or alternatively, some steps can be omitted, multiple steps can be combined into one step, and / or one step can be decomposed into multiple steps.

[0085] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0086] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present invention should be understood by people with ordinary skills in the field to which the present invention belongs. The "first", "second" and similar words used in the embodiments of the present invention do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word include the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0087] Although the spirit and principle of the present invention have been described with reference to several specific embodiments, it should be understood that the present invention is not limited to the disclosed specific embodiments, and the division of various aspects does not mean that the features in these aspects cannot be combined to benefit, and this division is only for the convenience of expression. The present invention is intended to cover various modifications and equivalent arrangements included in the spirit and scope of the attached claims. The scope of the attached claims conforms to the broadest interpretation, thereby including all such modifications and equivalent structures and functions.

Claims

1. A method for controlling an air conditioner fan, characterized in that: A control system applied to an air-conditioning fan, the control system of the air-conditioning fan comprising a main control module and a drive module; The main control module is connected to the driving module via an I2C communication bus; The method comprises: The main control module sends a set speed to the driving module, and preferentially reads the written speed in the register of the driving module to determine whether the written speed is consistent with the set speed. In response to the written speed being consistent with the set speed, the main control module sends an inquiry instruction to the driving module and determines the inquiry frequency of the inquiry instruction, and obtains the fan information stored in the target register of the driving module corresponding to the inquiry frequency according to the inquiry frequency.

2. The control method of the air conditioner fan according to claim 1, characterized in that: After the main control module responds that the writing rotation speed is consistent with the set rotation speed and before sending an inquiry instruction to the driving module, the method further includes: The main control module starts timing, and in response to the timing reaching a first preset time interval, determines to send an inquiry instruction to the driving module.

3. The control method of the air conditioner fan according to claim 2, characterized in that: The method further comprises: In response to the writing rotation speed being inconsistent with the set rotation speed, the main control module resends the set rotation speed to the driving module.

4. The control method of the air conditioner fan according to claim 3, characterized in that: The target register includes a first target register and a second target register; The method further comprises: The main control module determines whether the inquiry frequency of the inquiry instruction is the first frequency, and in response to the inquiry frequency being the first frequency, acquires the first fan information stored in the first target register of the driving module; In response to the inquiry frequency not being the first frequency, the main control module determines whether the inquiry frequency of the inquiry instruction is the second frequency, and in response to the inquiry frequency being the second frequency, obtains the second fan information stored in the second target register of the driving module; wherein the second frequency is greater than the first frequency, and the weight of the first fan information is greater than the weight of the second fan information; and the weight is used to characterize the importance of the fan information.

5. The control method of the air conditioner fan according to claim 4, characterized in that: The method further comprises: In response to the inquiry frequency not being the second frequency, the main control module re-sends the set rotation speed to the driving module.

6. The control method of the air conditioner fan according to claim 1, characterized in that: The driving module also includes an I2C communication module, and the I2C communication module is connected to the main control module via an I2C communication bus; The method further comprises: The I2C communication module receives the set speed sent by the main control module, and sends the set speed to the driving module; The I2C communication module receives the fan information sent by the driving module, and sends the fan information to the main control module.

7. A control system for an air conditioner fan, characterized in that: It includes a main control module and a driving module; the main control module and the driving module are connected via an I2C communication bus; The main control module is configured to send a set speed to the driving module, and preferentially read the write speed in the register of the driving module to determine whether the write speed is consistent with the set speed. In response to the write speed being consistent with the set speed, an inquiry instruction is sent to the driving module and an inquiry frequency of the inquiry instruction is determined, and the fan information stored in the target register of the driving module corresponding to the inquiry frequency is obtained according to the inquiry frequency.

8. The control system of the air conditioner fan according to claim 7, characterized in that: It also includes an I2C communication module; the I2C communication module is connected to the main control module via an I2C communication bus; The I2C communication module is configured to receive the set speed sent by the main control module, and send the set speed to the driving module; The I2C communication module is configured to receive the fan information sent by the driving module, and send the fan information to the main control module.

9. A controller, characterized in that: It comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the control method of the air conditioner fan as claimed in any one of claims 1 to 6 when executing the computer program.

10. An air conditioner, characterized in that: Comprising a controller as claimed in claim 9.