Method for controlling motor signal feedback
By using optocouplers to achieve feedback of multiple motor status signals, the problem of inaccurate motor control in traditional HVAC air conditioners is solved, enabling precise control of the motor and main control board and simplifying the hardware.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- ZHONGSHAN BROAD OCEAN
- Filing Date
- 2025-05-20
- Publication Date
- 2026-07-02
AI Technical Summary
In traditional HVAC systems, the motor and mainboard use open-loop control or a single speed signal feedback, which makes precise control impossible.
Optocouplers are used to realize multi-channel motor status signal feedback. By setting the functional relationship and the transmission period, the motor outputs multiple motor status signals to the main control board, and the main control board adjusts the motor target quantity according to the signals.
It achieves precise control between the motor and the main control board, simplifies the hardware structure, and reduces costs.
Smart Images

Figure CN2025096037_02072026_PF_FP_ABST
Abstract
Description
A motor signal feedback control method Technical Field
[0001] This application relates to a motor signal feedback control method. Background Technology
[0002] In recent years, with increasingly fierce competition in the electrical appliance industry and continuously rising requirements for product technology, such as the need for precise control in HVAC (Heating, Cooling, and Air Conditioning) products, motors have become a key component in solving this technical problem. In addition to real-time control of the motor's target speed, torque, and airflow, the HVAC system mainboard in HVAC systems also needs to feed back various motor status signals. The mainboard uses these signals to determine the motor type and whether its operating status meets expectations. Based on the judgment, it adjusts the motor's target parameters in real-time, creating a closed-loop control system with the motor status feedback signals, thereby achieving precise motor control.
[0003] However, in traditional HVAC systems, traditional PSC motors or PWM motors, in order to work with the HVAC system motherboard, are controlled through open-loop control or only through a feedback speed signal. This results in the inability to accurately control the motor status through the HVAC system motherboard. Summary of the Invention
[0004] This application overcomes the shortcomings of the prior art and provides a motor signal feedback control method, which enables the motor to realize multiple motor status signal feedback through one optocoupler signal, thereby achieving precise control of the motor by the main control board.
[0005] To achieve the above objectives, the present application adopts the following technical solution:
[0006] A motor signal feedback control method includes an optocoupler U1. Pin 4 of the optocoupler U1 serves as the anode of the transmitting end and is connected to the motor through a resistor R1 to receive the motor feedback signal. Pin 3 of the optocoupler U1 serves as the cathode of the transmitting end and is grounded. Pin 1 of the optocoupler U1 serves as the collector of the receiving end and is connected to the power supply through a resistor R2. Pin 2 of the optocoupler U1 serves as the emitter of the receiving end and is connected to the main control board to output a PWM frequency signal. The method is characterized by including:
[0007] S1. Set up N different motor status feedback signals and PWM frequency f in the main control board, and define a PWM frequency range for each function relationship, and the PWM frequency ranges do not overlap; at the same time, set a motor sending cycle, divide the sending cycle into M sending cycle time periods, and set the PWM frequency signal corresponding to the motor status feedback signal in different sending cycle time periods.
[0008] S2. The motor cyclically outputs the PWM frequency signal corresponding to the motor status feedback signal to the main control board according to the sending cycle timing.
[0009] S3. The main control board determines the type of motor status feedback signal based on the frequency range of the received PWM frequency signal, and calculates the actual value of each motor status feedback signal according to the corresponding function relationship. The main control board adjusts the motor target quantity according to the actual value of each motor status feedback signal.
[0010] The motor signal feedback control method described above is characterized in that: N in S1 is an integer, and N>1.
[0011] The motor signal feedback control method described above is characterized in that: M in S1 is an integer, and M≥N.
[0012] The motor signal feedback control method described above is characterized in that: the duration of each transmission cycle time period in S1 is the same.
[0013] The motor signal feedback control method described above is characterized in that: the motor is a PSC motor or a PWM motor.
[0014] The motor signal feedback control method described above is characterized by: a motor drive module for driving the motor to rotate, and a motor control module connected to the motor drive module for controlling the motor rotation and initializing motor-related variables and extracting motor operating parameters; the motor control module is connected to multiple motor state signal feedback frequency function modules that convert corresponding motor-related operating parameters into corresponding motor state signal frequencies, and a transmission signal time counter for calculating the transmission signal time; the motor state signal feedback frequency function module is connected to an optocoupler U1, which serves as a PWM transmission module; the main control board is equipped with a motherboard receiving signal module that receives PWM frequency signals and identifies corresponding motor state feedback signals according to the frequency range; the motherboard receiving signal module is connected to multiple motor state feedback signal decoding modules that calculate the actual values of corresponding motor state feedback signals using functional relationships of the PWM frequency signals corresponding to the motor state feedback signal types; and the main control board control module adjusts the motor target quantity according to the actual values of each motor state feedback signal.
[0015] The motor signal feedback control method described above is characterized in that: the motor state feedback signal includes a power feedback signal, a speed feedback signal, and a state feedback signal.
[0016] The motor signal feedback control method described above is characterized in that: the target quantity of the motor is a target quantity of speed, a target quantity of torque, or a target quantity of airflow.
[0017] The motor signal feedback control method described above is characterized in that: the motor state signal feedback frequency function module includes a speed feedback frequency function module, a power feedback frequency function module, and a state feedback frequency function module; the motor state feedback signal decoding module includes a speed feedback signal decoding module, a power feedback signal decoding module, and a state feedback signal decoding module.
[0018] The motor signal feedback control method described above is characterized in that: the PWM frequency signal is a PWM frequency square wave signal.
[0019] The beneficial effects of this application are:
[0020] In this application, an optocoupler U1 is physically connected between the motor and the main control board. Through software logic control, the motor can send multiple motor status signals to the main control board via only one optocoupler signal. This enables the main control board to adjust the target value of the motor in real time and accurately based on multiple motor status feedback signals. At the same time, it simplifies the hardware structure of the main control board and the motor and reduces costs. Attached Figure Description
[0021] Figure 1 is a circuit diagram of the optocoupler of this application;
[0022] Figure 2 is a logic diagram of the software implementation of this application. Detailed Implementation
[0023] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0024] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of this application are only used to explain the relative positional relationship and movement of the components in a specific posture (as shown in the attached figures). If the specific posture changes, the directional indications will also change accordingly. Furthermore, the descriptions involving "preferred," "second-best," etc., in this application are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "preferred" or "second-best" may explicitly or implicitly include at least one of those features.
[0025] As shown in Figure 1, a motor signal feedback control method includes an optocoupler U1. Pin 4 of the optocoupler U1 serves as the anode of the transmitting end and is connected to the motor through a resistor R1 to receive the motor feedback signal. Pin 3 of the optocoupler U1 serves as the cathode of the transmitting end and is grounded. Pin 1 of the optocoupler U1 serves as the collector of the receiving end and is connected to the power supply through a resistor R2. Pin 2 of the optocoupler U1 serves as the emitter of the receiving end and is connected to the main control board to output a PWM frequency signal. The method includes:
[0026] S1. Set up N different motor status feedback signals and PWM frequency f in the main control board, and define a PWM frequency range for each function, with no overlap between the PWM frequency ranges; at the same time, set a sending cycle for the motor, divide the sending cycle into M sending cycle time periods, and set the PWM frequency signal corresponding to the motor status feedback signal in different sending cycle time periods; where N and M are integers, and N>1, M≥N; the motor is a PSC motor or a PWM motor.
[0027] Preferably, M = N, and the duration of each transmission cycle in one transmission cycle is the same; the motor status feedback signal includes a power feedback signal, a speed feedback signal, and a status feedback signal.
[0028] S2. The motor cyclically outputs the PWM frequency signal corresponding to the motor status feedback signal to the main control board according to the sending cycle timing.
[0029] S3. The main control board determines the type of motor status feedback signal based on the frequency range of the received PWM frequency signal, and calculates the actual value of each motor status feedback signal according to the corresponding function relationship. The main control board adjusts the motor target quantity according to the actual value of each motor status feedback signal.
[0030] Preferably, the target quantity for the motor is a target quantity for speed, a target quantity for torque, or a target quantity for air volume.
[0031] The following example demonstrates an application where the motor outputs power feedback, speed feedback, and status feedback signals to the main control board via a single optocoupler signal. The control method is as follows:
[0032] S1. Establish a functional relationship between the motor feedback signal and the PWM frequency f, so that the PWM signal frequency changes with the motor signal value, and define the frequency range of the functional relationship. The definitions are as follows:
[0033] Define the frequency of the speed feedback PWM signal as f1 = f(RPM), and the range of f1 is (0, 300 Hz);
[0034] Define the power feedback PWM signal frequency f2 = f(HP), and the range of f2 is (300, 350 Hz);
[0035] Define the frequency of the state feedback PWM signal as f3 = f(FO), and the range of f3 is (350, 400 Hz).
[0036] S2. After the above PWM signals of different frequencies are generated, they are cyclically output to the main control board according to the agreed-upon timing of one transmission period T. If three frequency signals—power feedback signal, speed feedback signal, and status feedback signal—are set in this application, then one transmission period T can be set to 30 seconds, and the above three PWM signals can be cyclically sent according to the following timing:
[0037] During the 0-10s period, the output power feedback PWM signal is used;
[0038] During 11-20 seconds, the output speed feedback PWM signal is generated;
[0039] During 21-30 seconds, the output status feedback PWM signal is generated.
[0040] S3. After receiving the above three PWM signals, the main control board determines the corresponding motor status feedback signal type according to the agreed frequency range characteristics, and calculates the actual value of the corresponding motor status feedback signal according to the corresponding function relationship. The main control board then adjusts the motor target value precisely based on these actual feedback values.
[0041] In this application, in S1, more signal frequency ranges and corresponding functional relationships can be defined according to the actual motor feedback signal type requirements. Meanwhile, in S2, the number of time periods of the transmission cycle can be set according to the number of motor feedback signal types in S1.
[0042] As shown in Figure 2, the motor includes a motor drive module that drives the motor to rotate, and a motor control module connected to the motor drive module that controls the motor rotation, initializes motor-related variables, and extracts motor operating parameters. The motor control module is connected to multiple motor status signal feedback frequency function modules that convert corresponding motor-related operating parameters into corresponding motor status signal frequencies, and a signal transmission time counter that calculates the transmission signal time. The motor status signal feedback frequency function module is connected to an optocoupler U1, which serves as a PWM transmission module. The main control board has a motherboard receiving signal module that receives PWM frequency signals and identifies corresponding motor status feedback signals according to the frequency range. The motherboard receiving signal module is connected to multiple motor status feedback signal decoding modules that calculate the actual values of corresponding motor status feedback signals using functional relationships of the PWM frequency signals corresponding to the motor status feedback signal types. The main control board control module adjusts the motor target quantity according to the actual values of each motor status feedback signal.
[0043] Preferably, the motor status signal feedback frequency function module includes a speed feedback frequency function module, a power feedback frequency function module, and a status feedback frequency function module; the motor status feedback signal decoding module includes a speed feedback signal decoding module, a power feedback signal decoding module, and a status feedback signal decoding module, and the PWM frequency signal is a PWM frequency square wave signal.
[0044] In the software implementation logic, after the motor starts rotating, the motor control module initializes the relevant motor variables and extracts the corresponding motor motion parameters. These parameters are then sent to the speed feedback frequency function module, power feedback frequency function module, and status feedback frequency function module, respectively. Subsequently, based on the calculation time of the signal transmission time counter, within one transmission cycle, the speed feedback frequency function module, power feedback frequency function module, and status feedback frequency function module sequentially send corresponding frequency signals to the optocoupler U1, which acts as the PWM transmission module. The frequency signal range of the speed feedback frequency function module is (0, 300 Hz), the frequency signal range of the power feedback frequency function module is (300, 350 Hz), and the status feedback frequency... The frequency signal range of the function module is (350, 400 Hz). Then, optocoupler U1 converts each frequency signal into a corresponding PWM square wave frequency signal and sends it to the main control board. Subsequently, the main board receiving signal module identifies the motor status feedback signal type corresponding to the PWM square wave frequency signal according to the agreed frequency signal range, and sends the corresponding PWM square wave frequency signal to the speed feedback signal decoding module, power feedback signal decoding module, or status feedback signal decoding module according to the motor status feedback signal type. Then, each motor status feedback signal decoding module performs inverse function calculation based on the corresponding functional relationship to obtain the actual value of each motor status feedback signal. Finally, the main control board control module adjusts the motor target quantity according to the actual value of each motor status feedback signal. The inverse function calculation is based on the functional relationship established between the motor status feedback signal and the PWM frequency f, and calculates the actual value of the motor status feedback signal in reverse.
[0045] The above are merely preferred embodiments of this application and do not limit the scope of the patent application. Any equivalent structural transformations made based on the inventive concept of this application and the contents of the specification and drawings of this application, or direct or indirect applications in other related technical fields, are included within the scope of patent protection of this application.
Claims
1. A motor signal feedback control method, comprising an optocoupler U1, wherein pin 4 of the optocoupler U1 serves as the anode of the transmitting end and is connected to the motor through a resistor R1 to receive the motor feedback signal; pin 3 of the optocoupler U1 serves as the cathode of the transmitting end and is grounded; pin 1 of the optocoupler U1 serves as the collector of the receiving end and is connected to the power supply through a resistor R2; and pin 2 of the optocoupler U1 serves as the emitter of the receiving end and is connected to the main control board to output a PWM frequency signal, characterized in that: The method includes: S1. Set up N different motor status feedback signals and PWM frequency f in the main control board, and define a PWM frequency range for each function relationship, and the PWM frequency ranges do not overlap; at the same time, set a motor sending cycle, divide the sending cycle into M sending cycle time periods, and set the PWM frequency signal corresponding to the motor status feedback signal in different sending cycle time periods. S2. The motor cyclically outputs the PWM frequency signal corresponding to the motor status feedback signal to the main control board according to the sending cycle timing. S3. The main control board determines the type of motor status feedback signal based on the frequency range of the received PWM frequency signal, and calculates the actual value of each motor status feedback signal according to the corresponding function relationship. The main control board adjusts the motor target quantity according to the actual value of each motor status feedback signal.
2. The motor signal feedback control method according to claim 1, characterized in that: In S1, N is an integer, and N > 1.
3. A motor signal feedback control method according to claim 1 or 2, characterized in that: In S1, M is an integer, and M≥N.
4. The motor signal feedback control method according to claim 3, characterized in that: The duration of each transmission cycle in S1 is the same.
5. The motor signal feedback control method according to claim 1, characterized in that: The motor is either a PSC motor or a PWM motor.
6. The motor signal feedback control method according to claim 1, characterized in that: The motor includes a motor drive module that drives the motor to rotate, and a motor control module connected to the motor drive module that controls the motor rotation, initializes motor-related variables, and extracts motor operating parameters. The motor control module is connected to multiple motor status signal feedback frequency function modules that convert corresponding motor operating parameters into corresponding motor status signal frequencies, as well as a signal transmission time counter that calculates the transmission time. The motor status signal feedback frequency function module is connected to an optocoupler U1, which serves as a PWM transmission module. The main control board has a motherboard receiving signal module that receives PWM frequency signals and identifies corresponding motor status feedback signals based on the frequency range. The motherboard receiving signal module is connected to multiple motor status feedback signal decoding modules that calculate the actual values of corresponding motor status feedback signals using functional relationships of the PWM frequency signals corresponding to the motor status feedback signal types. The main control board control module adjusts the motor target quantity based on the actual values of each motor status feedback signal.
7. A motor signal feedback control method according to claim 1 or 6, characterized in that: Motor status feedback signals include power feedback signals, speed feedback signals, and status feedback signals.
8. A motor signal feedback control method according to claim 1 or 6, characterized in that: The target quantities for the motor are the target speed, target torque, or target air volume.
9. A motor signal feedback control method according to claim 6, characterized in that: The motor status signal feedback frequency function module includes a speed feedback frequency function module, a power feedback frequency function module, and a status feedback frequency function module; the motor status feedback signal decoding module includes a speed feedback signal decoding module, a power feedback signal decoding module, and a status feedback signal decoding module.
10. A motor signal feedback control method according to claim 1 or 6, characterized in that: The PWM frequency signal is a square wave signal at the PWM frequency.