CN113137690B - Motor parameter configuration method and air conditioner - Google Patents

Motor parameter configuration method and air conditioner Download PDF

Info

Publication number
CN113137690B
CN113137690B CN202110237016.4A CN202110237016A CN113137690B CN 113137690 B CN113137690 B CN 113137690B CN 202110237016 A CN202110237016 A CN 202110237016A CN 113137690 B CN113137690 B CN 113137690B
Authority
CN
China
Prior art keywords
control board
motor control
main controller
motor
frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110237016.4A
Other languages
Chinese (zh)
Other versions
CN113137690A (en
Inventor
张锐钢
国德防
时斌
程绍江
禚百田
高玉辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Air Conditioner Gen Corp Ltd
Qingdao Haier Air Conditioning Electric Co Ltd
Haier Smart Home Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Air Conditioner Gen Corp Ltd, Qingdao Haier Air Conditioning Electric Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Air Conditioner Gen Corp Ltd
Priority to CN202110237016.4A priority Critical patent/CN113137690B/en
Publication of CN113137690A publication Critical patent/CN113137690A/en
Application granted granted Critical
Publication of CN113137690B publication Critical patent/CN113137690B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/32Responding to malfunctions or emergencies
    • F24F11/38Failure diagnosis
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/52Indication arrangements, e.g. displays
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/61Control or safety arrangements characterised by user interfaces or communication using timers
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/62Control or safety arrangements characterised by the type of control or by internal processing, e.g. using fuzzy logic, adaptive control or estimation of values
    • F24F11/63Electronic processing
    • F24F11/64Electronic processing using pre-stored data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Abstract

The invention relates to a parameter configuration method of a motor and an air conditioner. The motor comprises an external motor control board, the motor control board is configured to be capable of communicating with a main controller, a plurality of sets of operation parameters matched with various motors are stored in the main controller, and the parameter configuration method of the motor comprises the following steps: the main controller sends a normal communication frame to the motor control board to judge whether the motor control board responds normally or not; after confirming the normal response of the motor control board, the main controller sends a program version command frame to the motor control board; after receiving the program version frame responded by the motor control board, the main controller sends an operation parameter setting frame to the motor control board; after receiving the operation parameter frame responded by the motor control board, the main controller confirms whether the operation parameter of the response is consistent with the transmitted operation parameter; and when the operation parameters of the response are consistent with the sent operation parameters, the main controller and the motor control board enter a normal communication mode. The parameter configuration method can improve the modularization and generalization of the motor control board.

Description

Motor parameter configuration method and air conditioner
Technical Field
The invention relates to an air conditioning system, in particular to a parameter configuration method of a motor and an air conditioner.
Background
Air conditioners, including but not limited to split type air conditioners, integrated type air conditioners, one-to-many type air conditioners, etc., include at least one motor, for example, for use on a fan of an outdoor unit or an indoor unit. The conventional motors for air conditioners, such as dc brushless motors, are generally classified into internal driving type and external driving type according to the driving installation mode. With the development and popularization of the dc frequency conversion technology, many air conditioning enterprises master the frequency conversion driving technology of the dc motor. In order to apply the variable frequency driving technology to air conditioning products, these enterprises use an external driving type motor, i.e., a driving part of the motor (which may be called a "motor control board" or a "motor driving board") is separated from a main body of the motor.
The motor is of an external driving type, and a driving control board in the motor is removed, so that the motor main body only retains a rotor, a stator and necessary structural components. This directly reduces the structural complexity of the motor. In addition, since there is no complicated and precise control part, the reliability of the motor is greatly improved. The control board of the motor may be integrated onto the main control board of the air conditioner (which is referred to as a "main controller") and may be matched to motors of different specifications. However, due to the characteristics of the motors, the parameters of the motors of different manufacturers cannot be completely consistent, or the parameters of the motors of the same manufacturer are different due to different specifications. This results in a motor control board corresponding to a set of parameters for each motor, and thus, the motor control board is of a plurality of types, and the modularization and generalization of parts are affected.
Accordingly, there is a need in the art for a new solution to the above-mentioned problems.
Disclosure of Invention
In order to solve the above-mentioned problems in the prior art, that is, in order to solve the technical problems that the types of motor control boards of the existing external drive motor are multiple, and the modularization and generalization are affected, the invention provides a parameter configuration method of a motor, wherein the motor comprises an external motor control board, the motor control board is configured to be capable of communicating with a main controller, and a plurality of sets of operation parameters adapted to various motors are stored in the main controller, and the parameter configuration method of the motor comprises:
the main controller sends a normal communication frame to the motor control board to judge whether the motor control board responds normally or not;
after confirming the normal response of the motor control board, the main controller sends a program version command frame to the motor control board;
after receiving the program version frame responded by the motor control board, the main controller sends an operation parameter setting frame to the motor control board;
after receiving the operation parameter frame responded by the motor control board, the main controller confirms whether the operation parameter of the response is consistent with the transmitted operation parameter;
and when the operation parameters of the response are consistent with the sent operation parameters, the main controller and the motor control board enter a normal communication mode.
As can be appreciated by those skilled in the art, in the parameter configuration method of the motor, before the master controller sends the command frame of the program version to the motor control board, the master controller sends the normal communication frame to the motor control board to determine whether the motor control board responds normally. This is to confirm that the motor control board has a parameter configuration function. Under the condition that the motor control board does not have the parameter configuration function, if the inquiry program version command frame is directly sent to the motor control board, the motor control board does not respond, and the main controller can judge the motor control board as the communication fault. In entering the operation parameter configuration program, the main controller firstly sends a program version command frame to the motor control board to require the motor control board to answer the program version number of the corresponding motor. The motor control board then responds to the master controller with a program version frame that includes the program version number. After confirming the program version number, the main controller transmits a set of operation parameters corresponding to the program version number to the motor control board in the form of operation parameter setting frames. After receiving the operation parameter setting frame, the motor control board responds to the operation parameter frame to the main controller and enters a parameter configuration state. When the main controller confirms that the operation parameters of the response are consistent with the transmitted operation parameters, the parameter configuration process is finished, and the main controller and the motor operation parameters are in a normal communication mode. Therefore, the parameter configuration method of the motor can realize the purpose of driving motors with different specifications by using the same motor control board, thereby improving the modularization and the generalization of the motor control board.
In the above preferred technical solution of the parameter configuration method of a motor, the step of sending a normal communication frame to the motor control board by the main controller to determine whether the motor control board responds normally includes:
the main controller sends a normal communication frame to the motor control board;
the motor control board responds to the main controller with a normal state frame; and is also provided with
The main controller determines whether the motor control board responds normally based on the normal status frame. The normal communication frame may include a motor speed command, a rotational direction command, etc. After receiving these instructions, the motor control board needs to respond to the normal status frame to the main controller. The normal state frame may contain parameter information such as actual rotational speed, rotational direction, dc voltage, output power, etc. of the motor. In addition, the normal status frame also comprises information such as wharf, check code and the like related to the data frame so that the main controller can judge whether the motor control panel responds normally or not.
In the preferred technical scheme of the parameter configuration method of the motor, when the main controller determines that the motor control board does not have a normal response, the main controller repeats the step of sending a normal communication frame to the motor control board. The step of repeatedly transmitting the normal communication frame can eliminate the error code and other conditions caused by accidental interference.
In the preferred technical solution of the above method for configuring parameters of a motor, when the main controller determines that the motor control board has no normal response, the method for configuring parameters further includes:
judging whether the response time of the motor control board exceeds a first preset time period or not;
when the response time exceeds the first preset time period, a communication fault alarm is sent out; and
and when the response time does not exceed the first preset time period, the main controller repeats the step of sending a normal communication frame to the motor control board. The possible communication faults can be timely identified by judging whether the response time of the motor control board exceeds the first preset time period.
In a preferred technical solution of the above method for configuring parameters of a motor, the step of sending an operation parameter setting frame to the motor control board by the main controller includes: and sending the operation parameters of the motor to the motor control board in groups. When the corresponding operation parameters are relatively large, the data packet transmitted at one time can be prevented from being excessively large through packet transmission.
In the above preferred technical solution of the parameter configuration method for a motor, in the normal communication mode, when the main controller continuously receives that the motor control board requests to configure the operation parameters for a predetermined number of times, the main controller sends a program version command frame to the motor control board. Abnormal conditions such as power supply and the like may cause the motor control board to reset, and the operation parameters of the motor are lost, so that the operation parameters need to be reconfigured. The motor control board must request to configure the operating parameters a predetermined number of times in order to avoid error conditions due to unexpected disturbances, thereby providing reliability.
In the preferred technical solution of the above-mentioned method for configuring parameters of a motor, when the operation parameters of the confirmation response of the main controller are inconsistent with the transmitted operation parameters, the main controller repeats the step of transmitting an operation parameter setting frame to the motor control board. The step of repeatedly transmitting the operation parameter setting frame can eliminate the error code and the like caused by unexpected interference.
In a preferred technical solution of the above-mentioned method for configuring parameters of a motor, when the operation parameter of the main controller confirmation response is inconsistent with the transmitted operation parameter, the method for configuring parameters further includes:
judging whether the response time of the motor control board exceeds a second preset time period;
when the response time exceeds the second preset time period, a communication fault alarm is sent out; and
and when the response time does not exceed the second preset time period, the main controller repeats the step of sending an operation parameter setting frame to the motor control board. The possible communication faults can be timely identified by judging whether the response time of the motor control board exceeds the second preset time period.
In the preferred technical scheme of the parameter configuration method of the motor, the main controller is a main device, and the motor control board is a slave device which is in communication connection with the main controller, so that communication between the main controller and the motor control board is initiated by the main controller. Thus, the main controller can completely control the motor control board.
In order to solve the above problems in the prior art, that is, in order to solve the technical problems that the types of motor control boards of the existing external driving type motors are multiple, and the modularization and the generalization are affected, the invention also provides an air conditioner, which comprises a main controller and at least one motor, wherein each motor comprises an external motor control board, and the main controller controls the parameter configuration of the motor control boards by using the parameter configuration method according to any one of the above. Therefore, the air conditioner can drive motors of different specifications by using the same motor control board through the main controller, and the modularization and the generalization of the motor control board can be improved.
Drawings
Preferred embodiments of the present invention are described below with reference to the accompanying drawings, in which:
FIG. 1 is a schematic diagram of an embodiment of a control system of an air conditioner of the present invention;
FIG. 2 is a flow chart of a method of parameter configuration of the motor of the present invention;
FIG. 3 is a flow chart of an embodiment of a method of parameter configuration of the motor of the present invention;
FIG. 4 is a communication flow chart of a main controller in the parameter configuration method of the motor of the present invention;
fig. 5 is a communication flow chart of a motor control board in the parameter configuration method of the motor of the present invention.
Reference numerals:
1. a control system of the air conditioner; 11. a main controller; 12. a motor control board; 20. and a motor.
Detailed Description
Preferred embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are merely for explaining the technical principles of the present invention, and are not intended to limit the scope of the present invention.
In order to solve the technical problems of multiple types of motor control boards of the existing external drive motor and affecting modularization and generalization, the invention provides a parameter configuration method of a motor, wherein the motor 20 comprises an external motor control board 12, the motor control board 12 is configured to be capable of communicating with a main controller 11, and a plurality of sets of operation parameters matched with various motors 20 are stored in the main controller 11, and the parameter configuration method of the motor 20 comprises the following steps:
the main controller 11 transmits a normal communication frame to the motor control board 12 to determine whether the motor control board 12 responds normally (step S10);
after confirming the normal response of the motor control board 12, the main controller 11 transmits a program version command frame to the motor control board 12 (step S20);
after receiving the program version frame responded by the motor control board 12, the main controller 11 transmits an operation parameter setting frame to the motor control board 12 (step S30);
after receiving the operation parameter frame responded by the motor control board 12, the main controller 11 confirms whether the operation parameter of the response is consistent with the transmitted operation parameter (step S40);
when the operation parameters of the response coincide with the transmitted operation parameters, the main controller 11 and the motor control board 12 enter the normal communication mode (step S50).
Fig. 1 is a schematic view of a control system of an air conditioner of the present invention. As shown in fig. 1, the air conditioner (not shown) of the present invention includes at least one motor 20 and a main controller 11 that can control the motor 20. The main controller 11 is generally disposed on a control panel of the air conditioner. The motor 20 includes, but is not limited to, a brushless DC motor or a brushed DC motor. Each motor 20 includes an external motor control board 12, and the motor control boards 12 control the motors 20 through control lines. The motor control board 12 is also disposed on the air conditioner. The main controller 11 communicates with the motor control board 12 via a communication line. In one or more embodiments, the motor control board 12 is integrated with the main controller 11. Alternatively, the motor control board 12 is disposed separately from the main controller 11. The motor control board 12 and the main controller 11 together constitute the control system 1 of the air conditioner or a part of the control system 1. In the control system 1, communication between the main controller 11 and the motor control board 12 can only be initiated by the main controller 12, and the motor control board 12 can respond to the communication initiated by the main controller 12.
A plurality of sets of operating parameters are stored in the main controller 11, and each set of operating parameters corresponds to a different motor configuration. The main controller 11 can perform parameter configuration on the motor control board 12 through the parameter configuration method of the motor. The following describes the parameter configuration method of the motor of the present invention.
Fig. 2 is a flow chart of a parameter configuration method of the motor of the present invention. As shown in fig. 2, the parameter configuration method of the motor 20 is that the main controller 11 transmits a normal communication frame to the motor control board 12 to determine whether the motor control board 12 responds normally at step S10. The normal communication frame may include command information such as a motor rotation speed command, a rotation direction command, etc. After receiving the normal communication frame of the main controller 11, the motor control board 12 provides the main controller 11 with a normal state response frame if it responds to the main controller 11. The normal state response frame can contain parameter information such as the actual rotating speed, the rotating direction, the direct current voltage, the output power and the like of the motor. The main controller 11 may determine whether the motor controller 12 responds normally based on the normal state response frame. After confirming the normal response of the motor control board 12, the parameter configuration method formally proceeds to the parameter configuration process, and thus proceeds to step S20. In step S20, the main controller 11 sends a program version command frame to the motor control board 12, and the program version command frame is used to query the program version of the motor control board, so that the motor control board 12 is required to answer the corresponding program version number. Accordingly, the motor control board 12 responds by transmitting a program version frame including the program version number to the main controller 11. After receiving the program version frame responded by the motor control board 12, the parameter configuration method proceeds to step S30. In step S30, the main controller 11 selects an adapted set of parameters according to the program version number and transmits the set of parameters to the motor control board 12 in the form of an operation parameter setting frame. The operating parameter settings frames include various operating parameters of the motor including, but not limited to, coil inductance, resistance, pole pair number of the motor, moment of inertia, or other parameters used in motor control algorithms. When the number of operation parameters included in one set of parameters is relatively large, the main controller 11 may perform the group setting, that is, the main controller transmits a plurality of sets of operation parameter setting frames to the motor control board 12. After receiving the operation parameter setting frame, the motor control board 12 needs to respond and transmits a corresponding operation parameter frame to the main controller 11. The operating parameter frame contains various motor operating parameters sent by the master controller. After receiving the operation parameter frame, the parameter configuration method advances to step S40. In step S40, the main controller 11 confirms whether or not the operation parameters responded by the motor control board 12 match the operation parameters transmitted by itself. If the operation parameters of the response are consistent with the operation parameters of the transmission, the parameter configuration process is completed, and thus the parameter configuration method proceeds to step S50, the main controller 11 and the motor control board 12 enter a normal communication mode, i.e., the motor control board 12 controls the motor 20 according to the instruction of the main controller 11.
Fig. 3 is a flowchart of an embodiment of a parameter configuration method of the motor of the present invention. As shown in fig. 3, in implementing the parameter configuration method of the motor of the present invention, both the main controller 11 and the motor control board 12 need to be powered on first, i.e., both are in a powered-on state (step S1). Then, the parameter configuration method advances to step S2. In step S2, the main controller 11 transmits a normal communication frame to the motor control board 12. Then, the parameter configuration method proceeds to step S3, and it is judged whether the motor control board 12 gives a normal response. If the motor control board 12 does not give a normal response, the parameter configuration method proceeds to step S4. In step S4, the main controller 11 determines whether the response time of the motor control board 12 exceeds a first predetermined period of time. The first predetermined period of time may be, for example, 25 seconds, 30 seconds, 35 seconds, or other suitable period of time. If the response time of the motor control board 12 exceeds the first predetermined period, the parameter configuration method proceeds to step S5, a communication failure alarm is issued, and the parameter configuration method is terminated. If the response time of the motor control board 12 does not exceed the first predetermined period, the parameter configuration method proceeds to step S2, and the step of the main controller 11 transmitting a normal communication frame to the motor control board 12 is repeated.
As shown in fig. 3, if the motor control board 12 responds normally, the parameter configuration method proceeds to step S6, and the main controller 11 transmits a program version command frame to the motor control board 12, requesting the motor control board 12 to respond to the corresponding program version number. Accordingly, the parameter configuration method advances to step S7, and the motor control board 12 responds to the main controller 11 with a program version frame containing the corresponding program version number. Next, in step S8, after receiving the program version frame of the motor control board 12, the main controller 11 selects a corresponding set of parameters based on the program version number, and transmits an operation parameter setting frame containing the set of parameters to the motor control board 12. After the motor control board 12 receives the operation parameter setting frame, the parameter configuration method proceeds to step S9. In step S9, the motor control board 12 responds to the main controller 11 with an operation parameter frame including the operation parameters transmitted from the main controller 11, and enters a parameter configuration state. After the main controller 11 receives the operation parameter frame transmitted from the motor control board 12, the parameter configuration method proceeds to step S10, and the main controller 11 judges whether or not the response data of the motor control board 12 is consistent with the data transmitted thereto by itself. If the response data is consistent with the transmission data, the parameter configuration process is ended, and the main controller 11 and the motor control board 12 enter a normal communication mode (step S12). If the response data does not coincide with the transmission data, the parameter configuration method proceeds to step S11, and the main controller 11 determines whether the response time of the motor control board 12 exceeds a second predetermined period of time. The second predetermined period of time may be, for example, 25 seconds, 30 seconds, 35 seconds, or other suitable period of time. If the response time of the motor control board 12 exceeds the second predetermined period, the parameter configuration method proceeds to step S5, a communication failure alarm is issued, and the parameter configuration method is terminated. If the response time of the motor control board 12 does not exceed the second predetermined period, the parameter configuration method proceeds to step S8, and the step of transmitting the operation parameter setting frame to the motor control board 12 is repeated.
Power anomalies, etc. may cause the motor control board 12 to reset and the motor parameters to be lost, at which point the motor control board will reconfigure the parameters. Thus, as shown in fig. 3, in one or more embodiments, the parameter configuration method of the motor of the present invention further includes a step of entering a parameter configuration process based on the motor control board 12 requesting configuration of the operation parameters up to a predetermined number of times (S13). The motor control board 12 requesting parameter configuration generally refers to that when the motor control board 12 responds to the inquiry of the main controller 11, there is one byte in the response message as the configuration requesting state. The main controller 11 determines whether to initiate the flow of configuration parameters by detecting this configuration state. The predetermined number of requests may be, for example, 3 times, 4 times, 5 times, 6 times. Generally, the greater the predetermined number of times, the higher the reliability. As shown in fig. 3, if the motor control board 12 requests to configure the operation parameters up to a predetermined number of times, the main controller 11 proceeds to step S6 to send a program version command frame to the motor control board 12.
Fig. 4 is a communication flow chart of a main controller in the parameter configuration method of the motor of the present invention. As shown in fig. 4, in the parameter configuration process, the main controller 11 includes the following communication steps. Before the main controller 11 performs the parameter configuration communication, power-up is required (step S1 a). Then, the main controller 11 proceeds to the communication step S2a. In step S2a, the main controller 11 transmits a normal communication frame to the motor control board 12. Then, the main controller 11 proceeds to step S3a, and judges whether or not the motor control board 12 gives a normal response. If the motor control board 12 does not give a normal response, the main controller 11 proceeds to step S4a. In step S4a, the main controller 11 determines whether the response time of the motor control board 12 exceeds a first predetermined period of time. The first predetermined period of time may be, for example, 25 seconds, 30 seconds, 35 seconds, or other suitable period of time. If the response time of the motor control board 12 exceeds the first predetermined period, the main controller 11 proceeds to step S5a, a communication failure alarm is issued, and the parameter configuration communication of the main controller 11 is terminated. If the response time of the motor control board 12 does not exceed the first predetermined period, the main controller 11 proceeds to step S2a, and repeats the step of transmitting the normal communication frame to the motor control board 12.
As shown in fig. 4, if the motor control board 12 responds normally, the main controller 11 proceeds to step S6a to send a program version command frame to the motor control board 12, requesting the motor control board 12 to respond to the corresponding program version number. Accordingly, the main controller 11 proceeds to step S7a, and determines whether or not the motor control board 12 responds. If the motor control board 12 does not respond, the main controller 11 proceeds to step S71 to determine whether the response time of the motor control board 12 exceeds the first predetermined period. The first predetermined period of time may be, for example, 25 seconds, 30 seconds, 35 seconds, or other suitable period of time. If the response time of the motor control board 12 exceeds the first predetermined period, the main controller 11 proceeds to step S5a, a communication failure alarm is issued, and the communication of the main controller 11 is terminated. If the response time of the motor control board 12 does not exceed the first predetermined period, the main controller 11 proceeds to step S6a, and repeats the step of transmitting the program version command frame to the motor control board 12. If the motor control board 12 responds, the main controller 11 proceeds to step S8a. In step S8a, an operation parameter setting frame is transmitted to the motor control board 12. Next, in step S9a, the operation parameters of the motor control board 12 are received. Upon receiving the operation parameters of the motor control board 12, the main controller 11 proceeds to step S10a. In step S10a, the main controller 11 determines whether or not the response data of the motor control board 12 matches the data sent thereto by itself. If the response data is consistent with the transmission data, the parameter configuration process is ended, and the main controller 11 and the motor control board 12 enter a normal communication mode (step S12 a). If the response data does not coincide with the transmission data, the main controller 11 proceeds to step S11a, and the main controller 11 judges whether or not the response time of the motor control board 12 exceeds the second predetermined period. The second predetermined period of time may be, for example, 25 seconds, 30 seconds, 35 seconds, or other suitable period of time. If the response time of the motor control board 12 exceeds the second predetermined period, the main controller 11 proceeds to step S5a, a communication failure alarm is issued, and the parameter configuration communication of the main controller is terminated. If the response time of the motor control board 12 does not exceed the second predetermined period, the main controller 11 proceeds to step S8a, and repeats the step of transmitting the operation parameter setting frame to the motor control board 12. As shown in fig. 4, in one or more embodiments, the communication step of the main controller 11 further includes a step of entering a parameter configuration process based on the motor control board 12 requesting to configure the operation parameters up to a predetermined number of times (S13 a). The predetermined number of requests may be, for example, 3 times, 4 times, 5 times, 6 times. Generally, the greater the predetermined number of times, the higher the reliability. If the motor control board 12 requests to configure the operation parameters up to a predetermined number of times, the main controller 11 proceeds to step S6a, and transmits a program version command frame to the motor control board 12.
Fig. 5 is a communication flow chart of a motor control board in the parameter configuration method of the motor of the present invention. As shown in fig. 5, in the parameter configuration process, the motor control board 12 includes the following communication steps. Before the motor control board 12 performs the parameter configuration communication, power is required to be applied (step S1 b). In one or more embodiments, the default state of the motor control board (or "default state") is an operating parameter unconfigured state. Therefore, after the motor control board 12 is powered on, the motor control board 12 proceeds to step S21, shields the fault detection, and waits for data transmitted from the main controller. Then, the motor control board 12 proceeds to the communication step S2b. In step S2b, it is determined whether a normal communication frame is received. If a normal communication frame is received, the motor control board 12 proceeds to step S3b, responds to the main controller with a normal status frame, and then returns to step S2b. If a normal communication frame is not received, the motor control board 12 proceeds to step S6b to determine whether a program version command frame is received. If the program version command frame is received, the motor control board 12 proceeds to step S6c, responds to the main controller with the program version frame, and then returns to step S2b. If a program version command frame is not received, the motor control board 12 proceeds to step S8b to determine whether an operation parameter setting frame is received. If the operation parameter setting frame is received, the motor control board 12 proceeds to step S9b, and responds to the main controller with the operation parameter frame while entering the parameter configuration state, and then returns to step S2b.
Thus far, the technical solution of the present invention has been described in connection with the preferred embodiments shown in the drawings, but it is easily understood by those skilled in the art that the scope of protection of the present invention is not limited to these specific embodiments. Equivalent modifications and substitutions for related technical features may be made by those skilled in the art without departing from the principles of the present invention, and such modifications and substitutions will fall within the scope of the present invention.

Claims (9)

1. A method for configuring parameters of a motor, wherein the motor comprises an external motor control board, the motor control board is configured to be capable of communicating with a main controller, and a plurality of sets of operation parameters matched with a plurality of motors are stored in the main controller, the method for configuring parameters of the motor comprises:
the main controller sends a normal communication frame to the motor control board to judge whether the motor control board responds normally or not;
after confirming the normal response of the motor control board, the main controller sends a program version command frame to the motor control board so as to require the motor control board to respond to the program version number of the corresponding motor;
after receiving the program version frame responded by the motor control board, the main controller sends an operation parameter setting frame to the motor control board;
after receiving the operation parameter frame responded by the motor control board, the main controller confirms whether the operation parameter of the response is consistent with the transmitted operation parameter;
when the operation parameters of the response are consistent with the operation parameters of the transmission, the main controller and the motor control board enter a normal communication mode;
in the normal communication mode, when the main controller continuously receives the request of the motor control board to configure the operation parameters for a predetermined number of times, the main controller transmits a program version command frame to the motor control board.
2. The method of claim 1, wherein the step of the main controller transmitting a normal communication frame to the motor control board to determine whether the motor control board responds normally comprises:
the main controller sends a normal communication frame to the motor control board;
the motor control board responds to the main controller with a normal state frame; and is also provided with
The main controller determines whether the motor control board responds normally based on the normal status frame.
3. The parameter configuration method of a motor according to claim 1 or 2, wherein when the main controller determines that the motor control board does not have a normal response, the main controller repeats the step of transmitting a normal communication frame to the motor control board.
4. The parameter configuration method of a motor according to claim 3, wherein when the main controller determines that the motor control board does not respond normally, the parameter configuration method further comprises:
judging whether the response time of the motor control board exceeds a first preset time period or not;
when the response time exceeds the first preset time period, a communication fault alarm is sent out; and
and when the response time does not exceed the first preset time period, the main controller repeats the step of sending a normal communication frame to the motor control board.
5. The parameter configuration method of a motor according to claim 1 or 2, wherein the step of the main controller transmitting an operation parameter setting frame to the motor control board includes: and sending the operation parameters of the motor to the motor control board in groups.
6. The parameter configuration method of a motor according to claim 1 or 2, wherein when the operation parameter of the main controller confirmation response is inconsistent with the transmitted operation parameter, the main controller repeats the step of transmitting an operation parameter setting frame to the motor control board.
7. The method according to claim 6, wherein when the operation parameter of the main controller acknowledgement does not coincide with the transmitted operation parameter, the method further comprises:
judging whether the response time of the motor control board exceeds a second preset time period;
when the response time exceeds the second preset time period, a communication fault alarm is sent out; and
and when the response time does not exceed the second preset time period, the main controller repeats the step of sending an operation parameter setting frame to the motor control board.
8. The parameter configuration method of a motor according to claim 1 or 2, characterized in that the master controller is a master device and the motor control board is a slave device that forms a communication connection with the master controller, such that communication between the master controller and the motor control board is initiated by the master controller.
9. An air conditioner comprising a main controller and at least one motor, each of the motors comprising an external motor control board, the main controller controlling parameter configuration of the motor control board using the parameter configuration method according to any one of claims 1 to 8.
CN202110237016.4A 2021-03-03 2021-03-03 Motor parameter configuration method and air conditioner Active CN113137690B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110237016.4A CN113137690B (en) 2021-03-03 2021-03-03 Motor parameter configuration method and air conditioner

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110237016.4A CN113137690B (en) 2021-03-03 2021-03-03 Motor parameter configuration method and air conditioner

Publications (2)

Publication Number Publication Date
CN113137690A CN113137690A (en) 2021-07-20
CN113137690B true CN113137690B (en) 2023-08-15

Family

ID=76810834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110237016.4A Active CN113137690B (en) 2021-03-03 2021-03-03 Motor parameter configuration method and air conditioner

Country Status (1)

Country Link
CN (1) CN113137690B (en)

Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4514673A (en) * 1983-12-23 1985-04-30 Advanced Micro Devices, Inc. Stepper motor controller
JPS62210757A (en) * 1986-03-12 1987-09-16 Nec Corp Response control system
JPS6488054A (en) * 1987-09-29 1989-04-03 Mitsubishi Electric Corp Air conditioner
JPH05297127A (en) * 1992-04-15 1993-11-12 Matsushita Electric Works Ltd Communicating system of moving body distinguishing device
JP2002372288A (en) * 2001-06-19 2002-12-26 Sanyo Electric Co Ltd Method of controlling communication of communication wiring connected apparatus, method of controlling communication of air conditioner, and air conditioner
JP2004350470A (en) * 2003-05-26 2004-12-09 Konica Minolta Business Technologies Inc Rotation control method of stepping motor, rotation controller of stepping motor, image forming apparatus
CN101359303A (en) * 2007-08-03 2009-02-04 深圳艾科创新微电子有限公司 On-line debugging microcontroller and apparatus and debug method of external device thereof
CN101446836A (en) * 2008-12-23 2009-06-03 东南大学 Temperature control method and device for controlling temperature adjusting equipment of vending machine
JP2009228907A (en) * 2008-03-19 2009-10-08 Daikin Ind Ltd Controller for controlling air conditioner
CN201374674Y (en) * 2009-03-20 2009-12-30 中国舰船研究设计中心 Device for controlling stepping motor
CN102005997A (en) * 2010-10-27 2011-04-06 北京和利康源医疗科技有限公司 Device and method for driving and controlling stepper motor
CN202127383U (en) * 2011-04-26 2012-01-25 捷和电机(深圳)有限公司 Universal controller of motor and electrical appliance
CN202395709U (en) * 2011-12-28 2012-08-22 大连交通大学 Driving device of motor
CN102684593A (en) * 2012-03-21 2012-09-19 中国东方电气集团有限公司 Method for designing universal motor drive controller of electric vehicle
CN103914062A (en) * 2014-03-24 2014-07-09 珠海格力电器股份有限公司 Testing device and method of air condition controller
CN104993746A (en) * 2015-07-17 2015-10-21 肖金凤 A brushless electric machine single-chip microcomputer control system and a brushless electric machine fuzzy controller creation method
CN105223949A (en) * 2015-10-23 2016-01-06 珠海格力电器股份有限公司 Electric equipment and communication failure diagnostic method thereof and device
CN205015732U (en) * 2015-07-20 2016-02-03 广东格兰仕集团有限公司 Electromechanical accuse board function automatic test equipment in air conditioning
CN105511360A (en) * 2016-01-08 2016-04-20 东华大学 Upper computer-based DC (Direct Current) motor control and optimization system
CN105578383A (en) * 2015-05-25 2016-05-11 上海归墟电子科技有限公司 2.4G-based networking communication system and communication method
CN205566147U (en) * 2015-12-31 2016-09-07 深圳华航智能装备技术有限公司 Automatic control formula stepper motor controller
JP2017122707A (en) * 2016-01-05 2017-07-13 セイコーインスツル株式会社 Pointer driving motor unit, electronic apparatus, and method for controlling the pointer driving motor unit
CN107689756A (en) * 2016-12-28 2018-02-13 江苏博权医疗科技有限公司 A kind of medical stepper motor acceleration and deceleration stroke control method
CN108445869A (en) * 2018-03-26 2018-08-24 杭州先途电子有限公司 A kind of controller test approach and system
CN109107142A (en) * 2018-10-17 2019-01-01 上海知此电子科技有限公司 A kind of electric return board and its redundancy control method
CN211270281U (en) * 2019-07-31 2020-08-18 九阳股份有限公司 Electric safety food processor
CN112019099A (en) * 2020-08-13 2020-12-01 扬州哈工科创机器人研究院有限公司 Direct current motor distribution control system
CN112363421A (en) * 2020-09-29 2021-02-12 华帝股份有限公司 Stable and reliable communication method for single chip microcomputer system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2748724C (en) * 2008-12-30 2018-01-02 Zoner Llc Automatically balancing register for hvac systems
US11566805B2 (en) * 2017-02-22 2023-01-31 Johnson Controls Tyco IP Holdings LLP Integrated smart actuator and valve device applications

Patent Citations (28)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4514673A (en) * 1983-12-23 1985-04-30 Advanced Micro Devices, Inc. Stepper motor controller
JPS62210757A (en) * 1986-03-12 1987-09-16 Nec Corp Response control system
JPS6488054A (en) * 1987-09-29 1989-04-03 Mitsubishi Electric Corp Air conditioner
JPH05297127A (en) * 1992-04-15 1993-11-12 Matsushita Electric Works Ltd Communicating system of moving body distinguishing device
JP2002372288A (en) * 2001-06-19 2002-12-26 Sanyo Electric Co Ltd Method of controlling communication of communication wiring connected apparatus, method of controlling communication of air conditioner, and air conditioner
JP2004350470A (en) * 2003-05-26 2004-12-09 Konica Minolta Business Technologies Inc Rotation control method of stepping motor, rotation controller of stepping motor, image forming apparatus
CN101359303A (en) * 2007-08-03 2009-02-04 深圳艾科创新微电子有限公司 On-line debugging microcontroller and apparatus and debug method of external device thereof
JP2009228907A (en) * 2008-03-19 2009-10-08 Daikin Ind Ltd Controller for controlling air conditioner
CN101446836A (en) * 2008-12-23 2009-06-03 东南大学 Temperature control method and device for controlling temperature adjusting equipment of vending machine
CN201374674Y (en) * 2009-03-20 2009-12-30 中国舰船研究设计中心 Device for controlling stepping motor
CN102005997A (en) * 2010-10-27 2011-04-06 北京和利康源医疗科技有限公司 Device and method for driving and controlling stepper motor
CN202127383U (en) * 2011-04-26 2012-01-25 捷和电机(深圳)有限公司 Universal controller of motor and electrical appliance
CN202395709U (en) * 2011-12-28 2012-08-22 大连交通大学 Driving device of motor
CN102684593A (en) * 2012-03-21 2012-09-19 中国东方电气集团有限公司 Method for designing universal motor drive controller of electric vehicle
CN103914062A (en) * 2014-03-24 2014-07-09 珠海格力电器股份有限公司 Testing device and method of air condition controller
CN105578383A (en) * 2015-05-25 2016-05-11 上海归墟电子科技有限公司 2.4G-based networking communication system and communication method
CN104993746A (en) * 2015-07-17 2015-10-21 肖金凤 A brushless electric machine single-chip microcomputer control system and a brushless electric machine fuzzy controller creation method
CN205015732U (en) * 2015-07-20 2016-02-03 广东格兰仕集团有限公司 Electromechanical accuse board function automatic test equipment in air conditioning
CN105223949A (en) * 2015-10-23 2016-01-06 珠海格力电器股份有限公司 Electric equipment and communication failure diagnostic method thereof and device
CN205566147U (en) * 2015-12-31 2016-09-07 深圳华航智能装备技术有限公司 Automatic control formula stepper motor controller
JP2017122707A (en) * 2016-01-05 2017-07-13 セイコーインスツル株式会社 Pointer driving motor unit, electronic apparatus, and method for controlling the pointer driving motor unit
CN105511360A (en) * 2016-01-08 2016-04-20 东华大学 Upper computer-based DC (Direct Current) motor control and optimization system
CN107689756A (en) * 2016-12-28 2018-02-13 江苏博权医疗科技有限公司 A kind of medical stepper motor acceleration and deceleration stroke control method
CN108445869A (en) * 2018-03-26 2018-08-24 杭州先途电子有限公司 A kind of controller test approach and system
CN109107142A (en) * 2018-10-17 2019-01-01 上海知此电子科技有限公司 A kind of electric return board and its redundancy control method
CN211270281U (en) * 2019-07-31 2020-08-18 九阳股份有限公司 Electric safety food processor
CN112019099A (en) * 2020-08-13 2020-12-01 扬州哈工科创机器人研究院有限公司 Direct current motor distribution control system
CN112363421A (en) * 2020-09-29 2021-02-12 华帝股份有限公司 Stable and reliable communication method for single chip microcomputer system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
寇强 ; 党宏社 ; .一种串口多机应答式通信协议的设计与实现.电视技术.2008,(第S1期),60-62. *

Also Published As

Publication number Publication date
CN113137690A (en) 2021-07-20

Similar Documents

Publication Publication Date Title
EP1784693B1 (en) Method for providing a rapid response to queries on a vehicle bus
EP2241834A1 (en) Alarm and diagnostics system and method for a distributed-architecture heating, ventilation and air conditioning network
CN106152415B (en) The fault determination method and device of air-conditioning system connection wiring
CN109654666B (en) Method, device and equipment for debugging unit
CN105490609A (en) Method and system for self-tuning of encoder zero point of motor by a servo
CN113137690B (en) Motor parameter configuration method and air conditioner
CN113108749A (en) Phase angle calibration method and device of dual-motor hybrid power system and vehicle
JP2000018684A (en) Air conditioner and operation control method therefor
CN110686359B (en) Fault diagnosis method for variable frequency air conditioner
CN112636960B (en) Intranet collaborative maintenance method, system, device, server and storage medium of edge computing equipment
US20130103843A1 (en) Method for establishing a communication link between a programming device and an automation technology field device
JPH06319176A (en) Multiple air conditioner
US6882918B2 (en) Electric drive management system and method
JP3320597B2 (en) Air conditioner
JP2508598B2 (en) Remote power control device for communication network
CN112673178B (en) Air supply device
CN110686358B (en) Variable frequency air conditioner fault diagnosis method based on detection tool
CN111638687A (en) AGV communication method based on simplified communication protocol
CN110749032B (en) Operation control method and device, air conditioner and storage medium
CN107257216A (en) Prevent method, device, air-conditioning equipment and the storage medium of motor reversal
CN117289720B (en) Unmanned aerial vehicle control method and system and unmanned aerial vehicle
JP6201457B2 (en) Drive equipment
JPH06257836A (en) Control device for air conditioner
CN115520267A (en) Fault response method and fault response system for steering control system
CN114963456A (en) Air conditioner parameter setting method, method and device, air conditioner internal unit and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant