A method and device for field weakening, electronic equipment and storage medium
By calculating the rate of change of voltage and updating the average bus voltage value, the problem of loss of control of the power control system caused by bus voltage backflash is solved, and the stability of the power control system is improved.
Patent Information
- Application Number
- CN202011598685.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-29
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2040-12-29
AI Technical Summary
Bus voltage backflash can cause the control system to malfunction, especially in motor systems using small-capacity film capacitors. The weak magnetic current cannot be adjusted in time, leading to instability in the control system.
The average bus voltage value is updated by calculating the voltage change rate based on the voltage sampling results, and field weakening control is performed under the set conditions to ensure that the average bus voltage value is updated in time when the bus voltage is overshooted, thus avoiding the field weakening current from decreasing due to excessive bus voltage.
This improves the stability of the electrical control system, avoids the reduction in weak magnetic current caused by bus voltage backflash, and ensures the stable operation of the electrical control system.
Smart Images

Figure CN114696694B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electric machines, and particularly relates to a field weakening method and device, an electronic device and a storage medium. BACKGROUND
[0002] The electrolytic capacitor control technology can significantly reduce the volume of the electric control system, reduce the cost, and improve the reliability of the electric control system, and therefore is a research hotspot in recent years. The thin film capacitor is a common electrolytic capacitor. Because the capacity of the thin film capacitor is small, the bus voltage on the thin film capacitor will periodically fluctuate at twice the frequency of the grid voltage, and the bus voltage may drop to zero. In order to avoid this situation, it is particularly important to use a field weakening algorithm in the thin film capacitor.
[0003] If the electric machine uses a small-capacity thin film capacitor, in the case that the field weakening current reaches the maximum or is not adjusted in time, the electric machine energy may be backfilled to the bus capacitor in some working conditions, causing the bus voltage to periodically surge. The frequency of the surge voltage is consistent with the frequency of the bus voltage, and cannot be filtered out using a low-pass filter. The surge voltage will cause the average value of the bus voltage to rise, and thus reduce the field weakening current. Because the bus voltage surge is caused by the small field weakening current, and the surge causes the average voltage to rise, which further reduces the field weakening current, making the electric control system more out of control. SUMMARY
[0004] Therefore, the main purpose of the embodiments of the present application is to provide a field weakening method and device, an electronic device and a storage medium, to solve the problem of the electric control system out of control caused by the bus voltage surge in the related art.
[0005] To achieve the above purpose, the technical scheme of the embodiments of the present application is as follows:
[0006] The embodiments of the present application provide a field weakening method, which comprises:
[0007] Based on the voltage sampling result of the first control period, the voltage change rate corresponding to the voltage sampling result is calculated; the voltage sampling result at least includes the sampling result of the bus voltage value; the first control period represents the previous control period of the current control period;
[0008] In the case that the voltage change rate corresponding to the voltage sampling result meets the set condition, the average bus voltage value is updated; the set condition represents that the bus voltage surges;
[0009] Based on the updated average bus voltage value, the field weakening control is performed.
[0010] In the scheme, the voltage sampling result further includes an alternating voltage value sampling result; and the updating of the average bus voltage value in the case where the voltage change rate corresponding to the voltage sampling result meets a set condition comprises:
[0011] updating the average bus voltage value in the case where the first voltage change rate and the second voltage change rate meet a set condition; and
[0012] the first voltage change rate represents a voltage change rate corresponding to a bus voltage value sampling result; and the second voltage change rate represents a voltage change rate corresponding to an alternating voltage value sampling result.
[0013] In the scheme, the updating of the average bus voltage value in the case where the first voltage change rate and the second voltage change rate meet a set condition comprises:
[0014] updating the average bus voltage value in the case where a difference between the first voltage change rate and the second voltage change rate is greater than a first set threshold.
[0015] In the scheme, the updating of the average bus voltage value in the case where the first voltage change rate and the second voltage change rate meet a set condition further comprises:
[0016] updating the average bus voltage value in the case where a difference between the first voltage change rate and the second voltage change rate is not greater than the first set threshold, after sampling of the bus voltage value and the alternating voltage value for a first set time length in a current control period.
[0017] In the scheme, the updating of the average bus voltage value in the case where the first voltage change rate and the second voltage change rate meet a set condition comprises:
[0018] replacing a sampling result corresponding to the bus voltage value with an alternating voltage value sampling result in the case where a difference between the first voltage change rate and the second voltage change rate is greater than a second set threshold;
[0019] saving the sampling result corresponding to the bus voltage value in the case where a difference between the first voltage change rate and the second voltage change rate is not greater than the second set threshold;
[0020] updating the average bus voltage value after sampling of the bus voltage value and the alternating voltage value for a second set time length in a current control period.
[0021] In the scheme, the updating of the average bus voltage value in the case where the voltage change rate corresponding to the voltage sampling result meets a set condition comprises:
[0022] In a case where a difference between the voltage change rate corresponding to the sampling result of the bus voltage value and a set voltage change rate is greater than a third set threshold, the average bus voltage value is updated.
[0023] In the above solution, in a case where the voltage change rate corresponding to the voltage sampling result satisfies a set condition, the average bus voltage value is updated, and the solution further includes:
[0024] In a case where a difference between the voltage change rate corresponding to the sampling result of the bus voltage value and a set voltage change rate is not greater than the third set threshold, the average bus voltage value is updated after the bus voltage value is sampled for a third set time length in the current control period.
[0025] Embodiments of the present application further provide a weak magnetic device, and the device includes:
[0026] A calculation unit is configured to calculate a voltage change rate corresponding to a voltage sampling result based on the voltage sampling result of a first control period; the voltage sampling result includes at least a sampling result of a bus voltage value; and the first control period represents a control period before a current control period.
[0027] An updating unit is configured to update an average bus voltage value in a case where the voltage change rate corresponding to the voltage sampling result satisfies a set condition; and the set condition represents that the bus voltage appears a back surge.
[0028] A control unit is configured to perform weak magnetic control based on the updated average bus voltage value.
[0029] Embodiments of the present application further provide an electronic device, which includes a processor and a memory for storing a computer program capable of running on the processor, and wherein,
[0030] When the processor runs the computer program, the processor performs steps of any of the above methods.
[0031] Embodiments of the present application further provide a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, steps of any of the above methods are implemented.
[0032] In the embodiment of the present application, the voltage variation rate corresponding to the voltage sampling result is calculated based on the voltage sampling result of the first control period; the voltage sampling result at least includes the sampling result of the bus voltage value; the first control period represents the previous control period of the current control period; the average bus voltage value is updated in the case that the voltage variation rate corresponding to the voltage sampling result meets the set condition; the set condition represents that the bus voltage appears a back surge; the field weakening control is performed based on the updated average bus voltage value, so that the average bus voltage value is updated in time each time the bus voltage appears a back surge, thereby avoiding the situation that the field weakening current becomes small due to the bus voltage being too large, and improving the stability of the electronic control system. BRIEF DESCRIPTION OF DRAWINGS
[0033] Figure 1 A working condition diagram of the periodic back surge of the bus voltage in actual situation;
[0034] Figure 2 A diagram of the bus voltage value and the AC voltage value in ideal situation;
[0035] Figure 3 An implementation flow diagram of the field weakening method provided by the embodiment of the present application;
[0036] Figure 4 A generation process diagram of the field weakening current provided by the embodiment of the present application;
[0037] Figure 5 An implementation flow diagram of another field weakening method provided by the embodiment of the present application;
[0038] Figure 6 An implementation flow diagram of another field weakening method provided by the embodiment of the present application;
[0039] Figure 7 An implementation flow diagram of another field weakening method provided by the embodiment of the present application;
[0040] Figure 8 A diagram of the field weakening device provided by the embodiment of the present application;
[0041] Figure 9 A hardware composition structure diagram of the electronic device provided by the embodiment of the present application. DETAILED DESCRIPTION
[0042] In the related art, the field weakening current is usually composed of two parts: the average field weakening current and the fluctuation field weakening current, wherein, the acquisition process of the average field weakening current is: determining the voltage margin based on the bus voltage and the target working voltage, performing low-pass filtering processing on the voltage margin to obtain the average voltage margin, and determining the average field weakening current according to the average voltage margin and the preset average voltage margin setting value; the fluctuation amount of the field weakening current is determined according to the fundamental component of the bus voltage.
[0043] The relevant technologies do not take into account the operating conditions where the bus voltage has periodic backflow.
[0044] Figure 1 This diagram illustrates the actual operating condition of periodic backflow of bus voltage. Please refer to [link / reference]. Figure 1 The solid line portion V dc The dashed line represents the bus voltage under actual operating conditions |V s | Represents the absolute value of alternating current voltage.
[0045] Figure 2 A schematic diagram showing the ideal bus voltage and AC voltage values is provided. Please refer to... Figure 2 Under ideal operating conditions, the fluctuation curve of the bus voltage coincides with the fluctuation curve of the absolute value of the AC voltage.
[0046] And in Figure 1 In actual operating conditions, within one cycle of 2π, only the 2θ portion of the bus voltage fluctuation curve coincides with the absolute value of the AC voltage. In the 2δ portion, due to bus voltage backflow, the bus voltage value is greater than the absolute value of the AC voltage, where 2π = 2θ + 2δ. Figure 1 It can be seen that the backflush voltage will cause the average value of the bus voltage to increase, and the increase in the average value of the bus voltage will reduce the magnetic weakening current. The backflush of the bus voltage is caused by the decrease in the magnetic weakening current. The increase in the average bus voltage due to the backflush condition will further reduce the magnetic weakening current, thereby making the electronic control system more out of control.
[0047] Based on this, embodiments of this application provide a field weakening method, apparatus, electronic device, and storage medium. The method calculates the voltage change rate corresponding to the voltage sampling result based on the voltage sampling result of a first control cycle. The voltage sampling result includes at least the sampling result of the bus voltage value. The first control cycle represents the previous control cycle of the current control cycle. When the voltage change rate corresponding to the voltage sampling result meets a set condition, the average bus voltage value is updated. The set condition represents the occurrence of backflow in the bus voltage. Field weakening control is performed based on the updated average bus voltage value. In this way, the average bus voltage value is updated promptly each time a backflow occurs in the bus voltage, thereby avoiding the situation where the field weakening current decreases due to excessively high bus voltage and improving the stability of the electronic control system.
[0048] The present application will now be described in further detail with reference to the accompanying drawings and embodiments.
[0049] Figure 3 This is a schematic diagram illustrating the implementation process of the magnetic field weakening method provided in an embodiment of this application. Figure 3 As shown, the method includes:
[0050] Step 301: based on the voltage sampling result of the first control period, calculating the voltage change rate corresponding to the voltage sampling result; the voltage sampling result at least includes the sampling result of the bus voltage value; the first control period represents the previous control period of the current control period.
[0051] Here, the voltage is sampled in each control period, and the voltage change rate corresponding to the voltage sampling result is calculated based on the voltage sampling result of the previous control period of the current control period. Since the average bus voltage value is related to each bus voltage value in the control period, at least the bus voltage value is sampled in each control period.
[0052] Step 302: if the voltage change rate corresponding to the voltage sampling result meets the set condition, updating the average bus voltage value; the set condition represents that the bus voltage appears back flush.
[0053] Here, the average bus voltage value is updated when the voltage change rate corresponding to the voltage sampling result meets the set condition, and the average bus voltage value is updated when the bus voltage appears back flush through the voltage change rate, so that the increase of the average bus voltage value caused by back flush can be avoided.
[0054] Step 303: based on the updated average bus voltage value, performing field weakening control.
[0055] Here, the field weakening current is calculated based on the updated average bus voltage value, and the electric control system is controlled based on the field weakening current.
[0056] In the electrolytic capacitor-free system, the bus voltage will fluctuate periodically, and there are two ways to determine the field weakening current based on the bus voltage:
[0057] Method 1: according to the real-time fluctuating bus voltage and the target voltage, the fluctuating field weakening current is obtained by operation;
[0058] Method 2: according to the average bus voltage in the 2 times frequency network side voltage period and the target voltage, the direct current field weakening current is obtained by operation.
[0059] Since the field weakening current calculated by method 1 is larger than the actual field weakening current, and the field weakening current loss increases after the bus voltage fluctuates, which will cause the control efficiency of the electric control system to decrease significantly, so it is not suitable to calculate the field weakening current by method 1 in the electrolytic capacitor-free control system, and method 2 is generally used for field weakening control in actual application.
[0060] Figure 4 The generation process diagram of the field weakening current provided by the embodiment of the application is shown in Figure 4 , wherein:
[0061] u q The voltage output by the quadrature axis (q-axis) current regulator of the motor, in volts (V).
[0062] u d The voltage output by the motor's direct-axis (d-axis) current regulator, in volts (V).
[0063] V dc Bus voltage, in volts (V).
[0064] k is a constant;
[0065] PI stands for proportional-integral controller;
[0066] i dref This is a weak magnetic current, measured in amperes (A).
[0067] The voltage limiting equation for the built-in permanent magnet synchronous motor in the d- and q-axis rotating coordinate system is shown in Equation 1:
[0068]
[0069] Among them, R s The resistance of the motor phase is expressed in Ω.
[0070] i d This represents the d-axis current, i.e., the magnetic weakening current.
[0071] L d Indicates the d-axis inductance;
[0072] p is the number of pole pairs of the motor;
[0073] L q Indicates q-axis inductance.
[0074] i q Represents the q-axis current;
[0075] L d i d This represents the d-axis flux linkage, measured in Wb.
[0076] L q i q This represents the q-axis flux linkage, measured in Wb.
[0077] ω e This represents the electrical angular frequency of the motor, measured in rad / s.
[0078] This represents the flux linkage generated by the permanent magnet of the motor, which is a set value, measured in Wb.
[0079] Neglecting the voltage drop across the motor's resistance and considering only the motor in a steady state, the voltage limiting equation is shown in Equation 2:
[0080]
[0081] Therefore, after determining the average bus voltage value, the field weakening current i d ; and performing field weakening control based on the determined field weakening current.
[0082] In an embodiment, the voltage sampling result further includes a sampling result of an AC voltage value; and the updating of the average bus voltage value in the case where the voltage change rate corresponding to the voltage sampling result meets the set condition comprises:
[0083] In the case where the first voltage change rate and the second voltage change rate meet the set condition, the average bus voltage value is updated; wherein
[0084] The first voltage change rate represents a voltage change rate corresponding to the sampling result of the bus voltage value; and the second voltage change rate represents a voltage change rate corresponding to the sampling result of the AC voltage value.
[0085] Here, in the case where the first voltage change rate and the second voltage change rate meet the set condition, the average bus voltage value is updated. Since the AC voltage value is the value of the bus voltage value in an ideal case, in the ideal case, the change rate of the AC voltage value is synchronous with the change rate of the bus voltage value. In the case where the bus voltage appears to be backhauled, the change rate of the bus voltage value is out of synchronization with the change rate of the AC voltage value. Therefore, whether the bus voltage appears to be backhauled can be reflected by the change rate of the bus voltage value and the change rate of the AC voltage value. In the case where the bus voltage appears to be backhauled, the average bus voltage value is updated.
[0086] By updating the average bus voltage value in the case where the first voltage change rate and the second voltage change rate meet the set condition, whether the average bus voltage value needs to be updated can be intuitively and simply determined by the change rate of the bus voltage value and the change rate of the AC voltage value. The average bus voltage value can be updated in time in the case where the bus voltage appears to be backhauled, thereby avoiding the loss of control of the electric control system caused by backhauling and improving the stability of the electric control system.
[0087] Figure 5 Another implementation flowchart of the field weakening method provided by the embodiment of the present application is shown in FIG. 2. Figure 5 In an embodiment, the updating of the average bus voltage value in the case where the first voltage change rate and the second voltage change rate meet the set condition comprises:
[0088] In the case where the difference between the first voltage change rate and the second voltage change rate is greater than a first set threshold, the average bus voltage value is updated.
[0089] Here, in the case that the change rate of the first voltage and the change rate of the second voltage are greater than the first set threshold, it indicates that the change rate of the bus voltage value has been obviously greater than the change rate of the AC voltage value, in this case, it indicates that the bus voltage has appeared a back flash, thus the average bus voltage value needs to be updated in time. Specifically, the average value of the sampling results of all bus voltage values in the first control period is calculated as the updated average bus voltage value.
[0090] By updating the average bus voltage value in the case that the change rate of the first voltage and the change rate of the second voltage are greater than the first set threshold, the average bus voltage value can be updated in time in the case that the bus voltage appears a back flash, thus the loss of control of the electric control system caused by the back flash is avoided, and the stability of the electric control system is improved.
[0091] In an embodiment, the updating the average bus voltage value in the case that the change rate of the first voltage and the change rate of the second voltage satisfy the set condition further includes:
[0092] In the case that the difference between the change rate of the first voltage and the change rate of the second voltage is not greater than the first set threshold, the average bus voltage value is updated after the bus voltage value and the AC voltage value are sampled for the first set time length in the current control period.
[0093] Here, in the case that the change rate of the first voltage and the change rate of the second voltage are not greater than the first set threshold, it indicates that the bus voltage does not appear a back flash in the first control period, thus the average bus voltage only needs to be updated after the sampling time length of the voltage value reaches the first set time length in the current control period. The first set time length is the set update period of the average bus voltage value.
[0094] In the case that the change rate of the first voltage and the change rate of the second voltage are not greater than the first set threshold, by updating the average bus voltage after the bus voltage value and the AC voltage value are sampled for the first set time length in the current control period, the latest average bus voltage value can be used for the field weakening control, thus the accuracy of the field weakening control is improved.
[0095] Figure 6 For another implementation flowchart of the field weakening method provided by the embodiment of the present application, please refer to Figure 6 In an embodiment, the updating the average bus voltage value in the case that the change rate of the first voltage and the change rate of the second voltage satisfy the set condition includes:
[0096] In the case that the difference between the change rate of the first voltage and the change rate of the second voltage is greater than the second set threshold, the sampling result corresponding to the bus voltage value is replaced by the sampling result of the AC voltage value.
[0097] In a case where the difference between the first voltage change rate and the second voltage change rate is not greater than the second set threshold, the sampling result corresponding to the bus voltage value is saved;
[0098] After sampling the bus voltage value and the AC voltage value for a second set time length in the current control period, the average bus voltage value is updated.
[0099] Here, in a case where the difference between the first voltage change rate and the second voltage change rate is greater than the second set threshold, it indicates that the bus voltage has a backswing in the first control period, and thus the sampling result corresponding to the bus voltage value is replaced by the sampling result of the AC voltage value.
[0100] In a case where the difference between the first voltage change rate and the second voltage change rate is not greater than the second set threshold, it indicates that the bus voltage has no backswing in the first control period, and thus the sampling result corresponding to the bus voltage value is saved.
[0101] After sampling the bus voltage value and the AC voltage value for a second set time length in the current control period, the average bus voltage value is updated.
[0102] By determining the value of the bus voltage value according to whether the difference between the first voltage change rate and the second voltage change rate is greater than the second set threshold, the speed of increasing the average bus voltage value can be slowed down, and the influence of the backswing of the bus voltage on the field current is further reduced, thereby improving the stability of the electric control system.
[0103] Figure 7 For another implementation flowchart of the weak magnetic method provided by the embodiment of the application, please refer to Figure 7 In an embodiment, in a case where the voltage change rate corresponding to the voltage sampling result satisfies a set condition, the average bus voltage value is updated, and the method comprises the following steps of:
[0104] In a case where the difference between the voltage change rate corresponding to the sampling result of the bus voltage value and a set voltage change rate is greater than a third set threshold, the average bus voltage value is updated.
[0105] Here, in a case where the difference between the voltage change rate corresponding to the sampling result of the bus voltage value and a set voltage change rate is greater than a third set threshold, it indicates that the bus voltage has a backswing in the first control period, and thus the average bus voltage value needs to be updated.
[0106] By updating the average bus voltage value in a case where the difference between the voltage change rate corresponding to the sampling result of the bus voltage value and a set voltage change rate is greater than a third set threshold, the average bus voltage value can be updated in time in a case where the bus voltage has a backswing, thereby avoiding the loss of control of the electric control system caused by the backswing, and improving the stability of the electric control system.
[0107] In an embodiment, in the case that the voltage change rate corresponding to the voltage sampling result meets a set condition, the average bus voltage value is updated, and the method further comprises:
[0108] In the case that the difference between the voltage change rate corresponding to the sampling result of the bus voltage value and the set voltage change rate is not greater than a third set threshold, the average bus voltage value is updated after the bus voltage value is sampled for a third set time length in the current control period.
[0109] Here, the difference between the voltage change rate corresponding to the sampling result of the bus voltage value and the set voltage change rate is not greater than a third set threshold, which indicates that there is no back surge of the bus voltage in the first control period, and therefore the average bus voltage value only needs to be updated after the sampling time length of the bus voltage value in the current control period reaches a third set time length. The third set time length is the set update period of the average bus voltage value. Thus, the field weakening control can be performed according to the latest average bus voltage value, and the accuracy of the field weakening control is improved.
[0110] In the embodiments of the present application, the voltage change rate corresponding to the voltage sampling result is calculated based on the voltage sampling result of the first control period; the voltage sampling result at least includes the sampling result of the bus voltage value; the first control period represents a control period before the current control period; the average bus voltage value is updated in the case that the voltage change rate corresponding to the voltage sampling result meets a set condition; the set condition represents that the bus voltage appears back surge; and the field weakening control is performed based on the updated average bus voltage value. In this way, the average bus voltage value is updated in time every time the bus voltage appears back surge, thereby avoiding the situation that the field weakening current becomes small due to the bus voltage being too large, and the stability of the electric control system is improved.
[0111] To implement the method of the embodiments of the present application, the embodiments of the present application further provide a field weakening device, Figure 8 For the schematic diagram of the field weakening device provided by the embodiments of the present application, please refer to Figure 8 The device comprises:
[0112] The calculation unit 801 is configured to calculate the voltage change rate corresponding to the voltage sampling result based on the voltage sampling result of the first control period; the voltage sampling result at least includes the sampling result of the bus voltage value; and the first control period represents a control period before the current control period.
[0113] The update unit 802 is configured to update the average bus voltage value in the case that the voltage change rate corresponding to the voltage sampling result meets a set condition; and the set condition represents that the bus voltage appears back surge.
[0114] The control unit 803 is configured to perform field weakening control based on the updated average bus voltage value.
[0115] In an embodiment, the voltage sampling result further includes a sampling result of an AC voltage value; and the updating unit 802 is further configured to update the average bus voltage value when the first voltage variation rate and the second voltage variation rate satisfy a set condition; wherein,
[0116] The first voltage variation rate represents a voltage variation rate corresponding to the sampling result of the bus voltage value; and the second voltage variation rate represents a voltage variation rate corresponding to the sampling result of the AC voltage value.
[0117] In an embodiment, the updating unit 802 is further configured to update the average bus voltage value when a difference between the first voltage variation rate and the second voltage variation rate is greater than a first set threshold.
[0118] In an embodiment, the updating unit 802 is further configured to update the average bus voltage value after sampling the bus voltage value and the AC voltage value for a first set time length in a current control period when the difference between the first voltage variation rate and the second voltage variation rate is not greater than the first set threshold.
[0119] In an embodiment, the updating unit 802 is further configured to replace the sampling result corresponding to the bus voltage value with the sampling result of the AC voltage value when the difference between the first voltage variation rate and the second voltage variation rate is greater than a second set threshold.
[0120] In an embodiment, the updating unit 802 is further configured to save the sampling result corresponding to the bus voltage value when the difference between the first voltage variation rate and the second voltage variation rate is not greater than the second set threshold.
[0121] In an embodiment, the updating unit 802 is further configured to update the average bus voltage value after sampling the bus voltage value and the AC voltage value for a second set time length in a current control period.
[0122] In an embodiment, the updating unit 802 is further configured to update the average bus voltage value when a difference between a voltage variation rate corresponding to the sampling result of the bus voltage value and a set voltage variation rate is greater than a third set threshold.
[0123] In an embodiment, the updating unit 802 is further configured to update the average bus voltage value after sampling the bus voltage value for a third set time length in a current control period when the difference between the voltage variation rate corresponding to the sampling result of the bus voltage value and the set voltage variation rate is not greater than the third set threshold.
[0124] In actual application, the calculation unit 801, the updating unit 802 and the control unit 803 can be implemented by a processor in a terminal, such as a central processing unit (CPU), a digital signal processor (DSP), a microcontroller unit (MCU), a field-programmable gate array (FPGA) or the like.
[0125] It should be noted that the above-mentioned weak magnetic device provided by the embodiments only divides the above-mentioned program modules for example, and in actual application, the above-mentioned processing can be completed by different program modules according to needs, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-mentioned processing. In addition, the weak magnetic device and the weak magnetic method provided by the above-mentioned embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
[0126] Based on the hardware implementation of the above-mentioned program modules, and in order to implement the method of the embodiments of the present application, the embodiments of the present application further provide an electronic device. Figure 9 The hardware composition structure of the electronic device of the embodiments of the present application is shown in FIG. 8. Figure 9 As shown in FIG. 8, the electronic device comprises:
[0127] The communication interface 901 can interact with other devices, such as network devices, etc.
[0128] The processor 902 is connected with the communication interface 901 to realize information interaction with other devices, and is used to run a computer program to execute the method provided by one or more technical solutions of the terminal side. The computer program is stored on the memory 903.
[0129] Specifically, the processor 902 is configured to calculate a voltage change rate corresponding to a voltage sampling result based on the voltage sampling result of a first control period; the voltage sampling result comprises at least a sampling result of a bus voltage value; the first control period represents a previous control period of a current control period; update an average bus voltage value in a case where the voltage change rate corresponding to the voltage sampling result meets a set condition; the set condition represents that the bus voltage appears a back flush; and perform weak magnetic control based on the updated average bus voltage value.
[0130] In an embodiment, the voltage sampling result further comprises a sampling result of an alternating voltage value; and the processor 902 is further configured to update the average bus voltage value in a case where a first voltage change rate and a second voltage change rate meet a set condition; wherein,
[0131] The first voltage change rate represents a voltage change rate corresponding to the sampling result of the bus voltage value; and the second voltage change rate represents a voltage change rate corresponding to the sampling result of the AC voltage value.
[0132] In an embodiment, the processor 902 is further configured to update the average bus voltage value when the difference between the first voltage change rate and the second voltage change rate is greater than a first set threshold.
[0133] In an embodiment, the processor 902 is further configured to update the average bus voltage value after sampling the bus voltage value and the AC voltage value for a first set time length in a current control period when the difference between the first voltage change rate and the second voltage change rate is not greater than the first set threshold.
[0134] In an embodiment, the processor 902 is further configured to replace the sampling result corresponding to the bus voltage value with the sampling result of the AC voltage value when the difference between the first voltage change rate and the second voltage change rate is greater than a second set threshold.
[0135] In an embodiment, the processor 902 is further configured to save the sampling result corresponding to the bus voltage value when the difference between the first voltage change rate and the second voltage change rate is not greater than the second set threshold.
[0136] In an embodiment, the processor 902 is further configured to update the average bus voltage value after sampling the bus voltage value and the AC voltage value for a second set time length in a current control period.
[0137] In an embodiment, the processor 902 is further configured to update the average bus voltage value when the difference between the voltage change rate corresponding to the sampling result of the bus voltage value and a set voltage change rate is greater than a third set threshold.
[0138] In an embodiment, the processor 902 is further configured to update the average bus voltage value after sampling the bus voltage value for a third set time length in a current control period when the difference between the voltage change rate corresponding to the sampling result of the bus voltage value and the set voltage change rate is not greater than the third set threshold.
[0139] Of course, in actual applications, various components in the electronic device are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between the components. The bus system 904 includes not only a data bus, but also a power bus, a control bus and a status signal bus. However, for the purpose of clear illustration, all kinds of buses are marked as the bus system 904 in the Figure 9
[0140] The memory 903 in the embodiments of the present application is used to store various types of data to support the operation of the electronic device. Examples of these data include: any computer programs for operating on the electronic device.
[0141] It can be understood that the memory 903 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a ferromagnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM) used as an external cache. By way of example but not limitation, many forms of RAM can be used, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memory 903 described in the embodiments of the present application is intended to include, but not limited to, these and any other suitable type of memory.
[0142] The method disclosed in the embodiments of the present application can be applied in the processor 902 or implemented by the processor 902. The processor 902 can be an integrated circuit chip having a signal processing capability. In the implementation process, each step of the above method can be completed by an integrated logic circuit or an instruction in the form of software in the processor 902. The processor 902 described above can be a general processor, a DSP, or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The processor 902 can implement or execute the disclosed methods, steps and logic block diagrams in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiments of the present application, the execution can be directly completed by a hardware decoding processor or a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 903. The processor 902 reads the program in the memory 903 and combines the hardware to complete the steps of the above method.
[0143] The processor 902 implements the corresponding flow in each method of the embodiments of the present application when executing the program.
[0144] In the exemplary embodiments, the embodiments of the present application also provide a storage medium, i.e. a computer storage medium, specifically a computer readable storage medium, such as the memory 903 storing the computer program, which can be executed by the processor 902 to complete the steps of the above method. The computer readable storage medium can be FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM, etc.
[0145] In several embodiments provided in the present application, it should be understood that the disclosed apparatus, terminal and method can be implemented by other means. The above-described device embodiments are only schematic, for example, the division of the units is only a logical function division, and actual implementation can be in another division manner, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling or direct coupling or communication connection between the various components shown or discussed can be indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0146] The units described as separate components above can or can not be physically separate, and the components shown as units can or can not be physical units, i.e., can be located in one place or distributed on multiple network units; part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0147] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can be a separate unit, or two or more units can be integrated into one unit; the integrated unit can be realized in the form of hardware or in the form of hardware plus software functional unit.
[0148] Those skilled in the art can understand that all or part of the steps of the above method embodiments can be completed by program instruction related hardware, and the above program can be stored in a computer readable storage medium, and the program executes the steps including the above method embodiments when executed; and the above storage medium includes mobile storage device, ROM, RAM, magnetic disc or optical disc and various storage program codes.
[0149] Alternatively, the integrated unit of the present application, if implemented in the form of a software function module and sold or used as an independent product, can also be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present application can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for making an electronic device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in the embodiments of the present application. The above storage medium includes mobile storage device, ROM, RAM, magnetic disc or optical disc and various storage program codes.
[0150] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto, any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in the present application, which should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A field weakening method characterized by, The method comprises: calculating a voltage change rate corresponding to the voltage sampling result based on the voltage sampling result of the first control period; the voltage sampling result at least comprises a sampling result of a bus voltage value; the first control period represents a control period before a current control period; updating an average bus voltage value in a case where the voltage change rate corresponding to the voltage sampling result meets a set condition; the set condition represents that the bus voltage appears a back flash; performing field weakening control based on the updated average bus voltage value; the voltage sampling result further comprises a sampling result of an alternating current voltage value; the updating the average bus voltage value in the case where the voltage change rate corresponding to the voltage sampling result meets the set condition comprises: updating the average bus voltage value in a case where a first voltage change rate and a second voltage change rate meet the set condition; wherein, the first voltage change rate represents a voltage change rate corresponding to the sampling result of the bus voltage value; the second voltage change rate represents a voltage change rate corresponding to the sampling result of the alternating current voltage value; the updating the average bus voltage value in the case where the first voltage change rate and the second voltage change rate meet the set condition comprises: replacing the sampling result corresponding to the bus voltage value with the sampling result of the alternating current voltage value in a case where a difference between the first voltage change rate and the second voltage change rate is greater than a second set threshold value; saving the sampling result corresponding to the bus voltage value in a case where the difference between the first voltage change rate and the second voltage change rate is not greater than the second set threshold value; updating the average bus voltage value after sampling the bus voltage value and the alternating current voltage value to a second set time length in a current control period.
2. A flux-weakening apparatus characterized by comprising: The device comprises: a calculation unit configured to calculate a voltage change rate corresponding to a voltage sampling result based on the voltage sampling result of a first control period; the voltage sampling result at least comprises a sampling result of a bus voltage value; the first control period represents a control period before a current control period; an updating unit configured to update an average bus voltage value in a case where the voltage change rate corresponding to the voltage sampling result meets a set condition; the set condition represents that the bus voltage appears a back flash; a control unit configured to perform field weakening control based on the updated average bus voltage value; the voltage sampling result further comprises a sampling result of an alternating current voltage value; the updating unit is further configured to update the average bus voltage value in a case where a first voltage change rate and a second voltage change rate meet the set condition; wherein, the first voltage change rate represents a voltage change rate corresponding to the sampling result of the bus voltage value; the second voltage change rate represents a voltage change rate corresponding to the sampling result of the alternating current voltage value; the updating unit is further configured to replace the sampling result corresponding to the bus voltage value with the sampling result of the alternating current voltage value in a case where a difference between the first voltage change rate and the second voltage change rate is greater than a second set threshold value; save the sampling result corresponding to the bus voltage value in a case where the difference between the first voltage change rate and the second voltage change rate is not greater than the second set threshold value; In the current control cycle, the bus voltage value and the AC voltage value are sampled to a second set time length, and then the average bus voltage value is updated.
3. An electronic device, comprising: Comprise: A processor and a memory for storing a computer program capable of running on the processor, wherein, The processor is used to run the computer program, and executes the steps of the method of claim 1.
4. A storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to implement the steps of the method of claim 1. The computer program is executed by the processor to implement the steps of the method of claim 1.
Citation Information
Patent Citations
Method of correcting electric angle of motor of new energy automobile
CN109302116A
Flux weakening control method and flux weakening control device of motor and readable storage medium
CN112583317A
Control apparatus of rotating machine driving device
JP2017017918A