A brushless DC motor commutation control method, device and storage medium

By detecting the rotor position of BLDCM and updating the duty cycle and phase of the PWM drive signal, the problem that the PWM drive signal cannot control the BLDCM phase commutation in time is solved, and the timely and stable phase commutation of BLDCM is achieved, and the operation efficiency and reliability of the motor are improved. sex.

CN113615069BActive Publication Date: 2024-11-12GUANGDONG MIDEA WHITE HOME APPLIANCE TECH INNOVATION CENT CO LTD +1
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN201980094574.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-29
Publication Date
2024-11-12
Estimated Expiration
2039-07-29

AI Technical Summary

Technical Problem

In the prior art, the PWM drive signal cannot control the BLDCM to perform phase commutation in time, resulting in problems such as commutation delay, phase commutation unevenness and zero-crossing point disappearance of the back potential.

Method used

By detecting the rotor position of the BLDCM, determining the corresponding driving method, and updating the duty cycle and phase of the PWM drive signal, so that it takes effect immediately when commutation is required, ensuring the stability of the timely commutation and commutation period of the BLDCM.

Benefits of technology

The stability of the timely commutation and commutation period of BLDCM is achieved, and the commutation delay and the disappearance of the back potential zero crossing point is avoided, which improves the operating efficiency and reliability of the motor.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113615069B_ABST
    Figure CN113615069B_ABST
Patent Text Reader

Abstract

The embodiments of the present disclosure provide a brushless DC motor commutation control method, device and storage medium, wherein the method comprises: detecting the position of the rotor of the brushless DC motor, wherein the detection is further configured to be triggered by the commutation of the brushless DC motor; determining a first driving mode of the brushless DC motor corresponding to the detected rotor position, wherein the first driving mode represents the working mode of the three-phase full-bridge circuit of the brushless DC motor; updating a pulse width modulation (PWM) drive signal, wherein the update refers to the first driving mode; and controlling the commutation of the brushless DC motor using the updated PWM drive signal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of motor control technology, and in particular to a brushless direct current motor (BLDCM, Brush Less Direct Current Motor) commutation control method, device and storage medium. Background Art

[0002] High-speed miniaturized BLDCM is now finding more and more applications, especially in small power tools such as handheld vacuum cleaners.

[0003] like Figure 1 As shown, in the related art, a three-phase six-state pulse width modulation (PWM) drive signal is usually applied to a three-phase full-bridge circuit to control the on and off of corresponding bridge arm switching devices in the three-phase full-bridge circuit, thereby realizing the phase change control of BLDCM.

[0004] However, in actual application, there is a problem that the PWM driving signal cannot control the BLDCM to perform timely phase switching. Summary of the invention

[0005] In order to solve the related technical problems, the embodiments of the present disclosure provide a BLDCM commutation control method, device and storage medium, which can realize timely commutation of BLDCM.

[0006] The embodiment of the present disclosure provides a BLDCM commutation control method, including:

[0007] detecting a position of a rotor of the BLDCM, wherein the detecting is further configured to be triggered by commutation of the BLDCM;

[0008] Determining a first driving mode of the BLDCM corresponding to the detected position of the rotor, wherein the first driving mode represents an operating mode of a three-phase full-bridge circuit of the BLDCM;

[0009] Updating the PWM driving signal, wherein the updating refers to the first driving mode;

[0010] The BLDCM is controlled to perform commutation using the updated PWM drive signal.

[0011] In the above solution, the updating of the PWM driving signal, wherein the updating refers to the first driving mode, includes:

[0012] According to the first driving mode, updating the duty cycle of the PWM driving signal;

[0013] And update the phase of the PWM drive signal.

[0014] In the above solution, updating the duty cycle of the PWM drive signal according to the first drive mode includes:

[0015] Determine the operating voltage of each switch device in the three-phase full-bridge circuit by using the first driving mode;

[0016] The determined operating voltages of the switching devices are used to update the duty cycles of the PWM drive signals corresponding to the switching devices.

[0017] In the above solution, for each switch device in the three-phase full-bridge circuit, the duty cycle of the PWM drive signal is updated by updating the value of the first register corresponding to the duty cycle of the corresponding PWM drive signal.

[0018] In the above solution, updating the phase of the PWM drive signal includes:

[0019] The phase of the PWM drive signal is updated by updating the value of the second register corresponding to the PWM carrier signal.

[0020] In the above solution, updating the phase of the PWM drive signal by updating the value of the second register corresponding to the PWM carrier signal includes:

[0021] Setting the value of the second register to a specific value at the moment when it is determined that phase switching is required to obtain an updated carrier signal;

[0022] The phase of the PWM drive signal is updated using the updated carrier signal.

[0023] In the above scheme, the method further includes:

[0024] Obtaining a back electromotive force signal of the BLDCM;

[0025] Determining the back electromotive force zero-crossing time of the BLDCM according to the acquired back electromotive force signal;

[0026] At a first time period after the back electromotive force passes through a zero point, it is determined that the BLDCM needs to be commutated.

[0027] In the above solution, the determining of the first driving mode of the BLDCM corresponding to the detected position of the rotor includes:

[0028] Searching a first mapping table for a driving mode corresponding to the detected position of the rotor;

[0029] The found driving mode is used as the first driving mode.

[0030] In the above scheme, the PWM modulation mode of the PWM drive signal is H-PWM-L-ON, or H-ON-L-PWM, or ON-PWM, or PWM-ON.

[0031] The embodiment of the present disclosure also provides a BLDCM commutation control device, including:

[0032] a first determination unit configured to detect a position of a rotor of the BLDCM, wherein the detection is further configured to be triggered by commutation of the BLDCM;

[0033] a second determining unit configured to determine a first driving mode of the BLDCM corresponding to the detected position of the rotor, wherein the first driving mode represents a working mode of a three-phase full-bridge circuit of the BLDCM;

[0034] an updating unit, configured to update the PWM driving signal, wherein the updating refers to the first driving mode;

[0035] The control unit is configured to control the BLDCM to perform commutation using an updated PWM driving signal.

[0036] The embodiment of the present disclosure further provides a BLDCM commutation control device, the device comprising: a processor and a memory configured to store a computer program that can be run on the processor;

[0037] Wherein, when the processor is configured to run the computer program, any of the above method steps is implemented during execution.

[0038] The embodiment of the present disclosure further provides a storage medium having a computer program stored thereon, wherein the computer program implements the steps of any of the above-mentioned methods when executed by a processor.

[0039] The BLDCM commutation control method, device and storage medium provided by the embodiments of the present disclosure detect the position of the rotor of the BLDCM, wherein the detection is further configured to be triggered by the commutation of the BLDCM; determine the first driving mode of the BLDCM corresponding to the detected rotor position, wherein the first driving mode characterizes the working mode of the three-phase full-bridge circuit of the BLDCM; update the PWM drive signal, wherein the update refers to the first driving mode; and use the updated PWM drive signal to control the BLDCM to perform commutation. The solution provided by the embodiments of the present disclosure uses the first driving mode to update the PWM drive signal when the BLDCM needs to commutate, so that the commutation action can take effect immediately, thereby ensuring the timeliness of the BLDCM commutation and the stability of the commutation cycle. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] Figure 1 It is a schematic diagram of a three-phase full-bridge circuit driving of a BLDCM in the related art;

[0041] Figure 2a It is a schematic diagram of the H-PWM-L-ON modulation method in the related art;

[0042] Figure 2b It is a schematic diagram of H-ON-L-PWM modulation method in related technology;

[0043] Figure 2c It is a schematic diagram of ON-PWM modulation method in related technology;

[0044] Figure 2d It is a schematic diagram of the PWM-ON modulation method in the related art;

[0045] Figure 3 It is a schematic diagram of a carrier signal, an ideal commutation signal, an actual commutation signal and each phase driving signal in the related art;

[0046] Figure 4 This is a flow chart of a method for BLDCM commutation control according to an embodiment of the present disclosure;

[0047] Figure 5 This is a schematic diagram of the hardware system structure of the BLDCM application in the electronic device according to the application embodiment of the present disclosure;

[0048] Figure 6 This is a schematic diagram of the structure of a BLDCM commutation control system according to an application example of the present disclosure;

[0049] Figure 7 This is a schematic diagram of carrier commutation synchronization update, modulation wave signal, carrier signal, ideal commutation signal and each phase drive signal during the implementation of the BLDCM commutation control method of the application embodiment of the present disclosure;

[0050] Figure 8 A schematic diagram of a process of implementing phase switching in BLDCM according to an application embodiment of the present disclosure;

[0051] Fig. 9 It is a schematic diagram of the composition structure of the BLDCM commutation control device according to an embodiment of the present disclosure;

[0052] Fig.10 This is a schematic diagram of the hardware structure of the BLDCM commutation control device according to an embodiment of the present disclosure;

[0053] Fig.11a It is a schematic diagram of a carrier signal, an ideal commutation signal, an actual commutation signal, a terminal voltage, and a terminal current when the embodiment of the present disclosure is not used;

[0054] Fig.11bThe diagram is a schematic diagram of a carrier signal, an ideal commutation signal, an actual commutation signal, a terminal voltage, and a terminal current under the conditions of using the solution of an embodiment of the present disclosure. DETAILED DESCRIPTION

[0055] To make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the specific technical solution of the invention will be further described in detail below in conjunction with the drawings in the embodiments of the present disclosure. The following embodiments are used to illustrate the present disclosure, but are not used to limit the scope of the present disclosure.

[0056] In the embodiment of the present disclosure, the PWM modulation mode of the PWM drive signal is H-PWM-L-ON, or H-ON-L-PWM, or ON-PWM, or PWM-ON, etc., which are suitable for high-speed BLDCM modulation modes. Figure 2a , 2b 2c and 2d respectively show that the above H-PWM-L-ON, H-ON-L-PWM, ON-PWM and PWM-ON modulation modes correspond to Figure 1 The driving mode of the six switch devices S1-S6 in the three-phase full-bridge circuit is described below by taking the PWM modulation mode of H-PWM-L-ON as an example.

[0057] In the related art, the commutation technology of BLDCM will cause the problem that the PWM driving signal cannot control the BLDCM to perform timely commutation under high-speed conditions. The failure of BLDCM to commutate in time will further cause a series of negative phenomena, including: commutation delay, uneven commutation, disappearance of the zero crossing point of the back electromotive force, etc.

[0058] Here, the failure to change phase in time is reflected in Figure 3 In. Figure 3 As shown, the ideal commutation signal 302 may appear at any position of the PWM carrier signal 301, but the PWM drive signal can only be updated when the PWM carrier signal 301 is at a minimum value (such as zero) or a maximum value (such as a period value) (that is, only when the amplitude of the PWM carrier signal is at a minimum value or a maximum value, the state of the switch device corresponding to the PWM drive signal can be updated). Here, taking the PWM state update at zero point as an example, when the ideal commutation signal 302 appears, the PWM state cannot be updated in time until the carrier signal 301 appears at zero point. Therefore, the actual commutation signal 303 continues to lag behind the ideal commutation signal 302. 304, 305 and 306 show the drive signals of phases A, B and C respectively. The impact caused by the failure of BLDCM to commutate in time is as follows:

[0059] 1. Commutation delay

[0060] Since BLDCM cannot commutate in time, the commutation operation of BLDCM needs to be delayed to the zero point of the current carrier. At this time, the commutation of BLDCM will be delayed by a maximum of one PWM cycle. And as the speed of BLDCM increases, the carrier ratio (i.e. the ratio between the carrier frequency and the BLDCM operating frequency) becomes lower, and the proportion of the delay time (i.e. the ratio of the delay time to the carrier signal cycle) will increase. At this time, the current of BLDCM surges and the efficiency decreases.

[0061] 2. Uneven commutation

[0062] Since BLDCM cannot change phase in time, Figure 3 In the example, the actual commutation signal 303 period can only be an integer multiple of the carrier signal 301 period, while the ideal commutation signal 302 period is 2.7 times the carrier signal 301 period. Therefore, the actual commutation signal 303 period may have two PWM carrier periods (309 and 312) or three PWM periods (308, 310, 311 and 313), which causes uneven commutation. In addition, when the speed of the BLDCM increases, the actual PWM wave number of each sector decreases, and the phenomenon of uneven commutation becomes serious. At this time, the current oscillation of the BLDCM becomes larger and the noise becomes larger.

[0063] 3. Zero point disappearance

[0064] Since BLDCM cannot commutate in time, it causes BLDCM to have a short commutation period (e.g. Figure 3 309 and 312), at this time, the zero-crossing point disappearance phenomenon may occur (here, those skilled in the art can understand that: ideally, BLDCM performs phase switching at the moments of 0°, 60°, 120°, etc., and the zero-crossing point can be detected at the moments of 30°, 90°, 150°, etc.; assuming that the BLDCM phase switching and continuous flow time needs to occupy the time corresponding to the BLDCM rotating 20°, then when the BLDCM phases are switched at the moment of the 0° position, the continuous flow ends at the moment of the 20° position, and the zero-crossing point can be detected at the moment of the 30° position; and when the BLDCM phase switching delay occurs, such as the phase switching that should have occurred at the moment of the 0° position is delayed to the moment of the 15° position, then the continuous flow end time will occur at the moment of the 35° position (15°+20°=35°), at this time, the zero-crossing point at the moment of the 30° position will not be detected, that is, the zero-crossing point disappears), and even the position sensorless solution of the BLDCM becomes unstable.

[0065] Based on this, in various embodiments of the present disclosure, the position of the rotor of the BLDCM is detected, wherein the detection is further configured to be triggered by the BLDCM commutation; a first driving mode of the BLDCM corresponding to the detected rotor position is determined, wherein the first driving mode characterizes the working mode of the three-phase full-bridge circuit of the BLDCM; a PWM driving signal is updated, wherein the update refers to the first driving mode; and the BLDCM is controlled to perform commutation using the updated PWM driving signal, thereby achieving the most timely commutation.

[0066] The present disclosure provides a BLDCM commutation control method, such as Figure 4 As shown, the following steps are included:

[0067] S401: Detecting a position of a rotor of the BLDCM, wherein the detection is further configured to be triggered by commutation of the BLDCM.

[0068] In actual application, the rotor position of BLDCM is 0-360°, and each 60 degrees is divided into a sector, with a total of six sectors; among them: 0°~60° is sector I; 60°~120° is sector II; 120°~180° is sector III; 180°~240° is sector IV; 240°~300° is sector V; 300°~360°(0°) is sector VI.

[0069] Here, the detection is further configured to be triggered by the BLDCM commutation, which can be understood as determining that the BLDCM needs to commutate, and performing the corresponding detection action. The BLDCM needs to commutate when it refers to the ideal moment when the BLDCM needs to commutate, that is, the moment when the BLDCM rotor position is 60°, or 120°, or 180°, or 240°, or 300°, or 360° (0°). At this time, it is necessary to further detect the specific position of the rotor of the BLDCM to determine from which sector the BLDCM is commutating to which sector, such as when it is detected that it is 60°, 120°, 180°, 240°, 300°, or 360° (0°), it can be determined that the BLDCM needs to commutate. At this time, if it is further detected that the position of the BLDCM rotor is 60°, it can be determined that the BLDCM will commutate from sector I to sector II.

[0070] In actual application, the position of the rotor of the BLDCM can be obtained through sensorless technology, or it can be directly read through the rotor position sensor of the BLDCM (Hall sensor, photoelectric encoder, etc.).

[0071] Among them, in one embodiment, the specific method of obtaining the position of the rotor of the BLDCM by sensorless technology includes: obtaining the back electromotive force signal of the BLDCM; determining the back electromotive force zero-crossing time of the BLDCM according to the obtained back electromotive force signal; and determining that the BLDCM needs to change phase at a first time length after the back electromotive force zero-crossing time.

[0072] Here, the first time duration is the time taken for the position of the BLDCM rotor to change by 30°. Compared with the method of reading the rotor position sensor, obtaining the position of the BLDCM rotor through sensorless technology does not require additional sensors, reduces hardware costs and increases reliability to a certain extent.

[0073] S402: Determine a first driving mode of the BLDCM corresponding to the detected position of the rotor, wherein the first driving mode represents a working mode of a three-phase full-bridge circuit of the BLDCM.

[0074] Here, in actual application, the first driving mode can represent an ideal driving mode of the three-phase full-bridge circuit of the BLDCM (eg, Figure 2a The driving mode of the six switching devices S1-S6 in the three-phase full-bridge circuit corresponding to the H-PWM-L-ON modulation mode shown in FIG); it can also be an optimized driving mode of the three-phase full-bridge circuit of other BLDCM.

[0075] In actual application, after determining which sector to switch to, the first driving mode can be obtained by searching a mapping table pre-set in the program, or by other methods, which are not limited here.

[0076] In one embodiment, a specific method of obtaining the first driving mode by table lookup includes: searching a first mapping table for a driving mode corresponding to the detected position of the rotor; and using the found driving mode as the first driving mode.

[0077] Here, the first mapping table is a table that establishes a mapping relationship between the rotor position of the BLDCM and the corresponding first driving mode and is stored in advance.

[0078] S403: Update the PWM driving signal, wherein the updating refers to the first driving mode.

[0079] Here, the PWM drive signal refers to the PWM drive signal acting on the three-phase full-bridge circuit of the BLDCM. In practical applications, the six switching devices in the three-phase full-bridge circuit correspond to different PWM drive signals, that is, three-phase six-state PWM drive signals. The PWM drive signal of each switching device can control the working state of the corresponding switching device.

[0080] The PWM driving signal in the related art can only be updated when the amplitude of the PWM carrier signal is the minimum or maximum value, so there will be a phase change delay when the PWM driving signal in the related art is used. Here, the first driving mode is used to update the PWM signal, and the updated PWM driving signal can make the phase change action take effect immediately.

[0081] In the embodiment of the present disclosure, the updating of the PWM driving signal, wherein the updating refers to the first driving mode, includes:

[0082] According to the first driving mode, updating the duty cycle of the PWM driving signal;

[0083] And update the phase of the PWM drive signal.

[0084] Here, updating the phase of the PWM drive signal is performed at a certain moment when the brushless DC motor needs to be commutated.

[0085] In one embodiment, updating the duty cycle of the PWM drive signal according to the first drive mode includes:

[0086] Determine the operating voltage of each switch device in the three-phase full-bridge circuit by using the first driving mode;

[0087] The determined operating voltages of the switching devices are used to update the duty cycles of the PWM drive signals corresponding to the switching devices.

[0088] Here, in actual application, updating the PWM driving signal of the BLDCM is specifically achieved by updating the register in the software.

[0089] Based on this, in one embodiment, for each switch device in the three-phase full-bridge circuit, the duty cycle of the PWM drive signal is updated by updating the value of the first register corresponding to the duty cycle of the corresponding PWM drive signal.

[0090] In one embodiment, updating the phase of the PWM drive signal includes:

[0091] The phase of the PWM drive signal is updated by updating the value of the second register corresponding to the PWM carrier signal.

[0092] In one embodiment, updating the phase of the PWM drive signal by updating the value of the second register corresponding to the PWM carrier signal includes:

[0093] Setting the value of the second register to a specific value at the moment when it is determined that phase switching is required to obtain an updated carrier signal;

[0094] The phase of the PWM drive signal is updated using the updated carrier signal.

[0095] Here, the specific value is the maximum value or the minimum value of the second register.

[0096] S404: Using the updated PWM drive signal to control the BLDCM to perform phase switching.

[0097] Here, the updated PWM driving signal can control the working state (such as on or off) of the corresponding switching device to control the BLDCM to perform phase switching.

[0098] The embodiment of the present disclosure provides a BLDCM commutation control method, which detects the position of the rotor of the BLDCM, wherein the detection is further configured to be triggered by the commutation of the BLDCM; determines a first driving mode of the BLDCM corresponding to the detected rotor position, wherein the first driving mode characterizes the working mode of the three-phase full-bridge circuit of the BLDCM; updates a PWM drive signal, wherein the update refers to the first driving mode; and controls the BLDCM to perform commutation using the updated PWM drive signal. The solution provided by the embodiment of the present disclosure uses the first driving mode to update the PWM drive signal when the BLDCM needs to commutate, so that the commutation action can take effect immediately, thereby ensuring the timeliness of the BLDCM commutation and the stability of the commutation cycle.

[0099] In addition, the solution of the embodiment of the present disclosure does not require hardware improvement, and timely phase switching of BLDCM is achieved only through software, which does not increase hardware costs and is simple and convenient to implement.

[0100] The present disclosure is described in detail below with reference to specific application examples.

[0101] In the application embodiment, the BLDCM has six sectors and adopts Figure 5 The BLDCM shown is implemented by a hardware system in an electronic device. Figure 5 As shown, the system includes: a BLDCM 501 , a three-phase full-bridge circuit 502 , a DC bus capacitor 503 , a battery 504 , a PWM drive signal 505 , a microcontroller unit (MCU) 506 and a back electromotive force detection circuit 507 .

[0102] In actual application, the MCU 506 may also be a central processing unit (CPU). Here, the MCU 506 is responsible for sampling the BLDCM back-EMF signal and controlling the three-phase full-bridge circuit 502 to drive the BLDCM 501 through a driving signal.

[0103] In the application embodiment, the Figure 6 The BLDCM commutation control system shown in the figure is used to achieve this. Figure 6 As shown, the control system includes: BLDCM 501, a three-phase full-bridge circuit 502, a PWM module 603, a commutation logic 604, a timer 605, a back-EMF zero-crossing detection module 606 and an analog-to-digital converter (ADC) sampling module 607.

[0104] Among them, the back electromotive force signal of the BLDCM is sampled by the ADC sampling module 607, and then the zero-crossing position is continuously detected by the zero-crossing detection module 606. Once the zero-crossing is detected, the timer 605 is immediately started to delay 30° to trigger the commutation signal. When the commutation signal appears (equivalent to determining that the BLDCM needs to commutate), the duty cycle of the PWM drive signal in the PWM module 603 is updated by searching the commutation logic 604 (equivalent to the first mapping table), and the carrier signal amplitude in the PWM module 603 is triggered to update. The PWM module 603 obtains an updated PWM drive signal based on the updated duty cycle of the PWM drive signal and the carrier signal. The PWM drive signal acts on the three-phase full-bridge circuit 502, and finally enables the BLDCM 501 to achieve the purpose of timely commutation.

[0105] In the application embodiment, in order to enable the PWM drive signal to control the BLDCM to perform timely phase switching, it is necessary to first ensure that the driving mode represented by the PWM drive signal is correct, and then enable the PWM drive signal to control the BLDCM to perform phase switching at the correct time.

[0106] Here, the duty cycle of the PWM drive signal directly reflects the amplitude of the PWM drive signal, which is used to control the working mode of the switching device in the three-phase full-bridge circuit.

[0107] Regarding the implementation method of updating the duty cycle of the PWM drive signal, in actual application, it is necessary to set and store the commutation logic table (equivalent to the first mapping table) in the MCU 506 in advance. In the application embodiment of the present disclosure, the commutation logic table is shown in Table 1. The BLDCM rotor position is 0° to 360°, and each 60° is divided into a sector; in each sector, the driver needs to output the corresponding drive mode. Among them, in the drive mode in Table 1, A, B, and C respectively represent the A phase, B phase, and C phase of the BLDCM; + and - respectively represent the upper switch device and the lower switch device of each phase.

[0108] Rotor position 0°~60° 60°~120° 120°~180° 180°~240° 240°~300° 300°~360° Sector I II III IV V VI Drive mode A+B- A+C- B+C- B+A- C+A- C+B-

[0109] Table 1

[0110] Here, Figure 2aTake the H-PWM-L-ON modulation method as an example, Figure 2a There are three states of each switch device: PWM state (corresponding to Figure 2a Square wave part in S1, S3, S5), all-through state (corresponding to Figure 2a The square wave part of S2, S4, S6), the off state (corresponding to Figure 2a The three states here directly reflect the operating voltage acting on each switching device.

[0111] Here, Table 1, Figure 1 2 together with an example to illustrate a specific implementation method of updating the duty cycle of the PWM drive signal.

[0112] Example 1: Take the switching from sector VI to sector I as an example.

[0113] When BLDCM determines that commutation is required and detects that the position of the rotor of BLDCM is 0°, the driving mode corresponding to the position of the rotor of BLDCM being 0° is found from Table 1; the found driving mode A+B- is used as the first driving mode, that is, at this time, Figure 1 The upper switch device S1 of phase A and the lower switch device S4 of phase B are turned on, and the other four tubes S2, S3, S5, and S6 are not turned on; Figure 2a , the operating voltage of each switch device in the three-phase full-bridge circuit is obtained, that is, the upper switch device S1 of phase A is in PWM state, the lower switch device S4 of phase B is in full on state, and the other switch devices S2, S3, S5, S6 are in off state. At this time, M (such as a value between 0 and 1) is filled into the register corresponding to the upper switch device S1 of phase A; the maximum value (such as 1) is filled into the register corresponding to the lower switch device S4 of phase B; and the 4 registers corresponding to the other 4 switches S2, S3, S5, and S6 are all filled with the minimum value (such as 0).

[0114] Example 2: Take the example of switching from sector I to sector II.

[0115] When BLDCM determines that commutation is required and detects that the position of the rotor of BLDCM is 60°, the driving mode corresponding to the position of the rotor of BLDCM being 60° is found from Table 1; the found driving mode A+C- is used as the first driving mode, that is, at this time, Figure 1 The upper switch device S1 of phase A and the lower switch device S6 of phase C are turned on, and the other four tubes S2, S3, S4, and S5 are not turned on; Figure 2a, the operating voltage of each switch device in the three-phase full-bridge circuit is obtained, that is, the upper switch device S1 of phase A is in PWM state, the lower switch device S6 of phase C is in full on state, and the other switch devices S2, S3, S4, S5 are in off state. At this time, M (such as a value between 0 and 1) is loaded into the register corresponding to the upper switch device S1 of phase A; the maximum value (such as 1) is loaded into the register corresponding to the lower switch device S6 of phase C; and the minimum value (such as 0) is loaded into the register corresponding to the other four tubes S2, S3, S4, S5.

[0116] It should be noted that, in the process of implementing the digital PWM technology, the duty cycle of the PWM drive signal corresponding to each switching device is converted into the operating voltage of each switching device through a series of conversion calculations in the processor.

[0117] The register corresponding to each switching device in Example 1 and Example 2 is the first register, where the duty cycle of the PWM drive signal is updated.

[0118] Regarding the implementation method of updating the phase of the PWM drive signal, in actual application, it is necessary to set the initialization configuration of the PWM module 602 in the MCU 506 in advance. The main function of the PWM module 602 is to generate a PWM drive signal according to the PWM modulation wave signal (here, the duty cycle of the PWM modulation wave signal and the PWM drive signal are the same concept) and the PWM carrier signal. In the application embodiment of the present disclosure, the following settings are made in the initialization configuration of the PWM module 602:

[0119] 1. The carrier in the carrier signal adopts a monotonically increasing wave (e.g., a sawtooth wave);

[0120] 2. At the zero point of the carrier signal, the PWM drive signal starts to output a high level;

[0121] 3. When the carrier signal is equal to the modulation wave signal, the PWM drive signal starts to output a low level;

[0122] 4. Update the value of the first register of each switching device at the carrier zero point (ie, update the state of each switching device, PWM state, full-on state, or off state).

[0123] Figure 7 A schematic diagram of carrier commutation synchronization update is given. It includes carrier commutation synchronization update signal 701, PWM modulation wave signal 702, PWM carrier signal 703, ideal commutation signal 704, A phase drive signal 705, B phase drive signal 706 and C phase drive signal 707. Figure 7 In the embodiment, according to the above-mentioned PWM module 602 initialization configuration rule, a PWM driving signal is generated by 702 PWM modulation wave signal and 703 PWM carrier signal.

[0124] Here, when it is determined that BLDCM needs to change phase, that is, when the ideal phase change signal 704 appears, the carrier phase change synchronization signal 701 is synchronously generated to force the update of the amplitude of the PWM carrier signal 703. Here, the forced update of the amplitude of the PWM carrier signal 703 can be achieved by forcibly setting the value of the register corresponding to the PWM carrier signal. In specific implementation, the value of the register corresponding to the PWM carrier signal can be set to a specific value at the moment when it is determined that the phase change is required. The specific value here is the maximum value (such as the cycle value) or the minimum value (such as zero). In this application embodiment, the value of the register corresponding to the PWM carrier signal is set to zero. Since the state of each switching device is updated at the zero point of the PWM carrier signal 703, the phase of the PWM drive signal will change immediately after the amplitude of the PWM carrier signal 703 is forced to be synchronously updated. In this way, the problem of the carrier signal and the phase change signal being out of sync is eliminated.

[0125] It should be noted that in the implementation process of digital PWM technology, the register corresponding to the PWM carrier signal is implemented in the form of a counter, that is, the PWM carrier signal counts from 0 to the cycle value in sequence according to a preset cycle, and after reaching the cycle value, it starts counting from 0 to the cycle value again, and so on, in a reciprocating cycle. In this application embodiment, the value of the register corresponding to the PWM carrier signal is directly set to 0 when it is determined that the phase change is required, and then counts from 0 to the cycle value, and then reciprocates, which is shown in Figure 7 In the PWM carrier signal 703, after two large sawtooth waves, when the value in the register is forced to be set to zero, a small sawtooth wave appears.

[0126] The register corresponding to the PWM carrier signal corresponding to each switching device is the second register, where the phase of the PWM drive signal is updated.

[0127] Figure 8 This is a flow chart of the process of implementing phase switching in BLDCM of this application embodiment, as shown in FIG. Figure 8 As shown, the process includes:

[0128] (1) Detect the commutation signal and enter the interruption;

[0129] Here, when the commutation signal is detected, it is determined that the BLDCM needs to commutate, and the position of the rotor is also determined at the same time.

[0130] (2) Search the commutation logic table;

[0131] The corresponding first driving mode is searched in the commutation logic table according to the determined rotor position.

[0132] (3) Fill the duty cycle register of the PWM signal;

[0133] Here, according to the determined first driving mode, the operating voltage of each switching device in the three-phase full-bridge circuit is determined, and the operating voltage of each switching device is used to fill the corresponding modulation wave amplitude of each switching device (as mentioned before, the modulation wave amplitude and the PWM duty cycle here are the same concept).

[0134] (4) Fill in the PWM carrier signal register;

[0135] Here, the value of the register of the PWM carrier signal corresponding to each switching device is set to 0 at the moment when it is determined that phase switching is required. Here, when the PWM carrier signal is at the minimum value, the phase of the PWM drive signal is updated immediately (that is, the state of each switching device is updated immediately). At the same time, an updated PWM drive signal is obtained.

[0136] (5) Execute commutation;

[0137] The commutation operation is performed according to the updated PWM driving signal.

[0138] (6) Exit interrupt.

[0139] Repeating the above steps (1)-(6) can achieve timely phase switching of BLDCM.

[0140] It can be seen from the above description that in the embodiment of the present disclosure, when the BLDCM needs to change phase, under the premise of ensuring the correct driving mode, the amplitude of the PWM carrier signal is forcibly set to the minimum value, so that the state of the PWM drive signal is updated immediately, so that the BLDCM can achieve timely phase change, thereby ensuring the timeliness of the BLDCM phase change and the stability of the phase change cycle, breaking through the limitations brought by the inherent update mechanism of PWM.

[0141] On the other hand, Fig.11a and Fig.11b As shown, under the conditions of the scheme of the embodiment of the present disclosure, the actual commutation signal waveform is closer to the ideal commutation signal, the zero-crossing point disappears in the detection process of the terminal voltage, and the oscillation amplitude of the terminal current is smaller. In other words, the embodiment of the present disclosure ensures the stability of the commutation cycle so that the freewheeling tube has a relatively stable freewheeling end time when the PWM state changes, thereby ensuring the possibility of zero-crossing point detection, and at the same time alleviates the problems of BLDCM current oscillation, reduced work efficiency, increased noise, and instability in the control of BLDCM.

[0142] In order to implement the method of the embodiment of the present disclosure, the embodiment of the present disclosure also provides a BLDCM commutation control device, Fig. 9 Schematic diagram of the structure of the device according to the embodiment of the present disclosure. Fig. 9 As shown, the device 900 includes: a first determining unit 901, a second determining unit 902, an updating unit 903 and a control unit 904, wherein:

[0143] A first determination unit 901 is configured to detect a position of a rotor of the BLDCM, wherein the detection is further configured to be triggered by commutation of the BLDCM;

[0144] A second determining unit 902 is configured to determine a first driving mode of the BLDCM corresponding to the detected position of the rotor, wherein the first driving mode represents a working mode of a three-phase full-bridge circuit of the BLDCM;

[0145] An updating unit 903, configured to update the PWM driving signal based on the determined first driving mode;

[0146] The control unit 904 is configured to control the BLDCM to perform commutation using the updated PWM driving signal.

[0147] In one embodiment, the updating unit 903 includes a first updating module and a second updating module; wherein:

[0148] The first updating module is configured to update the duty cycle of the PWM driving signal according to the first driving mode;

[0149] The second updating module is configured to update the phase of the PWM driving signal.

[0150] In one embodiment, the first updating module is configured to determine the operating voltage of each switch device in the three-phase full-bridge circuit by using the first driving mode;

[0151] The determined operating voltages of the switching devices are used to update the duty cycles of the PWM drive signals corresponding to the switching devices.

[0152] In one embodiment, the first updating module is configured to update the duty cycle of the PWM driving signal for each switching device in the three-phase full-bridge circuit by updating the value of the first register corresponding to the duty cycle of the corresponding PWM driving signal.

[0153] In one embodiment, the second updating module is configured to update the phase of the PWM driving signal by updating the value of the second register corresponding to the PWM carrier signal.

[0154] In one embodiment, the second updating module is configured to set the value of the second register to a specific value at the moment when it is determined that phase switching is required, so as to obtain an updated carrier signal;

[0155] The phase of the PWM drive signal is updated using the updated carrier signal.

[0156] In one embodiment, the first determination unit 901 is configured to obtain a back electromotive force signal of the BLDCM; determine a back electromotive force zero-crossing time of the BLDCM according to the obtained back electromotive force signal; and determine that the BLDCM needs to be switched when a first time period has passed after the back electromotive force zero-crossing time.

[0157] In one embodiment, the second determination unit 902 is configured to search the first mapping table for a driving mode corresponding to the detected rotor position;

[0158] The found driving mode is used as the first driving mode.

[0159] In one embodiment, the PWM modulation mode of the PWM driving signal is H-PWM-L-ON, or H-ON-L-PWM, or ON-PWM, or PWM-ON.

[0160] In actual application, the first determining unit 901, the second determining unit 902, the updating unit 903 and the control unit 904 can be implemented by a processor in the BLDCM commutation control device.

[0161] It should be noted that: the BLDCM commutation control device provided in the above embodiment only uses the division of the above program modules as an example when performing BLDCM commutation control. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the BLDCM commutation control device provided in the above embodiment and the BLDCM commutation control method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0162] Based on the hardware implementation of the above program module, and in order to implement the method of the embodiment of the present disclosure, the embodiment of the present disclosure provides a BLDC back electromotive force zero-crossing threshold determination device, such as Fig.10 As shown, the apparatus 1000 comprises: a processor 1001 and a memory 1002 configured to store a computer program that can be run on the processor, wherein:

[0163] The processor 1001 is configured to execute the method provided by one or more of the above technical solutions when running the computer program.

[0164] In practical application, such as Fig.10As shown, the various components in the device 1000 are coupled together via a bus system 1003. It is understood that the bus system 1003 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1003 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.10 Various buses are labeled as bus system 1003.

[0165] In an exemplary embodiment, the embodiment of the present disclosure further provides a storage medium, which is a computer-readable storage medium, such as a memory 1002 including a computer program, and the computer program can be executed by the processor 1001 of the BLDC back electromotive force zero-crossing threshold determination device 1000 to complete the steps of the aforementioned method. The computer-readable storage medium can be a magnetic random access memory (FRAM, ferromagnetic random access memory), a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory), an electrically erasable programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), a flash memory (Flash Memory), a magnetic surface memory, an optical disk, or a read-only optical disk (CD-ROM, Compact Disc Read-Only Memory) and other memories.

[0166] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0167] In addition, the technical solutions described in the embodiments of the present disclosure may be arbitrarily combined without conflict.

[0168] The above description is only a preferred embodiment of the present disclosure and is not intended to limit the protection scope of the present disclosure.

Claims

1. A brushless DC motor commutation control method, comprising: Detecting the position of the rotor of the brushless DC motor, wherein the detection is further configured to be triggered by commutation of the brushless DC motor; the position of the rotor is read by a sensorless and / or rotor position sensor; Determine a first driving mode of the brushless DC motor corresponding to the detected position of the rotor, wherein the first driving mode represents a working mode of a three-phase full-bridge circuit of the brushless DC motor; Updating a pulse width modulation (PWM) driving signal, wherein the updating refers to the first driving mode; Using the updated PWM drive signal to control the brushless DC motor to perform commutation; The updating of the PWM driving signal, wherein the updating refers to the first driving mode, includes: According to the first driving mode, updating the duty cycle of the PWM driving signal; And update the phase of the PWM drive signal.

2. The method according to claim 1, wherein: The updating of the duty cycle of the PWM drive signal according to the first drive mode includes: Determine the operating voltage of each switch device in the three-phase full-bridge circuit by using the first driving mode; The determined operating voltages of the switching devices are used to update the duty cycles of the PWM drive signals corresponding to the switching devices.

3. The method according to claim 2, wherein: For each switch device in the three-phase full-bridge circuit, the duty cycle of the PWM drive signal is updated by updating the value of the first register corresponding to the duty cycle of the corresponding PWM drive signal.

4. The method according to claim 1, wherein: The updating of the phase of the PWM drive signal comprises: The phase of the PWM drive signal is updated by updating the value of the second register corresponding to the PWM carrier signal.

5. The method according to claim 4, wherein: The updating of the phase of the PWM drive signal by updating the value of the second register corresponding to the PWM carrier signal includes: Setting the value of the second register to a specific value at the moment when it is determined that phase switching is required to obtain an updated carrier signal; The phase of the PWM drive signal is updated using the updated carrier signal.

6. The method according to claim 1, wherein: The method further comprises: Acquiring a back electromotive force signal of the brushless DC motor; Determining the back electromotive force zero-crossing time of the brushless DC motor according to the acquired back electromotive force signal; At a first time period after the back electromotive force passes through zero, it is determined that the brushless DC motor needs to be commutated.

7. The method according to claim 1, characterized in that The determining of a first driving mode of the brushless DC motor corresponding to the detected rotor position comprises: Searching a first mapping table for a driving mode corresponding to the detected position of the rotor; The found driving mode is used as the first driving mode.

8. The method according to claim 1, wherein: The PWM modulation mode of the PWM driving signal is H-PWM-L-ON, or H-ON-L-PWM, or ON-PWM, or PWM-ON.

9. A brushless DC motor commutation control device, comprising: A first determination unit is configured to detect a position of a rotor of the brushless DC motor, wherein the detection is further configured to be triggered by commutation of the brushless DC motor; the position of the rotor is read by a sensorless and / or rotor position sensor; a second determining unit configured to determine a first driving mode of the brushless DC motor corresponding to the detected position of the rotor, wherein the first driving mode represents a working mode of a three-phase full-bridge circuit of the brushless DC motor; an updating unit, configured to update the PWM driving signal, wherein the updating refers to the first driving mode; A control unit configured to control the brushless DC motor to perform commutation using an updated PWM drive signal; Wherein, the updating unit comprises a first updating module and a second updating module; The first updating module is configured to update the duty cycle of the PWM driving signal according to the first driving mode; The second updating module is configured to update the phase of the PWM driving signal.

10. A brushless DC motor commutation control device, comprising: a processor and a memory configured to store a computer program executable on the processor; Wherein, the processor is configured to execute the steps of the method according to any one of claims 1 to 8 when running the computer program.

11. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Electromagnetic torque ripple rejection device of brushless DC motor

    CN104953905A

  • High-power dual-rotor brushless direct current motor control system for underwater navigation vehicle

    CN105141195A

  • Sensorless BLDC motor commutation control method and device

    CN108011549A

  • Device and method for controlling brushless DC motor

    CN1518205A

  • Drive controller of brushless motor

    JP1999318097A