A control system, method and device for a three-phase brushless DC motor

Through the outer rotor three-phase brushless DC motor and magnetic angle encoder detection technology, combined with PID control and brake unit auxiliary control, the problems of large size, instability and AC power dependence of the lifter in the existing technology are solved, and high efficiency is achieved. , portable lift drive system.

CN113014153BActive Publication Date: 2024-08-16SAIKAER BEIJING INDAL TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110186849.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-02-08
Publication Date
2024-08-16
Estimated Expiration
2041-02-08

AI Technical Summary

Technical Problem

The existing lifter requires AC power supply when driven by an AC asynchronous motor, which is inconvenient to use. The inner-rotor three-phase brushless DC motor is larger in size and weight and the control system is unstable, making it difficult to carry.

Method used

A three-phase brushless DC motor with an outer rotor is used to drive the lifter. The rotation speed is detected by a magnetic angle encoder and the PID control method is used to achieve speed closed-loop control, reducing power consumption and volume. At the same time, a braking unit is used to assist in controlling the inertia difference.

Benefits of technology

It achieves higher torque output in the same volume, reduces system instability, is easy to carry and install, and is suitable for environments without AC power supply, such as emergency rescue and field exploration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113014153B
    Figure CN113014153B
Patent Text Reader

Abstract

The present invention relates to automatic control technology, and discloses a control system, method, device and storage medium for a three-phase brushless DC motor for a lifter. The control system includes: a power conversion unit, an operating unit, a main control unit, a three-phase brushless DC motor, a motor drive unit, and a motor speed detection unit. The control system is powered by a DC power supply. The operating unit provides a motor control signal to the main control unit. The main control unit outputs a pulse control signal to the motor drive unit. The motor drive unit converts the pulse signal into a pulse signal, and adjusts the current of each phase winding of the three-phase brushless motor to control the rotation of the motor. The present invention adopts an outer rotor three-phase brushless DC motor, which reduces the volume and weight of the entire system and reduces the requirements for the motor processing technology; further, a contactless magnetic encoding chip is used to detect the motor speed, which improves the system operation stability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the field of automatic control, and in particular to a control system, method and device for a three-phase brushless DC motor used to drive a lifter. Background Art

[0002] When the three-phase brushless DC motor is an inner rotor DC motor, the rotor is set inside the stator, the stator is equipped with a three-phase armature winding, and the rotor is equipped with a rotor winding or a permanent magnet. The position of each phase of the stator armature winding relative to the rotor winding or permanent magnet is sensed by the position sensor on the stator through electronic or electromagnetic means, and its output signal is used to drive the corresponding power switch tube in the inverter circuit that supplies power to the armature winding according to a certain logic through the electronic commutation circuit, so that the armature winding is continuously energized in turn, forming a rotating magnetic field in the space between the stator and the rotor, and the rotating magnetic field pulls the rotor to rotate, thereby controlling the rotation of the motor.

[0003] At present, the application of lifters in the market is gradually increasing, and they are commonly used in the fields of personnel or equipment transportation, high-altitude equipment maintenance, field climbing, emergency rescue, etc. When the lifter is driven by an AC asynchronous motor, it must be powered by an AC power supply and can only be used in places where an AC power supply is provided. It is not portable, so it is not very inconvenient to use. When a lifter driven by a DC motor is used, an inner rotor three-phase brushless DC motor with a Hall sensor is generally used. When the inner rotor three-phase brushless DC motor is assembled, three Hall sensors are buried at corresponding angles inside it to detect the position of the motor rotor, which is used to generate the commutation signal and motor speed detection signal required to control the motor. The installation of the Hall sensor puts higher requirements on the processing technology of the three-phase brushless DC motor, and also brings some unstable factors to the motor control system. At the same time, the inner rotor three-phase brushless DC motor is also large in size and weight, so it is not convenient to carry. Summary of the invention

[0004] In order to overcome the above technical problems, the present application provides a control system, method, device and storage medium for a three-phase brushless DC motor for a lifter. The three-phase brushless DC motor is used to drive the lifter, which reduces the power consumption, weight and volume of the product on the basis of the same performance, and detects the speed of the motor, introduces the detected speed into the control system for closed-loop control, avoiding the system instability caused by the lack of speed feedback system.

[0005] The present application first provides a control system of a three-phase brushless DC motor, wherein the three-phase brushless DC motor is used to drive a lifter, wherein the three-phase brushless DC motor comprises a stator and a rotor, wherein the stator is arranged in the rotor, and a three-phase armature winding is arranged in the stator, and the control system comprises: an operating unit, a main control unit, a motor drive unit, and a motor speed detection unit; wherein:

[0006] The operating unit is used to receive an operating signal of the lifter, generate a motor control signal according to the operating signal, and send the motor control signal to the main control unit, wherein the motor control signal includes a motor speed control signal and a motor rotation direction control signal;

[0007] The motor speed detection unit is used to detect the speed of the rotor and feed back a speed detection signal to the main control unit;

[0008] The main control unit obtains a motor target speed according to the motor speed control signal, obtains a motor feedback speed according to the speed detection signal, obtains a motor speed change amount controlled according to the motor target speed and the motor feedback speed, determines a motor rotation direction according to the motor rotation direction control signal, generates a pulse control signal for controlling the three-phase brushless DC motor according to the motor rotation direction and the speed change amount, and sends the pulse control signal to the motor drive unit;

[0009] The motor drive unit converts the DC power supply into the three-phase AC power required for the three-phase armature winding to work according to the received pulse control signal, so that the three-phase brushless DC motor reaches the motor target speed.

[0010] On the one hand, the motor speed detection unit includes a magnetic angle encoder, the magnetic angle encoder includes a magnetic encoding chip and a detection magnetic pole, the detection magnetic pole is coaxially assembled with the rotor and rotates synchronously with the rotor, and the magnetic encoding chip senses the rotation change of the detection magnetic pole to generate the speed detection signal.

[0011] On the other hand, the motor drive unit includes: a pulse width modulation PWM control circuit, an inverter circuit, a back electromotive force detection circuit and a conversion circuit, wherein:

[0012] The inverter circuit includes 6 bridge circuits, each bridge circuit is provided with a power switch tube, and each power switch tube is correspondingly provided with a driving unit;

[0013] The back electromotive force detection circuit detects the three-phase back electromotive force corresponding to the three-phase armature winding of the three-phase brushless DC motor, and generates a three-phase back electromotive force signal to output to the conversion circuit;

[0014] The conversion circuit obtains 6 commutation signals according to the three-phase back electromotive force signals and sends them to the PWM control circuit;

[0015] The PWM control circuit generates 6 PWM chopping signals according to the pulse control signal and 6 commutation signals. Each PWM chopping signal is sent to a driving unit of one of the power switch tubes. The driving unit of each power switch tube controls the on time and off time of the power switch tube according to the received PWM chopping signal, so that the DC power supply is loaded on the three-phase armature winding in sequence to generate a three-phase AC current to drive the motor to rotate.

[0016] On the other hand, the motor speed control signal output by the operating unit is an analog voltage signal output by the operating unit in response to the operating mechanical action; the motor rotation direction control signal includes two digital signals, one of which is used to indicate that the motor rotation direction is clockwise, and the other digital signal is used to indicate that the motor rotation direction is counterclockwise.

[0017] On the other hand, the step of generating a pulse control signal for controlling the three-phase brushless DC motor according to the motor rotation direction and the speed change specifically includes:

[0018] Determine the pulse width according to the motor rotation direction and the speed change;

[0019] A pulse control signal for controlling the motor is generated according to the pulse width.

[0020] Furthermore, the main control unit adopts a PID proportional integral differential control method to determine the speed change Δno, and when the motor rotation direction control signal indicates that the three-phase brushless DC motor drives the elevator to rise:

[0021]

[0022] When the motor rotation direction control signal indicates that the three-phase brushless DC motor drives the elevator to descend:

[0023]

[0024] Where: ni represents the target speed, nc represents the motor feedback speed, kp represents the proportional coefficient, ki represents the integral time constant, kd1 and kd2 represent the differential time constants, and kd1>kd2, Ts is the lag or lead time parameter, and its absolute value is proportional to the ratio of the feedback signal sampling period Ta to the PID control adjustment period Tc.

[0025] Furthermore, the motor rotation direction includes clockwise rotation and counterclockwise rotation. When in one of the rotation directions, the pulse width range of the pulse control signal is a first range, and when in the other rotation direction, the pulse width range of the pulse control signal is a second range. The first range and the second range are different and have no overlap.

[0026] Furthermore, the operating unit is further used to send a motor control signal for instructing the motor to stop running according to the operation of stopping the elevator;

[0027] When the main control unit receives the motor control signal for instructing the motor to stop running, it generates a pulse control signal with a pulse width of a set width T0, and when the motor drive unit receives the pulse control signal with a pulse width of T0, it performs braking control on the three-phase brushless DC motor;

[0028] One of the first range and the second range is greater than or equal to Tmin and less than T0, and the other is greater than T0 and less than or equal to Tmax, and Tmin is greater than zero.

[0029] Determining the pulse width according to the motor rotation direction and the speed change specifically includes:

[0030] When the motor rotates in the first direction for driving the elevator to rise, the pulse width of the pulse control signal To=To=T0-ΔTo, ΔTo=Q1*Δno, where Q1 represents the ratio of the pulse width range of the motor pulse control signal to the speed range of the motor when rotating in the first direction;

[0031] When the motor rotates in the second direction for driving the elevator to rise, the pulse width of the pulse control signal To=To=T0+ΔTo, ΔTo=Q2*Δno, where Q2 represents the ratio of the pulse width range of the motor pulse control signal to the speed range of the motor when rotating in the second direction;

[0032] The first rotation direction is a clockwise rotation direction, and the second rotation direction is a counterclockwise rotation direction, or the first rotation direction is a counterclockwise rotation direction, and the second rotation direction is a clockwise rotation direction.

[0033] Furthermore, the control system may further include: a brake drive unit and a brake unit, wherein the brake drive unit responds to the brake control signal of the main control unit to control the action of the brake unit to brake or release the brake of the three-phase brushless DC motor; wherein:

[0034] The main control unit is also used to send a control signal to the brake drive unit to release the brake when the rotation direction of the three-phase brushless DC motor is the rotation direction of driving the elevator to rise and when the speed change Δno reaches a set value. The brake drive unit controls the brake unit to release the brake in response to the control signal to release the brake.

[0035] Furthermore, the control system may further include a temperature detection unit for detecting the temperature of the brushless DC motor during operation, and feeding back a temperature detection signal to the main control unit, wherein the main control unit performs temperature control on the three-phase brushless DC motor according to the fed-back temperature detection signal, wherein the temperature detection unit includes a full-bridge sampling circuit and an amplifier circuit, and the temperature detection signal sampled by the sampling circuit is amplified by the amplifier circuit and then transmitted to the main control unit, wherein:

[0036] The full-bridge sampling circuit includes a temperature sensor and three resistors, wherein the temperature sensor is installed on the stator, wherein the temperature sensor is a three-wire compensating temperature sensor, and the three-phase compensating sensor includes a temperature-sensitive resistor and three pins, wherein a temperature-sensitive resistor is connected between two pins, the transmission line resistances of the two pins are equal, and the third of the three pins is grounded.

[0037] The present application also provides a control method for the aforementioned control system, comprising the following steps:

[0038] Obtaining a motor target speed and a motor feedback speed of a three-phase brushless DC motor driving a lift;

[0039] The PID proportional integral differential control method is used to determine the speed change Δno. When the motor rotation direction control signal indicates that the three-phase brushless DC motor drives the elevator to rise:

[0040]

[0041] When the motor rotation direction control signal indicates that the three-phase brushless DC motor is driving the elevator to descend:

[0042]

[0043] Where: ni represents the target speed, nc represents the motor feedback speed, kp represents the proportional coefficient, ki represents the integral time constant, kd1 and kd2 represent the differential time constants, and kd1>kd2, Ts is the lag or lead time parameter, and its absolute value is proportional to the ratio of the feedback signal sampling period Ta to the PID control adjustment period Tc;

[0044] A pulse control signal for controlling the three-phase brushless DC motor is generated according to the motor rotation direction and the speed change, and the pulse control signal is sent to a motor drive unit of the three-phase brushless DC motor.

[0045] And provide a control device of the aforementioned control system, comprising:

[0046] An obtaining unit, used for obtaining a motor target speed and a motor feedback speed of a three-phase brushless DC motor driving the elevator;

[0047] The determination unit is used to determine the speed change Δno by using the PID proportional integral differential control method. When the motor rotation direction control signal indicates the working state that the three-phase brushless DC motor drives the elevator to rise:

[0048]

[0049] When the motor rotation direction control signal indicates that the three-phase brushless DC motor is driving the elevator to descend:

[0050]

[0051] Where: ni represents the target speed, nc represents the motor feedback speed, kp represents the proportional coefficient, ki represents the integral time constant, kd1 and kd2 represent the differential time constants, and kd1>kd2, Ts is the lag or lead time parameter, and its absolute value is proportional to the ratio of the feedback signal sampling period Ta to the PID control adjustment period Tc;

[0052] The sending unit is used to generate a pulse control signal for controlling the three-phase brushless DC motor according to the motor rotation direction and the speed change, and send the pulse control signal to the motor drive unit of the three-phase brushless DC motor.

[0053] An embodiment of the present application further provides a computer-readable storage medium, in which at least one computer program is stored. The computer program is loaded and executed by a processor to implement the operations performed by the aforementioned control methods.

[0054] This application takes into account the advantage of the outer rotor motor with greater torque under the same volume, and adopts an outer rotor brushless DC motor to drive the lifter. And in order to overcome the disadvantage of the outer rotor motor with large moment of inertia that the system is unstable during high-speed control, a motor speed detection unit suitable for the outer rotor is further adopted, such as a magnetic encoder to replace the Hall sensor to collect the motor rotation speed, thereby realizing the speed closed-loop control of the control system. Compared with the existing AC motor, the outer rotor three-phase brushless DC motor can use DC power as the working power supply and be powered by a battery. Therefore, it is very convenient to use in various scenarios, especially in emergency rescue, field exploration and other situations where there is no AC power supply. In addition, compared with AC motors and inner rotor brushless DC motors, outer rotor brushless DC motors have the characteristics of small size and large torque, which is convenient for installation and carrying.

[0055] Furthermore, in the embodiment of the present application, the motor speed change is determined by PID operation according to the indicated motor target speed and the detected motor feedback speed, and the motor speed is controlled according to the motor speed change. Considering the difference in the inertial direction when the elevator is rising and when it is descending, the strategy of strengthening the regulation intensity of the integral link and increasing the differential time constant is adopted in the ascending stage, thereby strengthening the differential regulation intensity, and the system performs lag compensation control. When the elevator is descending, the regulation intensity of the integral link is weakened, and the differential time constant is reduced, thereby reducing the differential regulation intensity, so that the system performs lead compensation control.

[0056] Furthermore, the embodiments of the present application take into account the different working conditions of the lifter when dragging the load up and down. When rising, the moment of inertia of the load is opposite to the moment of inertia of the motor rotor, and when descending, the moment of inertia of the load is consistent with the moment of inertia of the motor rotor. Since the moment of inertia of the motor with an outer rotor is large, different control schemes must be adopted when rising and descending with load. When rising with load, the brake unit is used for auxiliary control at startup. The motor is first accelerated, and the torque is gradually increased. When it reaches a certain torque, that is, when the speed change reaches a certain value, the brake is released, thereby ensuring that the motor has a certain torque when it starts, preventing the load from sliding down due to inertia. When descending with load, anti-torque control is used at startup. After the motor starts rapidly, the maximum reverse torque is given, and the brake is released at the same time, so that it can resist the rapid decline of the load when the brake is opened. Thereby offsetting the jitter caused by the moment of inertia of the motor's own rotor during descent, ensuring the stability of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 A principle block diagram of a control system for a three-phase brushless DC motor provided in an embodiment of the present application;

[0058] Figure 2 A functional diagram of a control system for a three-phase brushless DC motor provided in an embodiment of the present application;

[0059] Figure 3 A block diagram of power conversion in a control system provided in an embodiment of the present application;

[0060] Figure 4a This is an example diagram of the motor pulse control signal waveform in the embodiment of the present application;

[0061] Figure 4b This is an example diagram of a stop signal waveform in a motor pulse control signal in an embodiment of the present application;

[0062] Figure 4c This is an example diagram of a clockwise rotation signal waveform in a motor pulse control signal in an embodiment of the present application;

[0063] Figure 4dThis is an example diagram of the counterclockwise rotation signal waveform in the motor pulse control signal in the embodiment of the present application;

[0064] Figure 4e Schematic diagram of two pulse width ranges in different rotation directions in the motor pulse control signal in the embodiment of the present application;

[0065] Figure 5a Schematic diagram of the waveform of the motor back electromotive force voltage signal in the embodiment of the present application;

[0066] Figure 5b Schematic diagram of the commutation signal waveform in the embodiment of the present application;

[0067] Figure 5c Schematic diagram of the motor PWM control signal waveform in the embodiment of the present application;

[0068] Figure 6 This is a schematic diagram of the installation principle of the contactless magnetic encoding chip in the embodiment of the present application;

[0069] Figure 7a This is a schematic diagram of the speed feedback signal of the contactless magnetic encoding chip when phase A leads phase B in the embodiment of the present application;

[0070] Figure 7b This is a schematic diagram of the speed feedback signal of the contactless magnetic encoding chip when phase B leads phase A in the embodiment of the present application;

[0071] Figure 8 A specific example diagram of a motor temperature detection unit in an embodiment of the present application;

[0072] Fig. 9 is a functional block diagram of the control device in an embodiment of the present application. DETAILED DESCRIPTION

[0073] An embodiment of the present invention is described in detail below with reference to the accompanying drawings.

[0074] The stator of a common brushless DC motor is installed outside and the rotor is installed inside the stator, which is called an inner rotor structure. The motor rotor is made outside and the stator is set inside the rotor, which is called an outer rotor motor. In an outer rotor permanent magnet DC brushless motor, the permanent magnet is installed on the inner diameter of the rotor housing.

[0075] Outer rotor motors offer several performance advantages. First, to accommodate the stator, the rotor of an outer rotor motor must be larger than that of a conventional DC motor. A larger rotor means higher inertia, which helps suppress torque ripple and allows smooth operation at low speeds.

[0076] Another advantage of outer rotor motors is that they can usually produce higher torque than inner rotor motors of the same size. For a given motor diameter, the air gap area of ​​the outer rotor motor is larger than that of the inner rotor motor, and the larger air gap will produce higher torque and can accommodate more poles, increasing the magnetic flux, which increases the lever arm of torque generation. Therefore, with similar performance characteristics, the outer rotor motor is shorter in axial direction than the inner rotor motor, making the motor structure more compact and convenient to carry and install.

[0077] Most of the existing lifters use inner rotor brushless DC motors, mainly considering the following two points: first, the stator of the inner rotor brushless motor is outside, the frame is stable, the Hall sensor is installed on the stator, the positioning accuracy is high, and the feedback signal stability is good. The stator of the outer rotor motor is inside, which is not suitable for installing Hall sensors. The control system without sensor feedback cannot do speed closed loop, the stability is poor, the risk is increased, and the installation of other types of sensors increases the technical difficulty. Second, considering that the inner rotor motor has a low moment of inertia, it is easy to achieve stability in a high-speed control system (about 10,000 RPM); while the outer rotor motor has a large moment of inertia because its rotor is outside, and it is easy to produce jitter or speed instability in a high-speed control system, which increases the difficulty of control.

[0078] In view of the many advantages of the outer rotor brushless DC motor and the advantage of the outer rotor motor having a greater torque under the same volume, the present application adopts an outer rotor brushless DC motor to drive the lifter. In order to overcome the disadvantage of the outer rotor motor with a large moment of inertia that the system is unstable during high-speed control, a motor speed detection unit suitable for the outer rotor is further adopted, such as a magnetic encoder to replace the Hall sensor to collect the motor rotation speed, thereby realizing the speed closed-loop control of the control system. Compared with the existing AC motor, the outer rotor three-phase brushless DC motor can use DC power as the working power supply and be powered by a battery. Therefore, it is very convenient to use in various scenarios, especially in emergency rescue, field exploration and other situations where there is no AC power supply. In addition, compared with AC motors and inner rotor brushless DC motors, outer rotor brushless DC motors have the characteristics of small size and large torque, which is convenient for installation and carrying.

[0079] In order to form a closed-loop speed control, a motor speed detection unit is required to detect the speed of the rotor. The present application further considers the use of a magnetic angle encoder to perform contactless detection of the motor rotation position. The magnetic angle encoder includes a magnetic encoding chip and a matching detection pole. The detection pole is used to generate an external magnetic circuit, such as a magnet or magnetic ring made of a permanent magnet material. The detection pole is directly mounted at the end of the motor shaft, thereby eliminating the transition connection bearing (or coupling) required when using a traditional feedback encoder, and achieving contactless position measurement. This reduces the risk of encoder failure or even damage due to mechanical shaft vibration during motor operation, and helps to improve the stability of motor operation.

[0080] Encoding means that the angular displacement or angular velocity signal of the motor can be converted into an electrical pulse signal. The speed and rotation direction of the motor can be determined by detecting the pulse signal. Magnetic angle encoders use permanent magnets and corresponding sensing elements to determine position, angle and speed. Magnetic angle encoders are highly robust, durable and compact. Compared with photoelectric encoders, magnetic angle encoders have simple mechanical structures and higher environmental tolerance, and due to their compact size, they can be used in applications where installation space is very limited. In the application of magnetic angle encoders, the magnetic encoding chip usually consists of a disk, a sensing element and a corresponding signal processing circuit. The disk has been magnetized into multiple poles. The absolute position information is obtained by axial rotation of a detection pole above the sensing element. The sensing element used is usually an orthogonal dual-axis Hall effect chip or a magnetic sensor, such as a magnetoresistive element. When the disk rotates, the sensing element detects the change in the multi-pole magnetic flux uniformly arranged along the circumference of the rotating disk, and obtains an incremental pulse signal or an alternating flux signal, which is subsequently interpolated or subdivided by the signal processing circuit to obtain the required absolute resolution output.

[0081] Below we will explain the present application in detail with specific embodiments and in conjunction with the accompanying drawings.

[0082] See also Figure 1 , which is a schematic diagram of the control system structure of the three-phase brushless DC motor 100 proposed in this application, wherein the three-phase brushless DC motor 100 is used to drive the lifter, and the three-phase brushless DC motor 100 is an outer rotor DC motor, the stator is arranged inside the rotor, and the stator is installed with a three-phase armature winding. The control system mainly includes an operating unit 101, a motor speed detection unit 102, a main control unit 103 and a motor drive unit 104. It can also include a brake drive unit 105, a motor temperature detection unit, etc.

[0083] The operation unit 101 is used for the operator to control the lifter during the working process. The operation unit 101 can receive the operation signal of the operator for the lifter, generate a motor control signal according to the received operation signal, and send the motor control signal of the three-phase brushless DC motor 100 to the main control unit 103. The motor control signal includes at least one of a speed given signal and a direction given signal, that is, it can be a speed given signal of the lifter or a direction given signal of the lifter, or it includes a speed given signal and a direction given signal. The speed given signal is a motor speed control signal, and the direction given signal is a motor rotation direction control signal. The operation unit 101 is generally an operating handle of the lifter, and a mechanical structure is used to receive the mechanical operation signal of the operating handle, and an analog circuit is used to convert the mechanical operation signal into an analog electrical signal. For example, the speed given signal can be converted according to the pushing depth of the handle, and the direction given signal reflects whether the lifter is rising or falling, which can be determined by the operating direction of the handle, for example, pushing forward is rising, pushing downward is falling, and stopping pushing keeps the speed unchanged. During the operation of the elevator, the operating unit 101 generates corresponding motor control signals according to the changes of the operating signals and sends them to the main control unit 103. The main control unit 103 controls the brushless DC motor 100 driving the elevator according to the received motor control signals and feedback signals.

[0084] The motor speed detection unit 102 is used to detect the rotor speed of the three-phase brushless DC motor 100 during operation, and send a speed detection signal to the main control unit 103 for speed feedback;

[0085] The main control unit 102 obtains the motor target speed according to the motor control signal of the operating unit 101, obtains the motor feedback speed according to the speed detection signal of the motor speed detection unit 102, obtains the speed change of the motor control through PID operation according to the motor target speed and the motor feedback speed, and generates a pulse control signal according to the motor rotation direction and the speed change, and sends the pulse control signal to the motor drive unit 104; according to different scenarios, the pulse control signal can be used to control the motor speed, or control the rotation direction of the motor. For example, during the ascent or descent process, the motor speed is gradually increased according to the user's mechanical operation, so that the elevator gradually accelerates, and at this time, only the motor speed control signal needs to be changed. For another example, when descending from the highest point, the motor speed direction needs to be changed from ascending to descending.

[0086] The motor drive unit 104 converts the DC power supply into three-phase AC power required for the three-phase armature winding of the three-phase brushless DC motor 100 to work based on the PWM control principle according to the received pulse control signal.

[0087] The control system provided in the embodiment of the present application is used for an outer rotor three-phase brushless DC motor. Therefore, the speed detection unit 104 can adopt a contactless magnetic angle encoder, which includes a magnetic encoding chip and a detection pole, wherein the detection pole is coaxially assembled with the rotor and rotates synchronously with the rotor, and the magnetic encoding chip senses the rotation change of the detection pole to generate a speed detection signal.

[0088] The brake drive unit 105 is used to respond to the brake control signal of the main control unit 103 to control the brake unit (installed on the shaft of the three-phase brushless DC motor, not shown in the figure) to be energized or de-energized, thereby braking or releasing the brake of the three-phase brushless DC motor 100 through the brake unit.

[0089] The motor temperature detection unit 106 is used to detect the temperature of the three-phase brushless DC motor 100 during operation, and to feed back a temperature detection signal to the main control unit 103. The main control unit 103 performs temperature control on the three-phase brushless DC motor 100 according to the fed-back temperature detection signal. The temperature control includes heat dissipation control, speed reduction or stop control when overheating occurs, etc.

[0090] PID control algorithm is a proportional, integral and differential control algorithm, which can be used to control the operation of DC motor. In the operation process control of DC motor, PID controller which controls according to the proportion (P), integral (I) and differential (D) of deviation is the most widely used automatic controller. Based on PID control algorithm, the driving voltage of three-phase brushless DC motor is controlled according to the indicated speed value, so that the motor speed reaches the indicated speed value as quickly and smoothly as possible, and maintains this speed value. The speed variation calculated by PID is sent to motor drive unit 104 in the form of motor pulse control signal. Motor drive unit 104 generates 6-way PWM chopping signals of corresponding periodic sequence according to the received motor pulse control signal based on PWM (Pulse Width Modulation) principle, and changes the voltage value at both ends of the winding of driving three-phase brushless DC motor by controlling the duty cycle of the 6-way PWM chopping signal, thereby changing the current in the winding, so as to control the motor to rotate at a given speed and direction.

[0091] The working power supply of the three-phase brushless DC motor is direct current, which is converted into three-phase alternating current by the inverter circuit and output to the three-phase armature winding of the three-phase brushless DC motor. The PWM control principle is to use the motor pulse train with equal pulse width as the PWM waveform. Changing the period of the pulse train can achieve the purpose of frequency modulation, and changing the width or duty cycle of the pulse can achieve the purpose of voltage regulation. The speed control of the DC motor can be achieved using PWM technology. According to the indicated speed change, the period of the pulse train is changed, and then the duty cycle of PWM is adjusted to linearly change the voltage at both ends of the motor, thereby controlling the speed of the motor.

[0092] In the embodiment of the present application, the three-phase brushless DC motor is powered by a DC power supply, and the motor drive unit 104 includes an inverter circuit that converts DC power into three-wire AC power. The motor drive unit 104 generates 6 PWM chopping signals based on the PWM control principle, and controls the on-time and off-time of the 6 inverter bridge switches of the inverter circuit through the drive units of the power switch tubes of each bridge circuit, so that the output end of the inverter circuit obtains a series of voltage pulses with equal amplitudes, and these voltage pulses are used to replace the sine wave voltage or the required waveform voltage. In this way, according to the pulse sequence output by the main control unit 103, and according to certain rules, the width of each pulse is modulated, the size of the inverter circuit output voltage can be changed, and the output frequency can also be changed. Thereby, the DC power supply is converted into the three-phase AC power required for the three-phase armature winding of the stator to work, and the three-phase armature winding forms a rotating magnetic field after being energized. The rotating magnetic field exerts a torque on the permanent magnet in the rotor, pulling the rotor to rotate, thereby driving the lifter.

[0093] See also Figure 2 As shown in FIG. 1 , a specific example of a control system provided in an embodiment of the present application is provided. In conjunction with this specific example, the working principle of the control system of the present application is described in detail. Figure 2 As shown, the motor drive unit 103 mainly includes: a PWM control circuit, an inverter circuit and a commutation signal detection circuit, wherein the inverter circuit includes a bridge circuit formed by 6 power switch tubes Q1-Q6, each power switch tube Q is correspondingly provided with a drive unit, and the commutation signal detection circuit includes a back electromotive force detection circuit and a conversion circuit.

[0094] Figure 2 In the control system shown, the main functions of each unit include:

[0095] 1. Operation unit 201

[0096] The operating unit 201 sends a motor control signal to the main control unit 203 according to the received mechanical operation action. The motor control signal includes a motor speed control signal and a motor rotation direction control signal, wherein the motor speed control signal is an analog signal output in response to the mechanical operation action, and the operating unit 201 can convert the operator's mechanical operation into a voltage signal, i.e., the motor speed given signal Ui, and the motor rotation direction control signal is two digital signals, which respectively indicate the motor rotation direction with a high level, such as the motor rotation direction signals Dcw and Dccw, Dcw and Dccw are two digital signals, respectively used to indicate clockwise rotation and counterclockwise rotation, for example, when Dcw is at a high level, it indicates clockwise rotation, and when Dccw is at a high level, it indicates counterclockwise rotation. The two rotation directions of the motor correspond to the working states of the lifter rising and falling, respectively. For example, clockwise rotation corresponds to the lifter rising, and counterclockwise rotation corresponds to the lifter falling. Conversely, when counterclockwise rotation corresponds to the lifter falling, clockwise rotation corresponds to the lifter rising.

[0097] 2. Motor speed detection unit 202

[0098] The motor speed detection unit 202 detects the motor rotation signal through the magnetic angle encoder chip. The motor rotation signal includes two orthogonal pulse signals A and B and a zero position Z signal. The forward and reverse steering angles can be conveniently measured based on the three signals A, B, and Z.

[0099] 3. Main control unit 203

[0100] The main control unit 203 calculates the motor target speed ni according to the voltage signal Ui sent by the operating unit:

[0101] ni=k1*Ui

[0102] Among them, k1 is the proportional coefficient between the target speed and the analog voltage fed back by the main control unit, so that its highest voltage corresponds to the highest speed and the lowest voltage corresponds to the speed. k1 mainly depends on the ratio between the range of the feedback voltage of the main control unit and the preset speed range of the motor.

[0103] The main control unit 203 receives the three signals A, B, and Z, detects the phase interval time ts when the A and B signals alternately become high level through the orthogonal encoding interface, and calculates the motor feedback speed nc:

[0104] nc=k2(1 / ts)

[0105] Where ts can be the time interval ts1 when signal A leads signal B, or the time interval ts2 when signal B leads signal A. k2 is inversely proportional to the encoder subdivision. The smaller the subdivision, the larger the k2 value, and the higher the speed corresponding to the same time interval ts. ts1 can be found in Figure 7aAs shown, ts2 can be found in Figure 7b shown.

[0106] The main control unit 203 obtains the motor control speed change Δn through PID calculation according to the motor target speed ni and the motor feedback speed nc, and generates a control signal according to Δn and sends it to the motor drive unit. The PID calculates the speed change Δn:

[0107]

[0108] Kp, Ki, and kd are the three main parameters of PID control. Kp is the proportional coefficient, which indicates the influence of speed deviation on the control link regulation amount. If the Kp value is too large, it will cause unstable oscillation of the system. Ki represents the integral time constant, which is used to eliminate the steady-state error of the system and adjust the response speed. Kd represents the differential time constant, which reflects the changing trend of the speed error and is used to eliminate the static error.

[0109] Ts is the lag or lead time parameter of the PID control system, and its absolute value is proportional to the ratio of the feedback signal sampling period Ta to the PID control adjustment period Tc.

[0110]

[0111] For the control system, the adjustment period Tc of PID control must be greater than the sampling period Ta of the speed feedback signal, so as to ensure that at least one feedback signal is received in one adjustment period. Therefore, there is: <Ts<1。

[0112] In fact, the control system has inertia. After the output of the motor control signal changes, the feedback value will not change immediately and must wait for a period of time. Therefore, the speed of integration must match the inertia of the actual system.

[0113] When the motor rises with load, the inertia is relatively small (the inertia of the motor and the load are in opposite directions), the system signal feedback lags, and Ts takes a negative value. The regulation strength of the integral link is strengthened, and at the same time, the differential time constant is increased to strengthen the differential regulation strength. The system performs lag compensation control, and the corresponding PID formula is as follows.

[0114]

[0115] On the contrary, when the motor is loaded and descending, the inertia is relatively large (the inertia direction of the motor and the load is consistent), the system signal feedback is ahead, Ts takes a positive value, the regulation strength of the integral link is weakened, and the differential time constant is reduced at the same time, the differential regulation strength is reduced, and the system performs lead compensation control. The corresponding PID formula is as follows.

[0116]

[0117] Among them: kd1>kd2.

[0118] Therefore, before calculating the speed change Δn, the main control unit 203 determines the motor rotation direction of the three-phase brushless DC motor according to the motor rotation direction control signal. The motor rotation direction corresponds to different working states of the elevator. For example, the motor rotates clockwise to drive the elevator to rise, and the motor rotates counterclockwise to drive the elevator to descend. Of course, the motor can also rotate counterclockwise to drive the elevator to rise, and the motor rotates clockwise to drive the elevator to descend. When the motor rotation direction is the working state of driving the elevator to rise, when calculating the speed change, Ts is set to a negative value. When determining that the three-phase brushless DC motor is in the working state of driving the elevator to descend, when calculating the speed change, Ts is set to a positive value, and the value of kd is adjusted according to the motor rotation direction control signal, so that the kd value of the speed change calculated when the three-phase brushless DC motor drives the elevator to rise is greater than the kd value of the speed change calculated when the three-phase brushless DC motor drives the elevator to descend.

[0119] The embodiments of the present application take into account the different working conditions of the lifter when dragging the load up and down. When rising, the moment of inertia of the load is opposite to the moment of inertia of the motor rotor, and when descending, the moment of inertia of the load is consistent with the moment of inertia of the motor rotor. Due to the large moment of inertia of the motor with an outer rotor, different control schemes must be used when rising and descending with load. When rising with load, the brake unit is used for auxiliary control at startup. The motor is first accelerated, and the torque is gradually increased. Wait until it reaches a certain torque, and then release the brake to ensure that the load will not slide down due to inertia; in the speed closed-loop control, the integral link lags to adjust and compensate, and the differential link increases; when descending with load, anti-torque control is used at startup. After the motor starts rapidly, the maximum reverse torque is given, and the brake is released at the same time to ensure that it can resist the rapid decline of the load when the brake is opened; in the process of speed closed-loop control, the integral link is advanced to adjust and compensate, and the differential link is reduced at the same time to offset the jitter caused by the moment of inertia of the motor's own rotor during descent.

[0120] The main control unit 203 determines the pulse width of the motor pulse control signal according to the motor control speed change Δno, and further generates the motor pulse control signal To in combination with the motor rotation direction and sends it to the motor drive unit.

[0121] Motor pulse control signal such as Figure 4aAs shown, for example, it can be a pulse with a period of 20ms and a pulse width varying between 1.0-2.0ms. In order to distinguish the direction of motor rotation, different pulse width ranges can be set for clockwise rotation and counterclockwise rotation. The pulse width ranges corresponding to the clockwise rotation direction and the counterclockwise rotation direction are different and have no intersection. Moreover, within the two pulse width ranges, the pulse width can be positively correlated or negatively correlated with the speed change Δno. For example, if a specific pulse width T0 is used as the elevator stop signal, then with T0 as the boundary, a pulse width signal greater than or equal to Tmin but less than T0 indicates clockwise rotation, and a pulse width signal greater than T0 and less than or equal to Tmax indicates counterclockwise rotation, and vice versa. Specific examples are as follows:

[0122] like Figure 4b As shown, the pulse width T0 is equal to 1.5ms as the elevator stop signal. When the motor stops and the elevator remains stationary, the pulse width T1 = T0 = 1.5ms;

[0123] like Figure 4c As shown in the figure, when the motor rotates in the direction that drives the elevator to rise, Dcw is 1 (high level), and when the pulse width T1 changes between 1.0 and 1.5 ms, the pulse width and the speed are negatively correlated. The smaller the pulse width, the greater the speed. The 1.0 ms pulse width corresponds to the maximum speed of the motor when it rotates in this direction. Figure 4d As shown, when the motor rotates in the direction that drives the elevator down, Dccw is 1 (high level), and the pulse width T1 varies between 1.5 and 2.0 ms. The pulse width is positively correlated with the rotation speed. The larger the pulse width, the greater the rotation speed. The 2.0 ms pulse width corresponds to the maximum speed of the motor when it rotates in this direction. The direction of rotation of the motor driving the elevator up can be clockwise, and the direction of rotation of the motor driving the elevator down is counterclockwise. Conversely, when the direction of rotation of the motor driving the elevator up is counterclockwise, the direction of rotation of the motor driving the elevator up is clockwise. The maximum speeds of two different rotation directions can be the same or different.

[0124] Therefore, according to the speed given signal Δno, taking T0 as the reference, the pulse width change ΔTo = K3*Δno, where k3 represents the ratio of the pulse width range of the motor pulse control signal to its corresponding speed range, that is, 0.5ms (1.5ms-2.0ms or 1.5ms-1.0ms) / maximum motor speed.

[0125] When Dcw is 1 (high level), pulse width To = T0-ΔTo = (1.5-K3*Δno) ms;

[0126] When Dccw is 1 (high level), the pulse width To=T0+ΔTo=(1.5+K3*Δno)ms.

[0127] like Figure 4e As shown, from the above example, it can be known that the pulse width ranges indicating the clockwise rotation and counterclockwise rotation of the motor are two different pulse ranges. This application distinguishes them by the first range and the second range. The first range can be two completely independent ranges, or it can be bounded by a specific pulse width T0, one of which can be greater than or equal to Tmin and less than T0, and the other can be greater than T0 and less than or equal to Tmax, and Ta is greater than zero. The widths of the first range and the second range can be the same or different.

[0128] If T0 is used as the boundary, a pulse sequence with a width of T0 can be used to instruct the motor to stop running. For example, the pulse width is determined according to the motor rotation direction and the speed change, and the pulse width range of different rotation directions is determined. When the motor rotates clockwise, the pulse width of the pulse control signal To = T0-ΔTo, ΔTo = Q1*Δno, Q1 represents the ratio of the pulse width range of the motor pulse control signal to the speed range of the motor clockwise rotation; when the motor rotates counterclockwise, the pulse width of the pulse control signal To = T0+ΔTo, ΔTo = Q2*Δno, Q2 represents the ratio of the pulse width range of the motor pulse control signal to the speed range of the motor counterclockwise rotation. It should be noted that when the operator needs to stop the machine, the operating unit can send a Ui signal with an analog voltage value of 0 for indication. When the main control unit receives the Ui signal with a voltage value of 0, it generates a pulse control signal with a pulse width of T0.

[0129] When the main control unit 203 detects that Ui sent by the operating unit 201 is greater than 0V, and detects that any one of the motor rotation direction signals Dcw or Dccw is at a low level, the motor rotation direction is determined according to the level signal of Dcw or Dccw, and Δno and pulse width To are further determined, and then the motor pulse control signal is sent to the motor drive unit according to the motor rotation direction and pulse width To. And according to the rising or falling working conditions, the control signal of the brake unit is determined.

[0130] As shown above, the control signal of the brake drive unit 205 needs to consider the working conditions of the lifter when dragging the load up and down. If it is up, the load moment of inertia is opposite to the motor rotor moment of inertia. When it is down, the load moment of inertia is consistent with the motor rotor moment of inertia. When it is up, the brake unit auxiliary control is started by the drive unit 205, the brake unit is kept in the energized state, the three-phase brushless DC motor is braked, the position of the lifter is maintained, and then the three-phase brushless DC motor is controlled to accelerate, that is, the working voltage of the three-phase brushless DC motor is gradually increased to obtain a certain torque, and the voltage value is waited to reach the set value, that is, when the torque reaches a certain torque to overcome the load moment of inertia, the brake unit is released to prevent the lifter from slipping. In the specific control process, since the working voltage of the three-phase brushless DC motor is positively correlated with the speed change, the speed change can be used as a control parameter. When the speed change reaches the set value, a control signal for releasing the brake unit is sent to the brake drive unit 205. The brake drive unit 205 responds to the control signal for releasing the brake unit and controls the brake unit to release the brake. When the elevator descends with load, anti-torque control is used during startup. The three-phase brushless DC motor is quickly started and the operating voltage is increased to the maximum value to obtain the maximum reverse torque. At the same time, the brake unit is released, that is, a control signal to release the brake unit is sent to the brake drive unit 205. The brake drive unit 205 responds to the control signal to release the brake unit and controls the brake unit to release the brake, so as to ensure that the load can resist rapid sliding when the brake is opened.

[0131] 5. The PWM control circuit in the motor drive unit 204 controls the working voltage of the three-phase brushless DC motor according to the motor pulse control signal.

[0132] like Figure 5a As shown in FIG. 1 , the three-phase back electromotive force Ea, Eb, and Ec corresponding to the three-phase armature windings U, V, and W of the three-phase brushless DC motor are converted into digital phaseA, phaseB, and phaseC back electromotive force signals by the back electromotive force detection circuit, as shown in FIG. Figure 5b As shown, phaseA, phaseB, and phaseC are converted into 6 commutation signals Q1-Q6 through the conversion circuit and input into the PWM control circuit. The specific calculation method is well known to those skilled in the art and will not be described here.

[0133] When the PWM control circuit in the motor drive unit 204 receives the motor pulse control signal with a pulse width of To, it is also necessary to combine the 6-way commutation signals Q1-Q6 detected by the commutation signal detection circuit to convert the motor pulse control signal into a duty cycle D=K4*(To-1.5ms), where K4 represents the ratio of the adjustment range of the PWM duty cycle to the pulse width of the motor pulse control signal, and its value is (highest speed duty cycle-lowest speed duty cycle) / 0.5ms (i.e. 1.5ms-2.0ms or 1.5ms-1.0ms), and the 6-way PWM chopping signals PWM1-PWM6 with a frequency of f are as follows: Figure 5c The sequence is to control the conduction and shutdown of the Q1-Q6 power switch tubes through the driving units of each power switch tube, so that the DC power supply is sequentially loaded on the two ends of the three-phase armature winding within one cycle of electrical angle, generating current to drive the motor to rotate. The voltage value loaded on each phase winding of the motor Among them, Ub is the DC power supply voltage of the control system. The three-phase AC power output from each output terminal of the inverter circuit is loaded into each phase armature winding, and AC current is generated through each phase of the armature winding. The AC current forms a rotating magnetic field and drives the three-phase brushless DC motor to operate.

[0134] 6. When the operating unit 201 receives a stop operation signal, it sends a voltage speed setting signal with Ui of 0V to the main control unit 203. When the main control unit 203 receives the speed setting signal Ui of 0V from the operating unit 201, it sends a motor pulse control signal with a pulse width of 1.5ms to the motor drive unit 204 to stop the operation of the three-phase brushless DC motor, and at the same time sends a stop signal to the brake unit drive unit 205 to make the brake unit lose power and engage, thereby braking the three-phase brushless DC motor.

[0135] 7. Motor temperature detection unit 202.

[0136] A specific example of a motor temperature detection unit is shown in Figure 8 As shown, it includes a full-bridge sampling circuit and an amplification circuit, wherein the full-bridge sampling circuit is composed of a temperature sensor and three resistors. The temperature sensor can adopt a three-wire compensation temperature sensor. The three-phase compensation sensor includes a temperature-sensitive resistor and three pins, wherein a temperature-sensitive resistor is connected between two pins, the transmission line resistance of the two pins is equal, and the third pin of the three pins is grounded. A three-wire compensation temperature sensor is for example Figure 8The PT100 shown in the figure, the other three resistors include R92, R93 and RW4, RW4 is an adjustable resistor. The temperature sensor PT100 is installed on the stator. During the operation of the three-phase brushless DC motor, the temperature sensor PT100 changes with the change of temperature, and the resistance R also changes. The voltage output from the full-bridge sampling circuit to R94 and R95 changes, and after amplification by the amplifier circuit, it is output from the UT terminal and transmitted to the main control unit.

[0137] Among them, PT100 uses a three-wire compensatory temperature sensor. In order to avoid sampling errors caused by the length of the sensor line, the transmission line resistance values ​​of the two pins are equal, that is, the transmission line resistance values ​​of pins 1 and 2 are equal, that is, the transmission line resistance values ​​between pins 1 and 2 and the connection points of the full-bridge circuit are equal. If they are the same leads, the line lengths from pins 1 and 2 to the connection points of the bridge arms are equal, and pin 3 is grounded. It should be noted that the equal transmission line resistance values ​​here refer to being equal within a certain error range, or approximately equal.

[0138] The relationship between PT100 resistance and motor temperature can be expressed as: R = 0.3851T M +100, where 0.3851 is the proportionality factor, T M is the current motor temperature.

[0139] After the sampling circuit, the output voltage U of the two bridge arms is obtained. R =K T1 *(R-100)=0.3851K T1* T M , where K T 1 is the proportionality factor.

[0140] Since the signal obtained by the sampling circuit is relatively small, it needs to be amplified before being input to the main control unit. The amplifier circuit uses an AD623 single-power amplifier, and the amplification factor can be changed by adjusting the resistor R96. Figure 8 The amplification factor of the circuit shown is G=100K / R96+1=100K / 2K+1=51 times.

[0141] After being converted into U by the amplifier circuit T =K T2* U R= 0.3851K T1* G * T M After,U T Transmitted to the main control unit, where K T2 is the proportional coefficient. The main control unit is based on U T Convert to get the current temperature T M , when T MWhen the temperature is greater than the maximum motor operating temperature upper limit Tmax, the main control unit will immediately send a motor pulse control signal with a pulse width of 1.5ms to the motor drive unit to stop the motor movement, or further start the auxiliary heat dissipation device to enhance heat dissipation.

[0142] Since AD623 is a single-power amplifier, resistors R100 and R101 and U19C are used to generate a reference power supply of 1.65V and input it into the REF pin of AD623, raising the center value of the amplifier output UT to 1.65V, allowing UT to vary within the range of 0-3.3V with 1.65V as the center.

[0143] 8. When the main control unit 203 detects that the feedback speed nc exceeds the maximum allowable speed of the motor, the three-phase brushless DC motor is stopped immediately, and a stop signal is sent to the brake unit drive unit, so that the brake unit loses power and is attracted to brake the three-phase brushless DC motor.

[0144] 9. When the main control unit 203 detects that the rotation direction of the feedback speed nc is inconsistent with the motor rotation direction given by the operating unit, the three-phase brushless DC motor is stopped immediately and a stop signal is sent to the brake unit drive unit to de-energize the brake unit and brake the three-phase brushless DC motor.

[0145] In summary: Steps 1 to 6 are the process of starting, running and stopping the motor. At the same time, the system monitoring in 7, 8 and 9 is carried out in real time. Once over-temperature, over-speed and wrong rotation direction are detected, the three-phase brushless DC motor is stopped immediately and braked.

[0146] See also Figure 3 :The control system main power supply range is DC28-42V, for example, DC37V is used for power supply, and the working power of each unit in the control system is converted from the main power supply. One path of the main power supply directly supplies the motor drive unit, and the other path converts the DC / DC circuit into DC24 to supply the brake drive unit of the brake unit; the above DC24V is also divided into one path to convert into DC12V to supply the control circuit of the brake drive unit, and the other path is converted into DC5V to supply the operation unit and the motor speed detection unit; the above DC5V is converted into DC3.3V to supply the main control unit and the motor temperature detection unit.

[0147] The various numerical values ​​in the above examples are only exemplary. For example, the main control unit continuously sends a pulse signal with a period T of 20ms and a pulse width between 1.0 and 2.0ms to the motor drive unit to control the operation of the motor. When the pulse width is 1.5ms, the motor is in a stopped state; when the pulse width varies between 1.0 and 1.5ms, the motor can rotate clockwise, and the smaller the pulse width, the greater the speed. The 1.0ms pulse width corresponds to the maximum speed of the motor clockwise rotation; when the pulse width varies between 1.5 and 12.0ms, the motor can rotate counterclockwise, and the larger the pulse width, the greater the speed. The 2.0ms pulse width corresponds to the maximum speed of the motor counterclockwise rotation. When the motor rotates clockwise, it can drive the elevator up, and vice versa, when the motor rotates counterclockwise, it can drive the elevator down. Alternatively, when the motor rotates counterclockwise, it can drive the elevator up, and vice versa, when the motor rotates clockwise, it can drive the elevator down. This example does not limit the scope of protection of this application, and those skilled in the art can adjust each control parameter according to actual application.

[0148] See also Figure 6 As shown in the figure, it is a schematic diagram of the assembly of the magnetic angle encoder. The detection pole is coaxially installed at the tail end of the three-phase brushless DC motor. The detection pole rotates with the three-phase brushless DC motor. Figure 6 The magnetic encoding chip circuit is placed directly below the shown figure. The magnetic encoding chip can be powered by AM256, DC5V. During installation, the interval between the detection pole and the magnetic encoding chip is about 1-2ms. When the three-phase brushless DC motor rotates, the detection pole generates a rotating magnetic field, which triggers the magnetic encoding chip to generate DC5V square wave orthogonal pulse A phase and B phase signals. The amplitude of the A phase and B phase signals is 5V, and the phase difference is 90 degrees; when the A phase leads the B phase, it means that the three-phase brushless DC motor rotates clockwise, such as Figure 7a ; When phase B leads phase A, it means that the three-phase brushless DC motor rotates counterclockwise, such as Figure 7b The main control unit receives the A-phase and B-phase signals and times the phase difference ts1 or ts2 between the A-phase and B-phase signals to calculate the rotation speed of the three-phase brushless DC motor.

[0149] In a specific example, the MCU control chip of the main control unit can be selected as DSPIC33FJ128MC706A, DC3.3V power supply, and signal transmission with other DC5V control units through the level conversion chip 74ALVC164245DL. The three-phase brushless DC motor speed analog given signal and the three-phase brushless DC motor temperature feedback signal of the operating unit are respectively collected through the two AD peripheral interfaces of the chip. The three-phase brushless DC motor speed feedback A, B, and Z phase signals are collected through its orthogonal encoder interface, and the two three-phase brushless DC motor rotation direction signals of the operating unit are received through the ordinary I / O port, and the brake unit control signal is output. The motor control pulse of the three-phase brushless DC motor is output through the PWM peripheral channel. According to the given speed and the detected speed, the main control unit calculates and outputs the control pulse suitable for the pulse width, forming a closed-loop control system for the operation of the three-phase brushless DC motor. The main control unit also monitors in real time based on the feedback speed whether the rotation of the three-phase brushless DC motor exceeds the maximum speed of the three-phase brushless DC motor and whether the rotation direction of the three-phase brushless DC motor is correct. If overspeed or wrong direction is detected, or if it does not meet the given speed, the three-phase brushless DC motor will be stopped immediately to avoid serious consequences.

[0150] In summary, the present application provides a control system for a three-phase brushless DC motor driving an elevator, and provides a control method based on a PID algorithm. The control method mainly includes:

[0151] Obtaining a target speed and a motor feedback speed of a three-phase brushless DC motor driving a lift;

[0152] The PID proportional integral differential control method is used to determine the speed change Δno. When the motor rotation direction control signal indicates that the three-phase brushless DC motor is in the working state of driving the elevator to rise:

[0153]

[0154] When the motor rotation direction control signal indicates that the three-phase brushless DC motor is in the working state of driving the elevator to descend:

[0155]

[0156] Where: ni represents the target speed, nc represents the motor feedback speed, kp represents the proportional coefficient, ki represents the integral time constant, kd1 and kd2 represent the differential time constants, and kd1>kd2, Ts is the lag or lead time parameter, and its absolute value is proportional to the ratio of the feedback signal sampling period Ta to the PID control adjustment period Tc;

[0157] A pulse control signal for controlling the three-phase brushless DC motor is generated according to the motor rotation direction and the speed change, and the pulse control signal is sent to a motor drive unit of the three-phase brushless DC motor.

[0158] Based on the aforementioned control method, the embodiment of the present application also provides a control device of the aforementioned control system, such as Fig. 9 As shown, including:

[0159] An obtaining unit 901 is used to obtain a motor target speed and a motor feedback speed of a three-phase brushless DC motor driving the elevator;

[0160] The determination unit 902 is used to determine the speed change Δno by using a PID proportional integral differential control method. When the motor rotation direction control signal indicates that the three-phase brushless DC motor is in a clockwise rotation state to drive the elevator to rise:

[0161]

[0162] When the motor rotation direction control signal indicates that the three-phase brushless DC motor is in counterclockwise rotation to drive the elevator down:

[0163]

[0164] Where: ni represents the target speed, nc represents the motor feedback speed, kp represents the proportional coefficient, ki represents the integral time constant, kd1 and kd2 represent the differential time constants, and kd1>kd2, Ts is the lag or lead time parameter, and its absolute value is proportional to the ratio of the feedback signal sampling period Ta to the PID control adjustment period Tc;

[0165] The sending unit 903 is used to generate a pulse control signal for controlling the three-phase brushless DC motor according to the motor rotation direction and the speed change, and send the pulse control signal to the motor drive unit of the three-phase brushless DC motor.

[0166] The specific principles and implementation methods involved in each step in the aforementioned method and each unit in the control device are as described above and will not be repeated here.

[0167] This application takes into account the advantage of the outer rotor motor with greater torque under the same volume, and adopts an outer rotor brushless DC motor to drive the lifter. And in order to overcome the disadvantage of the outer rotor motor with large moment of inertia that the system is unstable during high-speed control, a motor speed detection unit suitable for the outer rotor is further adopted, such as a magnetic encoder to replace the Hall sensor to collect the motor rotation speed, thereby realizing the speed closed-loop control of the control system. Compared with the existing AC motor, the outer rotor three-phase brushless DC motor can use DC power as the working power supply and be powered by a battery. Therefore, it is very convenient to use in various scenarios, especially in emergency rescue, field exploration and other situations where there is no AC power supply. In addition, compared with AC motors and inner rotor brushless DC motors, outer rotor brushless DC motors have the characteristics of small size and large torque, which is convenient for installation and carrying.

[0168] Furthermore, in the embodiment of the present application, the motor speed change is determined by PID operation according to the indicated motor target speed and the detected motor feedback speed, and the motor speed is controlled according to the motor speed change. Considering the difference in the inertial direction when the elevator is rising and when it is descending, the strategy of strengthening the regulation intensity of the integral link and increasing the differential time constant is adopted in the ascending stage, thereby strengthening the differential regulation intensity, and the system performs lag compensation control. When the elevator is descending, the regulation intensity of the integral link is weakened, and the differential time constant is reduced, thereby reducing the differential regulation intensity, so that the system performs lead compensation control.

[0169] Furthermore, the embodiments of the present application take into account the different working conditions of the lifter when dragging the load up and down. When rising, the moment of inertia of the load is opposite to the moment of inertia of the motor rotor, and when descending, the moment of inertia of the load is consistent with the moment of inertia of the motor rotor. Since the moment of inertia of the motor with an outer rotor is large, different control schemes must be adopted when rising and descending with load. When rising with load, the brake unit is used for auxiliary control at startup. The motor is first accelerated, and the torque is gradually increased. When it reaches a certain torque, that is, when the speed change reaches a certain value, the brake is released, thereby ensuring that the motor has a certain torque when it starts, preventing the load from sliding down due to inertia. When descending with load, anti-torque control is used at startup. After the motor starts rapidly, the maximum reverse torque is given, and the brake is released at the same time, so that it can resist the rapid decline of the load when the brake is opened. Thereby offsetting the jitter caused by the moment of inertia of the motor's own rotor during descent, ensuring the stability of the system.

[0170] In an exemplary embodiment, a computer-readable storage medium is also provided, such as a memory including a computer program, and the computer program can be executed by a processor to complete the artificial intelligence-based video generation method in the above embodiment. For example, the computer-readable storage medium can be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), a magnetic tape, a floppy disk, and an optical data storage device.

[0171] In an exemplary embodiment, a computer program product or a computer program is also provided, which includes a computer program code, and the computer program code is stored in a computer-readable storage medium. A processor of a computer device, such as the aforementioned main control chip, can read the computer program code from the computer-readable storage medium and execute the computer program code to implement the control method provided in the above embodiment.

[0172] A person skilled in the art will understand that all or part of the steps for implementing the above embodiments may be accomplished by hardware, or by a computer program and hardware related to the computer program. The computer program may be stored in a computer-readable storage medium. The storage medium mentioned above may be a read-only memory, a disk or an optical disk, etc.

[0173] The above are only optional embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A control system for a three-phase brushless DC motor, wherein the three-phase brushless DC motor is used to drive a lifter. It is characterized in that The three-phase brushless DC motor includes a stator and a rotor, wherein the stator is arranged in the rotor, and a three-phase armature winding is arranged in the stator. The control system includes: an operation unit, a main control unit, a motor drive unit, and a motor speed detection unit; wherein: The operating unit is used to receive an operating signal of the lifter, generate a motor control signal according to the operating signal, and send the motor control signal to the main control unit, wherein the motor control signal includes a motor speed control signal and a motor rotation direction control signal; The motor speed detection unit is used to detect the speed of the rotor and feed back a speed detection signal to the main control unit; The main control unit obtains a motor target speed according to the motor speed control signal, obtains a motor feedback speed according to the speed detection signal, obtains a motor speed change amount controlled according to the motor target speed and the motor feedback speed, determines a motor rotation direction according to the motor rotation direction control signal, generates a pulse control signal for controlling the three-phase brushless DC motor according to the motor rotation direction and the speed change amount, and sends the pulse control signal to the motor drive unit; The motor drive unit converts the DC power supply into the three-phase AC power required for the operation of the three-phase armature winding according to the received pulse control signal, so that the three-phase brushless DC motor reaches the motor target speed; The step of generating a pulse control signal for controlling the three-phase brushless DC motor according to the motor rotation direction and the speed change specifically includes: Determine the pulse width according to the motor rotation direction and the speed change; generating a pulse control signal for controlling a motor according to the pulse width; The main control unit uses a PID proportional integral differential control method to determine the speed change Δno. When the motor rotation direction control signal indicates that the three-phase brushless DC motor drives the elevator to rise: When the motor rotation direction control signal indicates that the three-phase brushless DC motor drives the elevator to descend: Where: ni represents the target speed, nc represents the motor feedback speed, kp represents the proportional coefficient, ki represents the integral time constant, kd1 and kd2 represent the differential time constants, and kd1>kd2, Ts is the lag or lead time parameter, and its absolute value is proportional to the ratio of the feedback signal sampling period Ta to the PID control adjustment period Tc.

2. The control system according to claim 1, It is characterized in that The motor speed detection unit includes a magnetic angle encoder, which includes a magnetic encoding chip and a detection pole. The detection pole is coaxially assembled with the rotor and rotates synchronously with the rotor. The magnetic encoding chip senses the rotation change of the detection pole to generate the speed detection signal.

3. The control system according to claim 1, It is characterized in that The motor drive unit comprises: a pulse width modulation PWM control circuit, an inverter circuit, a back electromotive force detection circuit and a conversion circuit, wherein: The inverter circuit includes 6 bridge circuits, each bridge circuit is provided with a power switch tube, and each power switch tube is correspondingly provided with a driving unit; The back electromotive force detection circuit detects the three-phase back electromotive force corresponding to the three-phase armature winding of the three-phase brushless DC motor, and generates a three-phase back electromotive force signal to output to the conversion circuit; The conversion circuit obtains 6 commutation signals according to the three-phase back electromotive force signals and sends them to the PWM control circuit; The PWM control circuit generates 6 PWM chopping signals according to the pulse control signal and 6 commutation signals. Each PWM chopping signal is sent to a driving unit of one of the power switch tubes. The driving unit of each power switch tube controls the on time and off time of the power switch tube according to the received PWM chopping signal, so that the DC power supply is loaded on the three-phase armature winding in sequence to generate a three-phase AC current to drive the motor to rotate.

4. The control system according to claim 1, Features: The motor speed control signal includes an analog voltage signal output according to the operating mechanical action; the motor rotation direction control signal includes two digital signals, one of which is used to indicate that the motor rotation direction is clockwise, and the other digital signal is used to indicate that the motor rotation direction is counterclockwise.

5. The control system according to claim 1, It is characterized in that The motor rotation direction of the three-phase brushless DC motor is different when driving the elevator to rise and descend. In one rotation direction, the pulse width range of the pulse control signal is a first range, and in the other rotation direction, the pulse width range of the pulse control signal is a second range. The first range and the second range are different and do not overlap.

6. The control system according to claim 5, It is characterized in that The operating unit is also used to send a motor control signal for instructing the motor to stop running according to the operation of stopping the elevator; When the main control unit receives the motor control signal for instructing the motor to stop running, it generates a pulse control signal with a pulse width of a set width T0, and when the motor drive unit receives the pulse control signal with a pulse width of T0, it performs braking control on the three-phase brushless DC motor; One of the first range and the second range is greater than or equal to Tmin and less than T0, and the other is greater than T0 and less than or equal to Tmax, and Tmin is greater than zero.

7. The control system according to claim 6, It is characterized in that Determining the pulse width according to the motor rotation direction and the speed change specifically includes: When the motor rotates in the first direction for driving the elevator to rise, the pulse width of the pulse control signal To=To=T0-ΔTo, ΔTo=Q1*Δno, where Q1 represents the ratio of the pulse width range of the motor pulse control signal to the speed range of the motor when rotating in the first direction; When the motor rotates in the second direction for driving the elevator to rise, the pulse width of the pulse control signal To=To=T0+ΔTo, ΔTo=Q2*Δno, where Q2 represents the ratio of the pulse width range of the motor pulse control signal to the speed range of the motor when rotating in the second direction; The first rotation direction is a clockwise rotation direction, and the second rotation direction is a counterclockwise rotation direction, or the first rotation direction is a counterclockwise rotation direction, and the second rotation direction is a clockwise rotation direction.

8. The control system according to claim 1, It is characterized in that Also includes: A brake drive unit and a brake unit, wherein the brake drive unit responds to the brake control signal of the main control unit to control the action of the brake unit to brake or release the brake of the three-phase brushless DC motor; wherein: The main control unit is also used to send a control signal to the brake drive unit to release the brake when the rotation direction of the three-phase brushless DC motor is the rotation direction of driving the elevator to rise and when the speed change Δno reaches a set value. The brake drive unit controls the brake unit to release the brake in response to the control signal to release the brake.

9. The control system according to any one of claims 1 to 4, It is characterized in that It also includes a temperature detection unit, which is used to detect the temperature of the three-phase brushless DC motor during operation, and feed back a temperature detection signal to the main control unit, and the main control unit performs temperature control on the three-phase brushless DC motor according to the fed-back temperature detection signal, wherein the temperature detection unit includes a full-bridge sampling circuit and an amplifier circuit, and the temperature detection signal sampled by the sampling circuit is amplified by the amplifier circuit and then transmitted to the main control unit, wherein: The full-bridge sampling circuit includes a temperature sensor and three resistors, wherein the temperature sensor is installed on the stator, wherein the temperature sensor is a three-phase compensatory temperature sensor, wherein the three-phase compensatory sensor includes a temperature-sensitive resistor and three pins, wherein a temperature-sensitive resistor is connected between two pins, the transmission line resistances of the two pins are equal, and the third of the three pins is grounded.

10. A control method for the control system according to any one of claims 1 to 4, It is characterized in that The steps include: Obtaining a motor target speed and a motor feedback speed of a three-phase brushless DC motor driving a lift; The PID proportional integral differential control method is used to determine the speed change Δno. When the motor rotation direction control signal indicates that the three-phase brushless DC motor drives the elevator to rise: When the motor rotation direction control signal indicates that the three-phase brushless DC motor is driving the elevator to descend: Where: ni represents the target speed, nc represents the motor feedback speed, kp represents the proportional coefficient, ki represents the integral time constant, kd1 and kd2 represent the differential time constants, and kd1>kd2, Ts is the lag or lead time parameter, and its absolute value is proportional to the ratio of the feedback signal sampling period Ta to the PID control adjustment period Tc; A pulse control signal for controlling the three-phase brushless DC motor is generated according to the motor rotation direction and the speed change, and the pulse control signal is sent to a motor drive unit of the three-phase brushless DC motor.

11. The control method according to claim 10, It is characterized in that When the motor rotates clockwise, the pulse width range of the pulse control signal is a first range, and when the motor rotates counterclockwise, the pulse width range of the pulse control signal is a second range, and the first range and the second range are different and have no overlap.

12. The control method according to claim 11, It is characterized in that Also includes: When receiving a motor control signal for instructing the motor to stop running, a pulse control signal with a pulse width of a set width T0 is generated, and the pulse control signal with a pulse width of T0 is used to perform braking control on the three-phase brushless DC motor; One of the first range and the second range is greater than or equal to Tmin and less than T0, and the other is greater than T0 and less than or equal to Tmax, and Tmin is greater than zero.

13. The control method according to claim 12, It is characterized in that Determining the pulse width according to the motor rotation direction and the speed change specifically includes: When the motor rotates clockwise, the pulse width of the pulse control signal To=To=T0-ΔTo, ΔTo=Q1*Δno, where Q1 represents the ratio of the pulse width range of the motor pulse control signal to the speed range of the motor rotating clockwise; When the motor rotates counterclockwise, the pulse width of the pulse control signal To=To=T0+ΔTo, ΔTo=Q2*Δno, where Q2 represents the ratio of the pulse width range of the motor pulse control signal to the counterclockwise rotation speed range of the motor.

14. A control device for the control system according to any one of claims 1 to 4, It is characterized in that include: An obtaining unit, used for obtaining a motor target speed and a motor feedback speed of a three-phase brushless DC motor driving the elevator; The determination unit is used to determine the speed change Δno by using the PID proportional integral differential control method. When the motor rotation direction control signal indicates the working state that the three-phase brushless DC motor drives the elevator to rise: When the motor rotation direction control signal indicates that the three-phase brushless DC motor is in counterclockwise rotation to drive the elevator down: Where: ni represents the target speed, nc represents the motor feedback speed, kp represents the proportional coefficient, ki represents the integral time constant, kd1 and kd2 represent the differential time constants, and kd1>kd2, Ts is the lag or lead time parameter, and its absolute value is proportional to the ratio of the feedback signal sampling period Ta to the PID control adjustment period Tc; The sending unit is used to generate a pulse control signal for controlling the three-phase brushless DC motor according to the motor rotation direction and the speed change, and send the pulse control signal to the motor drive unit of the three-phase brushless DC motor.

15. A computer-readable storage medium, It is characterized in that At least one computer program is stored in the computer-readable storage medium, and the computer program is loaded and executed by the processor to implement the operations performed by the method according to any one of claims 10 to 14.