A data transmission method and device, an external machine controller, an air conditioner and a medium
By storing drive parameters in the outdoor unit's EE chip and detecting the compatibility with the drive controller when the air conditioner is powered on, the problem of universalizing and standardizing drive controllers for different air conditioner models is solved, thus improving production efficiency.
Patent Information
- Application Number
- CN202310716852.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-15
- Publication Date
- 2026-01-13
- Estimated Expiration
- 2043-06-15
AI Technical Summary
Different models or capacities of central air conditioning systems use different compressors and fans, which means that different drive controllers need to be matched, resulting in low degree of universality and standardization and low production efficiency.
The drive parameters are stored in the outdoor unit EE chip of the outdoor unit controller. When the air conditioner is powered on, the drive parameters are checked to see if they match the drive controller. If they match, the drive parameters are transmitted to the drive controller, thus realizing the universality and standardization of the drive controller.
This enables the same drive controller to be matched with different compressors and fans, improving production efficiency and saving drive EE chip materials.
Smart Images

Figure CN116592495B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of air conditioning technology, and more specifically, to a data transmission method, device, outdoor unit controller, air conditioner, and medium. Background Technology
[0002] In air conditioning, the drive controller is used to control the smooth operation of the compressor and fan. Generally, drive controllers matched with different compressors and fans have the same motor drive control algorithm (FOC, etc.), but the drive parameters (field weakening, phase current, torque compensation, etc.) are generally different.
[0003] Currently, different models or capacities of central air conditioning systems often use different compressors and fans, which requires matching different drive controllers. The drive controllers have low degree of universality and standardization, resulting in low production efficiency. Summary of the Invention
[0004] The problem addressed by this invention is how to achieve the generalization and standardization of drive controllers.
[0005] To address the aforementioned problems, this invention provides a data transmission method applied to the outdoor unit MCU chip of an outdoor unit controller. The outdoor unit controller is electrically connected to a drive controller, and the outdoor unit controller further includes an outdoor unit EE chip, which stores drive parameters.
[0006] The data transmission method includes:
[0007] When the air conditioner is powered on, it is detected whether the drive parameters match the drive controller;
[0008] If the driving parameters match the driving controller, the driving parameters are transmitted to the driving controller until the transmission is complete.
[0009] Compared with the prior art, the data transmission method of the present invention has the following advantages: the drive parameters are stored in the outdoor unit EE chip of the outdoor unit controller. When the air conditioner is powered on, the drive parameters are checked to see if they match the drive controller. If they match, the drive parameters are transmitted to the drive controller until the transmission is completed. Thus, the same drive controller can be used to match different compressors and fans, realizing the universality and standardization of the drive controller and improving production efficiency.
[0010] Optionally, the step of detecting whether the drive parameters match the drive controller includes:
[0011] Send a preparation transmission frame to the drive controller, the preparation transmission frame including the model of the drive controller;
[0012] If a ready-to-receive frame is received from the drive controller within a set time period, and the value of the first flag bit in the ready-to-receive frame indicates that the model of the drive controller is correct, then it is confirmed that the drive parameters match the drive controller.
[0013] Optionally, the step of transmitting the drive parameters to the drive controller includes:
[0014] The driving parameters are divided into several driving parameter data, and each driving parameter data is transmitted sequentially.
[0015] For the current driving parameter data, the current driving parameter data is packaged into a transmission parameter frame, and the transmission parameter frame includes the sequence number of the current driving parameter data;
[0016] The transmission parameter frame is sent to the drive controller so that the drive controller can determine whether there are any errors or omissions in the transmission based on the sequence number of the current drive parameter data;
[0017] Receive the received parameter frame returned by the drive controller;
[0018] If the value of the second flag bit in the received parameter frame indicates that there are no errors or omissions in the transmission, then the next drive parameter data will continue to be transmitted to the drive controller.
[0019] If the value of the second flag bit in the received parameter frame indicates an error or omission in the transmission, the current drive parameter data is retransmitted to the drive controller.
[0020] Optionally, the step of transmitting the drive parameters to the drive controller further includes:
[0021] If the received parameter frame indicating that there is an error or omission in the transmission is received more than a first preset number of times, then the transmission of the drive parameters to the drive controller is stopped.
[0022] Optionally, the data transmission method further includes:
[0023] After the drive parameters are transmitted, it is determined whether the drive parameters transmitted to the drive controller are complete.
[0024] If the drive parameters transmitted to the drive controller are complete, then the transmission of the drive parameters is confirmed to be successful.
[0025] If the drive parameters transmitted to the drive controller are incomplete, then the drive parameters are retransmitted to the drive controller.
[0026] Optionally, the prepared transmission frame may further include the total number of driver parameter packets to be transmitted;
[0027] The step of determining whether the drive parameters transmitted to the drive controller are complete includes:
[0028] Send a transmission completion frame to the drive controller;
[0029] Receive a reception completion frame returned by the drive controller, the reception completion frame including the total number of successfully received packets;
[0030] Determine whether the total number of successfully received packets and the total number of driver parameter packets to be transmitted are consistent;
[0031] If they match, then the drive parameters transmitted to the drive controller are considered complete.
[0032] If there is a discrepancy, the drive parameters transmitted to the drive controller are determined to be incomplete.
[0033] Optionally, the data transmission method further includes:
[0034] If the number of transmissions exceeds the second preset limit and the transmission of the drive parameters to the drive controller is determined to be incomplete, then the transmission of the drive parameters to the drive controller will be stopped.
[0035] The present invention also provides a data transmission device applied to the outdoor unit MCU chip of the outdoor unit controller, wherein the outdoor unit controller is electrically connected to the drive controller, and the outdoor unit controller further includes an outdoor unit EE chip, wherein the outdoor unit EE chip stores drive parameters;
[0036] The data transmission device includes:
[0037] The detection module is used to detect whether the drive parameters match the drive controller when the air conditioner is powered on;
[0038] The parameter transmission module is used to transmit the driving parameters to the driving controller if the driving parameters match the driving controller, until the transmission is complete.
[0039] The present invention also provides an outdoor unit controller, including an outdoor unit MCU chip, an outdoor unit EE chip, and a memory, wherein the memory is used to store a program, and the outdoor unit MCU chip is used to implement the above-mentioned data transmission method when executing the program.
[0040] The present invention also provides an air conditioner, including the above-described outdoor unit controller and a drive controller electrically connected to the outdoor unit controller.
[0041] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by an external MCU chip, implements the above-described data transmission method. Attached Figure Description
[0042] Figure 1 A block diagram of an air conditioner provided by the prior art.
[0043] Figure 2 This is a block diagram of the air conditioner provided by the present invention.
[0044] Figure 3 This is a flowchart illustrating a data transmission method provided by the present invention.
[0045] Figure 4 An example diagram of the frame format for preparing transmission frames provided by the present invention.
[0046] Figure 5 An example diagram of the frame format for preparing to receive frames provided by the present invention.
[0047] Figure 6 An example diagram of the frame format of the transmission parameter frame provided by the present invention.
[0048] Figure 7 This is an example diagram of the frame format of the received parameter frame provided by the present invention.
[0049] Figure 8 This is another schematic diagram of the data transmission method provided by the present invention.
[0050] Figure 9 This is an example diagram of the frame format of the transmission completion frame provided by the present invention.
[0051] Figure 10 This is an example diagram of the frame format for a received frame provided by the present invention.
[0052] Figure 11 This is a block diagram of the data transmission device provided by the present invention.
[0053] Figure 12 This is a block diagram of the outdoor unit controller provided by the present invention.
[0054] Explanation of reference numerals in the attached figures:
[0055] 10-External unit controller; 11-External unit MCU chip; 12-External unit EE chip; 13-Memory; 100-Data transmission device; 101-Acquisition module; 102-Parameter transmission module; 103-Transmission verification module. Detailed Implementation
[0056] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
[0057] Normally, please refer to Figure 1The air conditioner includes an outdoor unit controller and a drive controller, which are connected to a 485 bus and each has its own independent MCU (Microcontroller Unit) chip and EE chip. That is, the outdoor unit controller includes an outdoor unit MCU chip and an outdoor unit EE chip, and the drive controller includes a drive MCU chip and a drive EE chip.
[0058] Drive controllers are used to control the smooth operation of compressors and fans. Drive controllers that match different compressors and fans generally have the same motor drive control algorithm (FOC, etc.), but the drive parameters (field weakening, phase current, torque compensation, etc.) are generally different.
[0059] In practice, different models or capacities of central air conditioning systems often use different compressors and fans, and correspondingly, the required drive parameters for different compressors and fans also differ. For the drive controller, the motor drive control algorithm is generally stored in the drive MCU chip, while the drive parameters are generally stored in the drive EE.
[0060] This means that different compressors and fans require different drive controllers, resulting in low standardization and low production efficiency.
[0061] To solve the above problem, please refer to Figure 2 This invention does not use a separate drive EE chip. Instead, the drive parameters are stored in the outdoor unit EE chip of the outdoor unit controller. After the air conditioner is powered on, the outdoor unit MCU chip sends the matching drive parameters to the bus, and the drive controller retrieves the drive parameters from the bus. This not only saves on drive EE chip materials but also allows the same drive controller to be used with different compressors and fans, achieving the universality and standardization of the drive controller and improving production efficiency. A detailed description follows.
[0062] In this embodiment, the air conditioner's outdoor unit controller needs to include both an outdoor unit MCU chip and an outdoor unit EE chip. That is, the outdoor unit MCU chip cannot store all the data, and an additional outdoor unit EE chip is needed to store system parameters, such as in a central air conditioner.
[0063] Please refer to Figure 3 , Figure 3 A schematic flowchart of a data transmission method provided by the present invention is shown. This data transmission method is applied to the outdoor unit MCU chip of an outdoor unit controller and may include the following steps:
[0064] S101 detects whether the drive parameters match the drive controller when the air conditioner is powered on.
[0065] In this embodiment, for air conditioners, such as Figure 2As shown, the drive parameters for the compressor and fan of the air conditioner are stored in the outdoor unit's EE chip in advance. After the unit is powered on, the outdoor unit's MCU chip first checks whether the drive parameters match the drive controller.
[0066] In one possible implementation, the process of detecting whether the drive parameters match the drive controller in step S101 may include sub-steps S1011 to S1012.
[0067] S1011, send a preparation transmission frame to the drive controller. The preparation transmission frame includes the model number of the drive controller.
[0068] In this embodiment, after the air conditioner is powered on for the first time, the outdoor unit's MCU chip sends a preparation transmission frame to the drive controller. The frame format of the preparation transmission frame is as follows: Figure 4 As shown, it includes the model number of the drive controller.
[0069] S1012, if a ready-to-receive frame is received from the drive controller within the set time period, and the value of the first flag bit in the ready-to-receive frame indicates that the model of the drive controller is correct, then it is confirmed that the drive parameters match the drive controller.
[0070] In this embodiment, after receiving the ready-to-transmit frame, the drive controller verifies whether the model of the drive controller carried in the ready-to-transmit frame matches its own, generates a ready-to-receive frame based on the matching result, and then sends the ready-to-receive frame to the external MCU chip.
[0071] Please refer to Figure 5 The ready-to-receive frame includes a first flag bit. If the model of the drive controller carried in the ready-to-transmit frame matches itself, the value of the first flag bit is set to indicate that the model of the drive controller is correct; if the model of the drive controller carried in the ready-to-transmit frame does not match itself, the value of the first flag bit is set to indicate that the model of the drive controller is incorrect.
[0072] Accordingly, after the outdoor unit MCU chip sends a ready-to-transmit frame to the drive controller, if it does not receive a ready-to-receive frame from the drive controller within a set time (e.g., 30 seconds), the outdoor unit MCU chip will report a drive controller communication failure.
[0073] If a ready-to-receive frame is received from the drive controller within a set time (e.g., 30 seconds), and the value of the first flag bit in the ready-to-receive frame indicates that the model of the drive controller is correct, then it is confirmed that the drive parameters match the drive controller.
[0074] If a ready-to-receive frame is received from the drive controller within a set time (e.g., 30 seconds), and the value of the first flag bit in the ready-to-receive frame indicates that the drive controller model is incorrect, then it is confirmed that the drive parameters do not match the drive controller, and the external MCU chip reports a drive controller model mismatch fault.
[0075] It should be noted that since the compressor and fan require different drive parameters, two drive controllers can be used to drive the compressor and fan separately, or a single drive controller can be used to drive both the compressor and fan simultaneously.
[0076] If two drive controllers are used, each drive controller receives its own corresponding drive parameters, so it is only necessary to determine whether the model of the drive controller carried in the prepared transmission frame matches its own.
[0077] If a single drive controller is used, this controller needs to receive the drive parameters of the compressor and the fan separately and store them in the corresponding locations. Therefore, after receiving the transmission frame, the drive controller needs to first determine whether the model of the drive controller carried in the transmission frame matches its own, and then further determine whether the current transmission is of the compressor's drive parameters or the fan's drive parameters, so as to store them in the correct location.
[0078] S102, if the drive parameters match the drive controller, then transmit the drive parameters to the drive controller until the transmission is complete.
[0079] In this embodiment, if the external MCU chip confirms that the drive parameters match the drive controller, it will start transmitting the drive parameters.
[0080] In one possible implementation, the process of transmitting drive parameters to the drive controller in step S102 includes sub-steps S1021 to S1026.
[0081] S1021, the driving parameters are divided into several driving parameter data, and each driving parameter data is transmitted sequentially.
[0082] In practice, the driving parameters may be quite large and cannot be transmitted in one go. Therefore, it is necessary to divide them into several driving parameter data, generate a sequence number for each driving parameter data, and then transmit each driving parameter data in sequence according to the sequence number. The following uses a single driving parameter data as an example to illustrate its transmission process through S1022 to S1026.
[0083] S1022, for the current driving parameter data, package the current driving parameter data into a transmission parameter frame, the transmission parameter frame including the sequence number of the current driving parameter data.
[0084] In this embodiment, taking the current driving parameter data as an example, the current driving parameter data is packaged into a transmission parameter frame. Please refer to... Figure 6 The transmission parameter frame includes the current packet sequence number, which is the sequence number of the current driver parameter data.
[0085] S1023, send a transmission parameter frame to the drive controller so that the drive controller can determine whether there are any errors or omissions in the transmission based on the sequence number of the current drive parameter data.
[0086] In this embodiment, after the drive controller receives the transmission parameter frame sent by the external MCU chip, it needs to determine whether there are any errors or omissions in the transmission based on the sequence number of the current drive parameter data. That is, it checks whether the sequence number of the current packet in the transmission parameter frame is continuous with the sequence number of the packet in the previous transmission parameter frame. If they are not continuous, for example, if the sequence number of the packet in the previous transmission parameter frame is 1 and the sequence number of the current packet is 3, it indicates that there are errors or omissions in the transmission; if they are continuous, it indicates that there are no errors or omissions in the transmission.
[0087] Afterwards, the drive controller generates a receive parameter frame based on the judgment result and sends the receive parameter frame to the external MCU chip.
[0088] Please refer to Figure 7 The received parameter frame includes a second flag bit. If the current packet sequence number carried in the transmission parameter frame is consecutive, the value of the first flag bit is set to indicate that there are no transmission errors. If the current packet sequence number carried in the transmission parameter frame is not consecutive, the value of the first flag bit is set to indicate that there are transmission errors.
[0089] S1024, Receive the received parameter frame returned by the drive controller.
[0090] S1025, if the value of the second flag bit in the received parameter frame indicates that there are no errors or omissions in the transmission, then continue to transmit the next drive parameter data to the drive controller.
[0091] S1026, if the value of the second flag bit in the received parameter frame indicates an error in the transmission, the current drive parameter data is retransmitted to the drive controller.
[0092] In this embodiment, if the external MCU chip receives three consecutive received parameter frames with erroneous or missing values in the second flag bit, it will stop transmitting drive parameters to the drive controller and report a drive parameter download error.
[0093] Therefore, the process of transmitting drive parameters to the drive controller in step S102 also includes sub-step S1024.
[0094] S1024, if the value of the second flag bit is received more than the first preset number of times, indicating that there is an error in the transmission of the received parameter frame, then the transmission of drive parameters to the drive controller is stopped.
[0095] Optionally, the first preset number of times can be flexibly set by the user according to the actual situation, for example, 3 times. This embodiment does not impose any restrictions on this.
[0096] In one possible implementation, to ensure the accuracy of data transmission, the external MCU chip can also verify the integrity of the transmission of all drive parameters after the transmission is completed.
[0097] Therefore, in Figure 3 Based on this, please refer to Figure 8 After step S102, the data transmission method provided by the present invention further includes steps S103 to S105.
[0098] S103: After the drive parameters are transmitted, determine whether the drive parameters transmitted to the drive controller are complete.
[0099] In this embodiment, as Figure 2 As shown, the preparation transmission frame includes the total number of driver parameter packets to be transmitted. After the driver parameter transmission is completed, the external MCU chip can determine whether the driver parameters transmitted to the driver controller are complete by verifying whether the total number of driver parameter data packets successfully received by the driver controller is consistent with the total number of driver parameter packets to be transmitted in the preparation transmission frame.
[0100] Optionally, after the drive parameters are transmitted, the external MCU chip first sends a transmission completion frame to the drive controller. The frame format of the transmission completion frame is as follows: Figure 9 As shown, it includes the total number of successfully transmitted packets from the external MCU chip.
[0101] After receiving the transmission completion frame, the drive controller replies with a reception completion frame to the machine MCU chip. The frame format of the reception completion frame is as follows: Figure 10 As shown, it includes the total number of packets successfully received by the drive controller.
[0102] Afterwards, the external MCU chip determines whether the total number of successfully received packets in the received frame is consistent with the total number of driver parameter packets to be transmitted in the ready-to-transmit frame. If the total number of successfully received packets is consistent with the total number of driver parameter packets to be transmitted, it is determined that the driver parameters transmitted to the driver controller are complete; if the total number of successfully received packets is inconsistent with the total number of driver parameter packets to be transmitted, it is determined that the driver parameters transmitted to the driver controller are incomplete.
[0103] S104 If the drive parameters transmitted to the drive controller are complete, then the drive parameter transmission is confirmed to be successful.
[0104] S105 If the drive parameters transmitted to the drive controller are incomplete, then retransmit the drive parameters to the drive controller.
[0105] In this embodiment, if the external MCU chip determines three times that the drive parameters transmitted to the drive controller are incomplete, it will stop transmitting drive parameters to the drive controller and report a drive parameter download error.
[0106] Therefore, please continue to refer to Figure 8 The data transmission method provided by the present invention further includes step S106.
[0107] S106 If the number of transmissions exceeds the second preset number and the transmission of drive parameters to the drive controller is determined to be incomplete, then the transmission of drive parameters to the drive controller is stopped.
[0108] Optionally, the second preset number of times can be flexibly set by the user according to the actual situation, for example, 3 times. This embodiment does not impose any restrictions on this.
[0109] Compared with existing technologies, the data transmission method provided by this invention has the following advantages:
[0110] First, instead of setting up a separate drive EE chip, the drive parameters are stored in the outdoor unit EE chip of the outdoor unit controller. After the air conditioner is powered on, the outdoor unit MCU chip sends the matching drive parameters to the bus. The drive controller then obtains the drive parameters from the bus. This not only saves on drive EE chip materials, but also allows the same drive controller to be used to match different compressors and fans, achieving the universality and standardization of the drive controller and improving production efficiency.
[0111] Secondly, after the air conditioner is powered on for the first time, the outdoor unit's MCU chip sends a preparation transmission frame to the drive controller. The preparation transmission frame includes the model of the drive controller, which allows the drive controller to verify whether the model of the drive controller carried in the preparation transmission frame matches its own. Only when it matches will the outdoor unit's MCU chip transmit the drive parameters, ensuring the accurate transmission of the drive parameters.
[0112] Third, during the transmission of drive parameters, the transmission parameter frame includes the current packet sequence number. The drive controller can determine whether there are any errors or omissions in the transmission based on the current packet sequence number in the transmission parameter frame. If there are errors or omissions, the external MCU chip will retransmit the parameters to ensure the integrity of the drive parameter transmission.
[0113] Fourth, after the drive parameter transmission is completed, the external MCU chip checks whether the total number of drive parameter data packets successfully received by the drive controller is consistent with the total number of drive parameter packets to be transmitted in the prepared transmission frame to determine whether the drive parameters transmitted to the drive controller are complete. If they are incomplete, they are retransmitted to further ensure the integrity of the drive parameter transmission.
[0114] In order to perform the corresponding steps in the above embodiments and various possible implementations, an implementation of a data transmission device is given below.
[0115] Please refer to Figure 11 This is a functional module diagram of the data transmission device 100 provided by the present invention. It should be noted that the basic principle and technical effects of the data transmission device 100 described in this embodiment are the same as those in the aforementioned method embodiments. For the sake of brevity, parts not mentioned in this embodiment can be referred to the corresponding content in the aforementioned method embodiments. This data transmission device 100 is applied to the outdoor unit MCU chip of the outdoor unit controller. The following describes its application in conjunction with... Figure 11 The data transmission device 100 is described below. The data transmission device 100 includes: an acquisition module 101 and a parameter transmission module 102.
[0116] The acquisition module 101 is used to detect whether the drive parameters match the drive controller when the air conditioner is powered on.
[0117] The parameter transmission module 102 is used to transmit the driving parameters to the driving controller if the driving parameters match the driving controller, until the transmission is complete.
[0118] Optionally, the acquisition module 101 may perform the following methods to check whether the drive parameters match the drive controller:
[0119] Send a ready-to-transmit frame to the drive controller, the ready-to-transmit frame including the model of the drive controller;
[0120] If a ready-to-receive frame is received from the drive controller within the set time period, and the value of the first flag bit in the ready-to-receive frame indicates that the model of the drive controller is correct, then it is confirmed that the drive parameters match the drive controller.
[0121] Optionally, the parameter transmission module 102 performs the transmission of drive parameters to the drive controller in the following ways:
[0122] The driving parameters are divided into several driving parameter data, and each driving parameter data is transmitted sequentially.
[0123] For the current driver parameter data, package the current driver parameter data into a transmission parameter frame, and the transmission parameter frame includes the sequence number of the current driver parameter data;
[0124] Send transmission parameter frames to the drive controller so that the drive controller can determine whether there are any errors or omissions in the transmission based on the sequence number of the current drive parameter data;
[0125] Receive the received parameter frame returned by the drive controller;
[0126] If the value of the second flag bit in the received parameter frame indicates that there are no errors or omissions in the transmission, then the next drive parameter data will continue to be transmitted to the drive controller.
[0127] If the value of the second flag bit in the received parameter frame indicates an error or omission in the transmission, the current drive parameter data will be retransmitted to the drive controller.
[0128] Optionally, the parameter transmission module 102 may further include the following method for transmitting drive parameters to the drive controller:
[0129] If the value of the second flag bit is received more than the first preset number of times, indicating that there are errors or omissions in the received parameter frames, then the transmission of drive parameters to the drive controller will be stopped.
[0130] Optionally, the data transmission device 100 further includes a transmission verification module 103, which is used for:
[0131] After the drive parameters are transmitted, determine whether the drive parameters transmitted to the drive controller are complete.
[0132] If the drive parameters transmitted to the drive controller are complete, then the drive parameter transmission is confirmed to be successful.
[0133] If the drive parameters transmitted to the drive controller are incomplete, then the drive parameters are retransmitted to the drive controller.
[0134] Optionally, preparing the transmission frame also includes the total number of drive parameter packets to be transmitted; the transmission verification module 103 performs a method to determine whether the drive parameters transmitted to the drive controller are complete, including:
[0135] Send a transmission completion frame to the drive controller;
[0136] The receiver returns a reception completion frame from the driver controller. The reception completion frame includes the total number of packets successfully received.
[0137] Determine whether the total number of successfully received packets matches the total number of driver parameter packets to be transmitted;
[0138] If they match, it is determined that the drive parameters transmitted to the drive controller are complete;
[0139] If they are inconsistent, it is determined that the drive parameters transmitted to the drive controller are incomplete.
[0140] Optionally, the transmission verification module 103 is further configured to stop transmitting drive parameters to the drive controller if the drive parameters transmitted to the drive controller are determined to be incomplete after exceeding a second preset number of times.
[0141] Please refer to Figure 12 , Figure 12 The above is a block diagram of the outdoor unit controller 10 provided by the present invention. The outdoor unit controller 10 includes an outdoor unit MCU chip 11, an outdoor unit EE chip 12, and a memory 13. The outdoor unit EE chip 12 and the memory 13 are both electrically connected to the outdoor unit MCU chip 11.
[0142] Memory 13 is used to store programs, for example Figure 11 The data transmission device 100 shown includes at least one software function module that can be stored in the memory 13 in the form of software or firmware. Upon receiving an execution instruction, the external MCU chip 11 executes the program to implement the data transmission method disclosed in the following embodiments.
[0143] The outdoor unit's EE chip 12 stores system parameters and drive parameters. The system parameters are used by the outdoor unit's MCU chip 11 to control the operation of the outdoor unit. The drive parameters are transmitted by the outdoor unit's MCU chip 11 to the drive controller when the air conditioner is powered on, so that the drive controller can control the operation of the corresponding equipment (compressor, fan) according to the drive parameters.
[0144] The present invention also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by an external MCU chip 11, implements the data transmission method disclosed in the above embodiments.
[0145] In summary, the data transmission method, device, outdoor unit controller, air conditioner, and medium provided by this invention store the driving parameters in the outdoor unit EE chip of the outdoor unit controller. When the air conditioner is powered on, it detects whether the driving parameters match the driving controller. If the two are determined to match, the driving parameters are transmitted to the driving controller until the transmission is completed. Thus, the same driving controller can be used to match different compressors and fans, realizing the universality and standardization of the driving controller and improving production efficiency.
[0146] While the present invention has been disclosed above, it is not limited thereto. Any person skilled in the art can make various modifications and alterations without departing from the spirit and scope of the invention; therefore, the scope of protection of the present invention should be determined by the scope defined in the claims.
Claims
1. A data transmission method, characterized in that, An outdoor MCU chip (11) is applied to an outdoor unit controller (10). The outdoor unit controller (10) is electrically connected to a drive controller. The outdoor unit controller (10) also includes an outdoor EE chip (12). The outdoor EE chip (12) stores drive parameters. The drive controller does not have a separate drive EE chip. The data transmission method includes: When the air conditioner is powered on, a preparation transmission frame is sent to the drive controller, the preparation transmission frame including the model of the drive controller; If a ready-to-receive frame is received from the drive controller within a set time period, and the value of the first flag bit in the ready-to-receive frame indicates that the model of the drive controller is correct, then it is confirmed that the drive parameters match the drive controller. The drive parameters are transmitted to the drive controller until the transmission is complete.
2. The data transmission method according to claim 1, characterized in that, The step of transmitting the drive parameters to the drive controller includes: The driving parameters are divided into several driving parameter data, and each driving parameter data is transmitted sequentially. For the current driving parameter data, the current driving parameter data is packaged into a transmission parameter frame, and the transmission parameter frame includes the sequence number of the current driving parameter data; The transmission parameter frame is sent to the drive controller so that the drive controller can determine whether there are any errors or omissions in the transmission based on the sequence number of the current drive parameter data; Receive the received parameter frame returned by the drive controller; If the value of the second flag bit in the received parameter frame indicates that there are no errors or omissions in the transmission, then the next drive parameter data will continue to be transmitted to the drive controller. If the value of the second flag bit in the received parameter frame indicates an error or omission in the transmission, the current drive parameter data is retransmitted to the drive controller.
3. The data transmission method according to claim 2, characterized in that, The step of transmitting the drive parameters to the drive controller further includes: If the received parameter frame indicating that there is an error or omission in the transmission is received more than a first preset number of times, then the transmission of the drive parameters to the drive controller is stopped.
4. The data transmission method according to claim 1, characterized in that, The data transmission method further includes: After the drive parameters are transmitted, it is determined whether the drive parameters transmitted to the drive controller are complete. If the drive parameters transmitted to the drive controller are complete, then the transmission of the drive parameters is confirmed to be successful. If the drive parameters transmitted to the drive controller are incomplete, then the drive parameters are retransmitted to the drive controller.
5. The data transmission method according to claim 4, characterized in that, The prepared transmission frame also includes the total number of driver parameter packets to be transmitted; The step of determining whether the drive parameters transmitted to the drive controller are complete includes: Send a transmission completion frame to the drive controller; Receive a reception completion frame returned by the drive controller, the reception completion frame including the total number of successfully received packets; Determine whether the total number of successfully received packets and the total number of driver parameter packets to be transmitted are consistent; If they match, then the drive parameters transmitted to the drive controller are considered complete. If there is a discrepancy, the drive parameters transmitted to the drive controller are determined to be incomplete.
6. The data transmission method according to claim 5, characterized in that, The data transmission method further includes: If the number of transmissions exceeds the second preset limit and the transmission of the drive parameters to the drive controller is determined to be incomplete, then the transmission of the drive parameters to the drive controller will be stopped.
7. A data transmission device, characterized in that, An outdoor MCU chip (11) is applied to an outdoor unit controller (10). The outdoor unit controller (10) is electrically connected to a drive controller. The outdoor unit controller (10) also includes an outdoor EE chip (12). The outdoor EE chip (12) stores drive parameters. The drive controller does not have a separate drive EE chip. The data transmission device (100) includes: The detection module (101) is used to send a ready transmission frame to the drive controller when the air conditioner is powered on. The ready transmission frame includes the model of the drive controller. If a ready reception frame is received from the drive controller within a set time period, and the value of the first flag bit in the ready reception frame indicates that the model of the drive controller is correct, then it is confirmed that the drive parameters match the drive controller. The parameter transmission module (102) is used to transmit the drive parameters to the drive controller until the transmission is complete.
8. An outdoor unit controller, characterized in that, It includes an external MCU chip (11), an external EE chip (12), and a memory (13), wherein the memory (13) is used to store a program, and the external MCU chip (11) is used to implement the data transmission method of any one of claims 1-6 when the program is executed.
9. An air conditioner, characterized in that, It includes the outdoor unit controller (10) as described in claim 8 and the drive controller electrically connected to the outdoor unit controller.
10. A computer-readable storage medium, characterized in that, It stores a computer program, which, when executed by the external MCU chip (11), implements the data transmission method as described in any one of claims 1-6.
Citation Information
Patent Citations
Universal motor driving matching method
CN106870343A
Method and system for driving parameters of compressor
CN108870859A
Modular frequency converter air-conditioner controller
CN2511909Y