[go: up one dir, main page]

WO2016078448A1 - Rotation speed adjustment method, apparatus and system for fan - Google Patents

Rotation speed adjustment method, apparatus and system for fan Download PDF

Info

Publication number
WO2016078448A1
WO2016078448A1 PCT/CN2015/086904 CN2015086904W WO2016078448A1 WO 2016078448 A1 WO2016078448 A1 WO 2016078448A1 CN 2015086904 W CN2015086904 W CN 2015086904W WO 2016078448 A1 WO2016078448 A1 WO 2016078448A1
Authority
WO
WIPO (PCT)
Prior art keywords
fan
speed
current
rotation speed
difference
Prior art date
Application number
PCT/CN2015/086904
Other languages
French (fr)
Chinese (zh)
Inventor
项巍
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016078448A1 publication Critical patent/WO2016078448A1/en

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F04POSITIVE - DISPLACEMENT MACHINES FOR LIQUIDS; PUMPS FOR LIQUIDS OR ELASTIC FLUIDS
    • F04DNON-POSITIVE-DISPLACEMENT PUMPS
    • F04D27/00Control, e.g. regulation, of pumps, pumping installations or pumping systems specially adapted for elastic fluids
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D13/00Control of linear speed; Control of angular speed; Control of acceleration or deceleration, e.g. of a prime mover
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P8/00Arrangements for controlling dynamo-electric motors rotating step by step
    • H02P8/14Arrangements for controlling speed or speed and torque

Definitions

  • the present invention relates to the field of communications, and in particular to a method and device for adjusting the rotational speed of a fan and a rotational speed adjusting system for the fan.
  • a fan board is an important board in a communication device. It is of great significance to the heat dissipation of the communication device and the stability of the performance of the service board.
  • the network management system controls the fan speed. It can be divided into two modes: manual control and automatic control.
  • the automatic control scheme basically obtains the temperature of the other slots in the subrack through the agent and then controls the temperature.
  • the current method of controlling the fan plate speed is not a closed loop control mode, and the duty ratio of the level is fixed at one level.
  • the network controller issues a speed control command, the speed of the fan board needs to pass several excessive levels to reach the specified speed. The real-time performance is not good, and the speed regulation process of the fan board is likely to cause oscillation.
  • the invention provides a method for adjusting the rotation speed of a fan, a device and a rotation speed adjustment system of the fan, so as to at least solve the problem that the rotation speed of the fan plate cannot be flexibly adjusted in the related art.
  • a speed adjustment system for a fan includes: a main control circuit and a fan drive circuit, wherein the main control circuit is coupled to the fan drive circuit for The difference between the rotational speed and the predetermined rotational speed generates a control signal for adjusting the rotational speed of the fan; and the fan driving circuit is configured to adjust the rotational speed of the fan according to the control signal within an allowable error range of the predetermined rotational speed.
  • the main control circuit includes: a speed loop control circuit and a current loop control circuit, wherein the speed loop control circuit is configured to acquire the difference, and generate a current compensation signal according to the difference;
  • the current loop control circuit is configured to obtain a current value flowing through the fan, and generate the control signal according to the current compensation signal and the current value.
  • the speed loop control circuit is a composite fuzzy control circuit, configured to convert the difference into a fuzzy control quantity, and input the fuzzy control quantity in the form of the current compensation signal To the stated Current loop control circuit.
  • the composite fuzzy controller includes: a fuzzy controller and a linear controller, wherein the fuzzy controller is configured to generate a first control amount according to the difference; the linear controller is configured to The difference is linearly operated to a second control amount; wherein the fuzzy control amount is a sum of the first control amount and the second control amount.
  • the fuzzy controller is configured to obtain a deviation accurate value e of the predetermined signal and the feedback signal and a change rate accurate value ec of the deviation according to the difference, wherein the predetermined signal is corresponding to the predetermined rotation speed a signal, the feedback signal is a signal corresponding to the current rotational speed; and multiplying the e and the ec by respective quantizing factors k1, k2, and taking an integer to obtain a fuzzy amount E, Ec; And the Ec, obtaining the blur amount U by a look-up table method; multiplying the obtained U value by the scale factor k3 to obtain the first control amount.
  • the method further includes: a pulse modulation circuit respectively connected to the main control circuit and the fan driving circuit, configured to receive the control signal, and output a pulse width modulation PWM signal generated according to the control signal to The fan drive circuit.
  • a pulse modulation circuit respectively connected to the main control circuit and the fan driving circuit, configured to receive the control signal, and output a pulse width modulation PWM signal generated according to the control signal to The fan drive circuit.
  • a method for adjusting a rotational speed of a fan includes: obtaining a current rotational speed of the fan; comparing the current rotational speed with a predetermined rotational speed to obtain a difference between the current rotational speed and a predetermined rotational speed; The difference is adjusted to adjust the rotational speed of the fan within an allowable error range of the predetermined rotational speed.
  • adjusting the rotation speed of the fan according to the difference within the allowable error range of the predetermined rotation speed comprises: adjusting a rotation speed of the fan according to the difference value and a feedback current value of the fan.
  • a speed adjustment device for a fan including: an acquisition module configured to acquire a current rotational speed of the fan; and a comparison module configured to compare the current rotational speed with a predetermined rotational speed to obtain the current a difference between the rotational speed and the predetermined rotational speed; and an adjustment module configured to adjust the rotational speed of the fan according to the difference within an allowable error range of the predetermined rotational speed.
  • the adjustment module is further configured to adjust a rotation speed of the fan according to the difference value and a feedback current value of the fan.
  • a main control circuit and a fan drive circuit are used, wherein the main control circuit is coupled to the fan drive circuit for generating a control signal for adjusting the rotational speed of the fan according to the difference between the current rotational speed of the fan and the predetermined rotational speed;
  • the circuit is configured to adjust the rotation speed of the fan according to the control signal within an allowable error range of the predetermined rotation speed.
  • FIG. 1 is a structural diagram of a rotational speed adjustment system of a fan according to an embodiment of the present invention
  • FIG. 2 is a structural diagram 1 of a rotational speed adjusting system of a fan according to an embodiment of the present invention
  • FIG. 3 is a structural diagram 2 of a rotational speed adjusting system of a fan according to an embodiment of the present invention
  • FIG. 4 is a structural diagram 3 of a rotation speed adjustment system of a fan according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of a method for adjusting a rotational speed of a fan according to an embodiment of the present invention
  • FIG. 6 is a block diagram showing the structure of a rotational speed adjusting device of a fan according to an embodiment of the present invention.
  • FIG. 7 is a block diagram of a fuzzy PI controller system in accordance with an embodiment of the present invention.
  • FIG. 8 is a structural diagram of a composite fuzzy controller according to an embodiment of the present invention.
  • FIG. 9 is a circuit diagram of a DC motor drive circuit according to an embodiment of the present invention.
  • Figure 10 is a flow chart showing the main routine of the control system according to an embodiment of the present invention.
  • FIG. 11 is a flow chart of a closed loop control of a digital control system in accordance with an embodiment of the present invention.
  • FIG. 1 is a structural diagram of a speed adjustment system for a fan according to an embodiment of the present invention.
  • the system includes: a main control circuit 12 and a fan drive.
  • the circuit 14 wherein the main control circuit 12 is coupled to the fan driving circuit 14 for generating a control signal for adjusting the rotational speed of the fan according to the difference between the current rotational speed of the fan and the predetermined rotational speed; the fan driving circuit 14 is configured to be based on the control signal Adjust the fan speed within the allowable error range of the predetermined speed.
  • the main control circuit 12 generates a control signal for adjusting the rotation speed of the fan according to the difference between the current rotation speed of the fan and the predetermined rotation speed, and the fan drive circuit 14 receives the control signal, thereby adjusting the rotation speed of the fan at a predetermined rotation speed.
  • the system solves the problem that the speed of the fan board cannot be flexibly adjusted in the related art, thereby realizing the flexible adjustment of the fan board speed and improving the efficiency of adjusting the fan board speed.
  • the main control circuit 12 includes a speed loop control circuit 122 and a current loop control circuit 124, wherein the speed loop control circuit 122 And for generating a difference, and generating a current compensation signal according to the difference; the current loop control circuit 124 is configured to obtain a current value flowing through the fan, and generate a control signal according to the current compensation signal and the current value.
  • the speed loop control circuit 122 may be a composite fuzzy control circuit 126 for converting the difference into a fuzzy control quantity, and inputting the fuzzy control quantity into the current loop control circuit in the form of a current compensation signal. 124.
  • the composite fuzzy controller 126 includes: a fuzzy controller 1262 and a linear controller 1264, wherein the fuzzy controller 1262 uses And generating a first control quantity according to the difference; the linear controller 1264 is configured to perform a linear operation on the difference to obtain a second control quantity; wherein the fuzzy control quantity is a sum of the first control quantity and the second control quantity.
  • the fuzzy controller 1262 is configured to obtain a deviation accurate value e of the predetermined signal and the feedback signal and a change rate accurate value ec of the deviation according to the difference, wherein the predetermined signal is a signal corresponding to the predetermined rotational speed, and the feedback signal a signal corresponding to the current rotational speed; and multiplying the e and the ec by respective quantization factors k1 and k2, and taking an integer to obtain the fuzzy quantities E and Ec; according to the E and the Ec, obtaining the fuzzy by a table lookup method The quantity U is obtained by multiplying the obtained U value by the scale factor k3.
  • FIG. 4 is a structural diagram 3 of a rotational speed adjusting system of a fan according to an embodiment of the present invention. As shown in FIG. 4, the system further includes: a pulse modulating circuit 16 respectively connected to the main control circuit 12 and the fan driving circuit 14 for A control signal is received, and a pulse width modulated PWM signal generated according to the control signal is output to the fan drive circuit 14.
  • FIG. 5 is a flowchart of a method for adjusting the rotational speed of a fan according to an embodiment of the present invention. As shown in FIG. 5, the flow includes the following steps:
  • Step S502 obtaining a current rotational speed of the fan
  • Step S504 comparing the current rotation speed with the predetermined rotation speed, and obtaining a difference between the current rotation speed and the predetermined rotation speed;
  • Step S506 adjusting the rotation speed of the fan according to the difference within the allowable error range of the predetermined rotation speed.
  • the fan can adjust the fan speed according to the difference between the current speed and the predetermined speed, and solve the problem that the speed of the fan board cannot be flexibly adjusted in the related art, thereby realizing the flexible adjustment of the fan board speed and improving Adjust the efficiency of the fan board speed.
  • the speed of the fan is adjusted based on the difference and the feedback current value of the fan.
  • FIG. 6 is a structural block diagram of a rotational speed adjusting device of a fan according to an embodiment of the present invention.
  • the device includes: an acquiring module 62 configured to acquire a current rotational speed of the fan; and a comparing module 64 configured to compare the current rotational speed. And the predetermined rotational speed, the difference between the current rotational speed and the predetermined rotational speed is obtained; and the adjusting module 66 is configured to adjust the rotational speed of the fan according to the difference within the allowable error range of the predetermined rotational speed.
  • the adjustment module 66 is further configured to adjust the rotational speed of the fan according to the difference and the feedback current value of the fan.
  • the conventional control of the fan board motor at the change of the rotational speed is insufficient, so that the motor of the fan board has good starting characteristics and acceleration characteristics, so that it maintains the set speed. Stable rotation, further reducing the noise of the fan board, improving the stability and service life of the fan board.
  • the optional embodiment provides a fuzzy control method and device for a fan board, including the following contents:
  • the device includes a fan motor main control circuit (corresponding to the above-described main control circuit 12), a fan motor drive circuit (corresponding to the above-described fan drive circuit 14), and a rotational speed display circuit.
  • the man-machine dialogue function is realized by the host computer software. The fan speed can be displayed in real time to observe the control process and control effects;
  • the main control circuit calculates the speed error value by comparing the set speed value with the speed feedback value, and outputs a Pulse Width Modulation (PWM) signal of different duty ratios to automatically adjust the speed of the fan motor. Stabilizing the fan motor speed at the initial set value;
  • PWM Pulse Width Modulation
  • the fuzzy control algorithm is introduced in the adjustment of fan motor speed, and the compound fuzzy control device for fan plate motor speed regulation is designed, which greatly improves the control performance. Therefore, the rotation speed of the motor can be automatically adjusted within a prescribed range to keep the rotation speed stable.
  • the above optional embodiment also has the following features: by adjusting the fuzzy proportional integral controller PI, the starting speed of the motor is fast, and the initial speed setting value can be tracked in a short time.
  • FIG. 7 is a block diagram of a fuzzy PI controller system according to an embodiment of the present invention.
  • the system of the alternative embodiment adopts a dual closed loop control scheme: the outer loop is a speed loop, and the fuzzy PI algorithm is used to adjust; the inner loop For current loops, use conventional PI conditioning methods.
  • the input of the controller is a given DC voltage signal, a pulse signal, an analog current feedback signal, and the output is a DC voltage control signal, and the motor that drives the actuator is a fan.
  • the speed loop adjusts the speed according to the fan motor speed error, so that the system can stably track the speed set value.
  • the output of the speed controller is given as an internal current loop.
  • the inner loop current controller makes the current follow the given speed change in the speed regulation, and obtains the maximum allowable current at the start, and limits the current maximum when the overload occurs.
  • the whole current adjustment process is the change process of the pulse width modulation circuit (PWM) output signal. .
  • PWM pulse width modulation circuit
  • the signal is fed to the composite fuzzy PI controller as a feedback signal by the quadrature encoder.
  • the current limiting circuit improves the smoothness of the motor torque and ensures the safety of the controller and motor.
  • FIG. 8 is a structural diagram of a composite fuzzy controller according to an embodiment of the present invention.
  • FIG. 8 is a design process of a composite fuzzy controller.
  • the output of the composite fuzzy controller is the sum of the proportional integral link and the fuzzy controller output.
  • the current speed of the motor can be measured through the code disc interface, and compared with the initial set speed value, the accurate value e of the deviation of the given signal and the feedback signal in the system and the exact value of the deviation rate of the deviation are obtained as fuzzy The amount of input to the system.
  • the deviation and the rate of change of the measured value are multiplied by the corresponding quantization factors k1 and k2, and the integers are obtained to obtain the fuzzy quantities E and Ec.
  • the fuzzy control decision table is used to find the fuzzy quantity U.
  • FIG. 9 is a circuit diagram of a DC motor driving circuit according to an embodiment of the present invention.
  • the driving circuit of the motor is composed of two driving chips IR2110 and four MOSFETs IRF540.
  • IRF540s form a full bridge drive circuit.
  • C24 and C25 are bootstrap capacitors
  • D6 and D11 are bootstrap diodes
  • C26 and C27 are filter capacitors.
  • the HIN pin of U5 (IR2110) is low, the FET VM2 between pin 7 (HO) and pin 5 (VS) is turned on, pin 7 (HO) and pin 6 (VB)
  • the gate charge of Q2 passes through R29, VM2 is quickly released, and Q2 is turned off.
  • the LIN pin of U5 is high level, Q4 is turned on, +15V is charged by VD11, Q4 is charged to C25, and energy is quickly added to C25.
  • Q1 and Q4 are simultaneously turned on, and the output voltage makes the motor achieve forward rotation.
  • Q2 and Q3 are turned on, the motor is reversed.
  • Reasonable set dead time avoiding the bridge arm through, short circuit, MOSFET is broken down.
  • R24, R25, R26, and R27 are voltage divider resistors to avoid overheating of the MOSFET due to excessive circuit current.
  • FIG. 10 is a flowchart of the main program of the control system according to the embodiment of the present invention. As shown in FIG. 10, the process flow includes the following steps: the main program of the controller completes initialization. Check to see if it needs to be enabled. If it is enabled, enter the program for setting the speed. When the speed is set, the speed adjustment subroutine is executed and the fan board motor speed is displayed in real time.
  • FIG. 11 is a flow chart of a closed loop control of a digital control system according to an embodiment of the present invention, wherein a flowchart of a speed adjustment subroutine, as shown in FIG. 11, the controller initializes the MCPWM QEI and the port to check whether the speed setting is performed, if not set.
  • the fixed speed is set first. If the fan speed setting has been completed, the current fan motor speed is read, and the set value and the fan motor speed value are sent to the composite fuzzy controller through the speed error value. Judgment and adjustment, the fan motor speed is tracked to the initial speed set value, and finally a PWM signal is generated to drive the fan motor to stabilize its speed at the initial speed setting.
  • the present invention solves the problem that the rotational speed of the fan plate cannot be flexibly adjusted in the related art, thereby achieving flexible adjustment of the rotational speed of the fan plate and improving the efficiency of adjusting the rotational speed of the fan plate.
  • a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the invention relates to the field of communication, and provides a method and device for adjusting the rotation speed of a fan and a rotation speed adjustment system of the fan, wherein the system comprises a main control circuit and a fan drive circuit, wherein the main control circuit is coupled with the fan drive circuit, And a control signal for adjusting a rotation speed of the fan according to a difference between a current rotation speed of the fan and a predetermined rotation speed; and a fan driving circuit configured to adjust the rotation speed of the fan according to the control signal within an allowable error range of the predetermined rotation speed.
  • the invention solves the problem that the rotation speed of the fan board cannot be flexibly adjusted in the related art, thereby realizing the flexible adjustment of the rotation speed of the fan board and improving the efficiency of adjusting the rotation speed of the fan board.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Feedback Control In General (AREA)
  • Control Of Positive-Displacement Air Blowers (AREA)
  • Control Of Electric Motors In General (AREA)

Abstract

A rotation speed adjustment system for a fan. The system comprises a main control circuit (12) and a fan drive circuit (14), wherein the main control circuit is coupled and connected to the fan drive circuit and is used for generating a control signal for adjusting a rotation speed of a fan according to a difference value between a current rotation speed of the fan and a pre-determined rotation speed, and the fan drive circuit is used for adjusting the rotation speed of the fan to be in an allowable error range of the pre-determined rotation speed according to the control signal. A rotation speed adjustment method for a fan is applicable to the adjustment system. A rotation speed adjustment apparatus for a fan adopts the adjustment method. The system and method realize flexible adjustment of a rotation speed of a fan board, and improve the efficiency of adjusting the rotation speed of the fan board.

Description

风扇的转速调整方法、装置及风扇的转速调整系统Fan speed adjustment method, device and fan speed adjustment system 技术领域Technical field
本发明涉及通信领域,具体而言,涉及风扇的转速调整方法、装置及风扇的转速调整系统。The present invention relates to the field of communications, and in particular to a method and device for adjusting the rotational speed of a fan and a rotational speed adjusting system for the fan.
背景技术Background technique
风扇板是通信设备中的一块重要的单板,对通信设备的散热及其业务单板性能的稳定性具有重要的意义。网管对风扇转速进行控制,可分为手动控制和自动控制两种模式,其中自动控制方案基本上由单板通过agent获取本子架上其他槽位单板的温度,然后进行控制的。然而目前的风扇板转速的控制方法采用的不是闭环控制方式,电平的占空比在一个等级上是固定不变的。当网管下发一个调速控制指令时,风扇板的转速需要通过几个过度等级才能到达指定的转速,实时性不好,并且风扇板的调速过程容易引起振荡。A fan board is an important board in a communication device. It is of great significance to the heat dissipation of the communication device and the stability of the performance of the service board. The network management system controls the fan speed. It can be divided into two modes: manual control and automatic control. The automatic control scheme basically obtains the temperature of the other slots in the subrack through the agent and then controls the temperature. However, the current method of controlling the fan plate speed is not a closed loop control mode, and the duty ratio of the level is fixed at one level. When the network controller issues a speed control command, the speed of the fan board needs to pass several excessive levels to reach the specified speed. The real-time performance is not good, and the speed regulation process of the fan board is likely to cause oscillation.
而且,现代智能设备的控制特性大多是非线性的,而采用线性控制算法设计的传统比例-积分-微分控制器(proportion、integration、differentiation,简称为PID)往往难以满足智能仪器控制的非线性要求,不利于实时的智能化控制。Moreover, the control characteristics of modern intelligent devices are mostly non-linear, and the traditional proportional-integral-differential controller (proportion, integration, differentiation, PID) designed by linear control algorithm is often difficult to meet the nonlinear requirements of intelligent instrument control. Not conducive to real-time intelligent control.
针对相关技术中,不能对风扇板的转速进行灵活调整的问题,还未提出有效的解决方案。In view of the related art, the problem that the rotational speed of the fan plate cannot be flexibly adjusted has not yet provided an effective solution.
发明内容Summary of the invention
本发明提供了一种风扇的转速调整方法、装置及风扇的转速调整系统,以至少解决相关技术中不能对风扇板的转速进行灵活调整的问题。The invention provides a method for adjusting the rotation speed of a fan, a device and a rotation speed adjustment system of the fan, so as to at least solve the problem that the rotation speed of the fan plate cannot be flexibly adjusted in the related art.
根据本发明的一个方面,提供了一种风扇的转速调整系统,包括:主控电路和风扇驱动电路,其中,所述主控电路,与所述风扇驱动电路耦合连接,用于根据风扇的当前转速与预定转速的差值产生调整所述风扇的转速的控制信号;所述风扇驱动电路,用于根据所述控制信号调整所述风扇的转速在所述预定转速的允许误差范围内。According to an aspect of the present invention, a speed adjustment system for a fan includes: a main control circuit and a fan drive circuit, wherein the main control circuit is coupled to the fan drive circuit for The difference between the rotational speed and the predetermined rotational speed generates a control signal for adjusting the rotational speed of the fan; and the fan driving circuit is configured to adjust the rotational speed of the fan according to the control signal within an allowable error range of the predetermined rotational speed.
可选地,所述主控电路包括:速度环控制电路和电流环控制电路,其中,所述速度环控制电路,用于获取所述差值,并根据所述差值产生电流补偿信号;所述电流环控制电路,用于获取流经所述风扇的电流值,并根据所述电流补偿信号和所述电流值生成所述控制信号。Optionally, the main control circuit includes: a speed loop control circuit and a current loop control circuit, wherein the speed loop control circuit is configured to acquire the difference, and generate a current compensation signal according to the difference; The current loop control circuit is configured to obtain a current value flowing through the fan, and generate the control signal according to the current compensation signal and the current value.
可选地,所述速度环控制电路为复合模糊控制电路,该复合模糊控制电路用于将所述差值转换为模糊控制量,并将所述模糊控制量以所述电流补偿信号的形式输入至所述 电流环控制电路。Optionally, the speed loop control circuit is a composite fuzzy control circuit, configured to convert the difference into a fuzzy control quantity, and input the fuzzy control quantity in the form of the current compensation signal To the stated Current loop control circuit.
可选地,所述复合模糊控制器包括:模糊控制器和线性控制器,其中,所述模糊控制器,用于根据所述差值生成第一控制量;所述线性控制器,用于对所述差值进行线性运算,到第二控制量;其中所述模糊控制量为所述第一控制量与所述第二控制量之和。Optionally, the composite fuzzy controller includes: a fuzzy controller and a linear controller, wherein the fuzzy controller is configured to generate a first control amount according to the difference; the linear controller is configured to The difference is linearly operated to a second control amount; wherein the fuzzy control amount is a sum of the first control amount and the second control amount.
可选地,所述模糊控制器,用于根据所述差值得出预定信号和反馈信号的偏差精确值e和偏差的变化率精确值ec,其中,所述预定信号为所述预定转速对应的信号,所述反馈信号为所述当前转速对应的信号;以及将所述e和所述ec分别乘上相应的量化因子k1、k2,取整数后求出模糊量E、Ec;根据所述E和所述Ec,通过查表法获取模糊量U;将所得U值乘以比例因子k3,得到所述第一控制量。Optionally, the fuzzy controller is configured to obtain a deviation accurate value e of the predetermined signal and the feedback signal and a change rate accurate value ec of the deviation according to the difference, wherein the predetermined signal is corresponding to the predetermined rotation speed a signal, the feedback signal is a signal corresponding to the current rotational speed; and multiplying the e and the ec by respective quantizing factors k1, k2, and taking an integer to obtain a fuzzy amount E, Ec; And the Ec, obtaining the blur amount U by a look-up table method; multiplying the obtained U value by the scale factor k3 to obtain the first control amount.
可选地,还包括:脉冲调制电路,分别与所述主控电路和所述风扇驱动电路连接,用于接收所述控制信号,并将根据所述控制信号生成的脉冲宽度调制PWM信号输出至所述风扇驱动电路。Optionally, the method further includes: a pulse modulation circuit respectively connected to the main control circuit and the fan driving circuit, configured to receive the control signal, and output a pulse width modulation PWM signal generated according to the control signal to The fan drive circuit.
根据本发明的另一个方面,还提供了一种风扇的转速调整方法,包括:获取风扇的当前转速;比较所述当前转速与预定转速,得到所述当前转速与预定转速的差值;根据所述差值调整所述风扇的转速在所述预定转速的允许误差范围内。According to another aspect of the present invention, a method for adjusting a rotational speed of a fan includes: obtaining a current rotational speed of the fan; comparing the current rotational speed with a predetermined rotational speed to obtain a difference between the current rotational speed and a predetermined rotational speed; The difference is adjusted to adjust the rotational speed of the fan within an allowable error range of the predetermined rotational speed.
可选地,根据所述差值调整所述风扇的转速在所述预定转速的允许误差范围内包括:根据所述差值和所述风扇的反馈电流值调整所述风扇的转速。Optionally, adjusting the rotation speed of the fan according to the difference within the allowable error range of the predetermined rotation speed comprises: adjusting a rotation speed of the fan according to the difference value and a feedback current value of the fan.
根据本发明的另一个方面,还提供了一种风扇的转速调整装置,包括:获取模块,设置为获取风扇的当前转速;比较模块,设置为比较所述当前转速与预定转速,得到所述当前转速与预定转速的差值;调整模块,设置为根据所述差值调整所述风扇的转速在所述预定转速的允许误差范围内。According to another aspect of the present invention, a speed adjustment device for a fan is provided, including: an acquisition module configured to acquire a current rotational speed of the fan; and a comparison module configured to compare the current rotational speed with a predetermined rotational speed to obtain the current a difference between the rotational speed and the predetermined rotational speed; and an adjustment module configured to adjust the rotational speed of the fan according to the difference within an allowable error range of the predetermined rotational speed.
可选地,所述调整模块还设置为根据所述差值和所述风扇的反馈电流值调整所述风扇的转速。Optionally, the adjustment module is further configured to adjust a rotation speed of the fan according to the difference value and a feedback current value of the fan.
通过本发明,采用主控电路和风扇驱动电路,其中,主控电路,与风扇驱动电路耦合连接,用于根据风扇的当前转速与预定转速的差值产生调整风扇的转速的控制信号;风扇驱动电路,用于根据控制信号调整风扇的转速在预定转速的允许误差范围内。解决了相关技术中不能对风扇板的转速进行灵活调整的问题,进而实现了对风扇板转速的灵活调整,提高了调整风扇板转速的效率。According to the present invention, a main control circuit and a fan drive circuit are used, wherein the main control circuit is coupled to the fan drive circuit for generating a control signal for adjusting the rotational speed of the fan according to the difference between the current rotational speed of the fan and the predetermined rotational speed; The circuit is configured to adjust the rotation speed of the fan according to the control signal within an allowable error range of the predetermined rotation speed. The invention solves the problem that the speed of the fan board cannot be flexibly adjusted in the related art, thereby realizing the flexible adjustment of the fan board speed and improving the efficiency of adjusting the fan board speed.
附图说明DRAWINGS
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described herein are intended to provide a further understanding of the invention, and are intended to be a part of the invention. In the drawing:
图1是根据本发明实施例的风扇的转速调整系统的结构图; 1 is a structural diagram of a rotational speed adjustment system of a fan according to an embodiment of the present invention;
图2是根据本发明实施例的风扇的转速调整系统的结构图一;2 is a structural diagram 1 of a rotational speed adjusting system of a fan according to an embodiment of the present invention;
图3是根据本发明实施例的风扇的转速调整系统的结构图二;3 is a structural diagram 2 of a rotational speed adjusting system of a fan according to an embodiment of the present invention;
图4是根据本发明实施例的风扇的转速调整系统的结构图三;4 is a structural diagram 3 of a rotation speed adjustment system of a fan according to an embodiment of the present invention;
图5是根据本发明实施例的风扇的转速调整方法的流程图;FIG. 5 is a flowchart of a method for adjusting a rotational speed of a fan according to an embodiment of the present invention; FIG.
图6是根据本发明实施例的风扇的转速调整装置的结构框图;6 is a block diagram showing the structure of a rotational speed adjusting device of a fan according to an embodiment of the present invention;
图7是根据本发明实施例的模糊PI控制器系统框图;7 is a block diagram of a fuzzy PI controller system in accordance with an embodiment of the present invention;
图8是根据本发明实施例的复合模糊控制器的结构图;8 is a structural diagram of a composite fuzzy controller according to an embodiment of the present invention;
图9是根据本发明实施例的直流电机驱动电路图;9 is a circuit diagram of a DC motor drive circuit according to an embodiment of the present invention;
图10是根据本发明实施例的控制系统主程序流程图;Figure 10 is a flow chart showing the main routine of the control system according to an embodiment of the present invention;
图11是根据本发明实施例的数字控制系统闭环控制流程图。11 is a flow chart of a closed loop control of a digital control system in accordance with an embodiment of the present invention.
具体实施方式detailed description
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在本实施例中提供了一种风扇的转速调整系统,图1是根据本发明实施例的风扇的转速调整系统的结构图,如图1所示,该系统包括:主控电路12和风扇驱动电路14,其中,主控电路12,与风扇驱动电路14耦合连接,用于根据风扇的当前转速与预定转速的差值产生调整风扇的转速的控制信号;风扇驱动电路14,用于根据控制信号调整风扇的转速在预定转速的允许误差范围内。In this embodiment, a speed adjustment system for a fan is provided. FIG. 1 is a structural diagram of a speed adjustment system for a fan according to an embodiment of the present invention. As shown in FIG. 1, the system includes: a main control circuit 12 and a fan drive. The circuit 14, wherein the main control circuit 12 is coupled to the fan driving circuit 14 for generating a control signal for adjusting the rotational speed of the fan according to the difference between the current rotational speed of the fan and the predetermined rotational speed; the fan driving circuit 14 is configured to be based on the control signal Adjust the fan speed within the allowable error range of the predetermined speed.
通过上述风扇的转速调整系统,主控电路12根据风扇的当前转速与预定转速的差值产生调整风扇的转速的控制信号,风扇驱动电路14接收该控制信号,从而调整风扇的转速在预定转速的允许误差范围内。该系统解决了相关技术中不能对风扇板的转速进行灵活调整的问题,进而实现了对风扇板转速的灵活调整,提高了调整风扇板转速的效率。Through the fan speed adjustment system, the main control circuit 12 generates a control signal for adjusting the rotation speed of the fan according to the difference between the current rotation speed of the fan and the predetermined rotation speed, and the fan drive circuit 14 receives the control signal, thereby adjusting the rotation speed of the fan at a predetermined rotation speed. Within the allowable error range. The system solves the problem that the speed of the fan board cannot be flexibly adjusted in the related art, thereby realizing the flexible adjustment of the fan board speed and improving the efficiency of adjusting the fan board speed.
图2是根据本发明实施例的风扇的转速调整系统的结构图一,如图2所示,主控电路12包括:速度环控制电路122和电流环控制电路124,其中,速度环控制电路122,用于获取差值,并根据差值产生电流补偿信号;电流环控制电路124,用于获取流经风扇的电流值,并根据电流补偿信号和电流值生成控制信号。2 is a structural diagram 1 of a rotational speed adjusting system of a fan according to an embodiment of the present invention. As shown in FIG. 2, the main control circuit 12 includes a speed loop control circuit 122 and a current loop control circuit 124, wherein the speed loop control circuit 122 And for generating a difference, and generating a current compensation signal according to the difference; the current loop control circuit 124 is configured to obtain a current value flowing through the fan, and generate a control signal according to the current compensation signal and the current value.
可选地,速度环控制电路122可以为复合模糊控制电路126,复合模糊控制电路126用于将差值转换为模糊控制量,并将模糊控制量以电流补偿信号的形式输入至电流环控制电路124。 Optionally, the speed loop control circuit 122 may be a composite fuzzy control circuit 126 for converting the difference into a fuzzy control quantity, and inputting the fuzzy control quantity into the current loop control circuit in the form of a current compensation signal. 124.
图3是根据本发明实施例的风扇的转速调整系统的结构图二,如图3所示,复合模糊控制器126包括:模糊控制器1262和线性控制器1264,其中,模糊控制器1262,用于根据差值生成第一控制量;线性控制器1264,用于对差值进行线性运算,得到第二控制量;其中模糊控制量为第一控制量与该第二控制量之和。3 is a structural diagram of a rotational speed adjusting system of a fan according to an embodiment of the present invention. As shown in FIG. 3, the composite fuzzy controller 126 includes: a fuzzy controller 1262 and a linear controller 1264, wherein the fuzzy controller 1262 uses And generating a first control quantity according to the difference; the linear controller 1264 is configured to perform a linear operation on the difference to obtain a second control quantity; wherein the fuzzy control quantity is a sum of the first control quantity and the second control quantity.
可选地,模糊控制器1262,用于根据差值得出预定信号和反馈信号的偏差精确值e和偏差的变化率精确值ec,其中,该预定信号为该预定转速对应的信号,该反馈信号为该当前转速对应的信号;以及将该e和该ec分别乘上相应的量化因子k1、k2,取整数后求出模糊量E、Ec;根据该E和该Ec,通过查表法获取模糊量U;将所得U值乘以比例因子k3,得到该第一控制量。Optionally, the fuzzy controller 1262 is configured to obtain a deviation accurate value e of the predetermined signal and the feedback signal and a change rate accurate value ec of the deviation according to the difference, wherein the predetermined signal is a signal corresponding to the predetermined rotational speed, and the feedback signal a signal corresponding to the current rotational speed; and multiplying the e and the ec by respective quantization factors k1 and k2, and taking an integer to obtain the fuzzy quantities E and Ec; according to the E and the Ec, obtaining the fuzzy by a table lookup method The quantity U is obtained by multiplying the obtained U value by the scale factor k3.
图4是根据本发明实施例的风扇的转速调整系统的结构图三,如图4所示,该系统还包括:脉冲调制电路16,分别与主控电路12和风扇驱动电路连接14,用于接收控制信号,并将根据控制信号生成的脉冲宽度调制PWM信号输出至风扇驱动电路14。4 is a structural diagram 3 of a rotational speed adjusting system of a fan according to an embodiment of the present invention. As shown in FIG. 4, the system further includes: a pulse modulating circuit 16 respectively connected to the main control circuit 12 and the fan driving circuit 14 for A control signal is received, and a pulse width modulated PWM signal generated according to the control signal is output to the fan drive circuit 14.
在本实施例中提供了一种风扇的转速调整方法,图5是根据本发明实施例的风扇的转速调整方法的流程图,如图5所示,该流程包括如下步骤:In this embodiment, a method for adjusting the rotational speed of a fan is provided. FIG. 5 is a flowchart of a method for adjusting the rotational speed of a fan according to an embodiment of the present invention. As shown in FIG. 5, the flow includes the following steps:
步骤S502,获取风扇的当前转速;Step S502, obtaining a current rotational speed of the fan;
步骤S504,比较当前转速与预定转速,得到当前转速与预定转速的差值;Step S504, comparing the current rotation speed with the predetermined rotation speed, and obtaining a difference between the current rotation speed and the predetermined rotation speed;
步骤S506,根据差值调整风扇的转速在预定转速的允许误差范围内。Step S506, adjusting the rotation speed of the fan according to the difference within the allowable error range of the predetermined rotation speed.
通过上述步骤,风扇可以根据当前转速与预定转速的差值进行风扇转速的调整,解决了相关技术中不能对风扇板的转速进行灵活调整的问题,进而实现了对风扇板转速的灵活调整,提高了调整风扇板转速的效率。Through the above steps, the fan can adjust the fan speed according to the difference between the current speed and the predetermined speed, and solve the problem that the speed of the fan board cannot be flexibly adjusted in the related art, thereby realizing the flexible adjustment of the fan board speed and improving Adjust the efficiency of the fan board speed.
在一个可选实施例中,根据差值和风扇的反馈电流值调整风扇的转速。In an alternative embodiment, the speed of the fan is adjusted based on the difference and the feedback current value of the fan.
图6是根据本发明实施例的风扇的转速调整装置的结构框图,如图6所示,该装置包括:获取模块62,设置为获取风扇的当前转速;比较模块64,设置为比较该当前转速与预定转速,得到该当前转速与预定转速的差值;调整模块66,设置为根据该差值调整该风扇的转速在该预定转速的允许误差范围内。6 is a structural block diagram of a rotational speed adjusting device of a fan according to an embodiment of the present invention. As shown in FIG. 6, the device includes: an acquiring module 62 configured to acquire a current rotational speed of the fan; and a comparing module 64 configured to compare the current rotational speed. And the predetermined rotational speed, the difference between the current rotational speed and the predetermined rotational speed is obtained; and the adjusting module 66 is configured to adjust the rotational speed of the fan according to the difference within the allowable error range of the predetermined rotational speed.
可选地,调整模块66还设置为根据差值和风扇的反馈电流值调整风扇的转速。Optionally, the adjustment module 66 is further configured to adjust the rotational speed of the fan according to the difference and the feedback current value of the fan.
为了解决上述技术问题,克服现有风扇板电机在转速发生变化时,其控制品质随之下降的不足,从而使风扇板的电机具有良好的启动特性和加速特性,使其保持在设定的转速下稳定转动,进一步的降低风扇板的噪音,提高风扇板的稳定性和使用寿命。本可选实施例提供了一种风扇板的模糊控制方法和装置,包括以下内容:In order to solve the above technical problems, the conventional control of the fan board motor at the change of the rotational speed is insufficient, so that the motor of the fan board has good starting characteristics and acceleration characteristics, so that it maintains the set speed. Stable rotation, further reducing the noise of the fan board, improving the stability and service life of the fan board. The optional embodiment provides a fuzzy control method and device for a fan board, including the following contents:
(a)该装置包括风扇电机主控电路(相当于上述主控电路12)、风扇电机驱动电路(相当于上述风扇驱动电路14)、转速显示电路。通过上位机软件实现了人机对话功能, 风扇转速能够实时显示从而观测控制过程和控制效果;(a) The device includes a fan motor main control circuit (corresponding to the above-described main control circuit 12), a fan motor drive circuit (corresponding to the above-described fan drive circuit 14), and a rotational speed display circuit. The man-machine dialogue function is realized by the host computer software. The fan speed can be displayed in real time to observe the control process and control effects;
(b)主控电路通过比较设定速度值与速度反馈值,计算出速度误差值,输出不同占空比的脉冲宽度调制(Pulse Width Modulation,简称为PWM)信号,自动调节风扇电机的转速,使风扇电机的转速稳定在初始设定值;(b) The main control circuit calculates the speed error value by comparing the set speed value with the speed feedback value, and outputs a Pulse Width Modulation (PWM) signal of different duty ratios to automatically adjust the speed of the fan motor. Stabilizing the fan motor speed at the initial set value;
(c)在风扇电机速度的调节中引入了模糊控制算法,设计了针对风扇板电机调速的复合模糊控制装置,大大地提高了控制性能。从而使电机的转速可以在规定的范围内自动调节,保持转速稳定。(c) The fuzzy control algorithm is introduced in the adjustment of fan motor speed, and the compound fuzzy control device for fan plate motor speed regulation is designed, which greatly improves the control performance. Therefore, the rotation speed of the motor can be automatically adjusted within a prescribed range to keep the rotation speed stable.
上述可选实施例还具有以下特点:通过模糊比例积分控制器PI的调节,电机的启动速度快,可以在很短的时间内跟踪速度初始设定值。The above optional embodiment also has the following features: by adjusting the fuzzy proportional integral controller PI, the starting speed of the motor is fast, and the initial speed setting value can be tracked in a short time.
下面结合附图对本可选实施例的实施方法作进一步的详细描述:The implementation method of this alternative embodiment will be further described in detail below with reference to the accompanying drawings:
图7是根据本发明实施例的模糊PI控制器系统框图,如图7所示,本可选实施例的系统采用了双闭环控制方案:外环为速度环,使用模糊PI算法调节;内环为电流环,使用常规PI调节方法。控制器的输入为给定直流电压信号,脉冲信号、模拟的电流反馈信号,输出为直流电压控制信号,驱动执行机构为风扇的电机。7 is a block diagram of a fuzzy PI controller system according to an embodiment of the present invention. As shown in FIG. 7, the system of the alternative embodiment adopts a dual closed loop control scheme: the outer loop is a speed loop, and the fuzzy PI algorithm is used to adjust; the inner loop For current loops, use conventional PI conditioning methods. The input of the controller is a given DC voltage signal, a pulse signal, an analog current feedback signal, and the output is a DC voltage control signal, and the motor that drives the actuator is a fan.
其中,速度环根据风扇电机转速误差,对转速进行调节,使系统能够稳定跟踪速度设定值。速度控制器的输出作为内部电流环的给定。内环电流控制器使电流在速度调节中跟随给定转速变化,起动时获得最大的允许电流,过载时限制电流最大值,整个电流调整过程也就是脉宽调制电路(PWM)输出信号的变化过程。通过调整PWM波的占空比调节绕组电压平均值,进而能间接限制和调节绕组电流的大小,实现转速的调节。由于需要不断判断风扇电机的运行速度的大小,故通过正交编码器把信号给复合模糊PI控制器,作为反馈信号。电流限幅电路改善电机转矩的平稳性和保证控制器和电机的安全。Among them, the speed loop adjusts the speed according to the fan motor speed error, so that the system can stably track the speed set value. The output of the speed controller is given as an internal current loop. The inner loop current controller makes the current follow the given speed change in the speed regulation, and obtains the maximum allowable current at the start, and limits the current maximum when the overload occurs. The whole current adjustment process is the change process of the pulse width modulation circuit (PWM) output signal. . By adjusting the duty cycle of the PWM wave to adjust the average value of the winding voltage, the size of the winding current can be indirectly limited and adjusted, and the speed can be adjusted. Since it is necessary to continuously judge the running speed of the fan motor, the signal is fed to the composite fuzzy PI controller as a feedback signal by the quadrature encoder. The current limiting circuit improves the smoothness of the motor torque and ensures the safety of the controller and motor.
图8是根据本发明实施例的复合模糊控制器的结构图,如图8所示是复合模糊控制器的设计过程,为了提高系统的静态精确度,消除扰动带来的误差,增加比例积分环节u2=k/s,把线性控制器和模糊控制器相结合形成复合模糊控制器,复合模糊控制器的输出为比例积分环节与模糊控制器输出之和。8 is a structural diagram of a composite fuzzy controller according to an embodiment of the present invention. FIG. 8 is a design process of a composite fuzzy controller. In order to improve the static accuracy of the system, the error caused by the disturbance is eliminated, and the proportional integral link is added. U2=k/s combines the linear controller and the fuzzy controller to form a composite fuzzy controller. The output of the composite fuzzy controller is the sum of the proportional integral link and the fuzzy controller output.
通过码盘接口可以测得电机当前的转速,把它与初始的设定速度值进行比较,得出系统中的给定信号和反馈信号的偏差精确值e和偏差的变化率精确值ec作为模糊系统的输入量。在实时控制时,将实测(转速检测信号与给定信号比较后的输出)的偏差、偏差变化率分别乘上相应的量化因子k1、k2,取整数后求出模糊量E、Ec,根据E及Ec值,查模糊控制决策表求出模糊量U,在查表法中,只需对输入量执行量化和查表这两个步骤,即可得到控制值,简单方便,有极好的实时性。再将所得U值乘上比例因子k3,得出基本的模糊控制量精确值u1。由速度的偏差进行比例和积分运算求出控制量 u2,所以复合控制器输出u=u1+u2,然后u经过电流调节器后送到电机驱动电路从而驱动风扇电机转动。The current speed of the motor can be measured through the code disc interface, and compared with the initial set speed value, the accurate value e of the deviation of the given signal and the feedback signal in the system and the exact value of the deviation rate of the deviation are obtained as fuzzy The amount of input to the system. In the real-time control, the deviation and the rate of change of the measured value (the output of the speed detection signal compared with the given signal) are multiplied by the corresponding quantization factors k1 and k2, and the integers are obtained to obtain the fuzzy quantities E and Ec. And the Ec value, the fuzzy control decision table is used to find the fuzzy quantity U. In the look-up table method, only the two steps of performing quantization and table lookup on the input quantity can obtain the control value, which is simple and convenient, and has excellent real-time. Sex. Then multiply the obtained U value by the scale factor k3 to obtain the basic fuzzy control quantity exact value u1. The proportional and integral operations are used to determine the control amount from the deviation of the velocity U2, so the composite controller outputs u=u1+u2, and then u passes through the current regulator and sends it to the motor drive circuit to drive the fan motor to rotate.
风扇板电机驱动电路主要是实现风扇电机的驱动,使其按要求实现一定速度的正转和反转。图9是根据本发明实施例的直流电机驱动电路图,搭建具体电路如图9所示,电机的驱动电路由两片驱动芯片IR2110和四片MOSFET IRF540组成。四片IRF540构成全桥驱动电路。其中,C24和C25为自举电容,D6和D11为自举二极管,C26和C27为滤波电容。当U4(IR2110)的HIN引脚为高电平时,且假定在Q1关断期间,自举电容C24已经充到了足够的电压(其电压近似等于+15V),引脚7(HO)和引脚6(VB)内部的绝缘栅极场效应管VM1导通,引脚7(HO)和引脚5(VS)之间的场效应管VM2关闭,VC24的电压加到Q1的门极和发射极之间,C24通过VM1,R23和Q1门极和栅极之间的电容Cgc1放电,Cgc1被充电,Q1导通,此时VC24可以等效为一个电压源。同时,U5(IR2110)的HIN引脚为低电平,引脚7(HO)和引脚5(VS)之间的场效应管VM2导通,引脚7(HO)和引脚6(VB)之间的场效应管VM1关闭,Q2的栅极电荷经R29,VM2迅速释放,Q2关断。而此时U5的LIN引脚为高电平,Q4导通,+15V经VD11,Q4给C25充电,迅速为C25补充能量。Q1和Q4同时导通,输出端电压使得电机实现正转,当Q2和Q3导通时,电机实现反转。合理的设置死区时间,避免了桥臂直通,发生短路,MOSFET被击穿。R24、R25、R26、R27为分压电阻,避免了因电路电流过大,MOSFET过热的问题。The fan board motor drive circuit is mainly to drive the fan motor to achieve forward and reverse rotation at a certain speed as required. FIG. 9 is a circuit diagram of a DC motor driving circuit according to an embodiment of the present invention. As shown in FIG. 9, the driving circuit of the motor is composed of two driving chips IR2110 and four MOSFETs IRF540. Four IRF540s form a full bridge drive circuit. Among them, C24 and C25 are bootstrap capacitors, D6 and D11 are bootstrap diodes, and C26 and C27 are filter capacitors. When the HIN pin of U4 (IR2110) is high, and it is assumed that during the Q1 turn-off period, the bootstrap capacitor C24 has been charged to a sufficient voltage (its voltage is approximately equal to +15V), pin 7 (HO) and pin The insulated gate FET VM1 inside 6 (VB) is turned on, the FET VM2 between pin 7 (HO) and pin 5 (VS) is turned off, and the voltage of VC24 is applied to the gate and emitter of Q1. Between, C24 discharges through capacitor Cgc1 between VM1, R23 and Q1 gate and gate, Cgc1 is charged, and Q1 is turned on. At this time, VC24 can be equivalent to a voltage source. At the same time, the HIN pin of U5 (IR2110) is low, the FET VM2 between pin 7 (HO) and pin 5 (VS) is turned on, pin 7 (HO) and pin 6 (VB) Between the FET VM1 is turned off, the gate charge of Q2 passes through R29, VM2 is quickly released, and Q2 is turned off. At this time, the LIN pin of U5 is high level, Q4 is turned on, +15V is charged by VD11, Q4 is charged to C25, and energy is quickly added to C25. Q1 and Q4 are simultaneously turned on, and the output voltage makes the motor achieve forward rotation. When Q2 and Q3 are turned on, the motor is reversed. Reasonable set dead time, avoiding the bridge arm through, short circuit, MOSFET is broken down. R24, R25, R26, and R27 are voltage divider resistors to avoid overheating of the MOSFET due to excessive circuit current.
下面对本可选实施例的主程序流程图进行具体描述,图10是根据本发明实施例的控制系统主程序流程图,如图10所示,处理流程包括以下步骤:控制器的主程序完成初始化,查看是否需要使能,如果使能则进入设置转速的程序,当转速设置完毕之后,则进行速度调节子程序,并实时显示风扇板电机转速。The main program flow chart of the optional embodiment is specifically described below. FIG. 10 is a flowchart of the main program of the control system according to the embodiment of the present invention. As shown in FIG. 10, the process flow includes the following steps: the main program of the controller completes initialization. Check to see if it needs to be enabled. If it is enabled, enter the program for setting the speed. When the speed is set, the speed adjustment subroutine is executed and the fan board motor speed is displayed in real time.
图11是根据本发明实施例的数字控制系统闭环控制流程图,其中速度调节子程序流程图,如图11所示,控制器初始化MCPWM QEI和端口,查看是否进行了速度设定,如果没有设定转速则先进行转速设定,如果已经完成了风扇转速的设定,则读取当前风扇电机转速,把设定值和风扇电机转速值送入复合模糊控制器中,通过对速度误差值的判断与调节,实现了风扇电机转速对初始速度设定值的跟踪,并最终产生PWM信号从而驱动风扇电机使其速度稳定在速度初始设定值。11 is a flow chart of a closed loop control of a digital control system according to an embodiment of the present invention, wherein a flowchart of a speed adjustment subroutine, as shown in FIG. 11, the controller initializes the MCPWM QEI and the port to check whether the speed setting is performed, if not set. The fixed speed is set first. If the fan speed setting has been completed, the current fan motor speed is read, and the set value and the fan motor speed value are sent to the composite fuzzy controller through the speed error value. Judgment and adjustment, the fan motor speed is tracked to the initial speed set value, and finally a PWM signal is generated to drive the fan motor to stabilize its speed at the initial speed setting.
综上所述,通过本发明解决了相关技术中不能对风扇板的转速进行灵活调整的问题,进而实现了对风扇板转速的灵活调整,提高了调整风扇板转速的效率。In summary, the present invention solves the problem that the rotational speed of the fan plate cannot be flexibly adjusted in the related art, thereby achieving flexible adjustment of the rotational speed of the fan plate and improving the efficiency of adjusting the rotational speed of the fan plate.
在另外一个实施例中,还提供了一种软件,该软件用于执行上述实施例及优选实施方式中描述的技术方案。In another embodiment, software is also provided for performing the technical solutions described in the above embodiments and preferred embodiments.
在另外一个实施例中,还提供了一种存储介质,该存储介质中存储有上述软件,该存储介质包括但不限于:光盘、软盘、硬盘、可擦写存储器等。 In another embodiment, a storage medium is further provided, wherein the software includes the above-mentioned software, including but not limited to: an optical disk, a floppy disk, a hard disk, an erasable memory, and the like.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。It will be apparent to those skilled in the art that the various modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein. The steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.
工业实用性Industrial applicability
本发明涉及通信领域,提供了一种风扇的转速调整方法、装置及风扇的转速调整系统,其中,该系统包括主控电路和风扇驱动电路,其中,主控电路,与风扇驱动电路耦合连接,用于根据风扇的当前转速与预定转速的差值产生调整风扇的转速的控制信号;风扇驱动电路,用于根据控制信号调整风扇的转速在预定转速的允许误差范围内。通过本发明解决了相关技术中不能对风扇板的转速进行灵活调整的问题,进而实现了对风扇板转速的灵活调整,提高了调整风扇板转速的效率。 The invention relates to the field of communication, and provides a method and device for adjusting the rotation speed of a fan and a rotation speed adjustment system of the fan, wherein the system comprises a main control circuit and a fan drive circuit, wherein the main control circuit is coupled with the fan drive circuit, And a control signal for adjusting a rotation speed of the fan according to a difference between a current rotation speed of the fan and a predetermined rotation speed; and a fan driving circuit configured to adjust the rotation speed of the fan according to the control signal within an allowable error range of the predetermined rotation speed. The invention solves the problem that the rotation speed of the fan board cannot be flexibly adjusted in the related art, thereby realizing the flexible adjustment of the rotation speed of the fan board and improving the efficiency of adjusting the rotation speed of the fan board.

Claims (10)

  1. 一种风扇的转速调整系统,包括:主控电路和风扇驱动电路,其中,A fan speed adjustment system includes: a main control circuit and a fan drive circuit, wherein
    所述主控电路,与所述风扇驱动电路耦合连接,用于根据风扇的当前转速与预定转速的差值产生调整所述风扇的转速的控制信号;The main control circuit is coupled to the fan driving circuit, and configured to generate a control signal for adjusting a rotation speed of the fan according to a difference between a current rotation speed of the fan and a predetermined rotation speed;
    所述风扇驱动电路,用于根据所述控制信号调整所述风扇的转速在所述预定转速的允许误差范围内。The fan driving circuit is configured to adjust a rotation speed of the fan according to the control signal within an allowable error range of the predetermined rotation speed.
  2. 根据权利要求1所述的系统,其中,所述主控电路包括:速度环控制电路和电流环控制电路,其中,The system of claim 1 wherein said master control circuit comprises: a speed loop control circuit and a current loop control circuit, wherein
    所述速度环控制电路,用于获取所述差值,并根据所述差值产生电流补偿信号;The speed loop control circuit is configured to acquire the difference and generate a current compensation signal according to the difference;
    所述电流环控制电路,用于获取流经所述风扇的电流值,并根据所述电流补偿信号和所述电流值生成所述控制信号。The current loop control circuit is configured to acquire a current value flowing through the fan, and generate the control signal according to the current compensation signal and the current value.
  3. 根据权利要求2所述的系统,其中,The system of claim 2 wherein
    所述速度环控制电路为复合模糊控制电路,该复合模糊控制电路用于将所述差值转换为模糊控制量,并将所述模糊控制量以所述电流补偿信号的形式输入至所述电流环控制电路。The speed loop control circuit is a composite fuzzy control circuit for converting the difference into a fuzzy control amount, and inputting the fuzzy control amount to the current in the form of the current compensation signal Loop control circuit.
  4. 根据权利要求3所述的系统,其中,所述复合模糊控制器包括:模糊控制器和线性控制器,其中,The system of claim 3, wherein the composite fuzzy controller comprises: a fuzzy controller and a linear controller, wherein
    所述模糊控制器,用于根据所述差值生成第一控制量;The fuzzy controller is configured to generate a first control amount according to the difference value;
    所述线性控制器,用于对所述差值进行线性运算,得到第二控制量;The linear controller is configured to perform a linear operation on the difference to obtain a second control amount;
    其中所述模糊控制量为所述第一控制量与所述第二控制量之和。The fuzzy control amount is a sum of the first control amount and the second control amount.
  5. 根据权利要求4所述的系统,其中,所述模糊控制器,用于根据所述差值得出预定信号和反馈信号的偏差精确值e和偏差的变化率精确值ec,其中,所述预定信号为所述预定转速对应的信号,所述反馈信号为所述当前转速对应的信号;以及将所述e和所述ec分别乘上相应的量化因子k1、k2,取整数后求出模糊量E、Ec;根据所述E和所述Ec,通过查表法获取模糊量U;将所得U值乘以比例因子k3,得到所述第一控制量。The system according to claim 4, wherein said fuzzy controller is configured to derive a deviation accurate value e of the predetermined signal and the feedback signal and a rate of change accurate value ec of the deviation based on said difference, wherein said predetermined signal For the signal corresponding to the predetermined rotational speed, the feedback signal is a signal corresponding to the current rotational speed; and multiplying the e and the ec by respective quantization factors k1 and k2, and taking an integer to obtain a fuzzy amount E And Ec; obtaining the blur quantity U by a look-up table method according to the E and the Ec; multiplying the obtained U value by the scale factor k3 to obtain the first control quantity.
  6. 根据权利要求1至5中任一项所述的系统,其中,还包括:A system according to any one of claims 1 to 5, further comprising:
    脉冲调制电路,分别与所述主控电路和所述风扇驱动电路连接,用于接收所述控制信号,并将根据所述控制信号生成的脉冲宽度调制PWM信号输出至所述风扇驱动电路。And a pulse modulation circuit respectively connected to the main control circuit and the fan drive circuit for receiving the control signal, and outputting a pulse width modulation PWM signal generated according to the control signal to the fan drive circuit.
  7. 一种风扇的转速调整方法,包括: A method for adjusting a rotational speed of a fan, comprising:
    获取风扇的当前转速;Get the current speed of the fan;
    比较所述当前转速与预定转速,得到所述当前转速与预定转速的差值;Comparing the current rotational speed with a predetermined rotational speed to obtain a difference between the current rotational speed and a predetermined rotational speed;
    根据所述差值调整所述风扇的转速在所述预定转速的允许误差范围内。Adjusting the rotation speed of the fan according to the difference is within an allowable error range of the predetermined rotation speed.
  8. 根据权利要求7所述的方法,其中,根据所述差值调整所述风扇的转速在所述预定转速的允许误差范围内包括:The method according to claim 7, wherein adjusting the rotation speed of the fan according to the difference within the allowable error range of the predetermined rotation speed comprises:
    根据所述差值和所述风扇的反馈电流值调整所述风扇的转速。Adjusting the rotational speed of the fan according to the difference and the feedback current value of the fan.
  9. 一种风扇的转速调整装置,包括:A fan speed adjusting device includes:
    获取模块,设置为获取风扇的当前转速;Obtaining a module, configured to obtain a current speed of the fan;
    比较模块,设置为比较所述当前转速与预定转速,得到所述当前转速与预定转速的差值;Comparing a module, configured to compare the current rotational speed with a predetermined rotational speed to obtain a difference between the current rotational speed and a predetermined rotational speed;
    调整模块,设置为根据所述差值调整所述风扇的转速在所述预定转速的允许误差范围内。And an adjustment module configured to adjust the rotation speed of the fan according to the difference within an allowable error range of the predetermined rotation speed.
  10. 根据权利要求9所述的装置,其中,所述调整模块还设置为根据所述差值和所述风扇的反馈电流值调整所述风扇的转速。 The apparatus of claim 9, wherein the adjustment module is further configured to adjust a rotational speed of the fan based on the difference and a feedback current value of the fan.
PCT/CN2015/086904 2014-11-19 2015-08-13 Rotation speed adjustment method, apparatus and system for fan WO2016078448A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410665599.0A CN105673540B (en) 2014-11-19 2014-11-19 The rotation speed regulating method of fan, the adjustment of rotational speed system of device and fan
CN201410665599.0 2014-11-19

Publications (1)

Publication Number Publication Date
WO2016078448A1 true WO2016078448A1 (en) 2016-05-26

Family

ID=56013248

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/086904 WO2016078448A1 (en) 2014-11-19 2015-08-13 Rotation speed adjustment method, apparatus and system for fan

Country Status (2)

Country Link
CN (1) CN105673540B (en)
WO (1) WO2016078448A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119308879A (en) * 2024-12-18 2025-01-14 浙江起霸风机科技有限公司 An intelligent centrifugal fan control system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108534491B (en) * 2018-06-15 2024-05-07 吉林大学 Transverse ventilation static bed grain dryer and control method thereof
CN108999806B (en) * 2018-08-02 2021-03-30 珠海格力电器股份有限公司 Fan and method and device for adjusting wind speed of fan
CN109236705A (en) * 2018-11-27 2019-01-18 英业达科技有限公司 Fan rotational frequency control method and its device
CN111140530B (en) * 2019-12-31 2021-11-12 苏州盛科通信股份有限公司 Method for realizing SoC fan control under bootloader and SoC applying same
CN111927811B (en) * 2020-07-30 2022-06-24 长沙景嘉微电子股份有限公司 Control method, device, terminal and medium for display card fan
CN112268405A (en) * 2020-10-23 2021-01-26 Tcl家用电器(合肥)有限公司 Control method and device of refrigeration fan, refrigeration equipment and storage medium
CN112564559A (en) * 2020-11-30 2021-03-26 苏州远科智能技术有限公司 Stepping motor driver based on fuzzy PID current loop control

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0518538A2 (en) * 1991-06-12 1992-12-16 RACAL HEALTH & SAFETY LIMITED Motor control system
DE4321286A1 (en) * 1992-07-02 1994-01-05 Vaillant Joh Gmbh & Co Closed loop digital regulator for electromotor - has two-point feed forward component added in to provide PWM control action
CN1421614A (en) * 2001-11-22 2003-06-04 旺玖科技股份有限公司 Fan speed control system
CN1925307A (en) * 2005-08-31 2007-03-07 三洋电机株式会社 Motor speed control integrated circuit
CN101285478A (en) * 2007-04-12 2008-10-15 鸿富锦精密工业(深圳)有限公司 Fan rotation speed control device and rotation speed control method
CN101471619A (en) * 2007-12-28 2009-07-01 台达电子工业股份有限公司 Motor driving circuit and motor driving method
US20140021901A1 (en) * 2012-07-17 2014-01-23 Anpec Electronics Corporation Driving circuit and method for fan

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203362566U (en) * 2013-05-23 2013-12-25 冼锡彬 Electric fan circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0518538A2 (en) * 1991-06-12 1992-12-16 RACAL HEALTH & SAFETY LIMITED Motor control system
DE4321286A1 (en) * 1992-07-02 1994-01-05 Vaillant Joh Gmbh & Co Closed loop digital regulator for electromotor - has two-point feed forward component added in to provide PWM control action
CN1421614A (en) * 2001-11-22 2003-06-04 旺玖科技股份有限公司 Fan speed control system
CN1925307A (en) * 2005-08-31 2007-03-07 三洋电机株式会社 Motor speed control integrated circuit
CN101285478A (en) * 2007-04-12 2008-10-15 鸿富锦精密工业(深圳)有限公司 Fan rotation speed control device and rotation speed control method
CN101471619A (en) * 2007-12-28 2009-07-01 台达电子工业股份有限公司 Motor driving circuit and motor driving method
US20140021901A1 (en) * 2012-07-17 2014-01-23 Anpec Electronics Corporation Driving circuit and method for fan

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119308879A (en) * 2024-12-18 2025-01-14 浙江起霸风机科技有限公司 An intelligent centrifugal fan control system

Also Published As

Publication number Publication date
CN105673540A (en) 2016-06-15
CN105673540B (en) 2018-07-17

Similar Documents

Publication Publication Date Title
WO2016078448A1 (en) Rotation speed adjustment method, apparatus and system for fan
KR101549283B1 (en) Parameter estimating apparatus for permanent magnet synchronous motor driving system
US10333439B2 (en) Methods of estimating a position of a rotor in a motor under transient and systems thereof
WO2021031685A1 (en) Control modulation method for high power direct drive permanent magnet synchronous motor
KR20140133782A (en) Optimized control for synchronous motors
CN102957366B (en) Permanent magnet synchronous motor control method and device and air conditioning equipment
KR20150000363A (en) Method and Apparatus for controlling torque of Permanent Magnet Synchronous Motor
US10800262B2 (en) Methods and systems for controlling a DC bus voltage from a three-phase voltage source
US10044310B2 (en) Methods of auto tuning machine parameters and systems thereof
US10389289B2 (en) Generating motor control reference signal with control voltage budget
US11874644B2 (en) Position or velocity control system and method
Karupusamy et al. Torque control-based induction motor speed control using Anticipating Power Impulse Technique
KR20140017764A (en) Method and apparatus for obtaining maximum possible magnetic flux in permanant magnet synchronous motor
US8847537B2 (en) Motor driving device for adjusting motor speed and setting the lowest rotating speed and the driving method thereof
US9188966B2 (en) Host controller generating position control gain
CN104300866B (en) Motor control method based on SVPWM
US9553539B2 (en) Methods of generating output variable voltage for electric drive devices and systems thereof
US11711039B2 (en) Motor drive apparatus
JP6776203B2 (en) DC / DC converter controller
CN106451451B (en) A kind of control method of active filter
Singh et al. An Improved Power Quality Based Sheppard–Taylor Converter Fed BLDC Motor Drive
Liu et al. Thermal stress reduction of quasi-Z source inverter drive by model predictive control
CN111543002B (en) Sensorless detection of load torque for stepper motors and apparatus and method for optimizing drive current for efficient operation
CN113258556A (en) Output voltage control method and system of self-synchronizing voltage source grid-connected device
KR101861986B1 (en) Apparatus for controlling inverter

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15861393

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15861393

Country of ref document: EP

Kind code of ref document: A1