Controller circuit and sampling and control method of electric power steering system

By designing a three-phase motor phase voltage state feedback circuit and a motor freewheeling circuit in an electric power steering system, accurate diagnosis of field effect tubes and accurate current sampling is achieved, and the inaccurate diagnosis and degraded current sampling accuracy in the prior art are solved. The problem has improved the security and control performance of the system.

CN112644583BActive Publication Date: 2024-12-06BOSCH HUAYU STEERING SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010476059.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-10-11
Filing Date
2020-05-29
Publication Date
2024-12-06
Estimated Expiration
2040-05-29

AI Technical Summary

Technical Problem

The existing electric power steering system controllers are not accurate enough to diagnose the field effect tubes in the three-phase bridge module, and it is easy to cause impact and damage of the phase separation switch when the motor is cut off, and the three-phase current sampling accuracy decreases when the current range changes.

Method used

A controller circuit including a three-phase motor, a microcontroller, a three-phase bridge module and a three-phase motor phase voltage state feedback circuit was designed. The accurate fault diagnosis of the field effect tube is achieved through the voltage divider circuit and the pull-up circuit, and Diodes are set in the motor freewheeling circuit to avoid circuit damage, while differential op amps and SPI commands are used to adjust the gain value and bias voltage to improve the three-phase current sampling accuracy.

Benefits of technology

It improves the diagnostic coverage of field effect tubes, avoids circuit damage, ensures high-precision sampling of three-phase currents under different current ranges, and improves motor control performance and system safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112644583B_ABST
    Figure CN112644583B_ABST
Patent Text Reader

Abstract

The present invention discloses a controller circuit and a sampling and control method for an electric power steering system, wherein the circuit includes a three-phase motor, a microcontroller, a three-phase bridge module and a three-phase motor phase voltage state feedback circuit; the three-phase motor phase voltage state feedback circuit includes three pull-up circuits in addition to three voltage divider circuits; the microcontroller is used to control the opening or closing of the U-phase upper bridge field effect tube, the U-phase lower bridge field effect tube, the V-phase upper bridge field effect tube, the V-phase lower bridge field effect tube, the W-phase upper bridge field effect tube and / or the W-phase lower bridge field effect tube, and based on the voltage collected by the analog-to-digital conversion voltage collection end, the U-phase upper bridge field effect tube, the U-phase lower bridge field effect tube, the V-phase upper bridge field effect tube, the V-phase lower bridge field effect tube, the W-phase upper bridge field effect tube and the W-phase lower bridge field effect tube perform power-on fault diagnosis. The present invention realizes accurate diagnosis of each field effect tube in the three-phase bridge module, and improves the diagnosis coverage of the field effect tube.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of control of electric power steering systems, and in particular to a controller circuit and a sampling and control method of an electric power steering system. Background Art

[0002] The electric power steering system has the advantages of small size, light weight, simple structure, high efficiency, energy saving and environmental protection, flexible control method, etc. It has become an indispensable part of the car. The electric power steering system controller circuit design and its control method are the core of the electric power steering system. Domestic and foreign suppliers of electric power steering systems or controllers have their own controller circuit design and control methods. The main core functions are the control of the power motor and the functional safety design of the steering system.

[0003] Since the electric power steering system controller has relatively high requirements for safety performance, before the controller works normally, it is necessary to diagnose the power-on fault of the three-phase bridge, specifically to diagnose the switch of each field effect tube in the three-phase bridge module. After ensuring that each switch is normal, the controller can start the three-phase bridge driver chip to perform PWM (Pulse width modulation) control on the three-phase bridge to enable the motor to generate power. However, the existing electric power steering system controller circuit is not accurate enough in diagnosing the field effect tube of the three-phase bridge module. At the same time, when it is necessary to cut off the motor power, it is easy to impact the phase separation switch field effect tube on the controller, or even damage it. In addition, when three-phase current sampling is performed in the current motor control, the sampling accuracy is poor when the current value flowing through the motor changes in a large range.

[0004] The existing power-assisted motor control circuit cannot quickly and simply control the motor's switch and power-assisted input in real time, and the controller protection and diagnosis mechanism are not comprehensive enough. Therefore, it is very necessary to design a controller circuit and a control method for an electric power-assisted steering system that adopts multiple measures to improve the functional safety level of the electric power-assisted steering system; the control performance of the power-assisted motor is more stable; the controller protection and diagnosis mechanism is more comprehensive, making the controller safer, more reliable, and not easy to damage. Summary of the invention

[0005] The technical problem to be solved by the present invention is to overcome the defect in the prior art that the diagnosis of the field effect transistor of the three-phase bridge module in the electric power steering system controller circuit is not accurate enough, and to provide a controller circuit and a sampling and control method for the electric power steering system that can easily and conveniently perform power-on fault diagnosis of the three-phase bridge.

[0006] The present invention solves the above technical problems through the following technical solutions:

[0007] A first aspect of the present invention provides a controller circuit for an electric power steering system, comprising a three-phase motor, a microcontroller, a three-phase bridge module and a three-phase motor phase voltage state feedback circuit;

[0008] The microcontroller includes at least three analog-to-digital conversion voltage acquisition terminals;

[0009] The three-phase motor includes a U-phase terminal, a V-phase terminal and a W-phase terminal;

[0010] The three-phase bridge module includes a U-phase upper bridge field effect transistor, a U-phase lower bridge field effect transistor, a V-phase upper bridge field effect transistor, a V-phase lower bridge field effect transistor, a W-phase upper bridge field effect transistor and a W-phase lower bridge field effect transistor;

[0011] The three-phase motor phase voltage state feedback circuit includes three voltage divider circuits, each of which includes an original voltage terminal, a voltage divider output terminal and a ground terminal, and the three original voltage terminals are connected to the U phase terminal, the V phase terminal and the W phase terminal one by one;

[0012] The three voltage-dividing output terminals are electrically connected to the three analog-to-digital conversion voltage collecting terminals in a one-to-one correspondence;

[0013] The voltage divider circuit is used to divide the phase voltage of the three-phase motor into a voltage range supported by the analog-to-digital conversion voltage acquisition terminal;

[0014] The U-phase end is electrically connected to the source of the U-phase upper bridge field effect transistor, the drain of the U-phase lower bridge field effect transistor and the original voltage end of the corresponding voltage divider circuit;

[0015] The V-phase end is electrically connected to the source of the V-phase upper bridge field effect transistor, the drain of the V-phase lower bridge field effect transistor and the original voltage end of the corresponding voltage divider circuit;

[0016] The W-phase end is electrically connected to the source of the W-phase upper bridge field effect transistor, the drain of the W-phase lower bridge field effect transistor and the original voltage end of the corresponding voltage divider circuit;

[0017] The three-phase motor phase voltage state feedback circuit also includes three pull-up circuits, and the three pull-up circuits are used for pulling up the U phase end, the V phase end and the W phase end in a one-to-one correspondence;

[0018] The microcontroller is used to control the opening or closing of the U-phase upper bridge field effect transistor and the U-phase lower bridge field effect transistor respectively, and perform power-on fault diagnosis on the U-phase upper bridge field effect transistor and / or the U-phase lower bridge field effect transistor based on the voltage collected by the corresponding analog-to-digital conversion voltage collection end; the microcontroller is also used to control the opening or closing of the V-phase upper bridge field effect transistor and the V-phase lower bridge field effect transistor respectively, and perform power-on fault diagnosis on the V-phase upper bridge field effect transistor and / or the V-phase lower bridge field effect transistor based on the voltage collected by the corresponding analog-to-digital conversion voltage collection end; the microcontroller is also used to control the opening or closing of the W-phase upper bridge field effect transistor and the W-phase lower bridge field effect transistor respectively, and perform power-on fault diagnosis on the W-phase upper bridge field effect transistor and / or the W-phase lower bridge field effect transistor based on the voltage collected by the corresponding analog-to-digital conversion voltage collection end.

[0019] In this solution, the three-phase motor phase voltage state feedback circuit not only feeds back the true phase voltage of the three-phase motor in real time to assist motor control, but also realizes power-on fault diagnosis of the field effect transistor in the three-phase bridge module through three pull-up circuits, thereby improving the diagnostic coverage of the field effect transistor.

[0020] Preferably, the voltage at the voltage-dividing output terminal corresponding to the U-phase terminal is the U-phase feedback voltage;

[0021] The microcontroller is used to control the U-phase upper bridge field effect transistor and the U-phase lower bridge field effect transistor to be turned off, and then obtain the U-phase feedback voltage and use it as the first U-phase feedback voltage; when the first U-phase feedback voltage is equal to the U-phase first preset value, it is determined that the U-phase upper bridge field effect transistor has a short circuit fault; when the first U-phase feedback voltage is equal to 0, it is determined that the U-phase lower bridge field effect transistor has a short circuit fault; when the first U-phase feedback voltage is not equal to the U-phase first preset value and is not equal to 0 and is not equal to the U-phase second preset value, it is determined that the U-phase upper bridge field effect transistor and the U-phase lower bridge field effect transistor are in an unexpected state;

[0022] When the first U-phase feedback voltage is equal to the second U-phase preset value, the microcontroller is also used to control the U-phase upper bridge field effect transistor to turn on and control the U-phase lower bridge field effect transistor to turn off, and then obtain the U-phase feedback voltage and use it as the second U-phase feedback voltage; when the second U-phase feedback voltage is not equal to the first U-phase preset value, it is determined that the U-phase upper bridge field effect transistor has an open circuit fault;

[0023] When the second U-phase feedback voltage is equal to the first preset value of the U-phase, the microcontroller is also used to control the U-phase upper bridge field effect tube to turn off and control the U-phase lower bridge field effect tube to turn on, and then obtain the U-phase feedback voltage and use it as the third U-phase feedback voltage. When the third U-phase feedback voltage is equal to 0, it is determined that the U-phase upper bridge field effect tube and the U-phase lower bridge field effect tube are both working normally. When the third U-phase feedback voltage is not equal to 0, it is determined that the U-phase lower bridge field effect tube has a short circuit fault;

[0024] The voltage at the voltage-dividing output terminal corresponding to the V-phase terminal is the V-phase feedback voltage;

[0025] The microcontroller is used to control the V-phase upper bridge field effect tube and the V-phase lower bridge field effect tube to be turned off, and then obtain the V-phase feedback voltage and use it as the first V-phase feedback voltage; when the first V-phase feedback voltage is equal to the V-phase first preset value, it is determined that the V-phase upper bridge field effect tube has a short circuit fault; when the first V-phase feedback voltage is equal to 0, it is determined that the V-phase lower bridge field effect tube has a short circuit fault; when the first V-phase feedback voltage is not equal to the V-phase first preset value and is not equal to 0 and is not equal to the V-phase second preset value, it is determined that the V-phase upper bridge field effect tube and the V-phase lower bridge field effect tube are in an unexpected state;

[0026] When the first V-phase feedback voltage is equal to the second V-phase preset value, the microcontroller is further used to control the V-phase upper bridge field effect transistor to turn on and control the V-phase lower bridge field effect transistor to turn off, and then obtain the V-phase feedback voltage and use it as the second V-phase feedback voltage; when the second V-phase feedback voltage is not equal to the V-phase first preset value, it is determined that the V-phase upper bridge field effect transistor has an open circuit fault;

[0027] When the second V-phase feedback voltage is equal to the first preset value of the V-phase, the microcontroller is also used to control the V-phase upper bridge field effect tube to turn off and control the V-phase lower bridge field effect tube to turn on, then obtain the V-phase feedback voltage and use it as the third V-phase feedback voltage, when the third V-phase feedback voltage is equal to 0, it is determined that the V-phase upper bridge field effect tube and the V-phase lower bridge field effect tube are both working normally, and when the third V-phase feedback voltage is not equal to 0, it is determined that the V-phase lower bridge field effect tube has a short circuit fault;

[0028] The voltage at the voltage-dividing output terminal corresponding to the W-phase terminal is the W-phase feedback voltage;

[0029] The microcontroller is used to control the W-phase upper bridge field effect transistor and the W-phase lower bridge field effect transistor to be turned off, and then obtain the W-phase feedback voltage and use it as the first W-phase feedback voltage; when the first W-phase feedback voltage is equal to the W-phase first preset value, it is determined that the W-phase upper bridge field effect transistor has a short circuit fault; when the first W-phase feedback voltage is equal to 0, it is determined that the W-phase lower bridge field effect transistor has a short circuit fault; when the first W-phase feedback voltage is not equal to the W-phase first preset value and is not equal to 0 and is not equal to the W-phase second preset value, it is determined that the W-phase upper bridge field effect transistor and the W-phase lower bridge field effect transistor are in an unexpected state;

[0030] When the first W-phase feedback voltage is equal to the second W-phase preset value, the microcontroller is further used to control the W-phase upper bridge field effect transistor to turn on and control the W-phase lower bridge field effect transistor to turn off, and then obtain the W-phase feedback voltage and use it as the second W-phase feedback voltage; when the second W-phase feedback voltage is not equal to the first W-phase preset value, it is determined that the W-phase upper bridge field effect transistor has a circuit breaker fault;

[0031] When the second W-phase feedback voltage is equal to the first preset value of the W-phase, the microcontroller is also used to control the W-phase upper bridge field effect transistor to turn off and control the W-phase lower bridge field effect transistor to turn on, then obtain the W-phase feedback voltage and use it as the third W-phase feedback voltage. When the third W-phase feedback voltage is equal to 0, it is determined that the W-phase upper bridge field effect transistor and the W-phase lower bridge field effect transistor are both working normally. When the third W-phase feedback voltage is not equal to 0, it is determined that the W-phase lower bridge field effect transistor has a short circuit fault.

[0032] This solution further defines the specific method by which the microcontroller performs power-on fault diagnosis on the field effect transistor in the three-phase bridge module, thereby achieving accurate diagnosis of each field effect transistor in the three-phase bridge module.

[0033] Preferably, the pull-up circuit corresponding to the U-phase end includes a first resistor, and the voltage divider circuit corresponding to the U-phase end includes a second resistor and a third resistor, one end of the first resistor is electrically connected to the vehicle power supply, the other end of the first resistor and one end of the second resistor are both electrically connected to the original voltage end of the voltage divider circuit corresponding to the U-phase end, the other end of the second resistor and one end of the third resistor are both electrically connected to the voltage divider output end of the voltage divider circuit corresponding to the U-phase end, and the other end of the third resistor is grounded;

[0034] The pull-up circuit corresponding to the V-phase end includes a fourth resistor, and the voltage divider circuit corresponding to the V-phase end includes a fifth resistor and a sixth resistor, one end of the fourth resistor is electrically connected to the vehicle power supply, the other end of the fourth resistor and one end of the fifth resistor are both electrically connected to the original voltage end of the voltage divider circuit corresponding to the V-phase end, the other end of the fifth resistor and one end of the sixth resistor are both electrically connected to the voltage divider output end of the voltage divider circuit corresponding to the V-phase end, and the other end of the sixth resistor is grounded;

[0035] The pull-up circuit corresponding to the W-phase end includes a seventh resistor, and the voltage divider circuit corresponding to the W-phase end includes an eighth resistor and a ninth resistor, one end of the seventh resistor is electrically connected to the vehicle power supply, the other end of the seventh resistor and one end of the eighth resistor are both electrically connected to the original voltage end of the voltage divider circuit corresponding to the W-phase end, the other end of the eighth resistor and one end of the ninth resistor are both electrically connected to the voltage divider output end of the voltage divider circuit corresponding to the W-phase end, and the other end of the ninth resistor is grounded.

[0036] Preferably, the controller circuit also includes a three-phase separation module, which is connected in series between the three-phase motor and the three-phase bridge module, and is used to cut off the connection between the three-phase motor and the three-phase bridge module when a steering system controller fails.

[0037] Preferably, the three-phase separation module includes a U-phase separation field effect transistor, a V-phase separation field effect transistor, and a W-phase separation field effect transistor; the controller circuit also includes a motor freewheeling circuit; the motor freewheeling circuit includes a U-phase diode, a V-phase diode, and a W-phase diode; the anode of the U-phase diode, the anode of the V-phase diode, and the anode of the W-phase diode are all grounded;

[0038] The gate of the U-phase separation field effect transistor is electrically connected to the cathode of the U-phase diode, the source of the U-phase separation field effect transistor is electrically connected to the U-phase end, and the drain of the U-phase separation field effect transistor is electrically connected to the source of the U-phase upper bridge field effect transistor;

[0039] The gate of the V-phase separation field effect transistor is electrically connected to the cathode of the V-phase diode, the source of the V-phase separation field effect transistor is electrically connected to the V-phase end, and the drain of the V-phase separation field effect transistor is electrically connected to the source of the V-phase upper bridge field effect transistor;

[0040] The gate of the W-phase separation field effect transistor is electrically connected to the cathode of the W-phase diode, the source of the W-phase separation field effect transistor is electrically connected to the W-phase end, and the drain of the W-phase separation field effect transistor is electrically connected to the source of the W-phase upper bridge field effect transistor.

[0041] In this solution, when the electric power steering system controller needs to cut off the motor power, that is, to turn off each phase separation field effect tube in the three-phase separation module, the energy in the three-phase motor cannot disappear immediately, which is easy to damage the related components in the circuit. In this solution, the three phase diodes in the motor freewheeling circuit are set at the driving end of the corresponding phase separation field effect tube, providing the open driving current for each phase separation field effect tube, and opening the phase separation field effect tube when the negative pressure of the three-phase motor is generated, so that the freewheeling path is formed, providing a release path for the energy of the three-phase motor, and avoiding damage to the related components in the circuit.

[0042] A second aspect of the present invention provides a method for sampling three-phase current of a controller circuit of an electric power steering system.

[0043] The controller circuit includes a three-phase motor, a microcontroller, a three-phase bridge module, a three-phase current sampling circuit module and a three-phase bridge drive chip;

[0044] The microcontroller is used to generate a PWM control signal and output it to the three-phase bridge drive chip;

[0045] The three-phase bridge driving chip is used to control the opening or closing of each field effect tube in the three-phase bridge module according to the PWM control signal;

[0046] The sampling method comprises the following steps:

[0047] The three-phase current sampling circuit module collects phase voltage signals of the lower bridge arms of at least two phases in the three-phase bridge module, and transmits the phase voltage signals to the three-phase bridge driving chip;

[0048] The differential operational amplifier inside the three-phase bridge driving chip amplifies the phase voltage signal to obtain an amplified phase voltage signal and outputs it to the microcontroller;

[0049] The analog-to-digital converter in the microcontroller converts the amplified phase voltage signal into a digital voltage;

[0050] The microcontroller performs phase current sampling calculation based on the digital voltage to obtain an actual value of the phase current, and the microcontroller uses the actual value of the phase current as a feedback signal for motor current control;

[0051] Among them, the microcontroller sets the gain value and bias voltage value of the differential operational amplifier in the current cycle according to the actual value of the phase current in the previous cycle of the current cycle and / or the duty cycle of the PWM control signal in the previous cycle of the current cycle to control the sampling accuracy of the phase current of the three-phase motor.

[0052] This solution implements a phase current sampling method that can maintain high accuracy in three-phase current sampling under currents of various magnitudes, solving the problem that in existing motor control, fixed gain and bias voltage are used in three-phase current sampling. When the current value flowing through the motor varies within a large range, high-precision sampling can only be achieved within a certain current range. When sampling outside this range, the accuracy is poor.

[0053] In this scheme, based on the characteristic that the motor current does not change sharply but changes slowly, the gain value and bias voltage value of the differential operational amplifier of the current cycle are set according to the actual value of the phase current of the previous cycle of the current cycle and / or the duty cycle of the PWM control signal of the previous cycle of the current cycle, so that the gain value and the bias voltage value match the range of the current measured current, thereby controlling the phase current of the three-phase motor to maintain a high sampling accuracy, thereby improving the motor control performance of the electric power steering system.

[0054] Preferably, the sampling method is implemented based on the controller circuit of the electric power steering system described in the first aspect above.

[0055] Preferably, the three-phase current sampling circuit module includes a current sampling resistor for collecting phase voltage signals of the lower bridge arms of two phases in the three-phase bridge module, and the collected phase voltage signals are respectively a first phase voltage signal and a second phase voltage signal, and the actual value of the phase current corresponding to the first phase voltage signal is a first phase current actual value, and the actual value of the phase current corresponding to the second phase voltage signal is a second phase current actual value;

[0056] The sampling method further comprises the following steps:

[0057] Calculate the value of the phase current vector length Is according to the following formula:

[0058]

[0059] Among them, I P1 represents the actual value of the first phase current, I P2 Indicates the actual value of the second phase current;

[0060] The step of setting the gain value and the bias voltage value of the differential operational amplifier in the current cycle according to the actual value of the phase current in the previous cycle of the current cycle and / or the duty cycle of the PWM control signal in the previous cycle of the current cycle comprises the following steps:

[0061] Partitioning the measured current according to the phase current vector length Is of the previous cycle of the current cycle and / or the duty cycle of the PWM control signal of the previous cycle of the current cycle;

[0062] The gain value and the bias voltage value of the differential operational amplifier in the current cycle are set according to the partition where the measured current is located.

[0063] In this solution, based on the characteristic that the motor current does not change sharply but changes slowly, the phase current vector length Is of the previous cycle of the current cycle and / or the duty cycle of the PWM control signal of the previous cycle of the current cycle are used for judgment, that is, the corresponding gain value and bias voltage value of the differential operational amplifier are set according to the interval, so that the gain value and bias voltage value match the range of the current measured current, thereby controlling the phase current of the three-phase motor to maintain a high sampling accuracy, thereby improving the motor control performance of the electric power steering system.

[0064] Preferably, the step of setting the gain value and the bias voltage value of the differential operational amplifier in the current cycle according to the partition where the measured current is located comprises:

[0065] The microcontroller sets the gain value and the bias voltage value of the differential operational amplifier in the current cycle through SPI (Serial Peripheral Interface) instructions according to the partition where the measured current is located.

[0066] In this solution, the gain value and bias voltage value of the differential operational amplifier are modified by SPI instructions in each control cycle of the analog-to-digital converter for different regions, thereby controlling the sampling accuracy of the phase current of the three-phase motor.

[0067] The third aspect of the present invention provides a controller circuit of an electric power steering system, including a microcontroller, a power management chip, a power interface filter circuit module, a DC voltage regulator module, a three-phase bridge drive chip, a three-phase separation circuit drive chip, a CAN (Controller Area Network) transceiver, and a permanent magnet synchronous motor. One end of the battery is grounded, and the other end of the battery is connected in series with a fuse and is divided into two paths, which are respectively connected to the power input port of the power management chip and the power input port of the power interface filter circuit module. The power output port of the power interface filter circuit module is divided into two paths, which are respectively connected to the power input port of the three-phase bridge drive chip and the current input port of the DC voltage regulator module. The current output port of the DC voltage regulator module is connected to the current input port of the three-phase bridge module. The V MCUThe port is connected to the power input port of the microcontroller, and the SPI port of the power management chip is connected to the SPI port of the microcontroller, the SPI port of the microcontroller is also respectively connected to the SPI port of the three-phase bridge driver chip and the SPI port of the motor rotation angle position sensor, the CAN port of the microcontroller is connected to the CAN transceiver, the control signal output port of the power management chip and the control signal output port of the microcontroller are both connected to the signal input port of the three-phase separation circuit driver chip, the signal output port of the three-phase separation circuit driver chip is connected to the control signal receiving port of the three-phase separation module, the power input port of the three-phase bridge module is connected to the power input port of the three-phase phase current sampling circuit module and the power input port of the three-phase bridge driver chip, the signal output port of the three-phase bridge module is connected to the signal input port of the three-phase separation module, the signal output port of the three-phase separation module is connected to the signal input port of the permanent magnet synchronous motor, and the signal output port of the permanent magnet synchronous motor is connected to the motor rotation angle position sensor; the three-phase phase current sampling circuit module is also connected to the three-phase current signal input port of the three-phase bridge driver chip.

[0068] A three-phase motor phase voltage state feedback circuit is also provided to connect the three-phase bridge module, the three-phase bridge driving chip and the microcontroller.

[0069] The three-phase separation module is also connected to a low-power diode, so that a motor freewheeling circuit is formed between the three-phase bridge module, the three-phase separation module and the low-power diode.

[0070] The specific connection of the filter circuit in the power interface filter circuit module is as follows: the VBAT port is divided into nine paths, which are respectively connected to one end of the capacitor C1, one end of the capacitor C2, one end of the capacitor C3, one end of the capacitor C4, one end of the capacitor C5, one end of the capacitor C6, one end of the capacitor C7, one end of the capacitor C8, and one end of the inductor L1; the other end of the capacitor C1 is divided into four paths, which are respectively connected to HGND, one end of the capacitor C14, the other end of the capacitor C2, and one end of the capacitor C15; the other end of the capacitor C14 is connected to the other end of the capacitor C15 and then grounded; the other end of the capacitor C3 is divided into eleven paths, which are respectively connected to the ground, the other end of the capacitor C4, the other end of the capacitor C5, and the capacitor C The other end of capacitor C6 is connected to the other end of capacitor C7, the other end of capacitor C8, one end of capacitor C9, one end of capacitor C10, one end of capacitor C16, one end of capacitor C17, and one end of capacitor C18. The other end of capacitor C9 is divided into six paths, which are respectively connected to the other end of inductor L1, the other end of capacitor C10, one end of capacitor C11, one end of capacitor C12, one end of capacitor C13, and VBAT1 port. The other end of capacitor C16 is connected to HGND1, the other end of capacitor C17 is connected to HGND2, the other end of capacitor C18 is connected to HGND3, and the other end of capacitor C11, the other end of capacitor C12, and the other end of capacitor C13 are summed up and grounded.

[0071] The HGND, HGND1, HGND2, and HGND3 are screw holes on the metal housing.

[0072] The specific connection method of the motor freewheeling circuit is as follows: the VBAT port is divided into three paths, which are respectively connected to the drain electrode of the field effect tube Q1, the drain electrode of the field effect tube Q2, and the drain electrode of the field effect tube Q2; the source of the field effect tube Q1 is divided into two paths, which are respectively connected to the drain electrode of the field effect tube Q4 and the drain electrode of the field effect tube Q7; the source of the field effect tube Q7 is connected to the U phase of the three-phase motor; the gate of the field effect tube Q7 is connected to the cathode of the diode D1; the source of the field effect tube Q2 is divided into two paths, which are respectively connected to the drain electrode of the field effect tube Q8 and the drain electrode of the field effect tube Q5. The gate of the field effect transistor Q8 is connected to the diode D2, the source of the field effect transistor Q8 is connected to the V phase of the three-phase motor, the source of the field effect transistor Q3 is divided into two paths, which are respectively connected to the drain electrode of the field effect transistor Q6 and the drain electrode of the field effect transistor Q9, the gate of the field effect transistor Q9 is connected to the diode D3, the source of the field effect transistor Q9 is connected to the V phase of the three-phase motor, the source of the field effect transistor Q4, the source of the field effect transistor Q5, and the source of the field effect transistor Q6 are summed up and grounded, and the anode of the diode D1, the anode of the diode D2, and the anode of the diode D3 are summed up and grounded.

[0073] The specific connection of the three-phase motor phase voltage state feedback circuit is as follows: the U phase of the three-phase motor is divided into four paths, which are respectively connected to the source of the field effect tube Q1, the drain electrode of the field effect tube Q4, one end of the resistor R1, and one end of the resistor R2; the V phase of the three-phase motor is divided into four paths, which are respectively connected to the source of the field effect tube Q2, the drain electrode of the field effect tube Q5, one end of the resistor R4, and one end of the resistor R5; the W phase of the three-phase motor is divided into four paths, which are respectively connected to the source of the field effect tube Q3, the drain electrode of the field effect tube Q6, one end of the resistor R7, and one end of the resistor R8; the drain electrode of the field effect tube Q1, the drain electrode of the field effect tube Q2, and the drain electrode of the field effect tube Q3 are connected to VBAT after being collected; the source of the field effect tube Q4, the source of the field effect tube Q5, and the source of the field effect tube Q 6 are grounded after being combined, the other end of the resistor R1, the other end of the resistor R4, and the other end of the resistor R7 are connected to VBAT, the other end of the resistor R2 is divided into three paths, which are respectively connected to one end of the resistor R3, one end of the capacitor C1, and the AD1 port of the microcontroller, the other end of the resistor R5 is divided into three paths, which are respectively connected to one end of the resistor R6, one end of the capacitor C2, and the AD2 port of the microcontroller, the other end of the resistor R8 is divided into three paths, which are respectively connected to one end of the resistor R9, one end of the capacitor C3, and the AD3 port of the microcontroller, the other end of the resistor R3 is combined with the other end of the capacitor C1 and then grounded, the other end of the resistor R6 is combined with the other end of the capacitor C2 and then grounded, and the other end of the resistor R9 is combined with the other end of the capacitor C3 and then grounded.

[0074] The gate electrodes of the field effect transistors Q1 to Q6 are connected to a three-phase bridge driver chip after being aggregated.

[0075] A fourth aspect of the present invention provides a control method for a controller circuit of an electric power steering system, which is performed according to the following steps:

[0076] S1. presetting a power assist curve or a power assist model in a microcontroller;

[0077] S2, microcontroller collects vehicle ignition signal, vehicle speed signal, steering wheel torque signal, and steering wheel angle signal;

[0078] S3', based on the power-assistance curve or the power-assistance model, according to the relevant data collected in step S2, obtaining a current signal given and a speed signal given;

[0079] S3, the three-phase current sampling module samples the three-phase current with high precision to obtain the actual three-phase current signal of the motor, and transmits the signal to the microcontroller; synchronously with this, the motor rotation angle position sensor transmits the synchronously collected actual motor speed signal to the microcontroller;

[0080] S4, the microcontroller synchronously transmits the actual three-phase current signal of the motor, the actual speed signal of the motor and the corresponding current signal setting and speed signal setting to the motor current closed-loop controller and the motor speed closed-loop controller inside the microcontroller respectively, and performs closed-loop control processing, thereby obtaining a current control signal and a speed control signal;

[0081] S5, transmitting the current control signal and the speed control signal to the PWM modulator in the microcontroller to generate a three-phase bridge control signal;

[0082] S6. The three-phase bridge control signal is transmitted to the three-phase bridge driving chip to drive the opening / closing of the six field effect transistors in the three-phase bridge module, thereby controlling the motor to generate corresponding motor assistance.

[0083] The specific steps of the three-phase current high-precision sampling method described in S3 are as follows:

[0084] Step 1: Get the phase current size and three-phase PWM duty cycle of the previous cycle;

[0085] Step 2: Calculate the actual phase current value I PX size;

[0086] Step 3: Calculate the phase current vector length I s size;

[0087] Step 4: Calculate the phase current sampling accuracy I CS size;

[0088] Step 5: According to the three-phase PWM duty size or current vector length I s The measured current I is partitioned by two conditions: large and small;

[0089] Step 6: Modify the amplifier gain value AV and bias voltage V through SPI instructions in each control cycle of the analog-to-digital converter for different regions OOS , thereby controlling the sampling accuracy of the three-phase motor phase current;

[0090] In the above steps, X represents the U phase, V phase, and W phase of the three-phase current.

[0091] The specific calculation method of step 2 is as follows:

[0092] (1) Determine the sampling resolution 2n of the analog-to-digital converter and measure the sampling values ​​P of the analog-to-digital converter corresponding to the three phases U, V, and W respectively. ADCX , set the reference voltage value V REF , calculate the sampling voltage V of the analog-to-digital converter CSXO ,

[0093] (2) Set the bias voltage V OOS , determine the amplifier gain value AV, calculate the voltage ΔV across the sampling resistor IOS ,

[0094] (3) According to the resistance value R of the sampling resistor, calculate the sampling current I passing through the sampling resistor X ,

[0095] (4) Determine the zero current I of the sampling resistor X0 and the sampling voltage V of the analog-to-digital converter in the zero current state X0 , and calculate the phase current sampling value I according to the measured value ps , I ps =I X -I X0 ;

[0096] (5) Current offset value I caused by connection error in circuit connection OFF And the coefficient change K caused by external environmental factors, calculate the actual value of phase current I PX , I PX =KI ps +I OFF .

[0097] The specific calculation method of step 3 is: according to the calculated actual current value I of phase U Pu and the actual current value of phase W IPW , calculate the current vector length I s ,

[0098] The specific calculation method of step 4 is: first calculate the sampling accuracy of the single-phase current Among them I ps is the phase current sampling value, I X Resolution is the smallest unit of I X Unit value; secondly calculate the current vector length I s The sampling accuracy I CS , In this formula, I is the current range to be measured, I s Resolution is the smallest unit of I s Unit value.

[0099] The positive progressive effect of the present invention is that compared with the prior art, the three-phase motor phase voltage state feedback circuit in the present invention not only feeds back the true phase voltage of the three-phase motor in real time for assisting motor control, but also realizes accurate diagnosis of each field effect tube in the three-phase bridge module through three pull-up circuits, thereby improving the diagnostic coverage of the field effect tube.

[0100] Furthermore, in the present invention, the three phase diodes in the motor freewheeling circuit are arranged at the driving end of the corresponding phase separation field effect transistor. When the electric power steering system controller needs to cut off the motor power assistance, an open driving current is provided to each phase separation field effect transistor. When the negative pressure of the three-phase motor is generated, the phase separation field effect transistor is opened to form a freewheeling path, which provides a release path for the energy of the three-phase motor and avoids damage to related devices in the circuit.

[0101] The present invention also realizes a phase current sampling method that can maintain high accuracy of three-phase current sampling under various current sizes, solving the problem that in existing motor control, fixed gain and bias voltage are used in three-phase current sampling. When the current value flowing through the three-phase motor varies within a large range, high-precision sampling can only be achieved within a certain current range. When sampling outside this range, the accuracy is poor.

[0102] Compared with the prior art, the present invention adopts the latest generation of motor angle position sensor, which greatly improves the motor control performance; adopts a three-phase separation circuit so that the SCU (Steering Control Unit) can ensure that the motor power assistance is cut off in a fault state, greatly improving the safety of the steering system. The present invention can reduce the failure rate of the SCU to below 500 FIT (failure rate unit). BRIEF DESCRIPTION OF THE DRAWINGS

[0103] Figure 1 Schematic diagram of the connection of the controller circuit of the electric power steering system according to the first embodiment of the present invention.

[0104] Figure 2 Schematic diagram of the connection of the controller circuit of the electric power steering system according to the second embodiment of the present invention.

[0105] Figure 3 Schematic diagram of the circuit layout of embodiment 4 of the present invention.

[0106] Figure 4 This is a connection diagram of the power interface filter circuit in Example 4 of the present invention.

[0107] Figure 5 This is a connection diagram of the motor freewheeling circuit in Example 4 of the present invention.

[0108] Figure 6 This is a working schematic diagram of when the U-phase current in the motor freewheeling circuit flows into the motor in Example 4 of the present invention.

[0109] Figure 7 This is a schematic diagram of the operation when the U-phase current in the motor freewheeling circuit flows out of the motor in Embodiment 4 of the present invention.

[0110] Figure 8 Schematic diagram of the connection of the three-phase motor phase voltage state feedback circuit in Embodiment 4 of the present invention.

[0111] Fig. 9 Schematic diagram of the judgment process of the three-phase motor phase voltage state feedback circuit for power-on failure in embodiment 4 of the present invention.

[0112] Fig.10 Schematic diagram of a control method for a controller circuit of an electric power steering system in Embodiment 4 of the present invention. DETAILED DESCRIPTION

[0113] The present invention is further described below by way of examples, but the present invention is not limited to the scope of the examples.

[0114] Example 1

[0115] like Figure 1As shown, this embodiment provides a controller circuit of an electric power steering system, including a three-phase motor 18, a microcontroller 1, a three-phase bridge module 5, a three-phase bridge drive chip 9 and a three-phase motor phase voltage state feedback circuit 14. The three-phase motor 18 includes a U-phase terminal 1801, a V-phase terminal 1802 and a W-phase terminal 1803. The microcontroller 1 includes at least three analog-to-digital conversion voltage acquisition terminals, namely, a U-phase analog-to-digital conversion voltage acquisition terminal AD1, a V-phase analog-to-digital conversion voltage acquisition terminal AD2 and a W-phase analog-to-digital conversion voltage acquisition terminal AD3. The three-phase bridge module 5 includes a U-phase upper bridge field effect transistor Q1, a U-phase lower bridge field effect transistor Q4, a V-phase upper bridge field effect transistor Q2, a V-phase lower bridge field effect transistor Q5, a W-phase upper bridge field effect transistor Q3 and a W-phase lower bridge field effect transistor Q6.

[0116] The three-phase motor phase voltage state feedback circuit 14 includes three voltage-dividing circuits, namely, a U-phase voltage-dividing circuit 1404, a V-phase voltage-dividing circuit 1405, and a W-phase voltage-dividing circuit 1406. Each voltage-dividing circuit includes an original voltage terminal, a voltage-dividing output terminal, and a grounding terminal, and the three original voltage terminals are connected to the U-phase terminal 1801, the V-phase terminal 1802, and the W-phase terminal 1803 one by one. Specifically, the U-phase voltage-dividing circuit 1404 includes a U-phase original voltage terminal 14041, a U-phase voltage-dividing output terminal 14042, and a U-phase grounding terminal 14043; the V-phase voltage-dividing circuit 1405 includes a V-phase original voltage terminal 14051, a V-phase voltage-dividing output terminal 14052, and a V-phase grounding terminal 14053; and the W-phase voltage-dividing circuit 1406 includes a W-phase original voltage terminal 14061, a W-phase voltage-dividing output terminal 14062, and a W-phase grounding terminal 14063.

[0117] The three voltage-dividing output terminals are electrically connected to the three analog-to-digital conversion voltage collection terminals in a one-to-one correspondence; that is, the U-phase voltage-dividing output terminal 14042 is electrically connected to the U-phase analog-to-digital conversion voltage collection terminal AD1, the V-phase voltage-dividing output terminal 14052 is electrically connected to the V-phase analog-to-digital conversion voltage collection terminal AD2, and the W-phase voltage-dividing output terminal 14062 is electrically connected to the W-phase analog-to-digital conversion voltage collection terminal AD3. The voltage-dividing circuit is used to divide the phase voltage of the three-phase motor 18 into a voltage range supported by the analog-to-digital conversion voltage collection terminal.

[0118] The U-phase terminal 1801 is electrically connected to the source of the U-phase upper bridge field effect transistor Q1 , the drain of the U-phase lower bridge field effect transistor Q4 , and the original voltage terminal of the corresponding voltage divider circuit, namely, the U-phase original voltage terminal 14041 .

[0119] The V-phase terminal 1802 is electrically connected to the source of the V-phase upper bridge field effect transistor Q2, the drain of the V-phase lower bridge field effect transistor Q5, and the original voltage terminal of the corresponding voltage divider circuit, namely, the V-phase original voltage terminal 14051.

[0120] The W-phase terminal 1803 is electrically connected to the source of the W-phase upper bridge field effect transistor Q3 , the drain of the W-phase lower bridge field effect transistor Q6 , and the original voltage terminal of the corresponding voltage divider circuit, namely, the W-phase original voltage terminal 14061 .

[0121] The three-phase motor phase voltage state feedback circuit 14 also includes three pull-up circuits, namely, a U-phase pull-up circuit 1401, a V-phase pull-up circuit 1402, and a W-phase pull-up circuit 1403. The three pull-up circuits are used for pulling up the U-phase terminal 1801, the V-phase terminal 1802, and the W-phase terminal 1803 in a one-to-one correspondence; that is, the U-phase pull-up circuit 1401 is used to pull up the U-phase terminal 1801, the V-phase pull-up circuit 1402 is used to pull up the V-phase terminal 1802, and the W-phase pull-up circuit 1403 is used to pull up the W-phase terminal 1803.

[0122] The microcontroller 1 is used to control the opening or closing of the U-phase upper bridge field effect transistor Q1 and the U-phase lower bridge field effect transistor Q4 respectively, and perform power-on fault diagnosis on the U-phase upper bridge field effect transistor Q1 and / or the U-phase lower bridge field effect transistor Q4 based on the voltage collected by the corresponding analog-to-digital conversion voltage collection terminal; the microcontroller 1 is also used to control the opening or closing of the V-phase upper bridge field effect transistor Q2 and the V-phase lower bridge field effect transistor Q5 respectively, and perform power-on fault diagnosis on the V-phase upper bridge field effect transistor Q2 and / or the V-phase lower bridge field effect transistor Q5 based on the voltage collected by the corresponding analog-to-digital conversion voltage collection terminal; the microcontroller 1 is also used to control the opening or closing of the W-phase upper bridge field effect transistor Q3 and the W-phase lower bridge field effect transistor Q6 respectively, and perform power-on fault diagnosis on the W-phase upper bridge field effect transistor Q3 and / or the W-phase lower bridge field effect transistor Q6 based on the voltage collected by the corresponding analog-to-digital conversion voltage collection terminal.

[0123] In this embodiment, the pull-up circuit corresponding to the U-phase terminal 1801, namely the U-phase pull-up circuit 1401, includes a first resistor R1, and the voltage divider circuit corresponding to the U-phase terminal 1801, namely the U-phase voltage divider circuit 1404, includes a first capacitor C21, a second resistor R2, and a third resistor R3. One end of the first resistor R1 is electrically connected to the vehicle power supply VBAT, and the other end of the first resistor R1 and one end of the second resistor R2 are both electrically connected to the U-phase original voltage terminal 14041. The other end of the second resistor R2 and one end of the third resistor R3 are both electrically connected to the U-phase voltage divider output terminal 14042, and the other end of the third resistor R3 is grounded to GND via the U-phase grounding terminal 14043. Among them, the vehicle power supply VBAT is the power supply provided by the battery on the vehicle where the controller circuit of the electric power steering system of this embodiment is located.

[0124] In this embodiment, the pull-up circuit corresponding to the V-phase end 1802, namely the V-phase pull-up circuit 1402, includes a fourth resistor R4, and the voltage divider circuit corresponding to the V-phase end 1802, namely the V-phase voltage divider circuit 1405, includes a second capacitor C22, a fifth resistor R5 and a sixth resistor R6, one end of the fourth resistor R4 is electrically connected to the vehicle power supply VBAT, the other end of the fourth resistor R4 and one end of the fifth resistor R5 are both electrically connected to the V-phase original voltage terminal 14051, the other end of the fifth resistor R5 and one end of the sixth resistor R6 are both electrically connected to the V-phase voltage divider output terminal 14052, and the other end of the sixth resistor R6 is grounded GND via the V-phase grounding terminal 14053.

[0125] In this embodiment, the pull-up circuit corresponding to the W-phase terminal 1803, namely the W-phase pull-up circuit 1403, includes a seventh resistor R7, and the voltage divider circuit corresponding to the W-phase terminal 1803, namely the W-phase voltage divider circuit 1406, includes a third capacitor C23, an eighth resistor R8 and a ninth resistor R9, one end of the seventh resistor R7 is electrically connected to the vehicle power supply VBAT, the other end of the seventh resistor R7 and one end of the eighth resistor R8 are both electrically connected to the W-phase original voltage terminal 14061, the other end of the eighth resistor R8 and one end of the ninth resistor R9 are both electrically connected to the W-phase voltage divider output terminal 14062, and the other end of the ninth resistor R9 is grounded GND via the W-phase grounding terminal 14063.

[0126] In this embodiment, the voltage of the U-phase voltage divider output terminal 14042 corresponding to the U-phase terminal 1801 is the U-phase feedback voltage; the first preset value of the U-phase is VBAT*(R3) / (R2+R3), and the second preset value of the U-phase is VBAT*(R3) / (R1+R2+R3).

[0127] The microcontroller 1 is used to control the U-phase upper bridge field effect transistor Q1 and the U-phase lower bridge field effect transistor Q4 to be turned off, and then obtain the U-phase feedback voltage and use it as the first U-phase feedback voltage. When the first U-phase feedback voltage is equal to the U-phase first preset value, it is determined that the U-phase upper bridge field effect transistor Q1 has a short circuit fault. When the first U-phase feedback voltage is equal to 0, it is determined that the U-phase lower bridge field effect transistor Q4 has a short circuit fault. When the first U-phase feedback voltage is not equal to the U-phase first preset value and is not equal to 0 and is not equal to the U-phase second preset value, it is determined that the U-phase upper bridge field effect transistor Q1 and the U-phase lower bridge field effect transistor Q4 are in an unexpected state.

[0128] When the first U-phase feedback voltage is equal to the second preset value of the U-phase, the microcontroller 1 is also used to control the U-phase upper bridge field effect transistor Q1 to turn on and simultaneously control the U-phase lower bridge field effect transistor Q4 to turn off, then obtain the U-phase feedback voltage and use it as the second U-phase feedback voltage. When the second U-phase feedback voltage is not equal to the first preset value of the U-phase, it is determined that the U-phase upper bridge field effect transistor Q1 has a circuit breaker fault.

[0129] When the second U-phase feedback voltage is equal to the first preset value of the U-phase, the microcontroller 1 is also used to control the U-phase upper bridge field effect transistor Q1 to turn off and simultaneously control the U-phase lower bridge field effect transistor Q4 to turn on, then obtain the U-phase feedback voltage and use it as the third U-phase feedback voltage. When the third U-phase feedback voltage is equal to 0, it is determined that the U-phase upper bridge field effect transistor Q1 and the U-phase lower bridge field effect transistor Q4 are both working normally. When the third U-phase feedback voltage is not equal to 0, it is determined that the U-phase lower bridge field effect transistor Q4 has a short circuit fault.

[0130] In this embodiment, the voltage of the V-phase voltage divider output terminal 14052 corresponding to the V-phase terminal 1802 is the V-phase feedback voltage; the first preset value of the V-phase is VBAT*(R6) / (R5+R6), and the second preset value of the V-phase is VBAT*(R6) / (R4+R5+R6).

[0131] The microcontroller 1 is used to control the V-phase upper bridge field effect transistor Q2 and the V-phase lower bridge field effect transistor Q5 to be turned off, and then obtain the V-phase feedback voltage and use it as the first V-phase feedback voltage. When the first V-phase feedback voltage is equal to the first preset value of the V-phase, it is determined that a short-circuit fault occurs in the V-phase upper bridge field effect transistor Q2. When the first V-phase feedback voltage is equal to 0, it is determined that a short-circuit fault occurs in the V-phase lower bridge field effect transistor Q5. When the first V-phase feedback voltage is not equal to the first preset value of the V-phase and is not equal to 0 and is not equal to the second preset value of the V-phase, it is determined that the V-phase upper bridge field effect transistor Q2 and the V-phase lower bridge field effect transistor Q5 are in an unexpected state.

[0132] When the first V-phase feedback voltage is equal to the second preset value of the V-phase, the microcontroller 1 is also used to control the V-phase upper bridge field effect transistor Q2 to turn on and simultaneously control the V-phase lower bridge field effect transistor Q5 to turn off, then obtain the V-phase feedback voltage and use it as the second V-phase feedback voltage. When the second V-phase feedback voltage is not equal to the first preset value of the V-phase, it is determined that the V-phase upper bridge field effect transistor Q2 has a circuit breaker fault.

[0133] When the second V-phase feedback voltage is equal to the first preset value of the V-phase, the microcontroller 1 is also used to control the V-phase upper bridge field effect transistor Q2 to turn off and simultaneously control the V-phase lower bridge field effect transistor Q5 to turn on, then obtain the V-phase feedback voltage and use it as the third V-phase feedback voltage. When the third V-phase feedback voltage is equal to 0, it is determined that the V-phase upper bridge field effect transistor Q2 and the V-phase lower bridge field effect transistor Q5 are both working normally. When the third V-phase feedback voltage is not equal to 0, it is determined that the V-phase lower bridge field effect transistor Q5 has a short circuit fault.

[0134] In this embodiment, the voltage of the W-phase voltage divider output terminal 14062 corresponding to the W-phase terminal 1803 is the W-phase feedback voltage; the first preset value of the W-phase is VBAT*(R9) / (R8+R9), and the second preset value of the W-phase is VBAT*(R9) / (R7+R8+R9).

[0135] The microcontroller 1 is used to control the W-phase upper bridge field effect transistor Q3 and the W-phase lower bridge field effect transistor Q6 to be turned off, and then obtain the W-phase feedback voltage and use it as the first W-phase feedback voltage. When the first W-phase feedback voltage is equal to the W-phase first preset value, it is determined that the W-phase upper bridge field effect transistor Q3 has a short circuit fault. When the first W-phase feedback voltage is equal to 0, it is determined that the W-phase lower bridge field effect transistor Q6 has a short circuit fault. When the first W-phase feedback voltage is not equal to the W-phase first preset value and is not equal to 0 and is not equal to the W-phase second preset value, it is determined that the W-phase upper bridge field effect transistor Q3 and the W-phase lower bridge field effect transistor Q6 are in an unexpected state.

[0136] When the first W-phase feedback voltage is equal to the second preset value of the W-phase, the microcontroller 1 is also used to control the W-phase upper bridge field effect transistor Q3 to turn on and simultaneously control the W-phase lower bridge field effect transistor Q6 to turn off, then obtain the W-phase feedback voltage and use it as the second W-phase feedback voltage. When the second W-phase feedback voltage is not equal to the first preset value of the W-phase, it is determined that the W-phase upper bridge field effect transistor Q3 has a circuit breaker fault.

[0137] When the second W-phase feedback voltage is equal to the first preset value of the W-phase, the microcontroller 1 is also used to control the W-phase upper bridge field effect transistor Q3 to turn off and simultaneously control the W-phase lower bridge field effect transistor Q6 to turn on, then obtain the W-phase feedback voltage and use it as the third W-phase feedback voltage. When the third W-phase feedback voltage is equal to 0, it is determined that the W-phase upper bridge field effect transistor Q3 and the W-phase lower bridge field effect transistor Q6 are both working normally. When the third W-phase feedback voltage is equal to the second preset value of the W-phase, it is determined that the W-phase lower bridge field effect transistor Q6 has an open circuit fault. When the third W-phase feedback voltage is not equal to 0, it is determined that the W-phase lower bridge field effect transistor Q6 has an open circuit fault.

[0138] In this embodiment, the three-phase motor phase voltage state feedback circuit not only feeds back the actual phase voltage of the three-phase motor in real time to assist motor control, but also realizes power-on fault diagnosis of the field effect transistor in the three-phase bridge module through three pull-up circuits, thereby improving the diagnostic coverage of the field effect transistor.

[0139] Example 2

[0140] This embodiment is a further improvement on the basis of embodiment 1. Figure 2 As shown, the controller circuit of the electric power steering system provided in this embodiment further includes a three-phase separation module 6 and a motor freewheeling circuit 15. The three-phase separation module 6 is connected in series between the three-phase motor 18 and the three-phase bridge module 5, and the three-phase separation module 6 is used to cut off the connection between the three-phase motor 18 and the three-phase bridge module 5 when a fault occurs in the steering system controller.

[0141] In this embodiment, the three-phase separation module 6 includes a U-phase separation field effect transistor Q7, a V-phase separation field effect transistor Q8 and a W-phase separation field effect transistor Q9. The motor freewheeling circuit 15 includes a U-phase diode D1, a V-phase diode D2 and a W-phase diode D3; the anode of the U-phase diode D1, the anode of the V-phase diode D2 and the anode of the W-phase diode D3 are all grounded.

[0142] The gate of the U-phase separation field effect transistor Q7 is electrically connected to the cathode of the U-phase diode D1, the source of the U-phase separation field effect transistor Q7 is electrically connected to the U-phase terminal 1801, and the drain of the U-phase separation field effect transistor Q7 is electrically connected to the source of the U-phase upper bridge field effect transistor Q1. The gate of the V-phase separation field effect transistor Q8 is electrically connected to the cathode of the V-phase diode D2, the source of the V-phase separation field effect transistor Q8 is electrically connected to the V-phase terminal 1802, and the drain of the V-phase separation field effect transistor Q8 is electrically connected to the source of the V-phase upper bridge field effect transistor Q2. The gate of the W-phase separation field effect transistor Q9 is electrically connected to the cathode of the W-phase diode D3, the source of the W-phase separation field effect transistor Q9 is electrically connected to the W-phase terminal 1803, and the drain of the W-phase separation field effect transistor Q9 is electrically connected to the source of the W-phase upper bridge field effect transistor Q3.

[0143] In this embodiment, the power of the U-phase diode D1, the V-phase diode D2 and the W-phase diode D3 is about 0.3W (watt). These three diodes are placed at the driving end of the corresponding phase-separation field-effect transistor to provide a driving current for opening the phase-separation field-effect transistor. The phase-separation field-effect transistor needs to be opened when the negative pressure of the motor is generated to form a freewheeling path. The driving power of the phase-separation field-effect transistor is relatively small, so these three diodes can be selected as diodes with smaller power.

[0144] When the electric power steering system suddenly fails, the motor assistance is disconnected by cutting off the U-phase separation field effect transistor Q7, the V-phase separation field effect transistor Q8 and the W-phase separation field effect transistor Q9 on the three phases of the motor, that is, the three-phase current of the motor drive is cut off. Since the motor is a large inductive load, the current on the internal coil cannot change suddenly. After the U-phase separation field effect transistor Q7, the V-phase separation field effect transistor Q8 and the W-phase separation field effect transistor Q9 are disconnected, the U-phase end 1801, the V-phase end 1802 and the W-phase end 1803 of the motor will generate a very high reverse electromotive force at this time. The reverse electromotive force is a very high negative voltage or positive voltage, which is related to the current flow direction of the motor phase at this time. The working principle of the motor freewheeling circuit in this embodiment is described in detail in the subsequent embodiment 4, which will not be repeated here. In this embodiment, three extremely low-power phase diodes in the motor freewheeling circuit are arranged at the driving end of the corresponding phase-separation field-effect transistor to provide an open driving current for each phase-separation field-effect transistor. When negative pressure is generated in the three-phase motor, the phase-separation field-effect transistor is opened to form a freewheeling path, thereby providing a release path for the energy of the three-phase motor and avoiding damage to related devices in the circuit.

[0145] Example 3

[0146] This embodiment provides a sampling method for three-phase current of a controller circuit of an electric power steering system. The controller circuit includes a three-phase motor, a microcontroller, a three-phase bridge module, a three-phase current sampling circuit module, and a three-phase bridge driver chip. The microcontroller is used to generate a PWM control signal and output it to the three-phase bridge driver chip. The three-phase bridge driver chip is used to control the opening or closing of each field effect tube in the three-phase bridge module according to the PWM control signal.

[0147] In specific implementation, the sampling method can be implemented based on the controller circuit of embodiment 1 or embodiment 2 or an existing electric power steering system.

[0148] In this embodiment, the sampling method includes the following steps:

[0149] The three-phase current sampling circuit module collects the phase voltage signals of the lower bridge arms of at least two phases in the three-phase bridge module, and transmits the phase voltage signals to the three-phase bridge driving chip;

[0150] The differential operational amplifier inside the three-phase bridge driver chip amplifies the phase voltage signal to obtain an amplified phase voltage signal and outputs it to the microcontroller;

[0151] The analog-to-digital converter in the microcontroller converts the amplified phase voltage signal into a digital voltage;

[0152] The microcontroller performs phase current sampling calculation based on the digital voltage to obtain the actual value of the phase current, and the microcontroller uses the actual value of the phase current as a feedback signal for motor current control;

[0153] Among them, the microcontroller sets the gain value and bias voltage value of the differential operational amplifier in the current cycle according to the actual value of the phase current in the previous cycle and / or the duty cycle of the PWM control signal in the previous cycle of the current cycle to control the sampling accuracy of the phase current of the three-phase motor.

[0154] In this embodiment, the three-phase current sampling circuit module includes a current sampling resistor for collecting the phase voltage signals of the lower bridge arms of two phases in the three-phase bridge module. The collected phase voltage signals are respectively the first phase voltage signal and the second phase voltage signal. The actual value of the phase current corresponding to the first phase voltage signal is the first phase current actual value, and the actual value of the phase current corresponding to the second phase voltage signal is the second phase current actual value.

[0155] In this embodiment, the sampling method further includes the following steps:

[0156] Calculate the value of the phase current vector length Is according to the following formula:

[0157]

[0158] Among them, I P1 Indicates the actual value of the first phase current, I P2 Represents the actual value of the second phase current. The existing implementation of the three-phase current sampling circuit module requires a current sampling resistor for the phase voltage signal of the lower bridge arm of the three phases. Compared with the existing implementation, this embodiment reduces one phase, that is, only two corresponding current sampling resistors in the three phases are required to calculate the value of the current vector length Is. The two phases can be any two phases of the U phase, the V phase and the W phase. This embodiment can reduce circuit complexity and hardware cost.

[0159] In this embodiment, the step of setting the gain value and the bias voltage value of the differential operational amplifier of the current cycle according to the actual value of the phase current of the previous cycle and / or the duty cycle of the PWM control signal of the previous cycle of the current cycle specifically includes the following steps:

[0160] Partitioning the measured current according to the phase current vector length Is of the previous cycle of the current cycle and / or the duty cycle of the PWM control signal of the previous cycle of the current cycle;

[0161] The microcontroller sets the gain value and the bias voltage value of the differential operational amplifier of the current cycle through the SPI instruction according to the partition where the measured current is located.

[0162] In this embodiment, the sampling resistor value is kept constant, and the amplifier gain value and bias voltage value are changed according to different sampling ranges of the measured current to control the sampling accuracy of the current. A phase current sampling method that can keep the three-phase current sampling at a high accuracy under various currents is realized, which solves the problem that in the existing motor control, fixed gain and bias voltage are used in the three-phase current sampling. When the current value flowing through the motor changes in a large range, high-precision sampling can only be achieved within a certain current interval. When sampling outside this interval, the accuracy is poor. The detailed description of the above principle is described in detail in the subsequent embodiment 4, which will not be repeated here. Based on the characteristic that the motor current does not change sharply but changes slowly, the gain value and bias voltage value of the differential operational amplifier of the current cycle are set according to the actual value of the phase current of the previous cycle of the current cycle and / or the duty cycle of the PWM control signal of the previous cycle of the current cycle, so that the gain value and the bias voltage value match the range of the current being measured, thereby controlling the phase current of the three-phase motor to maintain a high sampling accuracy, thereby improving the motor control performance of the steering system.

[0163] Example 4

[0164] See also Figure 3The present invention designs a controller circuit of an electric power steering system, including a microcontroller 1, a power management chip 2, a power interface filter circuit module 3, a DC voltage regulator module 4, a three-phase bridge drive chip 9, a three-phase separation circuit drive chip 10, a CAN transceiver 11, and a permanent magnet synchronous motor M. One end of a battery 12 is grounded, and the other end of the battery 12 is connected in series with a fuse 13 and then divided into two paths, which are respectively connected to the power input port of the power management chip 2 and the power input port of the power interface filter circuit module 3; the power output port of the power interface filter circuit module 3 is divided into two paths, which are respectively connected to the power input port of the three-phase bridge drive chip 9 and the current input port of the DC voltage regulator module 4, and the current output port of the DC voltage regulator module 4 is connected to the current input port of the three-phase bridge module 5. The V MCU The SPI port of the power management chip 2 is connected to the power input port of the microcontroller 1, and the SPI port of the power management chip 2 is connected to the SPI port of the microcontroller 1. The SPI port of the microcontroller 1 is also connected to the SPI port of the three-phase bridge driver chip 9 and the SPI port of the motor rotation angle position sensor 7 respectively. The CAN port of the microcontroller 1 is connected to the CAN transceiver 11. The control signal output port of the power management chip 2 and the control signal output port of the microcontroller 1 are both connected to the signal input port of the three-phase separation circuit driver chip 10. The signal output port of the three-phase separation circuit driver chip 10 is connected to the three-phase The control signal receiving port of the separation module 6 is connected, the power input port of the three-phase bridge module 5 is connected to the power input port of the three-phase current sampling circuit module 8 and the power input port of the three-phase bridge driving chip 9, the signal output port of the three-phase bridge module 5 is connected to the signal input port of the three-phase separation module 6, the signal output port of the three-phase separation module 6 is connected to the signal input port of the permanent magnet synchronous motor M, and the signal output port of the permanent magnet synchronous motor M is connected to the motor rotation angle position sensor 7; the three-phase current sampling circuit module 8 is also connected to the three-phase current signal input port of the three-phase bridge driving chip 9.

[0165] The functions of each module in the present invention are as follows:

[0166] (1) The microcontroller 1 (MCU) is the computing and processing core of the steering system controller, which collects the vehicle speed signal and the ignition signal of the vehicle; collects the torque signal and the steering wheel angle signal transmitted by the steering wheel torque sensor and the angle sensor 16; collects the phase current signal of the power-assist motor; collects the angle signal of the power-assist motor; and collects the phase voltage signal. After obtaining these sensor signals, the built-in power-assist curve or power-assist model is used to generate the required power-assistance according to the torque and angle input by the current driver, and then generates a three-phase bridge control PWM waveform according to the internal closed-loop controller to drive the power-assist motor to achieve the desired steering assist.

[0167] (2) The input signals of the power management chip 2 are the battery voltage and the ignition signal, which generates the digital power required by each module of the steering system controller, such as the 3.3V digital power required by the microcontroller 1: V 微控制器 The power management chip 2 communicates with the microcontroller 1 through the SPI interface, and the microcontroller 1 can adjust the working mode of the power management chip 2 through control instructions. The power management chip 2 integrates a powerful diagnostic circuit, which can diagnose all faults of the power management chip 2, such as output power overvoltage, undervoltage, overcurrent, chip overtemperature, etc. The power management chip 2 generates different protection measures according to various fault conditions, and can directly shut down the three-phase separation circuit drive chip 10 through the safety control signal of the power management chip 2, thereby cutting off the power assistance of the permanent magnet synchronous motor M and putting the steering system into a safe state.

[0168] (3) The power interface filter circuit module 3 includes a differential filter circuit, a common mode filter circuit and a high frequency filter circuit. Its main function is to absorb the power supply noise on the steering system controller, improve the electromagnetic compatibility performance of the steering system controller, and ensure that the steering system controller can pass all electromagnetic compatibility tests.

[0169] (4) The DC voltage regulator module 4 is composed of three large-capacity electrolytic capacitors, which are used to stabilize the DC voltage of the three-phase bridge motor control, reduce the ripple of the three-phase current of the motor control, provide AC current for the motor control, and improve the motor control performance.

[0170] (5) The function of the three-phase bridge module 5 is to invert the DC voltage of the battery into an AC voltage so as to control the rotation of the permanent magnet synchronous motor M and realize electric power assistance.

[0171] (6) The three-phase separation module 6 is three field effect transistors Q7, Q8, and Q9 connected in series in the three phases of the permanent magnet synchronous motor M. Its function is to disconnect these three field effect transistors when a steering system controller fails, thereby cutting off the motor current and achieving the purpose of cutting off the motor power assistance. At this time, the vehicle steering becomes mechanical steering. This greatly reduces the risk of serious accidents that endanger driver safety due to a steering system controller failure.

[0172] (7) The function of the motor angle position sensor 7 is to collect the angle signal of the power-assist motor, which is a key signal required for motor control. A magnet is installed on the rotor shaft of the permanent magnet synchronous motor M, which rotates with the rotor. The present invention adopts the latest generation of tunnel magnetoresistance angle sensor (TMR sensor) to detect the position of the magnet on the motor shaft, and then detect the speed and angle signal of the rotor. It has the advantages of small angle error and fast data refresh rate, which greatly improves the performance of motor control.

[0173] (8) The three-phase current sampling circuit module 8 is three current sampling resistors placed at the lower bridge of each phase of the three-phase bridge. The current signal is converted into a voltage signal, which is amplified by the differential operational amplifier inside the three-phase bridge driver chip 9 and then input into the analog-to-digital converter (ADC) in the microcontroller 1 to convert the analog voltage into a digital voltage. In this way, the microcontroller 1 obtains the three-phase lower bridge arm current signal. By sampling the current flowing through the lower bridge of each phase, the microcontroller 1 further calculates the actual three-phase phase current of the motor as the feedback signal for the motor current control.

[0174] (9) The three-phase bridge driving chip 9 receives the three-phase bridge control signal input by the microcontroller 1, and then drives the three-phase bridge module 5 to operate, generate a corresponding control waveform, and convert the DC battery voltage into PWM to control the power assist motor.

[0175] (10) The function of the three-phase separation circuit driver chip 10 is to drive the opening and closing of the three-phase phase separation field effect tube. In the normal operation mode, the phase separation field effect tube is turned on, and the PWM voltage generated by the three-phase bridge can be applied to the motor through the phase separation field effect tube, generating a three-phase current of the motor and then generating motor assistance. In the event of a fault, the three-phase separation circuit driver chip turns off the phase separation field effect tube, cuts off the motor current, and thus cuts off the motor assistance.

[0176] (11) CAN transceiver 11 sends the vehicle ignition signal and vehicle speed signal from the vehicle CAN bus to the steering system controller, and sends the data of the steering system controller to the CAN bus.

[0177] In the present invention, a three-phase motor phase voltage state feedback circuit 14 is also provided between the three-phase bridge module 5, the three-phase bridge driving chip 9, and the microcontroller 1 to connect them so as to achieve the purpose of stabilizing the voltage.

[0178] See also Figure 4The specific connection of the power interface filter circuit in the present invention is as follows: the VBAT port is divided into nine paths, which are respectively connected to one end of the capacitor C1, one end of the capacitor C2, one end of the capacitor C3, one end of the capacitor C4, one end of the capacitor C5, one end of the capacitor C6, one end of the capacitor C7, one end of the capacitor C8, and one end of the inductor L1; the other end of the capacitor C1 is divided into four paths, which are respectively connected to HGND, one end of the capacitor C14, the other end of the capacitor C2, and one end of the capacitor C15; the other end of the capacitor C14 and the other end of the capacitor C15 are grounded after merging; the other end of the capacitor C3 is divided into eleven paths, which are respectively connected to the ground, the other end of the capacitor C4, the other end of the capacitor C5, and the other end of the capacitor C6. One end of the inductor L1 is connected to the other end of the inductor L1, the other end of the capacitor C10, one end of the capacitor C11, one end of the capacitor C12, one end of the capacitor C13, and the VBAT1 port respectively; the other end of the capacitor C16 is connected to HGND1, the other end of the capacitor C17 is connected to HGND2, the other end of the capacitor C18 is connected to HGND3, the other end of the capacitor C11, the other end of the capacitor C12, and the other end of the capacitor C13 are summed up and grounded.

[0179] The working principle of the power interface filter circuit is: C1 and C14 are two 10uF ceramic capacitors, forming a Y capacitor filter. The main function of the Y capacitor is to filter out the common mode noise on the power line and ground line of the steering system controller. The 10uF capacitor mainly provides a low-impedance channel for low-frequency noise below 1MHz. The low-frequency common-mode noise with the same direction existing on the power line and ground line can be introduced into the steering system controller housing through this Y capacitor and return to the battery through the low-impedance loop of the steering system controller housing.

[0180] C2 and C15 are two 1nF (nanofarad) ceramic capacitors, which also form a Y capacitor filter. The 1nF capacitor is mainly used for noise above 30MHz (megahertz). The high-frequency noise on the power line and ground line will form a low-impedance path through C2 and C15 and be introduced into the steering system controller housing, and return to the battery through the low-impedance loop of the steering system controller housing.

[0181] C3, C4, and C5 are a group of differential mode capacitors, C3 is a 4.7nF ceramic capacitor, C4 is a 1nF ceramic capacitor, and C5 is a 6.8nF ceramic capacitor. These three capacitors are connected between the power line and the ground line of the steering system controller, and they generate low-impedance channels for the interference noise of different frequency bands on the power line, which are introduced into the ground line of the steering system controller and then returned to the battery.

[0182] C6 is a 330uF electrolytic capacitor used for DC voltage stabilization. The stable voltage on this electrolytic capacitor is mainly used to power the digital part of the steering system controller. The digital part of the steering system controller includes a switching power supply, which is used to generate various voltages required by the digital system from the battery voltage. This electrolytic capacitor stores the DC voltage required by the switching power supply of the digital part, reduces the ripple of the digital system power supply, and reduces low-frequency noise.

[0183] C7, C8, L1, C9, and C10 form a pi-type filter. By designing the parameters of the pi-type filter, the noise frequency band that you want to filter out can be filtered out in a targeted manner, so that the noise signal is introduced into the steering system controller ground line through the pi-type filter and then returned to the battery.

[0184] C16, C17, C18 are three steering system controller ground plane to the housing filter capacitors, because the steering system controller ground line generally has a lot of noise, these three capacitors provide a low impedance loop for the noise on the ground line to the steering system controller housing, and then the noise returns to the battery through the steering system controller housing. This is very important, the steering system controller ground line or ground plane through the capacitor to form a low impedance loop to the steering system controller housing.

[0185] C11, C12, and C13 are three large electrolytic capacitors of 2200uF (microfarads), which mainly provide the input voltage of the three-phase bridge for power-assisted motor control. The three capacitors correspond to the three phases of the three-phase bridge for motor control, namely U, V, and W. The DC voltage on these three capacitors is converted into AC voltage to drive the motor through the three-phase bridge. The AC current is mainly provided by these three capacitors. These three large capacitors ensure the stability of the input voltage of the power-assisted motor control and the stability of the motor control.

[0186] In this circuit, HGND, HGND1, HGND2, and HGND3 are screw holes on the metal housing. By screwing conductive screws into the controller housing through these screw holes, the noise on the power line or ground line of the steering system controller is introduced into the steering system controller housing through the capacitor. The low-impedance connection here is also very important, to ensure that the noise on the controller can be introduced into the steering system controller housing with low impedance through the screw holes, and then return to the battery.

[0187] The power filter circuit can ensure that the steering system controller is not affected in the electromagnetic interference environment of the whole vehicle and works normally, and at the same time ensure that the electromagnetic interference emitted by the steering system controller to the outside reaches the specified limit.

[0188] See also Figures 5 to 7In the present invention, the three-phase separation module 6 is also connected to low-power diodes D1-D3, so that a motor freewheeling circuit 15 is formed between the three-phase bridge module 5, the three-phase separation module 6, and the low-power diodes D1-D3. The specific connection method is as follows: the VBAT port is divided into three paths, which are respectively connected to the drain electrode of the field effect tube Q1, the drain electrode of the field effect tube Q2, and the drain electrode of the field effect tube Q2. The source of the field effect tube Q1 is divided into two paths, which are respectively connected to the drain electrode of the field effect tube Q4 and the drain electrode of the field effect tube Q7. The source of the field effect tube Q7 is connected to the U phase of the three-phase motor, and the gate of the field effect tube Q7 is connected to the cathode of the diode D1. The source of the field effect tube Q2 is divided into two paths, which are respectively connected to the field effect tube Q The drain electrode of field effect transistor Q8 is connected to the drain electrode of field effect transistor Q5, the gate of field effect transistor Q8 is connected to diode D2, the source of field effect transistor Q8 is connected to the V phase of the three-phase motor, the source of field effect transistor Q3 is divided into two paths, which are respectively connected to the drain electrode of field effect transistor Q6 and the drain electrode of field effect transistor Q9, the gate of field effect transistor Q9 is connected to diode D3, the source of field effect transistor Q9 is connected to the V phase of the three-phase motor, the source of field effect transistor Q4, the source of field effect transistor Q5, and the source of field effect transistor Q6 are grounded after being collected, and the anode of diode D1, the anode of diode D2, and the anode of diode D3 are grounded after being collected; the gates of the field effect transistors Q1 to Q6 are connected to the three-phase bridge drive chip 9 after being collected.

[0189] The power of diodes D1~D3 in the freewheeling circuit of this motor is about 0.3W. These three diodes are placed at the driving ends of the corresponding phase-separation field effect transistors Q7~Q9 to provide driving current for turning on the field effect transistors Q7~Q9. It is necessary to turn on the phase-separation field effect transistors when negative pressure is generated in the motor to form a freewheeling path. The driving power of the field effect transistors Q7~Q9 is relatively small, so these three diodes can be selected with smaller power.

[0190] When the electric power steering system suddenly fails, the motor power assistance is disconnected by cutting off the three phase separation switches Q7, Q8, and Q9 on the three phases of the motor, that is, the three-phase current driven by the motor is cut off. Since the motor is a large inductive load, the current on the internal coil cannot change suddenly. After the phase separation field effect transistors Q7, Q8, and Q9 are disconnected, a very high reverse electromotive force will be generated at the U, V, and W ends of the motor. The reverse electromotive force is a very high negative voltage or positive voltage, which is related to the current flow direction of the motor phase at this time. The following takes the U phase of the motor as an example to illustrate the working principle of the motor freewheeling circuit.

[0191] As attached Figure 6As shown in the figure, if the phase separation field effect tube is suddenly disconnected to cut off the motor assistance, the motor U phase current iu flows into the motor, then this current will induce a very high negative voltage on the U phase of the motor. When this negative voltage is lower than about -4V, due to the effect of diode D1, a positive voltage will be generated between the gate and source of the phase separation field effect tube Q7, and it will be greater than the conduction threshold voltage of the field effect tube Q7. At this time, the phase separation field effect tube Q7 will be turned on, and the U phase freewheeling channel will be formed, i 续流 The current is extracted from the body diode of the lower bridge FET of the U phase, flows into the motor through the phase separation FET Q7, until the U phase current of the motor is consumed inside the motor, and the negative voltage generated on the U phase is greater than -4V, and the FET Q7 is automatically closed, thereby preventing excessive negative pressure from damaging the three-phase bridge switch and the phase separation switch. In this process, only the driving current i of the phase separation FET Q7 that is turned on flows through the diode D1. g , this driving current is very small.

[0192] As attached Figure 7 As shown, if the phase separation field effect tube is suddenly disconnected to cut off the motor assistance, the motor U phase current iu is in the direction of flowing out of the motor, then the motor freewheeling channel naturally exists in this application, i 续流 The current flows from the body diode of the phase separation field effect transistor Q7 into the positive electrode of the battery through the body diode of the U-phase upper bridge field effect transistor of the three-phase drive bridge.

[0193] The freewheeling process of the V phase and the W phase is similar to the freewheeling process of the U phase.

[0194] Therefore, this circuit can use a very small power diode to control the switch of the field effect tube, thereby achieving the effect of motor freewheeling.

[0195] See also Figure 8The specific connection of the phase voltage state feedback circuit of the three-phase motor in the present invention is as follows: the U phase of the three-phase motor is divided into four paths, which are respectively connected to the source of the field effect tube Q1, the drain electrode of the field effect tube Q4, one end of the resistor R1, and one end of the resistor R2; the V phase of the three-phase motor is divided into four paths, which are respectively connected to the source of the field effect tube Q2, the drain electrode of the field effect tube Q5, one end of the resistor R4, and one end of the resistor R5; the W phase of the three-phase motor is divided into four paths, which are respectively connected to the source of the field effect tube Q3, the drain electrode of the field effect tube Q6, one end of the resistor R7, and one end of the resistor R8; the drain electrode of the field effect tube Q1, the drain electrode of the field effect tube Q2, and the drain electrode of the field effect tube Q3 are connected to VBAT after being collected; the source of the field effect tube Q4, the source of the field effect tube Q5, and the source of the field effect tube Q6 are connected to VBAT; The source of Q6 is grounded after being combined, the other end of the resistor R1, the other end of the resistor R4, and the other end of the resistor R7 are connected to VBAT, the other end of the resistor R2 is divided into three paths, which are respectively connected to one end of the resistor R3, one end of the capacitor C1, and the AD1 port of the microcontroller, the other end of the resistor R5 is divided into three paths, which are respectively connected to one end of the resistor R6, one end of the capacitor C2, and the AD2 port of the microcontroller, the other end of the resistor R8 is divided into three paths, which are respectively connected to one end of the resistor R9, one end of the capacitor C3, and the AD3 port of the microcontroller, the other end of the resistor R3 is combined with the other end of the capacitor C1 and then grounded, the other end of the resistor R6 is combined with the other end of the capacitor C2 and then grounded, and the other end of the resistor R9 is combined with the other end of the capacitor C3 and then grounded.

[0196] The model of the microcontroller used in the present invention may be TC234.

[0197] The three-phase motor phase voltage state feedback circuit of the present invention also has two functions: phase voltage measurement and three-phase bridge power-on fault diagnosis. The specific working principle is as follows:

[0198] (1) Phase voltage measurement: The phase voltage measurement function is realized by directly connecting the voltage divider circuit (R2 and R3, R5 and R6, R8 and R9) and the capacitor filter circuit (C21, C22, C23) of the motor UVW three phases. The voltage divider circuit (R2 and R3, R5 and R6, R8 and R9) is used to divide the phase voltage of the motor (the highest voltage is approximately equal to the battery input voltage) into the voltage range that can be measured by the ADC module of the microcontroller (the measurement range of the analog voltage of the ADC module of TC234 is 0~5V). C21, C22, C23 are three filter capacitors used to filter out the noise of the analog voltage sent to the AD port of the microcontroller, making the AD measurement result more accurate. The phase voltage after voltage division is directly converted into a digital value by the ADC module of the microcontroller, and this voltage is used for motor control, thereby improving the performance of motor control.

[0199] (2) Three-phase bridge power-on fault diagnosis: Since the electric power steering system controller has relatively high requirements for safety performance, before the controller works normally, it is necessary to diagnose the switch of each field effect tube of the three-phase bridge. After ensuring that each switch is normal, the controller can start the three-phase bridge driver chip to perform PWM control on the three-phase bridge to enable the motor to generate power. The present invention can diagnose the status of the six field effect tubes before the three-phase bridge driver chip fails to work. The specific diagnostic process is as follows:

[0200] As attached Fig. 9 As shown, take the working status diagnosis of the upper and lower bridge field effect transistors Q1 and Q4 of phase U as an example:

[0201] S1, the microcontroller sends a control command to turn off the upper and lower bridge field effect transistors Q1 and Q4 of the U phase at the same time. At this time, the U phase feedback voltage is VBAT, which is input to the microcontroller after being divided by the resistors R1, R2, and R3. Therefore, the normal value of the U phase feedback voltage measured by the microcontroller should be VBAT*(R3) / (R1+R2+R3);

[0202] S2, the microcontroller measures the U-phase feedback voltage to judge, if it meets the normal value, then enter S5; otherwise, it means that the field effect tubes Q1 and Q4 of the upper and lower bridges of the U-phase must be faulty. Whether it is Q1 or Q4 that is faulty, it is necessary to further compare the measured phase voltages under this condition;

[0203] S3, determine whether the U-phase feedback voltage measured by the microcontroller is equal to VBAT*(R3) / (R2+R3). If yes, the U-phase upper bridge field effect transistor Q1 has a short circuit fault; if no, enter S4 to continue the judgment;

[0204] S4, judging whether the U-phase feedback voltage measured by the microcontroller is equal to 0, if yes, the U-phase lower bridge field effect tube Q4 has a short circuit fault; if no, it means that both Q1 and Q4 may be in an unexpected state, at which time the system cannot work normally, and the diagnosis work of the U-phase field effect tube is terminated;

[0205] S5, the microcontroller sends a control command to turn on the U-phase upper bridge FET Q1 and turn off the U-phase lower bridge FET Q4. At this time, VBAT is directly input to the U-phase of the motor. At this time, the U-phase feedback voltage is VBAT divided by R2 and R3 resistors and input to the AD1 of the microcontroller. Therefore, the normal value of the U-phase feedback voltage measured by the microcontroller should be VBAT*(R3) / (R2+R3).

[0206] S6, at this time, the microcontroller measures the U-phase feedback voltage to judge, if it meets the normal value, then enter S8; otherwise, it means that the U-phase upper bridge field effect transistor Q1 is faulty, and the specific fault needs to be judged in the next step;

[0207] S7, determine whether the U-phase feedback voltage measured by the microcontroller is equal to VBAT*(R3) / (R1+R2+R3). If yes, it means that the U-phase upper bridge field effect transistor Q1 has a short circuit fault; if no, it means that the U-phase upper bridge field effect transistor Q1 is not working properly;

[0208] S8, the microcontroller TC234 sends a control command to turn off the U-phase upper bridge field effect transistor Q1 and turn on the U-phase lower bridge field effect transistor Q4. At this time, the U-phase of the motor is directly connected to GND, so the normal value of the U-phase feedback voltage measured by the microcontroller should be 0V;

[0209] S9, determine whether the U-phase feedback voltage measured by the microcontroller is equal to 0. If yes, it means that the upper and lower bridge field effect transistors Q1 and Q4 of the U-phase are working normally; if no, it means that the lower bridge field effect transistor Q4 of the U-phase is faulty, and the specific fault needs to be determined in the next step;

[0210] S10, determine whether the U-phase feedback voltage measured by the microcontroller is equal to VBAT*(R3) / (R1+R2+R3). If yes, the U-phase lower bridge field effect transistor Q4 has an open circuit fault; if no, the U-phase lower bridge field effect transistor Q4 is not working properly.

[0211] After the above steps, the three-phase bridge power-on fault diagnosis can be easily and conveniently performed without additional measurements. In the specific implementation, the field effect tube diagnosis process of the V phase and the W phase is the same as the above-mentioned U phase diagnosis process.

[0212] The main function of the electric power steering system is to generate an electric power assist through the power motor when the driver turns the steering wheel, thereby helping the driver to turn the steering gear more easily and turn the car. Fig.10 The present invention also designs a control method for a controller circuit of an electric power steering system, which is performed in the following steps:

[0213] S1, presetting a power assistance curve or a power assistance model in the microcontroller 1;

[0214] S2, microcontroller 1 collects vehicle ignition signal, vehicle speed signal, steering wheel torque signal, and steering wheel angle signal;

[0215] S3', based on the power-assistance curve or the power-assistance model, according to the relevant data collected in S2, obtain the current signal given and the speed signal given;

[0216] S3, the three-phase current sampling circuit module 8 samples the three-phase current with high precision to obtain the actual three-phase current signal of the motor, and transmits the signal to the microcontroller 1; synchronously with this, the motor rotation angle position sensor 7 transmits the synchronously collected actual motor speed signal to the microcontroller 1;

[0217] S4, the microcontroller 1 synchronously transmits the actual three-phase current signal of the motor, the actual speed signal of the motor and the corresponding current signal setting and speed signal setting to the motor current closed-loop controller and the motor speed closed-loop controller inside the microcontroller 1 respectively, and performs closed-loop control processing, thereby obtaining the current control signal and the speed control signal;

[0218] S5, transmitting the current control signal and the speed control signal to the PWM modulator in the microcontroller 1 to generate a three-phase bridge control signal;

[0219] S6, transmitting the three-phase bridge control signal to the three-phase bridge driving chip 9 to drive the opening / closing of the six field effect transistors Q1-Q6 in the three-phase bridge module 5, thereby controlling the motor to generate corresponding motor assistance.

[0220] In addition to the above-mentioned normal power-assisting motor control, the present invention also has a very important function of fault diagnosis and fault protection, which mainly includes the fault diagnosis and protection mechanism integrated in the integrated chip itself, such as the diagnosis and protection of internal signals and peripheral circuits by the power management chip, microcontroller, CAN transceiver chip, three-phase bridge driver chip, and three-phase phase separation circuit driver chip, and the microcontroller 1 is designed with an optional three-phase phase voltage feedback circuit, which can also be used as the power-on diagnosis function of the three-phase bridge field effect tube. The microcontroller can also monitor the battery voltage signal as a diagnostic function through its own analog-to-digital conversion module (ADC). When the microcontroller 1 fails, the power management chip can turn off the three-phase separation circuit driver chip through the power management chip control signal, thereby cutting off the motor power assistance; the microcontroller can turn off the three-phase separation circuit driver chip through the microcontroller control signal, thereby cutting off the power assistance; after the three-phase bridge driver chip fails, the three-phase bridge module can be cut off, and the motor power assistance can also be cut off. After the three-phase phase separation circuit driver chip fails, the three-phase phase separation module can also be cut off, so as to achieve the effect of timely cutting off the motor power assistance. By utilizing the diagnostic and protection mechanism design of this controller, no matter which integrated chip is damaged or other parts of the controller fail, the motor assistance can be cut off in time to avoid more serious accidents and protect the safety of the driver.

[0221] The specific steps of the high-precision phase current sampling method performed in the three-phase current sampling circuit module described in the control method of the present invention are as follows:

[0222] Step 1: Get the phase current value and three-phase PWM duty cycle of the previous cycle, and use the obtained phase current value and PWM value of the previous cycle to judge the interval of the current. Based on the characteristic that the motor current will not change sharply but slowly, the current current can be in the same interval as the current of the previous cycle. Set the corresponding amplifier gain value AV and bias voltage V according to the interval. OOS ;

[0223] Step 2: Calculate the actual phase current value I PX The value of X represents the U phase, V phase, and W phase of the three-phase current. For example, the actual value of the U phase current is I PU , the actual value of the V phase current is I PV , the actual value of the W phase current is I PW , the same is true for X in the following specific calculation method:

[0224] Step 1: Determine the sampling resolution 2n of the analog-to-digital converter, and measure the sampling values ​​P of the analog-to-digital converter corresponding to the three phases U, V, and W respectively. ADCX , set the reference voltage value V REF , using formula (1-1): Calculate the sampling voltage V of the analog-to-digital converter CSXO ;

[0225] Step 2: Set the bias voltage V according to OOS , amplifier gain value AV, using formula (1-2): Calculate the voltage ΔV across the sampling resistor IOS ;

[0226] Step 3: According to the resistance value R of the sampling resistor, use formula (1-3): Calculate the sampling current I passing through the sampling resistor X ;

[0227] Substituting formula (1-2) into formula (1-3) yields formula (1-4):

[0228] Step 4: Determine the zero current I of the sampling resistor X0 and the sampling voltage V of the analog-to-digital converter in the zero current state X0 , and according to the measured value combined with formula (1-5): I ps =I X -I X0 , calculate the phase current sampling value I ps ;

[0229] Substituting formula (1-4) into formula (1-5) yields formula (1-6):

[0230] Step 5: Current bias value I caused by connection error in circuit connection OFF And the coefficient change K caused by external environmental factors, using formula (1-7): I PX =KI ps +I OFF , calculate the actual value of the phase current I PX ;

[0231] Substituting formula (1-6) into formula (1-7) yields formula (1-8):

[0232] Step 6: Combining formula (1-1) and formula (1-8), the actual value of the phase current I can be calculated. PX .

[0233] Step 3: Calculate the phase current vector length I s The specific calculation method is: According to the calculated actual current value of U phase I Pu and the actual current value of phase W I PW , calculate the current vector length Is,

[0234] Step 4: Calculate the phase current sampling accuracy I CX The specific calculation method is as follows: First, calculate the sampling accuracy of the single-phase current Among them I ps is the phase current sampling value, I X Resolution is the smallest unit of I X Unit value; secondly calculate the current vector length I S The sampling accuracy I CS , In this formula, I is the current range to be measured, I s Resolution is the smallest unit of I s Unit value;

[0235] by I CS From the formula, it can be seen that when the sampling resistor value remains unchanged, changing the amplifier gain value AV according to the different measured current sampling range I can control the current sampling accuracy, and the phase current sampling range is -V OOS / R*AV~V OOS / R*AV.

[0236] The present invention adopts the latest generation of motor angle position sensor, which greatly improves the motor control performance; adopts a three-phase separation circuit to ensure that the SCU can cut off the motor power assistance in a fault state, greatly improving the safety of the steering system and reducing the failure rate of the SCU to below 500FIT; designs a new phase current sampling method that can keep the three-phase current sampling at a high accuracy under various currents, meets the real-time collection and control of the motor current, and can cut off the circuit in time to protect the entire system.

[0237] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that this is only for illustration and the protection scope of the present invention is defined by the appended claims. Those skilled in the art may make various changes or modifications to these embodiments without departing from the principles and essence of the present invention, but these changes and modifications all fall within the protection scope of the present invention.

Claims

1. A controller circuit for an electric power steering system, comprising a three-phase motor, a microcontroller, a three-phase bridge module and a three-phase motor phase voltage state feedback circuit; The microcontroller includes at least three analog-to-digital conversion voltage acquisition terminals; The three-phase motor includes a U-phase terminal, a V-phase terminal and a W-phase terminal; The three-phase bridge module includes a U-phase upper bridge field effect transistor, a U-phase lower bridge field effect transistor, a V-phase upper bridge field effect transistor, a V-phase lower bridge field effect transistor, a W-phase upper bridge field effect transistor and a W-phase lower bridge field effect transistor; The three-phase motor phase voltage state feedback circuit includes three voltage divider circuits, each of which includes an original voltage terminal, a voltage divider output terminal and a ground terminal, and the three original voltage terminals are connected to the U phase terminal, the V phase terminal and the W phase terminal one by one; The three voltage-dividing output terminals are electrically connected to the three analog-to-digital conversion voltage collecting terminals in a one-to-one correspondence; The voltage divider circuit is used to divide the phase voltage of the three-phase motor into a voltage range supported by the analog-to-digital conversion voltage acquisition terminal; The U-phase end is electrically connected to the source of the U-phase upper bridge field effect transistor, the drain of the U-phase lower bridge field effect transistor and the original voltage end of the corresponding voltage divider circuit; The V-phase end is electrically connected to the source of the V-phase upper bridge field effect transistor, the drain of the V-phase lower bridge field effect transistor and the original voltage end of the corresponding voltage divider circuit; The W-phase end is electrically connected to the source of the W-phase upper bridge field effect transistor, the drain of the W-phase lower bridge field effect transistor and the original voltage end of the corresponding voltage divider circuit; It is characterized in that the three-phase motor phase voltage state feedback circuit also includes three pull-up circuits, and the three pull-up circuits are used for pulling up the U phase end, the V phase end and the W phase end in a one-to-one correspondence; The microcontroller is used to control the opening or closing of the U-phase upper bridge field effect transistor and the U-phase lower bridge field effect transistor respectively, and perform power-on fault diagnosis on the U-phase upper bridge field effect transistor and / or the U-phase lower bridge field effect transistor based on the voltage collected by the corresponding analog-to-digital conversion voltage collection terminal; the microcontroller is also used to control the opening or closing of the V-phase upper bridge field effect transistor and the V-phase lower bridge field effect transistor respectively, and perform power-on fault diagnosis on the V-phase upper bridge field effect transistor and / or the V-phase lower bridge field effect transistor based on the voltage collected by the corresponding analog-to-digital conversion voltage collection terminal; the microcontroller is also used to control the opening or closing of the W-phase upper bridge field effect transistor and the W-phase lower bridge field effect transistor respectively, and perform power-on fault diagnosis on the W-phase upper bridge field effect transistor and / or the W-phase lower bridge field effect transistor based on the voltage collected by the corresponding analog-to-digital conversion voltage collection terminal; The controller circuit further includes a three-phase separation module, which is connected in series between the three-phase motor and the three-phase bridge module, and is used to cut off the connection between the three-phase motor and the three-phase bridge module when a steering system controller fails; The three-phase separation module includes a U-phase separation field effect transistor, a V-phase separation field effect transistor, and a W-phase separation field effect transistor; the controller circuit also includes a motor freewheeling circuit; the motor freewheeling circuit includes a U-phase diode, a V-phase diode, and a W-phase diode; the anode of the U-phase diode, the anode of the V-phase diode, and the anode of the W-phase diode are all grounded; the U-phase diode, the V-phase diode, and the W-phase diode are used to open the corresponding phase separation field effect transistor when negative voltage is generated in the three-phase motor; The gate of the U-phase separation field effect transistor is electrically connected to the cathode of the U-phase diode, the source of the U-phase separation field effect transistor is electrically connected to the U-phase end, and the drain of the U-phase separation field effect transistor is electrically connected to the source of the U-phase upper bridge field effect transistor; The gate of the V-phase separation field effect transistor is electrically connected to the cathode of the V-phase diode, the source of the V-phase separation field effect transistor is electrically connected to the V-phase end, and the drain of the V-phase separation field effect transistor is electrically connected to the source of the V-phase upper bridge field effect transistor; The gate of the W-phase separation field effect transistor is electrically connected to the cathode of the W-phase diode, the source of the W-phase separation field effect transistor is electrically connected to the W-phase end, and the drain of the W-phase separation field effect transistor is electrically connected to the source of the W-phase upper bridge field effect transistor.

2. The controller circuit of the electric power steering system according to claim 1, characterized in that: The voltage at the voltage-dividing output terminal corresponding to the U-phase terminal is the U-phase feedback voltage; The microcontroller is used to control the U-phase upper bridge field effect transistor and the U-phase lower bridge field effect transistor to be turned off, and then obtain the U-phase feedback voltage and use it as the first U-phase feedback voltage; when the first U-phase feedback voltage is equal to the U-phase first preset value, it is determined that the U-phase upper bridge field effect transistor has a short circuit fault; when the first U-phase feedback voltage is equal to 0, it is determined that the U-phase lower bridge field effect transistor has a short circuit fault; when the first U-phase feedback voltage is not equal to the U-phase first preset value and is not equal to 0 and is not equal to the U-phase second preset value, it is determined that the U-phase upper bridge field effect transistor and the U-phase lower bridge field effect transistor are in an unexpected state; When the first U-phase feedback voltage is equal to the second U-phase preset value, the microcontroller is also used to control the U-phase upper bridge field effect transistor to turn on and control the U-phase lower bridge field effect transistor to turn off, and then obtain the U-phase feedback voltage and use it as the second U-phase feedback voltage; when the second U-phase feedback voltage is not equal to the first U-phase preset value, it is determined that the U-phase upper bridge field effect transistor has an open circuit fault; When the second U-phase feedback voltage is equal to the first preset value of the U-phase, the microcontroller is also used to control the U-phase upper bridge field effect tube to turn off and control the U-phase lower bridge field effect tube to turn on, and then obtain the U-phase feedback voltage and use it as the third U-phase feedback voltage. When the third U-phase feedback voltage is equal to 0, it is determined that the U-phase upper bridge field effect tube and the U-phase lower bridge field effect tube are both working normally. When the third U-phase feedback voltage is not equal to 0, it is determined that the U-phase lower bridge field effect tube has a short circuit fault; The voltage at the voltage-dividing output terminal corresponding to the V-phase terminal is the V-phase feedback voltage; The microcontroller is also used to control the V-phase upper bridge field effect tube and the V-phase lower bridge field effect tube to be turned off, and then obtain the V-phase feedback voltage and use it as the first V-phase feedback voltage; when the first V-phase feedback voltage is equal to the V-phase first preset value, it is determined that the V-phase upper bridge field effect tube has a short circuit fault; when the first V-phase feedback voltage is equal to 0, it is determined that the V-phase lower bridge field effect tube has a short circuit fault; when the first V-phase feedback voltage is not equal to the V-phase first preset value and is not equal to 0 and is not equal to the V-phase second preset value, it is determined that the V-phase upper bridge field effect tube and the V-phase lower bridge field effect tube are in an unexpected state; When the first V-phase feedback voltage is equal to the second V-phase preset value, the microcontroller is further used to control the V-phase upper bridge field effect transistor to turn on and control the V-phase lower bridge field effect transistor to turn off, and then obtain the V-phase feedback voltage and use it as the second V-phase feedback voltage; when the second V-phase feedback voltage is not equal to the V-phase first preset value, it is determined that the V-phase upper bridge field effect transistor has an open circuit fault; When the second V-phase feedback voltage is equal to the first preset value of the V-phase, the microcontroller is also used to control the V-phase upper bridge field effect tube to turn off and control the V-phase lower bridge field effect tube to turn on, then obtain the V-phase feedback voltage and use it as the third V-phase feedback voltage, when the third V-phase feedback voltage is equal to 0, it is determined that the V-phase upper bridge field effect tube and the V-phase lower bridge field effect tube are both working normally, and when the third V-phase feedback voltage is not equal to 0, it is determined that the V-phase lower bridge field effect tube has a short circuit fault; The voltage at the voltage-dividing output terminal corresponding to the W-phase terminal is the W-phase feedback voltage; The microcontroller is also used to control the W-phase upper bridge field effect transistor and the W-phase lower bridge field effect transistor to be turned off, and then obtain the W-phase feedback voltage and use it as the first W-phase feedback voltage; when the first W-phase feedback voltage is equal to the W-phase first preset value, it is determined that the W-phase upper bridge field effect transistor has a short circuit fault; when the first W-phase feedback voltage is equal to 0, it is determined that the W-phase lower bridge field effect transistor has a short circuit fault; when the first W-phase feedback voltage is not equal to the W-phase first preset value and is not equal to 0 and is not equal to the W-phase second preset value, it is determined that the W-phase upper bridge field effect transistor and the W-phase lower bridge field effect transistor are in an unexpected state; When the first W-phase feedback voltage is equal to the second W-phase preset value, the microcontroller is further used to control the W-phase upper bridge field effect transistor to turn on and control the W-phase lower bridge field effect transistor to turn off, and then obtain the W-phase feedback voltage and use it as the second W-phase feedback voltage; when the second W-phase feedback voltage is not equal to the first W-phase preset value, it is determined that the W-phase upper bridge field effect transistor has a circuit breaker fault; When the second W-phase feedback voltage is equal to the first preset value of the W-phase, the microcontroller is also used to control the W-phase upper bridge field effect transistor to turn off and control the W-phase lower bridge field effect transistor to turn on, then obtain the W-phase feedback voltage and use it as the third W-phase feedback voltage. When the third W-phase feedback voltage is equal to 0, it is determined that the W-phase upper bridge field effect transistor and the W-phase lower bridge field effect transistor are both working normally. When the third W-phase feedback voltage is not equal to 0, it is determined that the W-phase lower bridge field effect transistor has a short circuit fault.

3. The controller circuit of the electric power steering system according to claim 1, characterized in that: The pull-up circuit corresponding to the U-phase end includes a first resistor, and the voltage divider circuit corresponding to the U-phase end includes a second resistor and a third resistor, one end of the first resistor is electrically connected to the vehicle power supply, the other end of the first resistor and one end of the second resistor are both electrically connected to the original voltage end of the voltage divider circuit corresponding to the U-phase end, the other end of the second resistor and one end of the third resistor are both electrically connected to the voltage divider output end of the voltage divider circuit corresponding to the U-phase end, and the other end of the third resistor is grounded; The pull-up circuit corresponding to the V-phase end includes a fourth resistor, and the voltage divider circuit corresponding to the V-phase end includes a fifth resistor and a sixth resistor, one end of the fourth resistor is electrically connected to the vehicle power supply, the other end of the fourth resistor and one end of the fifth resistor are both electrically connected to the original voltage end of the voltage divider circuit corresponding to the V-phase end, the other end of the fifth resistor and one end of the sixth resistor are both electrically connected to the voltage divider output end of the voltage divider circuit corresponding to the V-phase end, and the other end of the sixth resistor is grounded; The pull-up circuit corresponding to the W-phase end includes a seventh resistor, and the voltage divider circuit corresponding to the W-phase end includes an eighth resistor and a ninth resistor, one end of the seventh resistor is electrically connected to the vehicle power supply, the other end of the seventh resistor and one end of the eighth resistor are both electrically connected to the original voltage end of the voltage divider circuit corresponding to the W-phase end, the other end of the eighth resistor and one end of the ninth resistor are both electrically connected to the voltage divider output end of the voltage divider circuit corresponding to the W-phase end, and the other end of the ninth resistor is grounded.

4. A method for sampling three-phase current of a controller circuit of an electric power steering system, characterized in that: The sampling method is implemented based on the controller circuit of the electric power steering system according to any one of claims 1 to 3; The controller circuit includes a three-phase motor, a microcontroller, a three-phase bridge module, a three-phase current sampling circuit module and a three-phase bridge drive chip; The microcontroller is used to generate a PWM control signal and output it to the three-phase bridge drive chip; The three-phase bridge driving chip is used to control the opening or closing of each field effect tube in the three-phase bridge module according to the PWM control signal; The sampling method comprises the following steps: The three-phase current sampling circuit module collects phase voltage signals of the lower bridge arms of at least two phases in the three-phase bridge module, and transmits the phase voltage signals to the three-phase bridge driving chip; The differential operational amplifier inside the three-phase bridge driving chip amplifies the phase voltage signal to obtain an amplified phase voltage signal and outputs the amplified phase voltage signal to the microcontroller; The analog-to-digital converter in the microcontroller converts the amplified phase voltage signal into a digital voltage; The microcontroller performs phase current sampling calculation based on the digital voltage to obtain an actual value of the phase current, and the microcontroller uses the actual value of the phase current as a feedback signal for motor current control; Among them, the microcontroller sets the gain value and bias voltage value of the differential operational amplifier in the current cycle according to the actual value of the phase current in the previous cycle of the current cycle and / or the duty cycle of the PWM control signal in the previous cycle of the current cycle to control the sampling accuracy of the phase current of the three-phase motor.

5. The sampling method of three-phase current of the controller circuit of the electric power steering system according to claim 4, characterized in that: The three-phase current sampling circuit module includes a current sampling resistor for collecting phase voltage signals of the lower bridge arms of two phases in the three-phase bridge module, the collected phase voltage signals are respectively a first phase voltage signal and a second phase voltage signal, the phase current actual value corresponding to the first phase voltage signal is a first phase current actual value, and the phase current actual value corresponding to the second phase voltage signal is a second phase current actual value; The sampling method further comprises the following steps: Calculate the value of the phase current vector length Is according to the following formula: ; in, represents the actual value of the first phase current, Indicates the actual value of the second phase current; The step of setting the gain value and the bias voltage value of the differential operational amplifier in the current cycle according to the actual value of the phase current in the previous cycle of the current cycle and / or the duty cycle of the PWM control signal in the previous cycle of the current cycle comprises the following steps: Partitioning the measured current according to the phase current vector length Is of the previous cycle of the current cycle and / or the duty cycle of the PWM control signal of the previous cycle of the current cycle; The gain value and the bias voltage value of the differential operational amplifier in the current cycle are set according to the partition where the measured current is located.

6. The sampling method of three-phase current of the controller circuit of the electric power steering system according to claim 5, characterized in that: The step of setting the gain value and the bias voltage value of the differential operational amplifier in the current cycle according to the partition where the measured current is located comprises: The microcontroller sets the gain value and the bias voltage value of the differential operational amplifier in the current cycle through SPI instructions according to the partition where the measured current is located.

7. A controller circuit for an electric power steering system, comprising a microcontroller (1), a power management chip (2), a power interface filter circuit module (3), a DC voltage regulator module (4), a three-phase bridge drive chip (9), a three-phase separation circuit drive chip (10), a CAN transceiver (11), and a permanent magnet synchronous motor M, characterized in that: One end of the battery (12) is grounded, and the other end of the battery (12) is connected in series with a fuse (13) and then divided into two paths, which are respectively connected to the power input port of the power management chip (2) and the power input port of the power interface filter circuit module (3); the power output port of the power interface filter circuit module (3) is divided into two paths, which are respectively connected to the power input port of the three-phase bridge drive chip (9) and the current input port of the DC voltage regulator module (4); the current output port of the DC voltage regulator module (4) is connected to the current input port of the three-phase bridge module (5), and the V MCU The SPI port of the power management chip (2) is connected to the power input port of the microcontroller (1), and the SPI port of the power management chip (2) is connected to the SPI port of the microcontroller (1). The SPI port of the microcontroller (1) is also connected to the SPI port of the three-phase bridge driver chip (9) and the SPI port of the motor rotation angle position sensor (7). The CAN port of the microcontroller (1) is connected to the CAN transceiver (11). The control signal output port of the power management chip (2) and the control signal output port of the microcontroller (1) are both connected to the signal input port of the three-phase separation circuit driver chip (10). The signal output port of the three-phase separation circuit driver chip (10) is connected to the CAN transceiver (11). The control signal receiving port of the three-phase separation module (6) is connected, the power input port of the three-phase bridge module (5) is connected to the power input port of the three-phase current sampling circuit module (8) and the power input port of the three-phase bridge drive chip (9), the signal output port of the three-phase bridge module (5) is connected to the signal input port of the three-phase separation module (6), the signal output port of the three-phase separation module (6) is connected to the signal input port of the permanent magnet synchronous motor M, and the signal output port of the permanent magnet synchronous motor M is connected to the motor rotation angle position sensor (7); the three-phase current sampling circuit module (8) is also connected to the three-phase current signal input port of the three-phase bridge drive chip (9); The three-phase separation module (6) is also connected to low-power diodes D1-D3, so that a motor freewheeling circuit (15) is formed between the three-phase bridge module (5), the three-phase separation module (6), and the low-power diodes D1-D3; The specific connection method of the motor freewheeling circuit (15) is as follows: the VBAT port is divided into three paths, which are respectively connected to the drain electrode of the field effect transistor Q1, the drain electrode of the field effect transistor Q2, and the drain electrode of the field effect transistor Q3; the source of the field effect transistor Q1 is divided into two paths, which are respectively connected to the drain electrode of the field effect transistor Q4 and the drain electrode of the field effect transistor Q7; the source of the field effect transistor Q7 is connected to the U phase of the three-phase motor; the gate of the field effect transistor Q7 is connected to the cathode of the diode D1; the source of the field effect transistor Q2 is divided into two paths, which are respectively connected to the drain electrode of the field effect transistor Q8 and the gate of the field effect transistor Q5. The drain electrode of the field effect transistor Q6 is connected, the gate of the field effect transistor Q8 is connected to the diode D2, the source of the field effect transistor Q8 is connected to the V phase of the three-phase motor, the source of the field effect transistor Q3 is divided into two paths, which are respectively connected to the drain electrode of the field effect transistor Q6 and the drain electrode of the field effect transistor Q9, the gate of the field effect transistor Q9 is connected to the diode D3, the source of the field effect transistor Q9 is connected to the V phase of the three-phase motor, the source of the field effect transistor Q4, the source of the field effect transistor Q5, and the source of the field effect transistor Q6 are grounded after being collected, and the anode of the diode D1, the anode of the diode D2, and the anode of the diode D3 are grounded after being collected; The diodes D1-D3 are used to turn on the corresponding field effect transistors Q7-Q9 when negative voltage is generated in the three-phase motor; The gate electrodes of the field effect transistors Q1 to Q6 are connected to a three-phase bridge drive chip (9) after being aggregated.

8. The controller circuit of an electric power steering system according to claim 7, characterized in that: A three-phase motor phase voltage state feedback circuit (14) is also provided between the three-phase bridge module (5), the three-phase bridge drive chip (9) and the microcontroller (1) to connect them.

9. The controller circuit of an electric power steering system according to claim 7, characterized in that: The specific connection of the filter circuit in the power interface filter circuit module (3) is as follows: the VBAT port is divided into nine paths, which are respectively connected to one end of the capacitor C1, one end of the capacitor C2, one end of the capacitor C3, one end of the capacitor C4, one end of the capacitor C5, one end of the capacitor C6, one end of the capacitor C7, one end of the capacitor C8, and one end of the inductor L1; the other end of the capacitor C1 is divided into four paths, which are respectively connected to HGND, one end of the capacitor C14, the other end of the capacitor C2, and one end of the capacitor C15; the other end of the capacitor C14 and the other end of the capacitor C15 are connected to the ground after merging; the other end of the capacitor C3 is divided into eleven paths, which are respectively connected to the ground, the other end of the capacitor C4, the other end of the capacitor C5, and the capacitor C6. The other end of C6, the other end of capacitor C7, the other end of capacitor C8, one end of capacitor C9, one end of capacitor C10, one end of capacitor C16, one end of capacitor C17, and one end of capacitor C18 are connected. The other end of capacitor C9 is divided into six paths, which are respectively connected to the other end of inductor L1, the other end of capacitor C10, one end of capacitor C11, one end of capacitor C12, one end of capacitor C13, and VBAT1 port. The other end of capacitor C16 is connected to HGND1, the other end of capacitor C17 is connected to HGND2, the other end of capacitor C18 is connected to HGND3, and the other end of capacitor C11, the other end of capacitor C12, and the other end of capacitor C13 are summed up and grounded.

10. The controller circuit of an electric power steering system according to claim 9, characterized in that: The HGND, HGND1, HGND2, and HGND3 are screw holes on the metal housing.

11. The controller circuit of an electric power steering system according to claim 8, characterized in that: The specific connection of the three-phase motor phase voltage state feedback circuit (14) is as follows: the U phase of the three-phase motor is connected to the source of the field effect transistor Q1, the drain electrode of the field effect transistor Q4, one end of the resistor R1, and one end of the resistor R2; the V phase of the three-phase motor is divided into four paths, which are respectively connected to the source of the field effect transistor Q2, the drain electrode of the field effect transistor Q5, one end of the resistor R4, and one end of the resistor R5; the W phase of the three-phase motor is divided into four paths, which are respectively connected to the source of the field effect transistor Q3, the drain electrode of the field effect transistor Q6, one end of the resistor R7, and one end of the resistor R8; the drain electrode of the field effect transistor Q1, the drain electrode of the field effect transistor Q2, and the drain electrode of the field effect transistor Q3 are collectively connected to VBAT; the source of the field effect transistor Q4, the source of the field effect transistor Q5, and the source of the field effect transistor Q6 are connected to VBAT; The electrodes are then grounded after being combined, the other end of the resistor R1, the other end of the resistor R4, and the other end of the resistor R7 are connected to VBAT, the other end of the resistor R2 is divided into three paths, which are respectively connected to one end of the resistor R3, one end of the capacitor C21, and the AD1 port of the MCU, the other end of the resistor R5 is divided into three paths, which are respectively connected to one end of the resistor R6, one end of the capacitor C22, and the AD2 port of the MCU, the other end of the resistor R8 is divided into three paths, which are respectively connected to one end of the resistor R9, one end of the capacitor C23, and the AD3 port of the MCU, the other end of the resistor R3 is combined with the other end of the capacitor C21 and then grounded, the other end of the resistor R6 is combined with the other end of the capacitor C22 and then grounded, and the other end of the resistor R9 is combined with the other end of the capacitor C23 and then grounded; The gate electrodes of the field effect transistors Q1 to Q6 are connected to a three-phase bridge drive chip (9) after being aggregated.

12. The controller circuit of an electric power steering system according to claim 11, characterized in that: The three-phase motor phase voltage state feedback circuit (14) can perform three-phase bridge power-on fault diagnosis.

13. The control method of a controller circuit of an electric power steering system according to claim 7, characterized in that: Proceed as follows: S1, presetting a power assistance curve or a power assistance model in the microcontroller (1); S2, microcontroller (1) collects vehicle ignition signal, vehicle speed signal, steering wheel torque signal, and steering wheel angle signal; S3', based on the power-assistance curve or power-assistance model, according to the relevant data collected in S2, obtain the current signal given and the speed signal given; S3, the three-phase current sampling circuit module (8) samples the three-phase current with high precision to obtain the actual three-phase current signal of the motor, and transmits the signal to the microcontroller (1); synchronously, the motor rotation angle position sensor (7) transmits the synchronously collected actual motor speed signal to the microcontroller (1); S4, the microcontroller (1) synchronously transmits the actual three-phase current signal of the motor, the actual speed signal of the motor, and the current signal given and the speed signal given corresponding thereto to the motor current closed-loop controller and the motor speed closed-loop controller inside the microcontroller (1) for closed-loop control processing, thereby obtaining a current control signal and a speed control signal; S5, transmitting the current control signal and the speed control signal to the PWM modulator in the microcontroller (1) to generate a three-phase bridge control signal; S6, transmitting the three-phase bridge control signal to the three-phase bridge driving chip (9) to drive the opening / closing of the six field effect transistors Q1 to Q6 in the three-phase bridge module (5), thereby controlling the motor to generate corresponding motor assist.

14. The control method of the controller circuit of an electric power steering system according to claim 13, characterized in that: The specific steps of the three-phase current high-precision sampling method described in step S3 are as follows: Step 1: Get the phase current size and three-phase PWM duty cycle of the previous cycle; Step 2: Calculate the actual phase current value I PX size; Step 3: Calculate the phase current vector length I s size; Step 4: Calculate the phase current sampling accuracy I CS size; Step 5: According to the three-phase PWM duty size or current vector length I s The measured current I is partitioned by two conditions: large and small; Step 6: Modify the amplifier gain value AV and bias voltage V through SPI instructions in each control cycle of the analog-to-digital converter for different regions OOS , thereby controlling the sampling accuracy of the three-phase motor phase current; In the above steps, X represents the U phase, V phase, and W phase of the three-phase current.

15. The control method of the controller circuit of an electric power steering system according to claim 14, characterized in that: The specific calculation method of step 2 is as follows: (1) Determine the sampling resolution 2n of the analog-to-digital converter and measure the sampling values ​​P of the analog-to-digital converter corresponding to the three phases U, V, and W respectively. ADCX , set the reference voltage value V REF , calculate the sampling voltage V of the analog-to-digital converter CSXO , ; (2) Set the bias voltage V OOS , determine the amplifier gain value AV, calculate the voltage ΔV across the sampling resistor IOS , ; (3) According to the resistance value R of the sampling resistor, calculate the sampling current I passing through the sampling resistor X , ; (4) Determine the zero current I of the sampling resistor X0 and the sampling voltage V of the analog-to-digital converter in the zero current state X0 , and calculate the phase current sampling value I according to the measured value ps , ; (5) Current offset value I caused by connection error in circuit connection OFF And the coefficient change K caused by external environmental factors, calculate the actual value of phase current I PX , .

16. The control method of a controller circuit of an electric power steering system according to claim 14, characterized in that: The calculation method of step 3 is: according to the calculated actual current value I of phase U Pu and the actual current value of phase W I PW , calculate the current vector length I s , .

17. The control method of a controller circuit of an electric power steering system according to claim 15, characterized in that: The specific calculation method of step 4 is: first calculate the sampling accuracy of single-phase current , where I ps is the phase current sampling value, I x Resolution is the smallest unit of I x Unit value; secondly Calculate the current vector length I s The sampling accuracy I CS , , where I is the measured current range, I s Resolution is the smallest unit of I s Unit value.