Multi-gear compatible few-gear control method and direct-current brushless motor
By presetting the permanent gear and combined gear in the microprocessor MCU, and through software logic processing, the shutdown and logic error fault alarm problems when multi-speed motors are compatible with small gear motors, achieving stable compatibility and richness Application scenarios.
Patent Information
- Application Number
- CN202411615890.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-12
- Publication Date
- 2025-02-21
- Estimated Expiration
- 2044-11-12
Smart Images

Figure CN119496415A_ABST
Abstract
Description
[Technical field]
[0001] The invention relates to the field of direct current motor control, and in particular to a control method for multiple gears compatible with fewer gears and a direct current brushless motor. [Background Technology]
[0002] Existing air conditioners all use motors to drive fans. Generally, multiple motor speed gears are set to control the fan's output air volume of different levels. The speed operation of multiple gears relies on the gear detection circuit in the motor controller to identify the load command requirements.
[0003] At present, the most commonly used method is: the motor controller sets several physical gear detection circuits, several physical gear detection circuits receive the control instructions of the load, and input the signal into the microprocessor MCU of the motor controller. The motor controller selects a gear speed to control the motor operation according to the signals of several gear detection circuits. Only one physical gear detection circuit among several physical gear detection circuits is connected to the signal source at a time, and the other physical gear detection circuits are disconnected. However, the motors used in the air-conditioning loads of existing air-conditioning manufacturers and end users are generally gradually upgraded from single-speed motors to double-speed motors, five-speed motors, nine-speed motors or more-speed motors. In this upgrade process, the newly applied multi-speed motors are required to be compatible with or cover the application scenarios of the old few-speed motors. Therefore, when the multi-speed motor replaces the few-speed motor, it is easy for the redundant gears to have no preset value, or the preset value is zero, resulting in shutdown and logical error alarm. [Summary of the invention]
[0004] The present invention overcomes the deficiencies of the prior art, provides a control method for multiple gears to be compatible with fewer gears and a DC brushless motor, and realizes the control of multiple gear motors to be compatible with fewer gears through software logic processing.
[0005] To achieve the above object, the present invention adopts the following technical solutions:
[0006] A control method for multiple gears compatible with fewer gears, characterized in that:
[0007] S1. Preset N permanent gears and M combination gears in the microprocessor MCU, and set preset values for each permanent gear and each combination gear respectively. One combination gear triggers at least one permanent gear, wherein N and M are both positive numbers;
[0008] S2, the microprocessor MCU determines whether there is at least one combination gear position with a preset value of 0 among the M combination gear positions;
[0009] S3, if it exists, jump to S4 to enter the N gear control mode, otherwise jump to S5 to enter the N+M gear control mode;
[0010] S4. When the microprocessor MCU detects a permanent gear position, the microprocessor MCU runs the preset value corresponding to the permanent gear position; when the microprocessor MCU detects a combined gear position, the microprocessor MCU runs the combined gear position, that is, triggers the composite gear position, compares the gear positions included in the composite gear position, and takes the maximum target value or the minimum target value for operation;
[0011] S5. When the microprocessor MCU detects a permanent gear position, the microprocessor MCU runs the preset value corresponding to the permanent gear position; when the microprocessor MCU detects a combined gear position, the microprocessor MCU runs the combined gear position and triggers the preset value corresponding to the combined gear position.
[0012] The control method of multiple gears compatible with fewer gears as described above is characterized in that: one combined gear in S1 triggers two permanent gears.
[0013] The control method for multiple gears compatible with fewer gears as described above is characterized in that: when a combined gear is detected in S4, the maximum permanent gear preset value of the two permanent gears triggered simultaneously by the combined gear is run.
[0014] The control method for multiple gears compatible with fewer gears as described above is characterized in that: when a combined gear is detected in S4, the minimum permanent gear preset value of the two permanent gears triggered simultaneously by the combined gear is run.
[0015] A control method for multiple gears compatible with fewer gears as described in 1 above is characterized by: it also includes N physical gear detection circuits, the output end of each physical gear detection circuit is connected to an I / O port of the microprocessor MCU, the input end of each physical gear detection circuit is connected to a single signal source, and one permanent gear is connected to one physical gear detection circuit.
[0016] The control method of multiple gears compatible with fewer gears as described above is characterized in that it also includes a memory, in which permanent gears, permanent gear preset values, combined gears and combined gear preset values are all stored, and the microprocessor MCU detects the memory to read each gear and the corresponding preset value information of each gear.
[0017] A brushless DC motor comprises a motor body and a motor controller, wherein the motor body comprises an outer stator assembly and a rotor assembly, and the motor controller comprises a microprocessor MCU, an inverter circuit, N physical gear detection circuits and a power supply part, and is characterized in that: the above-mentioned control method of multiple gears being compatible with a few gears is adopted, and the microprocessor controls the motor body to operate according to the corresponding preset value according to the single signal input by the physical gear detection circuit.
[0018] The brushless DC motor as described above is characterized in that the preset value is a target rotation speed value of the motor, or a target torque value of the motor, or a target air volume value of the motor.
[0019] The beneficial effects of the present invention are:
[0020] The present invention ensures that the new multi-speed motor is compatible with the control logic of the previous small-speed motor through software logic processing, regardless of whether there are various combination gears or a single physical gear. This enriches the more diversified application scenario requirements of the gear motor, facilitates the multi-speed motor to replace the small-speed motor of the original system, and avoids the problem of shutdown and logical error fault alarm when the redundant gears have no preset value or the preset value is zero. [Drawings]
[0021] Figure 1 This is a control flow chart of an embodiment of the present invention in which nine gears are compatible with five gears;
[0022] Figure 2 This is a physical gear position detection circuit diagram of a five-gear position embodiment of the present invention. [Specific implementation method]
[0023] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings.
[0024] It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly. In addition, the descriptions of "preferred", "sub-preferred", etc. in the present invention are only used for descriptive purposes, and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of indicated technical features. Therefore, the features defined as "preferred" or "sub-preferred" may explicitly or implicitly include at least one such feature.
[0025] A control method for multiple gears compatible with fewer gears, comprising:
[0026] S1. Preset N permanent gears and M combination gears in the microprocessor MCU, and set preset values for each permanent gear and each combination gear respectively. One combination gear triggers at least one permanent gear, wherein N and M are both positive numbers;
[0027] S2, the microprocessor MCU determines whether there is at least one combination gear position with a preset value of 0 among the M combination gear positions;
[0028] Preferably, one combined gear in S1 triggers two permanent gears;
[0029] S3, if it exists, jump to S4 to enter the N gear control mode, otherwise jump to S5 to enter the N+M gear control mode;
[0030] S4. When the microprocessor MCU detects a permanent gear position, the microprocessor MCU runs the preset value corresponding to the permanent gear position; when the microprocessor MCU detects a combined gear position, the microprocessor MCU runs the combined gear position, that is, triggers the composite gear position, compares the gear positions included in the composite gear position, and takes the maximum target value or the minimum target value for operation;
[0031] Preferably, when a combined gear is detected in S4, the maximum permanent gear preset value or the minimum permanent gear preset value of two permanent gears simultaneously triggered by the combined gear is run;
[0032] S5. When the microprocessor MCU detects a permanent gear position, the microprocessor MCU runs the preset value corresponding to the permanent gear position; when the microprocessor MCU detects a combined gear position, the microprocessor MCU runs the combined gear position and triggers the preset value corresponding to the combined gear position.
[0033] In the present case, it also includes N physical gear detection circuits, the output end of each physical gear detection circuit is connected to an I / O port of the microprocessor MCU, the input end of each physical gear detection circuit is connected to a single signal source, and one permanent gear is connected to one physical gear detection circuit; and it also includes a memory, the permanent gear, the permanent gear preset value, the combination gear and the combination gear preset value are all stored in the memory, and the microprocessor MCU detects the memory to read each gear and the corresponding preset value information of each gear.
[0034] like Figure 1 As shown, the following is an example of an application in which nine gears are compatible with five gears. The microprocessor MCU enters the five-gear control mode, and sets a combined gear to trigger two permanent gears. When a combined gear is detected, the maximum permanent gear preset value of the two permanent gears triggered by the combined gear is run. The control logic is described as follows:
[0035] S1. Pre-store the speed value of each gear in the memory of the nine-gear motor. The speed value of each gear is set as follows:
[0036] T1 = 400 rpm;
[0037] T2 = 500 rpm;
[0038] T3 = 600 rpm;
[0039] T4 = 700 rpm;
[0040] T5 = 800 rpm;
[0041] T6 = 900 rpm;
[0042] T7 = 0 rpm;
[0043] T8 = 1000 rpm;
[0044] T9 = 0 rpm;
[0045] Among them, T1-T5 are permanent gears, and T6-T9 are combined gears;
[0046] The combined gear position T6 is connected to the normal gear positions T1 and T2 to form a compound gear position;
[0047] The combined gear position T7 is connected to the normal gear positions T1 and T3 to form a compound gear position;
[0048] The combined gear position T8 is connected to the normal gear positions T1 and T4 to form a compound gear position;
[0049] The combined gear position T9 is connected to the normal gear positions T1 and T5 at the same time to form a compound gear position;
[0050] S2, after power-on, the microprocessor MCU reads the preset speed value of each gear in the memory of the nine-gear motor, and determines whether there is at least one preset speed value of 0 in the combination gears T6-T9;
[0051] S3. Since the preset speed value of the combined gears T7 and T9 is 0, the microprocessor MCU enters the five-gear control mode. At this time, the combined gear logic is shielded, and the compound gear logic is activated;
[0052] S4, setting that when the microprocessor MCU detects any permanent gear position among the permanent gear positions T1-T5, the corresponding physical gear position detection circuit inputs a signal to the microprocessor MCU, so that the microprocessor MCU runs at a preset speed value corresponding to the permanent gear position;
[0053] When the microprocessor MCU detects the combined gear position T6, the physical gear position detection circuits corresponding to the permanent gear positions T1 and T2 are simultaneously turned on and input signals to the microprocessor MCU, so that the microprocessor MCU runs the maximum permanent gear position preset value among the permanent gear positions T1 and T2;
[0054] When the microprocessor MCU detects the combined gear position T7, the physical gear position detection circuits corresponding to the permanent gear positions T1 and T3 are simultaneously turned on and input signals to the microprocessor MCU, so that the microprocessor MCU runs the maximum permanent gear position preset value among the permanent gear positions T1 and T3;
[0055] When the microprocessor MCU detects the combined gear position T8, the physical gear position detection circuits corresponding to the permanent gear positions T1 and T4 are simultaneously connected and input signals to the microprocessor MCU, so that the microprocessor MCU runs the maximum permanent gear position preset value among the permanent gear positions T1 and T4;
[0056] When the microprocessor MCU detects the combined gear position T9, the physical gear position detection circuits corresponding to the permanent gear positions T1 and T5 are simultaneously connected and input signals to the microprocessor MCU, so that the microprocessor MCU runs the maximum permanent gear position preset value among the permanent gear positions T1 and T5.
[0057] Therefore, in this embodiment, when the user inputs the permanent gear position T1, the microprocessor MCU runs the preset speed value of the permanent gear position T1, 400 rpm;
[0058] When the user inputs the permanent gear position T2, the microprocessor MCU runs the preset speed value of the permanent gear position T2, 500rpm;
[0059] When the user inputs the permanent gear position T3, the microprocessor MCU runs the preset speed value of the permanent gear position T3, 600rpm;
[0060] When the user inputs the permanent gear position T4, the microprocessor MCU runs the preset speed value of the permanent gear position T4, 700rpm;
[0061] When the user inputs the permanent gear position T5, the microprocessor MCU runs the preset speed value of the permanent gear position T5, 800rpm;
[0062] When the user inputs the combined gear position T6, the microprocessor MCU runs the maximum preset value of the permanent gear position T1 and T2, that is, the preset speed value of the permanent gear position T2 is 500rpm;
[0063] When the user inputs the combined gear position T7, the microprocessor MCU runs the maximum permanent gear position preset value among the permanent gear positions T1 and T3, that is, the preset speed value of the permanent gear position T3 is 600rpm;
[0064] When the user inputs the combined gear position T8, the microprocessor MCU runs the maximum permanent gear position preset value among the permanent gear positions T1 and T4, that is, the preset speed value of the permanent gear position T4 is 700rpm;
[0065] When the user inputs the combined gear position T9, the microprocessor MCU runs the maximum permanent gear position preset value among the permanent gear positions T1 and T5, that is, runs the permanent gear position T5 at the preset speed value of 800 rpm.
[0066] like Figure 1 As shown, the following takes the application of nine-gear compatible with five-gear as an example, uses the microprocessor MCU to enter the nine-gear control mode, and sets a combined gear to trigger two permanent gears. The control logic is described as follows:
[0067] S1. Pre-store the speed value of each gear in the memory of the nine-gear motor. The speed value of each gear is set as follows:
[0068] T1 = 400 rpm;
[0069] T2 = 500 rpm;
[0070] T3 = 600 rpm;
[0071] T4 = 700 rpm;
[0072] T5 = 800 rpm;
[0073] T6 = 900 rpm;
[0074] T7 = 1000 rpm;
[0075] T8 = 1100 rpm;
[0076] T9 = 1200 rpm;
[0077] Among them, T1-T5 are permanent gears, T6-T9 are combined gears,
[0078] The combined gear position T6 connects the normal gear positions T1 and T2 at the same time;
[0079] The combined gear position T7 is connected to the normal gear positions T1 and T3 at the same time;
[0080] The combined gear position T8 is connected to the normal gear positions T1 and T4 at the same time;
[0081] The combined gear position T9 is connected to the normal gear positions T1 and T5 at the same time;
[0082] S2, after power-on, the microprocessor MCU reads the preset speed value of each gear in the memory of the nine-gear motor, and determines whether there is at least one preset speed value of 0 in the combination gears T6-T9;
[0083] S3. Since there is no preset speed value of 0 in the combination gears T7-T9, the microprocessor MCU enters the nine-gear control mode. At this time, the combination gear logic is activated, and the compound gear logic is shielded;
[0084] S4, setting that when the microprocessor MCU detects any permanent gear position among the permanent gear positions T1-T5, the corresponding physical gear position detection circuit inputs a signal to the microprocessor MCU, and the microprocessor MCU runs at a preset speed value corresponding to the permanent gear position;
[0085] When the microprocessor MCU detects the combined gear position T6, the physical gear position detection circuits corresponding to the permanent gear positions T1 and T2 are simultaneously turned on and input signals to the microprocessor MCU, so that the microprocessor MCU runs the sum of the preset values of the permanent gear positions T1 and T2;
[0086] When the microprocessor MCU detects the combined gear position T7, the physical gear position detection circuits corresponding to the permanent gear positions T1 and T3 are simultaneously turned on and input signals to the microprocessor MCU, so that the microprocessor MCU runs the sum of the preset values of the permanent gear positions T1 and T3;
[0087] When the microprocessor MCU detects the combined gear position T8, the physical gear position detection circuits corresponding to the permanent gear positions T1 and T4 are simultaneously connected and input signals to the microprocessor MCU, so that the microprocessor MCU runs the sum of the preset values of the permanent gear positions T1 and T4;
[0088] When the microprocessor MCU detects the combined gear position T9, the physical gear position detection circuits corresponding to the permanent gear positions T1 and T5 are simultaneously connected and input signals to the microprocessor MCU, so that the microprocessor MCU runs the sum of the preset values of the permanent gear positions T1 and T5.
[0089] Therefore, in this embodiment, when the user inputs the permanent gear position T1, the microprocessor MCU runs the preset speed value of the permanent gear position T1, 400 rpm;
[0090] When the user inputs the permanent gear position T2, the microprocessor MCU runs the preset speed value of the permanent gear position T2, 500rpm;
[0091] When the user inputs the permanent gear position T3, the microprocessor MCU runs the preset speed value of the permanent gear position T3, 600rpm;
[0092] When the user inputs the permanent gear position T4, the microprocessor MCU runs the preset speed value of the permanent gear position T4, 700rpm;
[0093] When the user inputs the permanent gear position T5, the microprocessor MCU runs the preset speed value of the permanent gear position T5, 800rpm;
[0094] When the user inputs the combined gear position T6, the microprocessor MCU runs the sum of the preset values of the permanent gear positions T1 and T2, that is, 400+500=900rpm;
[0095] When the user inputs the combined gear position T7, the microprocessor MCU runs the sum of the preset values of the permanent gear positions T1 and T3, that is, 400+600=1000rpm;
[0096] When the user inputs the combined gear position T8, the microprocessor MCU runs the sum of the preset values of the permanent gear positions T1 and T4, that is, 400+700=1100rpm;
[0097] When the user inputs the combined gear position T9, the microprocessor MCU runs the sum of the preset values of the permanent gear positions T1 and T5, that is, runs 400+800=1200rpm.
[0098] In this case, a brushless DC motor is provided, including a motor body and a motor controller, wherein the motor body includes an outer stator component and a rotor component, and the motor controller includes a microprocessor MCU, an inverter circuit, A physical gear detection circuits and a power supply part, and the above-mentioned control method of multiple gears compatible with a few gears is adopted, and the microprocessor controls the motor body to operate according to the corresponding preset value according to the single signal input by the physical gear detection circuit. Among them, the preset value is the target speed value of the motor, or the target torque value of the motor, or the target air volume value of the motor.
[0099] In this case, when the microprocessor MCU enters the five-speed control mode or the nine-speed control mode, and after the microprocessor MCU detects a single signal input by any physical gear detection circuit, the microprocessor MCU runs the corresponding preset speed value and determines whether it is a constant speed mode. If it is a constant speed mode, the preset speed value is converted into a target speed physical quantity and sent to the constant speed loop control module; if it is not a constant speed mode, the preset speed value is converted into a target torque physical quantity and sent to the constant torque loop control module. Then, the constant speed loop control module or the constant torque loop control module outputs the FOC vector control core SVPWM to the inverter drive module, and the inverter drive output module works according to the SVPWM control voltage, phase current, and speed detection output module, and the angle observer adjusts the FOC vector control core SVPWM according to the output information feedback of the voltage, phase current, and speed detection output module, so that the motor can achieve constant speed or constant torque operation.
[0100] like Figure 2 As shown, each physical gear detection circuit is an optocoupler isolation circuit, and each physical gear detection circuit includes a first resistor, a first resistor, a third resistor, an optocoupler chip, a fourth resistor, and an electrolytic capacitor. In actual use, when the physical gear detection circuit is triggered, the physical gear detection circuit is connected to the signal source, and the input signal passes through the physical gear detection circuit to form an output signal that is a high-level signal. When the trigger is disconnected, the output signal is a low-level signal. For example, when the M1 physical gear detection circuit is triggered, the physical gear detection circuit is connected to the signal source, and the input signal M1 passes through the physical gear detection circuit to form an output signal IO1 that is a high-level signal and is sent to the microprocessor MCU. When the trigger is disconnected, the output signal IO1 is a low-level signal. In this case, the M1-M5 physical gear detection circuits correspond one-to-one to the permanent gears T1-T5, respectively.
[0101] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural changes made using the contents of the present invention's specification and drawings under the inventive concept of the present invention, or directly or indirectly applied in other related technical fields, are included in the patent protection scope of the present invention.
Claims
1. A control method for multiple gears to be compatible with fewer gears, characterized in that: Included S1. Preset N permanent gears and M combination gears in the microprocessor MCU, and set preset values for each permanent gear and each combination gear respectively. One combination gear triggers at least one permanent gear, wherein N and M are both positive numbers; S2, the microprocessor MCU determines whether there is at least one combination gear position with a preset value of 0 among the M combination gear positions; S3, if it exists, jump to S4 to enter the N gear control mode, otherwise jump to S5 to enter the N+M gear control mode; S4. When the microprocessor MCU detects a permanent gear position, the microprocessor MCU runs the preset value corresponding to the permanent gear position; when the microprocessor MCU detects a combined gear position, the microprocessor MCU runs the combined gear position, that is, triggers the composite gear position, compares the gear positions included in the composite gear position, and takes the maximum target value or the minimum target value for operation; S5. When the microprocessor MCU detects a permanent gear position, the microprocessor MCU runs the preset value corresponding to the permanent gear position; when the microprocessor MCU detects a combined gear position, the microprocessor MCU runs the combined gear position and triggers the preset value corresponding to the combined gear position.
2. A control method for multiple gears compatible with fewer gears according to claim 1, characterized in that: In S1, one combined gear triggers two permanent gears.
3. A control method for multiple gears compatible with fewer gears according to claim 2, characterized in that: In S4, when a combined gear is detected, the maximum permanent gear preset value of two permanent gears triggered simultaneously by the combined gear is run.
4. The control method of multiple gears compatible with fewer gears according to claim 2, characterized in that: In S4, when a combined gear is detected, the minimum permanent gear preset value of two permanent gears simultaneously triggered by the combined gear is run.
5. The control method of multiple gears compatible with fewer gears according to claim 1, characterized in that: It also includes N physical gear detection circuits, the output end of each physical gear detection circuit is connected to an I / O port of the microprocessor MCU, the input end of each physical gear detection circuit is connected to a single signal source, and one permanent gear is connected to one physical gear detection circuit.
6. The control method of multiple gears compatible with fewer gears according to claim 1, characterized in that: A memory is also included, in which permanent gears, permanent gear preset values, combined gears and combined gear preset values are all stored, and the microprocessor MCU detects the memory to read each gear and the corresponding preset value information of each gear.
7. A brushless DC motor, comprising a motor body and a motor controller, wherein the motor body comprises an outer stator assembly and a rotor assembly, and the motor controller comprises a microprocessor MCU, an inverter circuit, N physical gear detection circuits and a power supply part, characterized in that: The control method for multiple gears compatible with a small number of gears as described in any one of claims 1 to 6 is adopted, and the microprocessor controls the motor body to operate according to the corresponding preset value based on the single signal input by the physical gear detection circuit.
8. A brushless DC motor according to claim 7, characterized in that: The preset value is a target speed value of the motor, a target torque value of the motor, or a target air volume value of the motor.
Citation Information
Patent Citations
Cooker and range hood combination, household appliance and gear detection device thereof
CN103308080A
Household electric appliance, gear detection device thereof and combination of household electric appliance, cooker and smoke exhaust ventilator
CN103487072A
ECM motor compatible with multiple universal interfaces, heating, ventilation and air conditioning HVAC system and signal conversion method
CN111431352A
Gear control circuit and system of alternating current motor
CN113067525A
Combined motor controller and combination method thereof
CN114094877A