Vehicle, motor controller of vehicle and control method of motor controller
By designing a combination of power management, main control, drive and speed detection modules in the motor controller of new energy vehicles, it is possible to enter the safe mode when the vehicle speed is greater than the preset value, which solves the problem that the motor controller is difficult to enter the active short circuit protection, ensuring that The safety and driving safety of the motor controller.
Patent Information
- Application Number
- CN202411357640.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-27
- Publication Date
- 2024-12-03
AI Technical Summary
Under the high-speed operating conditions of new energy vehicles, it is difficult for the motor controller to enter the active short circuit protection, resulting in unexpected braking torque, affecting driving safety.
Design a vehicle motor controller, including power management module, main control module, drive module and speed detection module, through the logic circuit module, enters the safe mode when the vehicle speed is greater than the preset value, and controls the IGBT module to enter the active short circuit protection state to avoid Unexpected braking torque in low speed zone.
When the main control module is in a preset fault state, the low-level signal is output through the power management module, and the driving module enters a safe mode to protect the motor controller from safety, and avoid the generation of unexpected braking torque in the low-speed zone through the speed detection mode.
Smart Images

Figure CN119058424A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicle motor control, and in particular to a vehicle, a motor controller of the vehicle, and a control method thereof. Background Art
[0002] Permanent magnet synchronous motors are widely used in the drive motors of new energy vehicles. Under high-speed conditions, if a serious fault occurs in the electric drive system, the motor controller needs to enter active short-circuit protection ASC (Active short circuit) to avoid excessive back electromotive force damaging high-voltage devices and generating unexpected braking torque.
[0003] At present, when the main control chip of the motor controller fails to work properly, it is difficult for the motor controller to enter active short-circuit protection. In addition, when the motor controller enters active short-circuit protection, the vehicle speed may be low, which will cause the electric drive system to generate unexpected braking torque, affecting the driving safety of the vehicle. Summary of the invention
[0004] In view of the above problems, the present application provides a vehicle, a motor controller of the vehicle and a control method thereof, wherein when the main control module is in a preset fault state, it can enter a safe mode to protect the safety of the motor controller. Based on the setting of the speed detection mode, it can avoid the generation of unexpected braking torque in the low speed area.
[0005] The first aspect of the present application provides a motor controller for a vehicle, comprising: a power management module, connected to a low-voltage power supply; a main control module, connected to the power management module; a drive module and an IGBT module, the drive module is connected to the IGBT module, and the drive module is used to drive the IGBT module; a logic circuit module and a speed detection module, the logic circuit module is respectively connected to the power management module, the main control module, the drive module and the speed detection module, and the speed detection module is also connected to the three-phase voltage circuit of the motor controller; the speed detection module is used to obtain a voltage signal of the three-phase voltage circuit, and output a first electrical signal to the logic circuit module when the current speed of the vehicle is greater than a preset speed, and output a second electrical signal to the logic circuit module when the current speed is less than or equal to the preset speed; wherein, when the main control module is in a preset fault state, the power management module outputs a low-level signal to the logic circuit module, and the logic circuit module controls the drive module to enter a safe state mode according to the low-level signal and the first electrical signal, so as to control the IGBT module to enter an ASC state through the drive module.
[0006] In some specific embodiments, the driving module includes a control signal terminal and an enable signal terminal, the control signal terminal is respectively connected to the power management module and the main control module, and the enable signal terminal is respectively connected to the power management module and the main control module; wherein the logic circuit module inputs a low level signal to the control signal terminal according to the low level signal and the electrical signal output by the main control module, and the logic circuit module inputs a high level signal to the enable signal terminal according to the low level signal and the electrical signal input by the main control module, so that the driving module enters a safe state mode.
[0007] In some specific embodiments, the speed detection module is provided with a first input terminal and a second input terminal, and the first input terminal and the second input terminal are respectively connected to any two voltage lines in the three-phase voltage line to obtain the electrical signals of the two voltage lines; wherein the speed detection module is used to process the electrical signals of the two voltage lines to obtain a DC signal, and output one of the first electrical signal or the second electrical signal when the voltage of the DC signal is higher than a preset voltage, and output the other of the first electrical signal or the second electrical signal when the voltage of the DC signal is equal to or lower than the preset voltage.
[0008] In some specific embodiments, the speed detection module includes a first comparator and a trigger, the first comparator is provided with a first input terminal and a second input terminal, and the output terminal of the first comparator is connected to the input terminal of the trigger; wherein, the electrical signals of the two voltage circuits are processed by the first comparator to output a first pulse signal, the frequency of the first pulse signal is the same as the frequency of the electrical signals of the two voltage circuits, and the high-level duty cycle of the first pulse signal is 50%; the first pulse signal is processed by the trigger to output a second pulse signal, the frequency of the second pulse signal is the same as the frequency of the first pulse signal, the high-level duty cycle of the second pulse signal is proportional to the frequency of the first pulse signal, and the second pulse signal is used to form a DC signal.
[0009] In some specific embodiments, the speed detection module also includes a filtering circuit, the input end of the filtering circuit is connected to the output end of the trigger, and the filtering circuit is used to convert the second pulse signal into a DC signal, and the voltage of the DC signal is proportional to the high-level duty cycle of the second pulse signal.
[0010] In some specific embodiments, the speed detection module also includes a second comparator, and the two input terminals of the second comparator are respectively connected to the output terminal of the filter circuit and the preset reference voltage terminal, and the reference voltage terminal is used to input a reference voltage to the second comparator; wherein, when the voltage of the DC signal is higher than the reference voltage, the second comparator outputs a high level, and when the voltage of the DC signal is equal to or lower than the reference voltage, the second comparator outputs a low level.
[0011] In some specific embodiments, the logic circuit module includes a first AND gate logic circuit, two input ends of the first AND gate logic circuit are respectively connected to the power management module and the main control module, and the output end of the first AND gate logic circuit is connected to the control signal end; wherein, the low level signal output by the power management module and the low level signal or high level signal output by the main control signal are processed by the first AND gate logic circuit to input a low level signal to the control signal end.
[0012] In some specific embodiments, the logic circuit module also includes a second AND gate logic circuit and an OR gate logic circuit, the two input ends of the second AND gate logic circuit are respectively connected to the power management module and the main control module, the output end of the second AND gate logic circuit is connected to one input end of the OR gate logic circuit, and the output end of the OR gate logic circuit is connected to the enable signal end; the logic circuit module also includes a NOT gate logic circuit, the input end of the NOT gate logic circuit is connected to the power management module, and the output end of the NOT gate logic circuit is connected to the other input end of the OR gate logic circuit; wherein the low level signal output by the power management module is processed by the NOT gate logic circuit to output a high level signal to the other input end of the OR gate logic circuit, so that the OR gate logic circuit inputs a high level signal to the enable signal end.
[0013] In some specific embodiments, the logic circuit module also includes a third AND gate logic circuit, two input ends of the third AND gate logic circuit are respectively connected to the output end of the NOT gate logic circuit and the output end of the speed detection module, and the output end of the third AND gate logic circuit is connected to another input end of the OR gate logic circuit.
[0014] A second aspect of the present application provides a vehicle, the vehicle comprising a motor controller of any of the above-mentioned vehicles and a drive motor, wherein the motor controller of the vehicle is used to control the drive motor.
[0015] A third aspect of the present application provides a control method for a motor controller of a vehicle, the method being based on the motor controller of any of the above-mentioned vehicles, the method comprising: if the motor controller is in a preset fault state and the current speed of the vehicle is greater than the preset speed, controlling the drive module to enter a safe state mode; setting the maximum speed of the vehicle to the preset speed, and when the current speed of the vehicle is less than or equal to the preset speed, controlling the drive module to exit the safe state mode and enter the shutdown mode.
[0016] The present application has at least the following beneficial technical effects: Based on the vehicle, the motor controller of the vehicle and the control method thereof provided by the present application, the controller includes: a power management module, connected to a low-voltage power supply; a main control module, connected to the power management module; a drive module and an IGBT module, the drive module is connected to the IGBT module, and the drive module is used to drive the IGBT module; a logic circuit module and a speed detection module, the logic circuit module is respectively connected to the power management module, the main control module, the drive module and the speed detection module, and the speed detection module is also connected to the three-phase voltage circuit of the motor controller; the speed detection module is used to obtain a voltage signal of the three-phase voltage circuit, and output a first electrical signal to the logic circuit module when the current speed of the vehicle is greater than a preset speed, and output a second electrical signal to the logic circuit module when the current speed is less than or equal to the preset speed; wherein, when the main control module is in a preset fault state, the power management module outputs a low-level signal to the logic circuit module, and the logic circuit module controls the drive module to enter a safe state mode according to the low-level signal and the first electrical signal, so as to control the IGBT module to enter an ASC state through the drive module. Therefore, when the main control module is in a preset fault state, the low-level signal output by the power management module can cause the drive module to enter the safety mode to protect the safety of the motor controller. In addition, based on the setting of the speed detection mode, the safety mode will be entered only when the current vehicle speed is greater than the preset vehicle speed, thereby avoiding the generation of unexpected braking torque in the low-speed area.
[0017] The above description is only an overview of the technical solution of the embodiment of the present application. In order to more clearly understand the technical means of the embodiment of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present application. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:
[0019] Figure 1 is a structural block diagram of an embodiment of a motor controller for a vehicle provided by the present application;
[0020] Figure 2 is a circuit diagram of an embodiment of a motor controller for a vehicle provided by the present application;
[0021] Figure 3 is a circuit diagram of an embodiment of a speed detection module of a motor controller of a vehicle provided by the present application;
[0022] Figure 4 It is a waveform diagram of the first pulse signal outputted by the electrical signals of the two voltage lines after being processed by the first comparator;
[0023] Figure 5 is a waveform diagram of a second pulse signal outputted by a first pulse signal after being processed by a trigger;
[0024] Figure 6 is a waveform diagram of the second pulse signal converted into a DC signal;
[0025] Figure 7 is a schematic diagram of the second comparator outputting a high level signal or a low level signal according to a DC signal;
[0026] Figure 8 is a circuit diagram of another embodiment of a motor controller for a vehicle provided by the present application;
[0027] Fig. 9 It is a flow chart of an embodiment of a control method of a vehicle motor controller provided in the present application.
[0028] Explanation of the accompanying drawings: a motor controller 10 of a vehicle, a power management module 11, a low-voltage power supply 12, a main control module 13, a drive module 14, a control signal terminal 141, an enable signal terminal 142, a PWM signal terminal 143, an IGBT module 15, a logic circuit module 16, a first AND gate logic circuit 161, a second AND gate logic circuit 162, an OR gate logic circuit 163, a NOT gate logic circuit 164, a third AND gate logic circuit 165, a speed detection module 17, a first comparator 171, a trigger 172, a filter circuit 173, a second comparator 174, a preset reference voltage terminal 175, a first input terminal A, a second input terminal B, a high-voltage auxiliary source module 18, and a high-voltage power supply module 19. DETAILED DESCRIPTION
[0029] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0030] If there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features limited to "first" and "second" may explicitly or implicitly include at least one of the features. In addition, if the meaning of "and / or" appearing in the full text is to include three parallel schemes, taking "A and / or B" as an example, it includes scheme A, or scheme B, or a scheme that satisfies both A and B. In addition, the technical solutions between the various embodiments can be combined with each other, but it must be based on the ability of ordinary technicians in this field to implement. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0031] In a first aspect, the present application provides a motor controller 10 for a vehicle, which is applied to a new energy vehicle, and the motor controller 10 for the vehicle is the motor controller for the electric drive system of the new energy vehicle. In addition, the motor controller 10 for the vehicle provided by the present application is particularly suitable for a four-wheel drive new energy vehicle, in which case the vehicle has a front electric drive system and a rear electric drive system, and the motor controllers of the front and rear electric drive systems can both be the motor controller 10 for the vehicle provided by the present application.
[0032] Figure 1 It is a structural block diagram of an embodiment of a motor controller 10 for a vehicle provided in the present application.
[0033] Combination Figure 1 The motor controller 10 of the vehicle includes a power management module 11, which is connected to a low-voltage power supply 12. In this case, the low-voltage power supply 12 can also be a part of the motor controller. The low-voltage power supply 12 is connected to an external 12V low-voltage power supply, so that the 12V low-voltage power supply supplies power to the low-voltage power supply 12, and the low-voltage power supply 12 supplies power to the power management module 11.
[0034] The motor controller 10 of the vehicle also includes a main control module 13, which is connected to the power management module 11. At this time, the power management module 11 will supply power to the main control module 13 so that the main control module 13 can work normally. Among them, when the power management module 11 supplies power to the main control module 13 abnormally, the main control module 13 cannot output a high-level signal, etc., which causes the main control module 13 to fail to work normally.
[0035] The motor controller 10 of the vehicle also includes a drive module 14 and an IGBT module 15, and the drive module 14 is connected to the IGBT module 15, and the drive module 14 is used to drive the IGBT module 15. The IGBT module 15 is connected to the drive motor of the electric drive system, so that the IGBT module 15 can drive the drive motor to work. Among them, the IGBT module 15 is a power IGBT module 15 composed of an insulated gate bipolar transistor (IGBT), and the IGBT module 15 includes an upper three-bridge IGBT module and a lower three-bridge IGBT module, which are respectively provided with three transistors. At this time, the drive module 14 can include an upper three-bridge drive module and a lower three-bridge drive module, respectively realizing specific control of the upper three-bridge IGBT module and the lower three-bridge IGBT module.
[0036] Specifically, the driving module 14 is also connected to the main control module 13, so that the driving module 14 can receive the relevant control signal of the main control module 13. At this time, the driving module 14 can drive the IGBT module 15 according to the control signal of the main control module 13, thereby controlling the driving motor. When the motor controller is working normally, the main control module 13 sends a control signal to the driving module 14, so that the driving module 14 can control the specific working state of the driving motor based on the control signal.
[0037] Continue to combine Figure 1 The motor controller 10 of the vehicle further includes a logic circuit module 16 and a speed detection module 17. The logic circuit module 16 is respectively connected to the power management module 11, the main control module 13, the drive module 14 and the speed detection module 17. When the logic circuit module 16 is respectively connected to the power management module 11, the main control module 13, the drive module 14 and the speed detection module 17, the power management module 11 is connected to the drive module 14, the main control module 13 is connected to the drive module 14, and the speed detection module 17 is respectively connected to the power management module 11 and the drive module 14 through the logic circuit module 16. Among them, the speed detection module 17 is also connected to the three-phase voltage line of the motor controller, and the speed detection module 17 is used to obtain the voltage signal of the three-phase voltage line.
[0038] Specifically, the speed detection module 17 processes the voltage signal of the three-phase voltage line after acquiring it, and outputs a first electrical signal to the logic circuit module 16 when the current speed of the vehicle is greater than the preset speed, and outputs a second electrical signal to the logic circuit module 16 when the current speed is less than or equal to the preset speed. The preset speed can be set according to the requirements for various aspects of the vehicle performance, for example, the preset speed can be set to 60km / h. The first electrical signal and the second electrical signal are different types of electrical signals, for example, the first electrical signal can be a high level signal, and the second electrical signal can be a low level signal.
[0039] It should be understood that the drive motor involved in the above embodiment is a permanent magnet synchronous motor. According to the working principle of the permanent magnet synchronous motor, the rotation frequency of the drive motor is the same as the frequency of the phase voltage of the three-phase voltage circuit of the motor controller 10 of the vehicle. Therefore, this embodiment can obtain the rotation frequency of the drive motor and then obtain the motor speed by obtaining the voltage signal of the three-phase voltage circuit and processing it. The motor speed is proportional to the speed of the vehicle and there is a fixed relationship between the two, so the vehicle speed can be obtained through the motor speed. At this time, the speed detection module 17 can also be regarded as a speed detection module. The speed detection module 17 outputs different electrical signals when the vehicle is at different speeds, that is, it outputs different electrical signals when the drive motor is at different speeds.
[0040] In combination with the above content, when the main control module 13 is in a preset fault state, the power management module 11 outputs a low level signal to the logic circuit module 16. The preset fault state may be a state in which the main control module 13 cannot work normally, the main control module 13 is damaged, or the power management module 11 cannot supply power to the main control module 13 normally, resulting in the main control module 13 not working normally.
[0041] When the logic circuit module 16 receives a low-level signal output by the power management module 11, and the speed of the vehicle is higher than the preset speed so that the speed detection module 17 outputs a first electrical signal, the logic circuit module 16 controls the drive module 14 to enter a safe state mode according to the low-level signal and the first electrical signal, so as to control the IGBT module 15 to enter an ASC state through the drive module 14.
[0042] Specifically, in combination with the specific configuration of the upper three-bridge driving module and the lower three-bridge driving module of the driving module 14, the upper three-bridge driving module or the lower three-bridge driving module can be controlled to enter the safe mode by the low-level signal and the first electrical signal, thereby making the driving module 14 enter the safe mode, so that the driving module 14 controls the IGBT module 15 to enter the ASC state. When the upper three-bridge driving module enters the safe mode, the upper three-bridge IGBT module of the IGBT module 15 enters the short-circuit state, and when the lower three-bridge driving module enters the safe mode, the lower three-bridge IGBT module of the IGBT module 15 enters the short-circuit state.
[0043] In combination with the above content, since the preset fault state includes abnormal power supply of the main control module 13, the logic circuit module 16 and the driving module 14 will also have abnormal power supply at this time, resulting in the driving module 14 and the logic circuit module 16 not being able to work normally. In order to ensure that the driving module 14 and the logic circuit module 16 work normally, and to make the IGBT module 15 enter the ASC state, the motor controller is also provided with a high-voltage auxiliary source module 18 and a high-voltage power supply module 19 at this time, and the high-voltage auxiliary source module 18 is connected to the high-voltage power supply module 19, and the high-voltage auxiliary source module 18 is connected to the driving module 14 and the logic circuit module 16 respectively. The high-voltage power supply is connected to an external high-voltage power supply. When the power supply of the main control module 13 is abnormal, the high-voltage electricity of the high-voltage power supply module 19 is converted into low-voltage electricity through the high-voltage auxiliary source module 18, and then the driving module 14 and the logic circuit module 16 are powered to work normally.
[0044] Figure 2 1 is a circuit diagram of an embodiment of a motor controller 10 for a vehicle provided by the present application.
[0045] Combination Figure 2 In some specific embodiments, the driving module 14 includes a control signal terminal 141 and an enable signal terminal 142. The control signal terminal 141 is connected to the power management module 11 and the main control module 13 respectively, and the enable signal terminal 142 is connected to the power management module 11 and the main control module 13 respectively. Figure 2 The driving module 14 shown in the figure can be an upper three-bridge driving module or a lower three-bridge driving module. The control signal terminal 141 can be a / FSSTATE signal terminal, and the enable signal terminal 142 can be a FSENB signal terminal.
[0046] Based on the settings of the control signal terminal 141 and the enable signal terminal 142, the logic circuit module 16 inputs a low level signal to the control signal terminal 141 according to the low level signal and the electrical signal output by the main control module 13, and the logic circuit module 16 inputs a high level signal to the enable signal terminal 142 according to the low level signal and the electrical signal input by the main control module 13, so that the drive module 14 enters the safe state mode.
[0047] Figure 3 1 is a circuit diagram of an embodiment of a rotation speed detection module 17 of a motor controller 10 of a vehicle provided in the present application.
[0048] Combination Figure 3 In some specific embodiments, the speed detection module 17 is provided with a first input terminal A and a second input terminal B, and the first input terminal A and the second input terminal B are respectively connected to any two voltage lines in the three-phase voltage line to obtain electrical signals of the two voltage lines.
[0049] Specifically, the three-phase voltage circuit of the motor controller includes U, V, and W three-phase voltage circuits, and the U, V, and W three-phase voltage circuits can be voltage circuits in the IGBT module 15. Figure 3 The circled portion on the right is the vehicle's drive motor. At this time, the first input terminal A and the second input terminal B can be connected to any two voltage lines among the U-phase voltage line, the V-phase voltage line, and the W-phase voltage line. Figure 3 It is shown that the first input terminal A and the second input terminal B are connected to the V-phase voltage line and the U-phase voltage line respectively.
[0050] In combination with the above content, after the speed detection module 17 obtains the electrical signals of the two voltage lines, it is used to process the electrical signals of the two voltage lines to obtain a DC signal. This embodiment does not specifically limit the configuration of the specific IGBT module 15 in the speed detection module 17, and the relevant structure in the prior art can be used to implement the relevant functions.
[0051] Further, when the voltage of the DC signal is higher than a preset voltage, one of the first electrical signal or the second electrical signal is output, and when the voltage of the DC signal is equal to or lower than the preset voltage, the other of the first electrical signal or the second electrical signal is output. The preset voltage can be set according to the actual application situation and is not specifically limited. It should be understood that the voltage of the DC signal is proportional to or inversely proportional to the speed of the vehicle. When the voltage of the DC signal is proportional to the speed, the first electrical signal is output when the voltage of the DC signal is higher than the preset voltage. When the voltage of the DC signal is inversely proportional to the speed, the second electrical signal is output when the voltage of the DC signal is higher than the preset voltage.
[0052] Continue to combine Figure 3 In some specific embodiments, the rotation speed detection module 17 includes a first comparator 171 and a trigger 172 . The first comparator 171 is provided with a first input terminal A and a second input terminal B. The output terminal of the first comparator 171 is connected to the input terminal of the trigger 172 .
[0053] Specifically, the electrical signals of the two voltage circuits are processed by the first comparator 171 to output a first pulse signal. The first comparator 171 is used to compare the voltages of the electrical signals of the two voltage circuits and output the first pulse signal according to the comparison result. For example, the two voltage circuits are the first voltage circuit and the second voltage circuit. When the electrical signals of the first voltage circuit and the second voltage circuit pass through the first comparator 171, if the voltage of the first voltage circuit is higher than the voltage of the second voltage circuit, the first comparator 171 outputs a high level signal, otherwise it outputs a low level signal. Of course, the comparison and output logic of the first comparator 171 is not limited to this.
[0054] The frequency of the first pulse signal is the same as the frequency of the electrical signals of the two voltage lines, and the high level duty cycle of the first pulse signal is 50%. It should be understood that the high level duty cycle of the first pulse signal is 50%, which is determined by the specific waveforms of the electrical signals of the two voltage lines and is a fixed duty cycle.
[0055] Figure 4 It is a waveform diagram of the first pulse signal outputted after the electrical signals of the two voltage lines are processed by the first comparator 171 .
[0056] Combination Figure 4 , the two waveform curves above represent the waveforms of the electrical signals of the two voltage lines respectively, and the lower curve represents the waveform of the first pulse signal.
[0057] After the first comparator 171 outputs the first pulse signal, the first pulse signal is processed by the trigger 172 to output the second pulse signal. The trigger 172 is used to change the high-level duty cycle of the first pulse signal without changing its frequency. At this time, the frequency of the second pulse signal is the same as the frequency of the first pulse signal, the high-level duty cycle of the second pulse signal is proportional to the frequency of the first pulse signal, and the second pulse signal is used to form a DC signal.
[0058] Figure 5 It is a waveform diagram of the second pulse signal outputted after the first pulse signal is processed by the trigger 172.
[0059] Combination Figure 5 , the upper waveform represents the first pulse signal, and the lower waveform represents the second pulse signal. Figure 5 It can be seen that the frequencies of the first pulse signal and the second pulse signal are the same, but the high level duty cycles are different.
[0060] It should be understood that since the high-level duty cycle of the second pulse signal is proportional to the frequency of the first pulse signal, and the frequency of the first pulse signal is the same as the frequency of the electrical signals of the two voltage lines, the higher the high-level duty cycle of the second pulse signal, the higher the frequency of the electrical signals of the two voltage lines, that is, the higher the motor speed, that is, the higher the vehicle speed. Therefore, the high-level duty cycle of the second pulse signal is proportional to the vehicle speed.
[0061] Continue to combine Figure 3 In some specific embodiments, the speed detection module 17 further includes a filter circuit 173, and the input end of the filter circuit 173 is connected to the output end of the trigger 172. The filter circuit 173 is used to convert the second pulse signal into a DC signal, and the voltage of the DC signal is proportional to the high level duty cycle of the second pulse signal.
[0062] Figure 6 Schematic diagram of the waveform of the second pulse signal converted into a DC signal.
[0063] Combination Figure 6 , the upper waveform represents the second pulse signal, and the lower waveform represents the DC signal. At this time, the voltage of the DC signal is proportional to the high level duty cycle of the second pulse signal.
[0064] It should be understood that since the high-level duty cycle of the second pulse signal is proportional to the vehicle speed, the voltage of the DC signal is proportional to the high-level duty cycle of the second pulse signal, and therefore the voltage of the DC signal is proportional to the vehicle speed.
[0065] Continue to combine Figure 3 In some specific embodiments, the speed detection module 17 further includes a second comparator 174, and two input terminals of the second comparator 174 are respectively connected to the output terminal of the filter circuit 173 and the preset reference voltage terminal 175, and the reference voltage terminal is used to input a reference voltage to the second comparator 174. At this time, the second comparator 174 is used to compare the voltage of the second pulse signal output by the filter circuit 173 with the preset reference voltage terminal 175, and then output a high level or a low level according to the comparison result. In some application scenarios, when the voltage of the DC signal is higher than the reference voltage, the second comparator 174 outputs a high level, and when the voltage of the DC signal is equal to or lower than the reference voltage, the second comparator 174 outputs a low level.
[0066] Figure 7 is a schematic diagram showing that the second comparator 174 outputs a high level signal or a low level signal according to a DC signal.
[0067] Combination Figure 7 , the arc line represents the voltage value of the DC signal, the horizontal line represents the preset reference voltage, and the step line represents the output high level or low level waveform. Figure 7 It can be seen that when the voltage of the DC signal is higher than the reference voltage, a high level is output, and when the voltage of the DC signal is equal to or lower than the reference voltage, a low level is output.
[0068] It should be understood that, in combination with the above embodiments: when the voltage of the DC signal is higher than the preset voltage, one of the first electrical signal or the second electrical signal is output, and when the voltage of the DC signal is equal to or lower than the preset voltage, the other of the first electrical signal or the second electrical signal is output. This embodiment specifically defines that when the voltage of the DC signal is higher than the preset voltage, a high level is output, and when the voltage of the DC signal is equal to or lower than the preset voltage, a low level is output. In this embodiment, the preset reference voltage is the preset voltage. Among them, when the voltage of the DC signal is higher than the reference voltage, a high level is output, corresponding to the vehicle speed being higher than the preset speed, and when the voltage of the DC signal is equal to or lower than the reference voltage, a low level is output, corresponding to the vehicle speed being equal to or lower than the preset speed. Therefore, the setting of the preset reference voltage needs to be set according to the specific value of the preset speed, and generally speaking, the higher the preset reference voltage, the higher the corresponding preset speed.
[0069] Continue to combine Figure 2 As well as the above embodiments, in some specific embodiments, the logic circuit module 16 includes a first AND gate logic circuit 161, two input ends of the first AND gate logic circuit 161 are respectively connected to the power management module 11 and the main control module 13, and the output end of the first AND gate logic circuit 161 is connected to the control signal end 141. At this time, the low level signal output by the power management module 11 and the low level signal or high level signal output by the main control signal are processed by the first AND gate logic circuit 161 to input a low level signal to the control signal end 141.
[0070] It should be understood that since the two input ends of the first AND gate logic circuit 161 need to input high-level signals at the same time, the first AND gate logic circuit 161 will output a high-level signal, so no matter whether the main control module 13 outputs a high-level signal or a low-level signal, the first AND gate logic circuit 161 will output a low-level signal. However, since the main control module 13 is in a preset fault state at this time, the main control module 13 generally outputs a low-level signal at this time.
[0071] Continue to combine Figure 2 In some specific embodiments, the logic circuit module 16 further includes a second AND gate logic circuit 162 and an OR gate logic circuit 163, and two input ends of the second AND gate logic circuit 162 are respectively connected to the power management module 11 and the main control module 13. At this time, the second AND gate logic circuit 162 also outputs a low level signal.
[0072] The output end of the second AND gate logic circuit 162 is connected to an input end of the OR gate logic circuit 163, and the output end of the OR gate logic circuit 163 is connected to the enable signal terminal 142. The logic circuit module 16 also includes a NOT gate logic circuit 164, the input end of the NOT gate logic circuit 164 is connected to the power management module 11, and the output end of the NOT gate logic circuit 164 is connected to the other input end of the OR gate logic circuit 163.
[0073] Among them, the low-level signal output by the power management module 11 is processed by the NOT gate logic circuit 164 to output a high-level signal to the other input end of the OR gate logic circuit 163. Even if a low-level signal is input to one input end of the OR gate logic circuit 163, the OR gate logic circuit 163 can input a high-level signal to the enable signal terminal 142.
[0074] Combined with the setting of the above-mentioned logic circuit module 16, it is possible to realize that when the main control module 13 is in a preset fault state, a low level signal is input to the control signal terminal 141 through the low level signal output by the power management module 11, and a high level signal is input to the enable signal terminal 142, thereby enabling the drive module 14 to enter a safe state mode.
[0075] It should be understood that, in combination with the setting of the above-mentioned logic circuit module 16, when the main control module 13 works normally, the power management module 11 can output a high level signal to the logic circuit module 16, and at this time the main control module 13 can input a high level signal or a low level signal to the first AND gate logic circuit 161, so that the first AND gate logic circuit 161 outputs a high level signal or a low level signal to the control signal terminal 141. Similarly, the main control module 13 can input a high level signal or a low level signal to the second AND gate logic circuit 162, so that the second AND gate logic circuit 162 outputs a high level signal or a low level signal to the enable signal terminal 142. At this time, the PWM signal terminal 143 of the driving module 14 can be connected to the main control module 13, and then the PWM signal is output to the PWM signal terminal 143 through the main control module 13, so as to realize the specific control of the working state of the driving module 14, so as to realize the specific control of the IGBT module 15, so as to realize the specific control of the working state of the motor.
[0076] Based on the configuration of the above logic circuit module 16 , if combined with the configuration of the rotation speed detection module 17 , a new circuit diagram can be formed.
[0077] Figure 8 is a circuit diagram of another embodiment of the motor controller 10 for a vehicle provided by the present application.
[0078] Combination Figure 8 In some specific embodiments, the logic circuit module 16 also includes a third AND gate logic circuit 165, two input ends of the third AND gate logic circuit 165 are respectively connected to the output end of the NOT gate logic circuit 164 and the output end of the speed detection module 17, and the output end of the third AND gate logic circuit 165 is connected to the other input end of the OR gate logic circuit 163.
[0079] It should be understood that only when both input terminals of the third AND gate logic circuit 165 input high-level signals, the output terminal of the third AND gate logic circuit 165 will output a high-level signal. Combined with the content of the above embodiment, at this time, the power management module 11 outputs a low-level signal, and then the AND gate logic circuit 164 inputs a high-level signal to one input terminal of the third AND gate logic circuit 165. At this time, only when the speed detection module 17 outputs a high-level signal, the third AND gate logic circuit 165 will output a high-level signal, thereby causing the drive module 14 to enter the safe state mode. Combined with the above embodiment, only when the speed of the vehicle is greater than the preset speed, the speed detection module 17 will output a high-level signal, and at this time, the third AND gate logic circuit 165 will output a high-level signal, causing the drive module 14 to enter the safe state mode.
[0080] The second aspect of the present application provides a vehicle, the vehicle comprising the motor controller 10 and the drive motor of any of the above embodiments, the motor controller 10 of the vehicle is used to control the drive motor. The specific description of the motor controller 10 of the vehicle can refer to the contents of the above embodiments, and will not be repeated here.
[0081] A third aspect of the present application provides a method for controlling a motor controller of a vehicle, the method being based on the motor controller 10 of the vehicle in any one of the above-mentioned embodiments. Fig. 9 is a flow chart of an embodiment of a control method of a vehicle motor controller provided by the present application, combined with Fig. 9 , the method comprises the following steps:
[0082] S11: If the motor controller is in a preset fault state and the current speed of the vehicle is greater than a preset speed, the drive module is controlled to enter a safe state mode.
[0083] In combination with the above content, the preset fault state can be a fault in the main control module itself, or an abnormal power supply of the main control module, which causes an abnormal power supply of the main control module. At this time, the motor controller needs to enter the ASC state to ensure the safety of the electric drive system and the vehicle.
[0084] In order to ensure that the motor controller does not enter the ASC state in the low-speed area and generate unexpected braking torque, this embodiment stipulates that only when the current vehicle speed is greater than the preset vehicle speed, the drive module will be controlled to enter the safe state mode, so that the IGBT module enters the ASC state, and then the motor controller enters the ASC state. In combination with the embodiment of the motor controller of the above-mentioned vehicle, based on hardware settings and software logic, the motor controller will enter the safe state mode when it is in a preset fault state and the current vehicle speed is greater than the preset vehicle speed.
[0085] S12: The maximum speed of the vehicle is set to a preset speed, and when the current speed of the vehicle is less than or equal to the preset speed, the drive module is controlled to exit the safe state mode and enter the shutdown mode.
[0086] It should be understood that when the motor controller enters the safe state mode, the current speed of the vehicle is greater than the preset speed. After the maximum speed of the vehicle is set to the preset speed, the vehicle will decelerate so that the current speed is less than the preset speed. At this time, the drive module of the motor controller will exit the safe state mode and enter the shutdown mode. Among them, when the drive module is in the safe state mode, the IGBT module will be short-circuited, and when it is in the shutdown state, the IGBT module will be disconnected.
[0087] It should be understood that when the motor controller enters the ASC state, due to the short circuit of the IGBT module, being in the ASC state for a long time will cause the drive motor and the IGBT module to overheat. This embodiment sets the maximum vehicle speed to the preset vehicle speed, so that the motor controller exits the ASC state after the current vehicle speed is reduced, thereby avoiding the overheating problem caused by being in the ASC state for a long time.
[0088] In summary, based on the vehicle, the motor controller of the vehicle and the control method thereof provided in the present application, the controller includes: a power management module, connected to a low-voltage power supply; a main control module, connected to the power management module; a drive module and an IGBT module, the drive module is connected to the IGBT module, and the drive module is used to drive the IGBT module; a logic circuit module and a speed detection module, the logic circuit module is respectively connected to the power management module, the main control module, the drive module and the speed detection module, and the speed detection module is also connected to the three-phase voltage circuit of the motor controller; the speed detection module is used to obtain the voltage signal of the three-phase voltage circuit, and output a first electrical signal to the logic circuit module when the current speed of the vehicle is greater than the preset speed, and output a second electrical signal to the logic circuit module when the current speed is less than or equal to the preset speed; wherein, when the main control module is in a preset fault state, the power management module outputs a low-level signal to the logic circuit module, and the logic circuit module controls the drive module to enter a safe state mode according to the low-level signal and the first electrical signal, so as to control the IGBT module to enter an ASC state through the drive module. Therefore, when the main control module is in a preset fault state, the low-level signal output by the power management module can cause the drive module to enter the safety mode to protect the safety of the motor controller. In addition, based on the setting of the speed detection mode, the safety mode will be entered only when the current vehicle speed is greater than the preset vehicle speed, thereby avoiding the generation of unexpected braking torque in the low-speed area.
[0089] The above content is only a preferred exemplary embodiment of the present application and is not intended to limit the implementation scheme of the present application. A person skilled in the art can easily make corresponding changes or modifications based on the main concept and spirit of the present application. Therefore, the scope of protection of the present application shall be based on the scope of protection required by the claims.
Claims
1. A motor controller for a vehicle, It is characterized in that include: A power management module connected to a low voltage power supply; A main control module connected to the power management module; A driving module and an IGBT module, wherein the driving module is connected to the IGBT module and is used to drive the IGBT module; A logic circuit module and a speed detection module, wherein the logic circuit module is respectively connected to the power management module, the main control module, the drive module and the speed detection module, and the speed detection module is also connected to the three-phase voltage circuit of the motor controller; The speed detection module is used to obtain the voltage signal of the three-phase voltage circuit, and output a first electrical signal to the logic circuit module when the current vehicle speed is greater than a preset vehicle speed, and output a second electrical signal to the logic circuit module when the current vehicle speed is less than or equal to the preset vehicle speed; Among them, when the main control module is in a preset fault state, the power management module outputs a low-level signal to the logic circuit module, and the logic circuit module controls the drive module to enter a safe state mode according to the low-level signal and the first electrical signal, so as to control the IGBT module to enter an ASC state through the drive module.
2. The motor controller according to claim 1, It is characterized in that The driving module includes a control signal terminal and an enable signal terminal, the control signal terminal is connected to the power management module and the main control module respectively, and the enable signal terminal is connected to the power management module and the main control module respectively; Among them, the logic circuit module inputs a low level signal to the control signal end according to the low level signal and the electrical signal output by the main control module, and the logic circuit module inputs a high level signal to the enable signal end according to the low level signal and the electrical signal input by the main control module, so that the driving module enters a safe state mode.
3. The motor controller according to claim 2, It is characterized in that The rotation speed detection module is provided with a first input end and a second input end, and the first input end and the second input end are respectively connected to any two voltage lines of the three-phase voltage lines to obtain electrical signals of the two voltage lines; Among them, the speed detection module is used to process the electrical signals of the two voltage lines to obtain a DC signal, and output one of the first electrical signal or the second electrical signal when the voltage of the DC signal is higher than a preset voltage, and output the other of the first electrical signal or the second electrical signal when the voltage of the DC signal is equal to or lower than the preset voltage.
4. The motor controller according to claim 3, It is characterized in that The rotation speed detection module includes a first comparator and a trigger, the first comparator is provided with the first input end and the second input end, and the output end of the first comparator is connected to the input end of the trigger; Among them, the electrical signals of the two voltage circuits are processed by the first comparator to output a first pulse signal, the frequency of the first pulse signal is the same as the frequency of the electrical signals of the two voltage circuits, and the high-level duty cycle of the first pulse signal is 50%; the first pulse signal is processed by the trigger to output a second pulse signal, the frequency of the second pulse signal is the same as the frequency of the first pulse signal, the high-level duty cycle of the second pulse signal is proportional to the frequency of the first pulse signal, and the second pulse signal is used to form the DC signal.
5. The motor controller according to claim 4, It is characterized in that The speed detection module also includes a filtering circuit, the input end of the filtering circuit is connected to the output end of the trigger, and the filtering circuit is used to convert the second pulse signal into the DC signal, and the voltage of the DC signal is proportional to the high-level duty cycle of the second pulse signal.
6. The motor controller according to claim 5, It is characterized in that The speed detection module further includes a second comparator, two input terminals of the second comparator are respectively connected to the output terminal of the filter circuit and a preset reference voltage terminal, and the reference voltage terminal is used to input a reference voltage to the second comparator; When the voltage of the DC signal is higher than the reference voltage, the second comparator outputs a high level, and when the voltage of the DC signal is equal to or lower than the reference voltage, the second comparator outputs a low level.
7. The motor controller according to claim 2, It is characterized in that The logic circuit module includes a first AND gate logic circuit, two input ends of the first AND gate logic circuit are respectively connected to the power management module and the main control module, and the output end of the first AND gate logic circuit is connected to the control signal end; The low level signal output by the power management module and the low level signal or high level signal output by the main control signal are processed by the first AND gate logic circuit to input a low level signal to the control signal terminal.
8. The motor controller according to claim 2, It is characterized in that The logic circuit module also includes a second AND gate logic circuit and an OR gate logic circuit, wherein two input ends of the second AND gate logic circuit are respectively connected to the power management module and the main control module, an output end of the second AND gate logic circuit is connected to an input end of the OR gate logic circuit, and an output end of the OR gate logic circuit is connected to the enable signal end; The logic circuit module further includes a NOT gate logic circuit, the input end of the NOT gate logic circuit is connected to the power management module, and the output end of the NOT gate logic circuit is connected to another input end of the OR gate logic circuit; The low level signal output by the power management module is processed by the NOT gate logic circuit to output a high level signal to the other input end of the OR gate logic circuit, so that the OR gate logic circuit inputs a high level signal to the enable signal end.
9. The motor controller according to claim 8, It is characterized in that The logic circuit module also includes a third AND gate logic circuit, the two input ends of the third AND gate logic circuit are respectively connected to the output end of the NOT gate logic circuit and the output end of the speed detection module, and the output end of the third AND gate logic circuit is connected to another input end of the OR gate logic circuit.
10. A vehicle, It is characterized in that The vehicle comprises a motor controller for the vehicle according to any one of claims 1 to 9 and a drive motor, wherein the motor controller for the vehicle is used to control the drive motor.
11. A control method for a motor controller of a vehicle, It is characterized in that The method is based on a motor controller of a vehicle according to any one of claims 1 to 9, and the method comprises: If the motor controller is in a preset fault state and the current speed of the vehicle is greater than the preset speed, controlling the drive module to enter a safe state mode; The maximum speed of the vehicle is set to the preset speed, and when the current speed of the vehicle is less than or equal to the preset speed, the driving module is controlled to exit the safe state mode and enter the shutdown mode.
