Motor drive control system and method based on tc397
Patent Information
- Application Number
- CN202310048128.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-01-31
- Publication Date
- 2026-09-04
- Estimated Expiration
- 2043-01-31
AI Technical Summary
[0003]然而,现有的电机电流采样方案大都忽视了零电流对电机控制的影响,即使部分也涉及零电流的采集及零电流对相电流的补偿校正,但由于预驱芯片的电流输出延时特性,还缺乏对电机采样时刻的精准控制
Smart Images

Figure CN116094409B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of motor control technology, specifically to a motor drive control system and method based on TC397. Background Technology
[0002] With the rapid development of intelligent and electric vehicles, automotive controller software is becoming increasingly complex, and the requirements for control precision are also increasing. Therefore, the requirements for sampling accuracy are becoming more stringent.
[0003] However, most existing motor current sampling schemes neglect the impact of zero current on motor control. Even those that do involve zero current acquisition and compensation correction for phase current still lack precise control over the motor sampling timing due to the current output delay characteristics of the pre-driver chip. This is because the waveform of the actual current acquired through the pre-driver is often delayed. If sampling is performed at the control center point of the pulse width modulation signal, the actual current waveform will often be sampled near the edge. Since the switching of the switching transistor causes current fluctuations, sampling near the edge will result in significant errors. Therefore, it is necessary to accurately use the center point of the actual current waveform as the current sampling point to achieve precise control of the motor current sampling timing and improve the accuracy of current sampling.
[0004] Therefore, there is an urgent need for a motor drive control technology that can accurately control the sampling time point and eliminate the influence of zero current on motor control. Summary of the Invention
[0005] In view of the shortcomings of the prior art described above, the present invention provides a motor drive control technology solution based on TC397 to solve the above technical problems.
[0006] To achieve the above and other related objectives, the technical solution provided by this invention is as follows.
[0007] A motor drive control system based on TC397 includes:
[0008] The TC397 chip generates the first pulse width modulation signal;
[0009] The pre-driver chip is electrically connected to the TC397 chip, receives the first pulse width modulation signal and converts the first pulse width modulation signal to obtain the second pulse width modulation signal;
[0010] The three-phase bridge arm inverter circuit is electrically connected to the motor, receives the second pulse width modulation signal, and drives the motor under the control of the second pulse width modulation signal;
[0011] The current sampling circuit is electrically connected to the pre-drive chip and the three-phase bridge arm inverter circuit, and samples the current of each bridge arm in the three-phase bridge arm inverter circuit.
[0012] The pre-drive chip includes a current amplification module, which amplifies the bridge arm current to obtain an initial current. The TC397 chip obtains multiple current acquisition time points based on the control center point time and sampling delay of the first pulse width modulation signal, and acquires the converted initial current at each current acquisition time point to obtain the zero current and phase current of each phase.
[0013] Optionally, the pre-driver chip further includes a first analog-to-digital converter and a digital-to-analog converter. The first analog-to-digital converter performs analog-to-digital conversion on the initial current to obtain a first digital current, and the digital-to-analog converter performs digital-to-analog conversion on the first digital current to obtain an intermediate current.
[0014] Optionally, the TC397 chip includes a second analog-to-digital converter, which performs analog-to-digital conversion on the intermediate current to obtain a second digital current. The TC397 chip acquires the second digital current at the current acquisition time point to obtain the zero current and phase current of the motor.
[0015] Optionally, the TC397 chip includes a second analog-to-digital converter, which performs analog-to-digital conversion on the intermediate current to obtain a second digital current. The TC397 chip acquires the second digital current at the current acquisition time point to obtain the zero current and phase current of each phase.
[0016] A motor drive control method based on TC397 includes:
[0017] Provide a motor drive control system based on TC397 as described in any of the above;
[0018] Obtain the control center point time of the first pulse width modulation signal, and obtain the sampling delay;
[0019] Using the TC397 chip, the control center point time of the first pulse width modulation signal is superimposed with the sampling delay to obtain multiple current acquisition time points;
[0020] Using the TC397 chip, the converted initial current is collected at each current acquisition time point to obtain the zero current and phase current of each phase.
[0021] Optionally, the step of obtaining the control center point time of the first pulse width modulation signal includes:
[0022] The CCU6 module inside the TC397 chip generates six of the first pulse width modulation signals.
[0023] The control center point time of each of the first pulse width modulation signals is obtained through the CCU6 module inside the TC397 chip.
[0024] Optionally, each of the first pulse width modulation signals is converted and processed by the pre-driver chip to obtain a second pulse width modulation signal, and the step of obtaining the sampling delay includes:
[0025] The TC397-based motor drive control system was tested to obtain the delay time between each of the first pulse width modulation signals and the second pulse width modulation signal transmitted to the corresponding switch control terminal in the three-phase bridge arm inverter circuit, which is denoted as the first delay time.
[0026] The motor drive control system based on TC397 was tested, and the acquisition, amplification and conversion time of each bridge arm current from the three-phase bridge arm inverter circuit to the TC397 chip was obtained, which was recorded as the second delay time.
[0027] The sampling delay is obtained by superimposing the first delay time and the second delay time.
[0028] Optionally, the three-phase bridge arm inverter circuit includes three phases, and the zero current and phase current of each phase are collected.
[0029] Optionally, the current acquisition time points include zero current acquisition time points and phase current acquisition time points. The step of acquiring the converted initial current at each of the current acquisition time points to obtain the zero current and phase current of each phase includes:
[0030] For each phase, the zero current acquisition time point is obtained, and at the zero current acquisition time point, the converted initial current is acquired to obtain the zero current;
[0031] For each phase, the phase current acquisition time point is obtained, and at the phase current acquisition time point, the converted initial current is acquired to obtain the phase current.
[0032] Optionally, after obtaining the zero current and phase current of each phase, the TC397-based motor drive control method further includes:
[0033] In the TC397 chip, the phase current is compensated and corrected in each phase through the zero current.
[0034] In the TC397 chip, the motor is vector controlled according to the corrected phase current, and the first pulse width modulation signal is adjusted.
[0035] The beneficial effects of this invention are as follows: Based on the TC397 chip, multiple current sampling time points are obtained according to the control center point time and sampling delay of the first pulse width modulation signal. At each current sampling time point, the zero current and phase current of each phase are collected, thus accurately controlling the current sampling time point. By using the center point of the actual current waveform as the current sampling point, the error of the sampled current value caused by the current fluctuation caused by the switching moment of the switching transistor when sampling the edge position of the actual current waveform can be prevented, effectively improving the current sampling accuracy. At the same time, by collecting the zero current and phase current and compensating and correcting the phase current through the zero current, the influence of the zero current on the motor control can be effectively eliminated, thus improving the control accuracy of the motor.
[0036] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0037] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort. In the drawings:
[0038] Figure 1 This is a structural block diagram of a motor drive control system based on the TC397 chip, as illustrated in an exemplary embodiment of this application.
[0039] Figure 2 This is an exemplary embodiment of the present application illustrating the initialization flowchart of the various modules inside the TC397 chip;
[0040] Figure 3 This is an exemplary embodiment of the present application illustrating the interrupt service flowchart of the IR module within the TC397 chip;
[0041] Figure 4 This is a partial timing diagram of a motor drive control system based on the TC397 chip, as illustrated in an exemplary embodiment of this application.
[0042] Figure 5 This is a schematic diagram illustrating the steps of a motor drive control method based on a TC397 chip, as shown in an exemplary embodiment of this application. Detailed Implementation
[0043] The embodiments of the present invention will be described below with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention and not for limiting the scope of protection of the present invention.
[0044] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0045] In the following description, numerous details are explored to provide a more thorough explanation of embodiments of the invention. However, it will be apparent to those skilled in the art that embodiments of the invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring embodiments of the invention.
[0046] As mentioned in the background section, the inventors discovered that most existing motor current sampling schemes neglect the impact of zero current on motor control. Even those that do involve zero current acquisition and zero current compensation for phase current lack precise control over the motor sampling time due to the current output delay characteristics of the pre-drive chip. The waveform of the actual current acquired by the pre-drive chip is often delayed for a period of time. If sampling is performed at the control center point of the pulse width modulation signal, the actual current waveform will often be acquired near the edge. The switching of the switching transistor will cause current fluctuations. Therefore, sampling near the edge will result in a large error, making the acquired current value inaccurate. This is detrimental to the subsequent feedback control of the motor.
[0047] Based on this, this application proposes a motor drive control technology scheme based on the TC397 chip: multiple current acquisition time points are obtained according to the control center point time and sampling delay of the pulse width modulation signal, and the zero current and phase current of each phase are acquired at each current acquisition time point to accurately control the current sampling time point. The center point of the actual current waveform is used as the current sampling point to improve the current sampling accuracy. At the same time, the zero current and phase current are acquired, and the phase current is compensated and corrected by the zero current to eliminate the influence of the zero current on the motor control and improve the control accuracy of the motor.
[0048] The embodiments of this application respectively propose a motor drive control system based on the TC397 chip and a motor drive control method based on the TC397 chip. These embodiments will be described in detail below.
[0049] like Figure 1 As shown, in an exemplary embodiment of this application, a motor drive control system based on the TC397 chip is proposed, the system comprising:
[0050] The TC397 chip generates the first pulse width modulation signal (i.e., the first PWM signal);
[0051] The pre-driver chip is electrically connected to the TC397 chip, receives the first pulse width modulation signal and converts the first pulse width modulation signal to obtain the second pulse width modulation signal (i.e., the second PWM signal);
[0052] The three-phase bridge arm inverter circuit is electrically connected to the motor, receives the second pulse width modulation signal, and drives the motor under the control of the second pulse width modulation signal;
[0053] The current sampling circuit is electrically connected to the pre-drive chip and the three-phase bridge arm inverter circuit, and samples the current of each bridge arm in the three-phase bridge arm inverter circuit.
[0054] The pre-drive chip includes a current amplification module, which amplifies the bridge arm current to obtain the initial current. The TC397 chip obtains multiple current acquisition time points based on the control center point time and sampling delay of the first pulse width modulation signal, and acquires the converted initial current at each current acquisition time point to obtain the zero current and phase current of each phase.
[0055] In detail, such as Figure 1 As shown, the pre-driver chip receives the first pulse width modulation signal and converts it to obtain the second pulse width modulation signal. It then boosts the current and voltage of the pulse width modulation signal (i.e., the first pulse width modulation signal), such as increasing the current from μA to A and the voltage from 5V to 12V, to enhance the driving capability of the pulse width modulation signal for the subsequent switching transistor.
[0056] In detail, such as Figure 1 As shown, the pre-driver chip also includes a first analog-to-digital converter (not shown) and a digital-to-analog converter (not shown). The first analog-to-digital converter performs analog-to-digital conversion on the initial current to obtain a first digital current, and the digital-to-analog converter performs digital-to-analog conversion on the first digital current to obtain an intermediate current.
[0057] In detail, such as Figure 1As shown, the TC397 chip includes a second analog-to-digital converter (not shown in the figure). The second analog-to-digital converter performs analog-to-digital conversion on the intermediate current to obtain a second digital current. The TC397 chip collects the second digital current at the current acquisition time point to obtain the zero current and phase current of each phase.
[0058] In detail, such as Figure 1 As shown, the TC397 chip communicates with the pre-driver chip via the SPI interface, and the TC397 chip configures and controls the pre-driver chip via the SPI interface.
[0059] More in detail, such as Figure 1 As shown, the TC397 chip is used as the main control MCU (microcontroller). It communicates with the pre-driver chip through the SPI interface and outputs the first pulse width modulation signal to the pre-driver chip to control the three-phase bridge. The current in the three-phase bridge is sampled by the current sampling circuit (usually a sampling resistor), amplified by the pre-driver chip, and then output to the TC397 chip. Thus, the TC397 chip obtains the current value of the three-phase winding of the motor.
[0060] The TC397 chip precisely controls the timing of current sampling. It first obtains multiple current sampling time points based on the control center point time and sampling delay of the first pulse width modulation signal. Then, it collects the converted initial current at each current sampling time point to accurately obtain the zero current and phase current of each phase. In addition, by simultaneously collecting the zero current and phase current through the TC397 chip, the zero current can be used to compensate and correct the phase current, thereby eliminating the influence of the zero current on motor control and improving the control accuracy of the motor.
[0061] It should be noted that the TC397 chip includes an ADC module (i.e., a second analog-to-digital converter), an STM module (timer), a CCU6 module (capture and compare unit that generates the first pulse width modulation signal), and an IR module (interrupt module). For details, please refer to the prior art, which will not be repeated here.
[0062] In an optional embodiment of the present invention, the initialization process of each module inside the TC397 chip is as follows: Figure 2 As shown, the ADC module is initialized to hardware-triggered mode, with all three current channels used for synchronous sampling; the STM module is initialized for precise time delay; the IR module generates interrupt services, calling the corresponding interrupt function (i.e., the IRQ service function) upon receiving an interrupt request; the CCU6 module consists of two timers, T12 and T13, as shown... Figure 2 The initialization configuration scheme for T12 and T13.
[0063] The CCU6 module is a high-resolution 16-bit capture-compare unit with specific application modes, primarily used for AC drive control. Special operating modes support control of brushless DC motors using Hall sensors or back EMF detection. Furthermore, it supports block commutation and control mechanisms for multi-phase motors. It also supports the synchronous start of multiple timer inputs, a crucial feature of devices with multiple CCU6 cores.
[0064] The CCU6 module consists of a Timer T12 block with three capture / compare channels and a Timer T13 block with one compare channel. The T12 channels can independently generate PWM signals or receive capture triggers, or they can collectively generate control signal modes to drive an AC motor or inverter; Timer T12 can operate in capture and / or compare modes on its three channels. These modes can also be combined (e.g., one channel operates in compare mode while another operates in capture mode). Timer T13 can only operate in compare mode. The multi-channel control unit generates output modes that can be modulated by T12 and / or T13. Modulation sources can be selected and combined for signal modulation.
[0065] In an optional embodiment of the present invention, the interruption of the IR module is generated at the period matching time of T12, such as... Figure 3 As shown, first, it is determined whether this is the first time an interrupt has been entered. If so, the reload register value of T13 needs to be reset to be consistent with the reload register configuration value of T12 as soon as possible. Then, the ADC result register value is read immediately as zero current (lower bridge arm low level). Then, the sampling delay set by the initialization is waited for precisely through the STM module delay (obtained through actual testing). The latest converted ADC value is read out as the phase current (lower bridge arm high level). Finally, the phase current is compensated and corrected through zero current, and the motor is vector controlled (i.e., FOC motor control) through the corrected phase current.
[0066] In an optional embodiment of the present invention, such as Figure 4 As shown, inside the TC397 chip, multiple current sampling time points are obtained based on the control center point time and sampling delay of the first pulse width modulation signal. The initial current after conversion is sampled at the current sampling time points to obtain the zero current and phase current of each phase, so as to accurately control the current sampling time point. The center point of the actual current waveform is used as the current sampling point to improve the current sampling accuracy.
[0067] In detail, such as Figure 4As shown, waveform ① represents the waveform of the first pulse width modulation signal of the lower bridge arm of the control U phase (assuming it is U phase) output by the TC397 chip. However, the actual current waveform acquired by the pre-driver chip is often delayed for a period of time (usually several μs or more), as shown in waveform ②, which shows the actual current acquired from the pre-driver chip. If sampling is performed at the control center point of the first pulse width modulation signal in waveform ① (i.e., the MCU control center point shown in the figure), the actual current waveform will often be sampled near the edge. However, the switching of the switching transistor will cause current fluctuations, so sampling near the edge will result in a large error. Therefore, it is necessary to delay sampling at the center point of the first pulse width modulation signal, i.e., the actual current sampling point of the MCU shown in the figure.
[0068] Based on the design concept of the motor drive control system based on the TC397 chip described above, another exemplary embodiment of this application proposes a motor drive control method based on the TC397 chip, such as... Figure 5 As shown, the method includes:
[0069] S1. Provide the above-mentioned motor drive control system based on TC397;
[0070] S2. Obtain the control center point time of the first pulse width modulation signal and obtain the sampling delay;
[0071] S3. Using the TC397 chip, the control center point time of the first pulse width modulation signal is superimposed with the sampling delay to obtain multiple current acquisition time points;
[0072] S4. Using the TC397 chip, the converted initial current is collected at each current acquisition time point to obtain the zero current and phase current of each phase.
[0073] In detail, in an exemplary embodiment of this application, the step of obtaining the control center point time of the first pulse width modulation signal further includes:
[0074] S21. Six first pulse width modulation signals are generated through the CCU6 module inside the TC397 chip;
[0075] S22. Obtain the control center point time of each first pulse width modulation signal through the CCU6 module inside the TC397 chip.
[0076] More specifically, in the TC397 chip, six first pulse width modulation signals are generated through the cooperation of timers T12 and T13 inside the CCU6 module, and the control center point time of each first pulse width modulation signal can be accurately obtained at the same time.
[0077] In detail, the first pulse width modulation signal is converted and processed by the pre-driver chip to obtain a second pulse width modulation signal, and the step of obtaining the sampling delay further includes:
[0078] S23. Test the motor drive control system based on TC397 and obtain the delay time between each first pulse width modulation signal and the second pulse width modulation signal transmitted to the corresponding switch control terminal in the three-phase bridge arm inverter circuit, which is denoted as the first delay time.
[0079] S24. Test the motor drive control system based on TC397 and obtain the acquisition, amplification and conversion time of each bridge arm current from the three-phase bridge arm inverter circuit to the TC397 chip, which is recorded as the second delay time.
[0080] S25. The first delay time and the second delay time are superimposed to obtain the sampling delay.
[0081] More specifically, in step S23, the delay time between each first pulse width modulation signal output by the TC397 chip and the second pulse width modulation signal transmitted to the corresponding switch control terminal in the three-phase bridge arm inverter circuit is tested to obtain the first delay time, which is mainly the conversion delay time of the pre-driver chip.
[0082] More specifically, in step S24, the delay time between each bridge arm current and the first digital current (or the second digital current) is tested to obtain the second delay time, which is mainly the delay time of analog-to-digital conversion and digital-to-analog conversion.
[0083] More specifically, in step S25, the first delay time and the second delay time are superimposed to obtain the sampling delay between the output of the first pulse width modulation signal and the current sampling.
[0084] In detail, the three-phase bridge arm inverter circuit includes three phases (such as U, V, and W phases). In step S4, the zero current and phase current of each phase are collected through the TC397 chip.
[0085] In detail, the current acquisition time points include the zero current acquisition time point and the phase current acquisition time point. At each current acquisition time point, the converted initial current is acquired, and the step S4 to obtain the zero current and phase current of each phase further includes:
[0086] S41. For each phase, obtain the zero current acquisition time point. At the zero current acquisition time point, acquire the initial current after conversion to obtain the zero current.
[0087] S42. For each phase, obtain the phase current acquisition time point. At the phase current acquisition time point, acquire the converted initial current to obtain the phase current.
[0088] In detail, after obtaining the zero current and phase current of each phase, the TC397-based motor drive control method further includes:
[0089] S5. In the TC397 chip, the phase current is compensated and corrected by zero current in each phase.
[0090] S6. In the TC397 chip, the motor is vector controlled according to the corrected phase current, and the first pulse width modulation signal is adjusted.
[0091] More specifically, in step S5, in the TC397 chip, for each phase, the phase current is compensated and corrected by zero current, such as temperature compensation correction, to obtain the corrected phase current. The specific correction algorithm can be found in the prior art, and will not be repeated here.
[0092] More specifically, in step S6, the TC397 chip performs vector control (FOC control) on the motor based on the corrected three-phase currents, adjusts the first pulse width modulation signal, and improves the control accuracy of the motor. The specific vector control algorithm can also be found in the prior art, and will not be repeated here.
[0093] In summary, the TC397-based motor drive control system and method provided by this invention, with its hardware architecture design of TC397 chip + pre-drive chip + three-phase bridge arm inverter circuit + current sampling circuit, can calculate multiple current acquisition time points based on the control center point time and sampling delay of the first pulse width modulation signal. At each current acquisition time point, the zero current and phase current of each phase are acquired, precisely controlling the current sampling time point. Using the center point of the actual current waveform as the current sampling point prevents the influence of current fluctuations caused by the switching instant of the switching transistor on the error of the sampled current value at the edge position of the acquired current waveform, effectively improving the current sampling accuracy. Simultaneously, by acquiring the zero current and phase current, compensating and correcting the phase current through the zero current, and then using the corrected phase current for motor vector control, the influence of the zero current on motor control can be effectively eliminated, improving the motor control accuracy.
[0094] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the present invention. Any person skilled in the art can modify or change the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or changes made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention. It should be emphasized that the flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functions, and operations that may be implemented according to various embodiments of this application. Each block in the flowchart or block diagram may represent a module, program segment, or part of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each box in a block diagram or flowchart, as well as combinations of boxes in a block diagram or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0095] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.
Claims
1. A motor drive control system based on TC397, characterized in that, include: The TC397 chip generates the first pulse width modulation signal; The pre-driver chip is electrically connected to the TC397 chip, receives the first pulse width modulation signal and converts the first pulse width modulation signal to obtain the second pulse width modulation signal; The three-phase bridge arm inverter circuit is electrically connected to the motor, receives the second pulse width modulation signal, and drives the motor under the control of the second pulse width modulation signal; The current sampling circuit is electrically connected to the pre-drive chip and the three-phase bridge arm inverter circuit, and samples the current of each bridge arm in the three-phase bridge arm inverter circuit. The pre-drive chip includes a current amplification module, which amplifies the bridge arm current to obtain an initial current. The TC397 chip obtains multiple current acquisition time points based on the control center point time and sampling delay of the first pulse width modulation signal, and acquires the converted initial current at each current acquisition time point to obtain the zero current and phase current of each phase. The TC397 chip tests the motor drive control system to obtain a first delay time and a second delay time, and then superimposes the first delay time and the second delay time to obtain the sampling delay. The first delay time is the delay time between the first pulse width modulation signal and the second pulse width modulation signal transmitted to the corresponding switch control terminal in the three-phase bridge arm inverter circuit, and the second delay time is the transmission time of the bridge arm current from the three-phase bridge arm inverter circuit to the TC397 chip.
2. The motor drive control system based on TC397 according to claim 1, characterized in that, The pre-driver chip also includes a first analog-to-digital converter and a digital-to-analog converter. The first analog-to-digital converter performs analog-to-digital conversion on the initial current to obtain a first digital current, and the digital-to-analog converter performs digital-to-analog conversion on the first digital current to obtain an intermediate current.
3. The motor drive control system based on TC397 according to claim 2, characterized in that, The TC397 chip includes a second analog-to-digital converter, which performs analog-to-digital conversion on the intermediate current to obtain a second digital current. The TC397 chip collects the second digital current at the current acquisition time point to obtain the zero current and phase current of each phase.
4. A motor drive control method based on TC397, characterized in that, include: Provide a motor drive control system based on TC397 according to any one of claims 1-3; Obtain the control center point time of the first pulse width modulation signal, and obtain the sampling delay; Using the TC397 chip, the control center point time of the first pulse width modulation signal is superimposed with the sampling delay to obtain multiple current acquisition time points; Using the TC397 chip, the converted initial current is collected at each current acquisition time point to obtain the zero current and phase current of each phase.
5. The motor drive control method based on TC397 according to claim 4, characterized in that, The step of obtaining the control center point time of the first pulse width modulation signal includes: The CCU6 module inside the TC397 chip generates six of the first pulse width modulation signals. The control center point time of each of the first pulse width modulation signals is obtained through the CCU6 module inside the TC397 chip.
6. The motor drive control method based on TC397 according to claim 5, characterized in that, Each of the first pulse width modulation signals is converted and processed by the pre-driver chip to obtain a second pulse width modulation signal. The step of obtaining the sampling delay includes: The TC397-based motor drive control system was tested to obtain the delay time between each of the first pulse width modulation signals and the second pulse width modulation signal transmitted to the corresponding switch control terminal in the three-phase bridge arm inverter circuit, which is denoted as the first delay time. The motor drive control system based on TC397 was tested, and the acquisition, amplification and conversion time of each bridge arm current from the three-phase bridge arm inverter circuit to the TC397 chip was obtained, which was recorded as the second delay time. The sampling delay is obtained by superimposing the first delay time and the second delay time.
7. The motor drive control method based on TC397 according to claim 6, characterized in that, The three-phase bridge arm inverter circuit includes three phases, and collects the zero current and the phase current of each phase.
8. The motor drive control method based on TC397 according to claim 7, characterized in that, The current acquisition time points include zero current acquisition time points and phase current acquisition time points. The step of acquiring the converted initial current at each of the current acquisition time points to obtain the zero current and phase current of each phase includes: For each phase, the zero current acquisition time point is obtained, and at the zero current acquisition time point, the converted initial current is acquired to obtain the zero current; For each phase, the phase current acquisition time point is obtained, and at the phase current acquisition time point, the converted initial current is acquired to obtain the phase current.
9. The motor drive control method based on TC397 according to claim 4, characterized in that, After obtaining the zero current and phase current of each phase, the TC397-based motor drive control method further includes: In the TC397 chip, the phase current is compensated and corrected in each phase through the zero current. In the TC397 chip, the motor is vector controlled according to the corrected phase current, and the first pulse width modulation signal is adjusted.
Citation Information
Patent Citations
Polyphase electric motor control device
CN108696231A
Digital control method and system for high-bandwidth current loop
CN111555688A
Electronic water pump controller device for automobile
CN112360612A