Electronic control device and driving method thereof
By controlling the inverter operation through the control unit, the current sensor is connected to the power supply unit or ground during the bias voltage detection period, which solves the problem of inaccurate bias voltage detection of the current sensor in the electric power steering system and realizes the accuracy of the current sensor terminal voltage and the accuracy of detection.
Patent Information
- Application Number
- CN202310257174.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2022-03-17
- Filing Date
- 2023-03-17
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2043-03-17
AI Technical Summary
In existing electric power steering systems, the bias voltage detection of the current sensor is not accurate enough, which leads to interference with the motor drive current and switching noise, affecting the accuracy of the current sensor terminal voltage.
The inverter operation is controlled by the control unit, which connects the current sensor to the power supply unit or ground during the bias voltage detection period, disconnects the high-side or low-side inverter switch, uses a fixed-level PWM signal for detection, stores and uses the bias voltage to control the normal operation of the inverter.
Interference from motor drive current and switching noise were avoided during the detection period, ensuring the accuracy of the current sensor terminal voltage and enabling precise detection of the current sensor bias voltage.
Smart Images

Figure CN116780944B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to an electronic control device, and more specifically, to an electronic control device and driving method thereof capable of accurately detecting the bias voltage of a current sensor. Background Technology
[0002] Traditional electric power steering systems use the generated torque, vehicle speed, steering angle, etc. to determine the driver's steering intention and the vehicle's driving conditions, and take them into account to generate steering assistance, making it easier for the driver to drive the vehicle and thus making the vehicle safer to operate.
[0003] Electric power steering systems comprise many mechanical and electronic components, but the most important component is the electronic control unit. The electronic control unit is the core of the electric power steering system; it analyzes electrical signals transmitted from various external sensors to determine the driver's steering intentions and the vehicle's driving conditions, and uses various logic circuits to control the electric motor.
[0004] (Existing technical documents)
[0005] Korean patent application with publication number 10-2019-0030501 (published on March 22, 2019). Summary of the Invention
[0006] The purpose of this disclosure is to provide an electronic control device and its driving method that can accurately detect the bias voltage of a current sensor.
[0007] The electronic control device according to this disclosure includes: an inverter 260 connected between a power supply unit 100 and a motor 300; current sensors CS1 and CS2 connected between the inverter and the motor; and a control unit 220 that detects the bias voltages of the current sensors CS1 and CS2, wherein when detecting the bias voltages of the current sensors CS1 and CS2, the control unit 220 controls the operation of the inverter 260 such that the current sensors CS1 and CS2 are connected to one of the power supply unit and ground GND.
[0008] The inverter includes: first switches IT1, IT2, and IT3 connected between the inverter's output terminals and the power supply unit 100; and second switches IT4, IT5, and IT6 connected between the inverter's output terminals and the ground wire.
[0009] When the bias voltage of the current sensor is detected, the control unit turns on one of the first and second switches and turns off the other.
[0010] During the detection period Pd of the bias voltage of the current sensor detected by the control unit, the control unit supplies first switch control signals PWM1, PWM2, and PWM3 to the first switch, and supplies second switch control signals PWM4, PWM5, and PWM6 with different levels from the first switch control signals to the second switch.
[0011] During the detection period, the first switch control signal is fixed at one of the on level VH and the off level VL, and during the detection period, the second switch control signal is fixed at the other of the on level VL and the off level VL.
[0012] The current sensor includes: a resistor connected between the output terminal of the inverter and the motor 300; and an amplifier connected to the resistor.
[0013] The control unit uses the current sensor to detect the bias voltage when the current sensor is connected to one of the power supply unit 100 and the ground wire.
[0014] The control unit stores the detected bias voltage.
[0015] When the motor 300 is driven, the control unit controls the operation of the inverter based on the stored bias voltage.
[0016] According to this disclosure, a driving method for an electronic control device 200 including a current sensor connected between an inverter and a motor 300 includes: controlling the operation of the inverter such that the current sensor is connected to one of a power supply unit 100 and a ground wire; and using the current sensor to detect the bias voltage of the current sensor while the current sensor is connected to one of the power supply unit 100 and the ground wire.
[0017] The inverter includes: a first switch connected between the inverter's output terminals and the power supply unit 100; and a second switch connected between the inverter's output terminals and the ground wire.
[0018] The bias voltage of the current sensor is determined by turning on one of the first and second switches and turning off the other.
[0019] During the detection period of the bias voltage of the current sensor, a first switch control signal is supplied to the first switch, and a second switch control signal with a different level than the first switch control signal is supplied to the second switch.
[0020] During the detection period, the first switch control signal is fixed at one of the on level and the off level, and during the detection period, the second switch control signal is fixed at the other of the on level and the off level.
[0021] Detecting the bias voltage of a current sensor involves using the current sensor to detect the bias voltage while the current sensor is connected to one of the power supply unit and the ground wire.
[0022] The driving method further includes storing the detected bias voltage.
[0023] The driving method further includes controlling the operation of the inverter based on the stored bias voltage when the motor is being driven normally.
[0024] The electronic control device and driving method according to this disclosure can provide the following effects.
[0025] First, since both the high-side and low-side inverter switches are disconnected during the detection period, virtually no motor drive current is generated during this time. Therefore, no interference caused by motor drive current will occur during the detection period.
[0026] Second, during the detection period, the current sensor is connected to ground or the power supply unit and is not floating. Therefore, the terminal voltage of the current sensor can be precisely defined.
[0027] Third, the PWM signal supplied to the inverter switch during the detection period can be fixed at a constant level (e.g., on-level or off-level), thus eliminating switching noise.
[0028] As described above, since there is no interference caused by the motor drive current, the terminal voltage of the current sensor can be accurately defined, and no switching noise is generated. Therefore, the bias voltage of the current sensor can be accurately detected during the detection period. Attached Figure Description
[0029] Figure 1 This is a circuit configuration diagram illustrating an electronic control device according to an embodiment of the present disclosure.
[0030] Figure 2 It is used for explanation Figure 1 A diagram of a current sensor.
[0031] Figure 3 This is a diagram illustrating the operation of an inverter that detects the bias voltage of a current sensor.
[0032] Figure 4 It shows the supply to Figure 3 A diagram showing the pulse width modulation (PWM) signal of the inverter.
[0033] Figure 5 This is a diagram illustrating other operations of an inverter that detects the bias voltage of a current sensor.
[0034] Figure 6It shows the supply to Figure 5 A diagram showing the PWM signal of the inverter.
[0035] Figure 7 This is a circuit configuration diagram of an electronic control device according to another embodiment of the present disclosure.
[0036] Figure 8 This is a circuit configuration diagram of an electronic control device according to another embodiment of the present disclosure.
[0037] Figure 9 This is a flowchart illustrating a method for driving an electronic control device according to an embodiment of the present disclosure.
[0038] Explanation of reference numerals in the attached figures
[0039] 260: Inverter; 220: Microcontroller
[0040] 300: Electric motor; 400: Output control unit
[0041] IT1: First inverter switch; IT2: Second inverter switch
[0042] IT3: Third inverter switch; IT4: Fourth inverter switch
[0043] IT5: Fifth inverter switch; IT6: Sixth inverter switch
[0044] PWM1: First PWM signal
[0045] PWM2: Second PWM signal
[0046] PWM3: Third PWM signal
[0047] PWM4: Fourth PWM signal
[0048] PWM5: The fifth PWM signal
[0049] PWM6: The sixth PWM signal
[0050] NP1: First phase terminal; NP2: Second phase terminal
[0051] NP3: Third phase terminal; P1: First phase output terminal
[0052] P2: Second phase output terminal; P3: Third phase output terminal
[0053] P4: Fourth phase output terminal; P5: Fifth phase output terminal
[0054] P6: Sixth phase output terminal Na: Node
[0055] GND: Ground wire
[0056] CS1: First current sensor; CS2: Second current sensor
[0057] Rs1: First sensing resistor; AP1: First amplifier
[0058] CS2: Second current sensor; Rs2: Second sensing resistor
[0059] AP2: Second Amplifier
[0060] CL1: First coil; CL2: Second coil
[0061] CL3: Third coil; BD: Body diode
[0062] 881: First Analog-to-Digital Converter
[0063] 882: Second Analog-to-Digital Converter Detailed Implementation
[0064] The advantages and features of this disclosure, as well as the methods for implementing them, will become apparent from the following embodiments, taken in conjunction with the accompanying drawings. However, this disclosure is not limited to the embodiments disclosed below and can be implemented in various different forms. These embodiments are provided merely to improve this disclosure and to enable those skilled in the art to fully understand its scope, and this disclosure is defined only by the scope of the claims. Therefore, in some embodiments, well-known process steps, well-known component structures, and well-known techniques are not described in detail to avoid obscuring the interpretation of this disclosure. Throughout this specification, the same reference numerals denote the same components.
[0065] In the accompanying drawings, the thickness of the various layers and regions is shown enlarged for clarity. Throughout the specification, the same reference numerals are assigned to the same parts.
[0066] In this specification, various components may be described using terms such as first, second, and third, but these components are not limited by these terms. These terms are used to distinguish a particular component from other components. For example, without departing from the scope of this disclosure, a first component may be referred to as a second component or a third component, and similarly, the second component and the third component may be referred to interchangeably.
[0067] Unless otherwise defined, all terms used in this specification (including technical and scientific terms) may be used in the sense that is commonly understood by one of ordinary skill in the art to which this disclosure pertains. Furthermore, unless specifically and explicitly defined, terms as defined in common dictionaries should not be interpreted ideally or excessively.
[0068] In the following text, reference will be made to Figures 1 to 9A detailed description is given of an electronic control device and its driving method according to an embodiment of the present disclosure.
[0069] Figure 1 This is a circuit configuration diagram of an electronic control device 200 according to an embodiment of the present disclosure, and Figure 2 It is used for explanation Figure 1 A diagram of a current sensor.
[0070] like Figure 1 As one example shown, an electronic control unit (ECU) 200 according to an embodiment of this disclosure can be connected to a power supply unit 100 and an electric motor 300. Alternatively, the electronic control unit 200 may be, for example, an electronic control unit for a vehicle steering assist device.
[0071] like Figure 1 As shown in one example, such an electronic control device 200 according to an embodiment of the present disclosure may include a power control unit 210, a battery detection unit 240, an inverter detection unit 250, a microcontroller 220, a gate driver 230, a third capacitor C3, an inverter 260, a first current sensor CS1, a second current sensor CS2, a motor 300, and an output control unit 400.
[0072] The power supply unit 100 can supply power to the aforementioned electronic control device 200. The power supply unit 100 may include, for example, a battery BAT, a first inductor L1, a second inductor L2, a regulator 150, and a first resistor R1.
[0073] A battery (BAT) can provide DC-level power. For this purpose, for example, a battery (BAT) can include a DC power supply for providing DC voltage.
[0074] The first inductor L1 can be connected between the first terminal (e.g., the positive terminal) of the battery BAT and the first input terminal T1 of the regulator 150.
[0075] The second inductor L2 can be connected between the second terminal (e.g., the negative terminal) of the battery BAT and the second input terminal T2 of the regulator 150.
[0076] A first resistor R1 can be connected between the first input terminal T1 of the regulator 150 and the power control unit 210. Specifically, the first terminal of the first resistor R1 can be connected to the first input terminal T1 of the regulator 150, and the second terminal of the first resistor R1 can be connected to the power control unit 210. The first resistor R1 can prevent inrush current caused by battery power supply. For example, at the moment the power supply 100 is connected to the electronic control device 200, the inrush current generated by the battery power supply can be supplied to the third capacitor C3 through the body diode BD of the disconnected reverse voltage protection switch RT, and in this case, the third capacitor C3 may be damaged due to the inrush current. The first resistor R1 can protect the internal components of the electronic control device 200 by suppressing the generation of such inrush current.
[0077] The regulator 150 can receive power from the battery BAT through the first inductor L1 and the second inductor L2, and generate various drive power supplies required to drive the components of the electronic control device 200 (e.g., the microcontroller 220) by stepping down the supplied power. For example, the regulator 150 can generate a 3.3V drive power supply and a 5V drive power supply by stepping down a 12V power supply, and then the 3.3V drive power supply can be supplied to the microcontroller 220.
[0078] The first capacitor C1 can be connected between the negative terminal of the battery BAT and the ground line GND. Here, the ground line GND can be, for example, the chassis ground line GND.
[0079] The electric motor 300 can be a steering assist motor 300 used to generate steering assist force to assist the driver in steering. The electric motor 300 can be controlled by the electronic control unit 200. The electric motor 300 can be, for example, a three-phase steering assist motor 300 including U terminals, V terminals, and W terminals. Alternatively, the electric motor 300 can be a single-winding type steering assist motor 300.
[0080] The microcontroller 220 can receive various detection signals output as sensor detection results from various sensors, including a torque sensor, and generate a PWM (Pulse Width Modulation) signal for adjusting the operating force of the steering device based on the received signals. Additionally, the microcontroller 220 can convert the torque sensor output value received from the torque sensor into a digital value to generate a torque sensor output voltage, and output a PWM signal by reflecting the rotation direction and force of the motor 300 based on the generated torque sensor output voltage. The motor drive signal (e.g., motor drive current) required for vehicle steering can be supplied to the motor 300 via the PWM signal.
[0081] On the other hand, the aforementioned torque sensor can detect the steering torque of the vehicle's steering system (e.g., steering information such as steering angle and torque) and output a torque sensor output voltage as the detection result. The torque sensor output voltage can be transmitted to the electronic control unit 200. In this case, the detection range of the torque sensor, for example, the range of the torque sensor output voltage, is 0V to 5V, and its digital value can be converted to 0 to 1024 digits. If the torque sensor output voltage detected by the sensor is greater than or equal to 0V and less than 2.5V (e.g., greater than or equal to 0 digits and less than 512 digits), the electronic control unit 200 can determine that the steering system has rotated counterclockwise (e.g., the vehicle is turning left). Further, when the detected torque sensor output voltage is 2.5V (e.g., 512 digits), the electronic control unit 200 can determine that the steering system is in an intermediate state. Additionally, when the detected torque sensor output voltage is greater than 2.5V and less than 5V (e.g., greater than 512 bits and less than 1024 bits), the electronic control unit 200 can determine that the steering device has rotated clockwise (e.g., the vehicle is turning right).
[0082] The battery detection unit 240 can sense (or detect) the voltage of the battery BAT. The battery detection unit 240 may include a second resistor R2, a third resistor R3, and a second capacitor C2.
[0083] The second resistor R2 can be connected between the first input terminal T1 of the regulator 150 and the input terminal ADT1 of the first analog-to-digital converter.
[0084] The third resistor R3 can be connected between the input terminal ADT1 of the first analog-to-digital converter and the ground GND.
[0085] The second capacitor C2 can be connected between the input terminal ADT1 of the first analog-to-digital converter and the ground line GND.
[0086] The battery detection voltage, which is an analog signal detected by the battery detection unit 240, can be converted into a digital signal by the first analog-to-digital converter and transmitted to the microcontroller 220.
[0087] The power control unit 210 controls whether to supply power (e.g., power from battery BAT) from the power supply unit 100 to the electronic control device 200. For example, when the power control switch SW of the power supply unit 100 is turned on, power supplied from the power supply unit 100 can be supplied to the electronic control device 200. On the other hand, when the power control switch SW of the power supply unit 100 is turned off, the power supply from the power supply unit 100 to the electronic control device 200 is cut off, and the electronic control device 200 cannot receive power. The power control unit 210 may include a battery disconnect switch BT and a reverse voltage protection switch RT as the aforementioned power control switch SW.
[0088] The battery disconnect switch BT is controlled by a control signal from the microcontroller 220 and can be connected between the first input terminal T1 of the regulator 150 and the second terminal of the first resistor R1. In this case, the battery disconnect switch BT may include a body diode connected between its source and drain terminals.
[0089] The reverse voltage protection switch RT is controlled by a control signal from the microcontroller 220 and can be connected between the second terminal of the first resistor R1 and the first terminal (e.g., node Na) of the third capacitor C3. In this case, the reverse voltage protection switch RT may include a body diode connected between its source and drain terminals.
[0090] On the other hand, the control terminals of the battery disconnect switch BT and the reverse voltage protection switch RT can be connected to the microcontroller 220 via the fourth resistor R4. The microcontroller 220 can provide power control signals to the control terminals of the battery disconnect switch BT and the reverse voltage protection switch RT via the fourth resistor R4.
[0091] When the battery disconnect switch BT and the reverse voltage protection switch RT are turned on by a power control signal from the microcontroller 220 (e.g., a power control signal set to a threshold voltage higher than that of each of the battery disconnect switch BT and the reverse voltage protection switch RT in the active state), the power supplied from the battery BAT can be supplied to the third capacitor C3 to be charged through the turned-on battery disconnect switch BT and the reverse voltage protection switch RT.
[0092] The third capacitor C3 can be a storage capacitor that stores the power supply voltage from the battery BAT. The third capacitor C3 can be connected between the source terminal (or drain terminal; for example, node Na) of the reverse voltage protection switch RT and the second input terminal T2 of the regulator 150.
[0093] The inverter detection unit 250 can sense (or detect) the output of the inverter 260, i.e., the voltage of the inverter 260. The inverter detection unit 250 may include a fifth resistor R5, a sixth resistor R6, and a fourth capacitor C4.
[0094] The fifth resistor R5 can be connected between the first terminal Na of the third capacitor C3 and the second input terminal ADT2 of the analog-to-digital converter 882.
[0095] The sixth resistor R6 can be connected between the input terminal ADT2 of the second analog-to-digital converter 882 and the ground GND.
[0096] The fourth capacitor C4 can be connected between the input terminal ADT2 of the second analog-to-digital converter 882 and the ground line GND.
[0097] The inverter detection voltage, an analog signal detected by the inverter detection unit 250, can be converted into a digital signal by the second analog-to-digital converter and transmitted to the microcontroller 220. On the other hand, the microcontroller 220 can determine whether there is an abnormality in the electronic control device 200 (e.g., whether there is reverse electric voltage, whether there is a short circuit, etc.) based on the battery detection voltage from the first analog-to-digital converter and the inverter detection voltage from the second analog-to-digital converter.
[0098] For example, gate driver 230 can generate PWM signals of different phases based on the PWM signal from microcontroller 220. As a specific example, when motor 300 is a three-phase motor 300, the PWM signals of different phases can be three-phase PWM signals. In other words, the first gate driver 230 can generate a PWM signal for each phase to correspond to the phase of motor 300.
[0099] Inverter 260 can convert the power supplied by power supply unit 100 (i.e., DC level power supply) into AC level motor drive signals. Specifically, inverter 260 controls the on and off operations of internal inverter switches according to the PWM signal from gate driver 230, thereby outputting motor drive signals corresponding to the PWM signal. As a more specific example, inverter 260 controls the on and off operations of inverter switches IT1, IT2, IT3, IT4, IT5, and IT6 according to the aforementioned PWM signal (e.g., the PWM signal from gate driver 230), thereby converting the power supplied by power supply unit 100 into AC level motor drive signals.
[0100] On the other hand, the motor drive signal may include motor drive signals of different phases. For example, the motor drive signals of different phases may be three-phase motor drive signals (as a specific example, a first-phase (or U-phase) motor drive signal, a second-phase (or V-phase) motor drive signal, and a third-phase (or W-phase) motor drive signal).
[0101] Inverter 260 can output a three-phase motor drive signal through its output terminals. For this purpose, the output terminals of inverter 260 may include a first-phase output terminal P1, a second-phase output terminal P2, and a third-phase output terminal P3. Inverter 260 may include a first inverter switch IT1, a second inverter switch IT2, a third inverter switch IT3, a fourth inverter switch IT4, a fifth inverter switch IT5, and a sixth inverter switch IT6. In this case, the first inverter switches IT1 to the third inverter switches IT3 may correspond to the high-side inverter switches of inverter 260, while the fourth inverter switches IT4 to the sixth inverter switches IT6 may correspond to the low-side inverter switches of inverter 260.
[0102] The first inverter switch IT1 is controlled by a PWM signal (e.g., a +U phase PWM signal) from the gate driver 230 and can be connected between the first terminal Na of the third capacitor C3 and the first phase output terminal P1 of the inverter 260. In this case, the first inverter switch IT1 may include a body diode BD connected between its source and drain terminals.
[0103] The second inverter switch IT2 is controlled by a PWM signal (e.g., a +V phase pulse PWM signal) from the gate driver 230 and can be connected between the first terminal Na of the third capacitor C3 and the second phase output terminal P2 of the inverter 260. In this case, the second inverter switch IT2 may include a body diode connected between its source and drain terminals.
[0104] The third inverter switch IT3 is controlled by a PWM signal (e.g., a +W phase PWM signal) from the gate driver 230 and can be connected between the first terminal Na of the third capacitor C3 and the third phase output terminal P3 of the inverter 260. In this case, the third inverter switch IT3 may include a body diode connected between its source and drain terminals.
[0105] The fourth inverter switch IT4 is controlled by a PWM signal (e.g., a -U phase PWM signal) from the gate driver 230 and can be connected between the first phase output terminal P1 of the inverter 260 and the second terminal (e.g., node T2) of the third capacitor C3. In this case, the fourth inverter switch IT4 may include a body diode connected between its source and drain terminals.
[0106] The fifth inverter switch IT5 is controlled by a PWM signal (e.g., a -V phase PWM signal) from the gate driver 230 and can be connected between the second phase output terminal P2 of the inverter 260 and the second terminal (e.g., T2) of the third capacitor C3. In this case, the fifth inverter switch IT5 may include a body diode connected between its source and drain terminals.
[0107] The sixth inverter switch IT6 is controlled by a PWM signal (e.g., a -W phase PWM signal) from the gate driver 230 and can be connected between the third phase output terminal P3 of the inverter 260 and the second terminal (e.g., T2) of the third capacitor C3. In this case, the sixth inverter switch IT6 may include a body diode connected between its source and drain terminals.
[0108] On the other hand, the first phase output terminal P1 of the inverter 260 can be connected to the first phase terminal NP1 of the motor 300 via the first coil CL1 of the motor 300, the second phase output terminal P2 of the inverter 260 can be connected to the second phase terminal NP2 of the motor 300 via the second coil CL2 of the motor 300, and the third phase output terminal P3 of the inverter 260 can be connected to the third phase terminal NP3 of the motor 300 via the third coil CL3 of the motor 300. In this case, the first coil CL1, the second coil CL2, and the third coil CL3 are wound as inductors on the stator of the motor 300.
[0109] The first inverter switches IT1 through IT6 can be switched on in a preset combination using a PWM signal from the gate driver 230 to control the direction of the motor drive signal (e.g., motor drive current) supplied to the motor 300. For example, the first inverter switches IT1 and IT6 can be selectively switched on during a first drive period, the second inverter switches IT2 and IT6 can be selectively switched on during a second drive period, the second inverter switches IT2 and IT4 can be selectively switched on during a third drive period, the third inverter switches IT3 and IT4 can be selectively switched on during a fourth drive period, the third inverter switches IT3 and IT5 can be selectively switched on during a fifth drive period, and the first inverter switches IT1 and IT5 can be selectively switched on during a sixth drive period. In this case, the inverter switches not selected during each drive period remain in the off state. For example, during the first drive period, the second inverter switch IT2 to the fifth inverter switch IT5 remain in the open state.
[0110] The output control unit 400 can control whether to supply the motor drive signal output from the inverter 260 to the motor 300. For this purpose, as an example, the output control unit 400 can connect all phase terminals NP1, NP2, and NP3 corresponding to the neutral point of the motor 300 to each other, or it can disconnect all phase terminals NP1, NP2, and NP3 from each other. As a specific example, in response to an output control signal from the microcontroller 220, the output control unit 400 can electrically (and / or physically) connect the first phase terminal NP1, the second phase terminal NP2, and the third phase terminal NP3 of the motor 300 to each other, or it can electrically (and / or physically) disconnect them. The neutral point of the motor 300 can be achieved by electrically (and / or physically) connecting the first phase terminal NP1, the second phase terminal NP2, and the third phase terminal NP3 of the motor 300 to each other via the output control unit 400. When the microcontroller 220 detects an abnormality in the motor 300, the microcontroller 220 can block the motor drive signal supplied to the motor 300 by electrically (and / or physically) disconnecting all phase terminals of the motor 300 (e.g., the first phase terminal NP1, the second phase terminal NP2, and the third phase terminal NP3) from each other through the control output control unit 400. In the following text, unless otherwise stated, "electrical connection" may be replaced by or include "physical connection".
[0111] On the other hand, the output control unit 400 can be a normally closed switch or a normally open switch. The normally closed switch operates to maintain the electrical connection of all phase terminals NP1, NP2 and NP3 of the motor 300 in the normal state and to disconnect the electrical connection between phase terminals NP1, NP2 and NP3 according to an external control signal (e.g., an output control signal from the microcontroller 220). The normally open switch operates to maintain the electrical disconnection of all phase terminals NP1, NP2 and NP3 of the motor 300 in the normal state and to connect the phase terminals NP1, NP2 and NP3 according to the aforementioned operation control signal.
[0112] The output control unit 400 can operate in different types based on the vehicle's start-up time. For example, the output control unit 400 can operate in a normally disconnected type before the start-up time and in a normally connected type after the start-up time. However, this disclosure is not limited to this, and for example, the output control unit 400 can operate in a normally connected type before the start-up time and in a normally disconnected type after the start-up time. Alternatively, the output control unit 400 can always operate in one type regardless of whether it is before or after the start-up time. The operation type of the output control unit 400 can be changed according to the concept of the device using the output control unit 400.
[0113] On the other hand, the electronic control device 200 of this disclosure can measure the current flowing through the motor 300 (e.g., the motor drive current described above) to precisely control the motor 300. For this purpose, as an example, the electronic control device 200 can use current sensors CS1 and CS2 to detect the current flowing through the motor 300. For example, when the motor 300 is a three-phase power supply driven motor 300, the current sensors CS1 and CS2 can be attached to two output terminals (e.g., first phase output terminal P1 and third phase output terminal P3) corresponding to two of the three phases (e.g., U phase and W phase among U phase, V phase, and W phase), and the electronic control device 200 can use the current sensors CS1 and CS2 to measure the current of two phases (e.g., U phase and W phase) and use the measured current of each phase to calculate the current of the remaining phase (e.g., V phase).
[0114] For example, a first current sensor CS1 and a second current sensor CS2 can be connected between the inverter 260 and the motor 300 to sense the magnitude of the current (e.g., the motor drive current described above) supplied to the motor 300 through the inverter 260. The first current sensor CS1 can be connected between the first phase output terminal P1 of the inverter 260 and the first coil CL1 of the motor 300, while the second current sensor CS2 can be connected between the third phase output terminal P3 of the inverter 260 and the third coil CL3 of the motor 300.
[0115] On the other hand, a third current sensor can be further connected between the second phase output terminal P2 of the inverter 260 and the second coil CL2 of the motor 300.
[0116] like Figure 2 As shown, the first current sensor CS1 may include a first sensing resistor Rs1 and a first amplifier AP1. Alternatively, the first current sensor CS1 may be further connected to a first analog-to-digital converter 881.
[0117] The first sensing resistor Rs1 can sense the motor drive current supplied to the motor 300 through the first phase output terminal P1. For this purpose, as an example, the first sensing resistor Rs1 can be connected between the first phase output terminal P1 and the first coil CL1 of the motor 300. Under normal conditions, the first sensing resistor Rs1 can have a small resistance value so as not to affect the current flow in the circuit.
[0118] The first amplifier AP1 amplifies the voltage sensed by the first sensing resistor Rs1. For this purpose, as an example, the first input terminal of the first amplifier AP1 can be connected to the first phase output terminal P1, and the second input terminal of the first amplifier AP1 can be connected to the first coil CL1. Additionally, the output terminal of the first amplifier AP1 can be connected to the first analog-to-digital converter 881.
[0119] The first analog-to-digital converter 881 can convert the sensed voltage amplified by the first amplifier AP1 into a digital signal and transmit the converted digital signal to the microcontroller 220.
[0120] The second sensing resistor Rs2 can sense the motor drive current supplied to the motor 300 through the third phase output terminal P3. For this purpose, as an example, the second sensing resistor Rs2 can be connected between the third phase output terminal P3 and the third coil CL3 of the motor 300. Under normal conditions, the second sensing resistor Rs2 can have a small resistance value so as not to affect the current flow in the circuit.
[0121] The second amplifier AP2 amplifies the voltage sensed by the second sensing resistor Rs2. For this purpose, as an example, the first input terminal of the second amplifier AP2 can be connected to the third phase output terminal P3, and the second input terminal of the second amplifier AP2 can be connected to the third coil CL3. Furthermore, the output terminal of the second amplifier AP2 can be connected to the second analog-to-digital converter 882. On the other hand, the second current sensor CS2 can be further connected to the second analog-to-digital converter 882.
[0122] The second analog-to-digital converter 882 can convert the sensed voltage amplified by the second amplifier AP2 into a digital signal and transmit the converted digital signal to the microcontroller 220.
[0123] The electronic control unit 200 can use the current of each phase measured as described above to calculate the torque generated in the motor 300 and the torque fluctuations (i.e., torque ripples). Torque ripples may be caused by errors in the path of the current detected by the current sensor, errors in the voltage applied to the current sensor, or bias of the current sensor itself (e.g., DC bias), and due to torque ripples, the motor 300 may not be accurately controlled.
[0124] Here, the bias is a small DC current used to operate the current sensor. When the current sensor measures the current flowing through the motor 300, the small current required to operate the current sensor flows, and the current output from the current sensor is the sum of the actual current flowing through the motor 300 and the small current required to operate the current sensor. In this case, the value of the actual current flowing through the motor 300 to be measured is distorted due to the small current. Since the bias voltage is absolutely necessary for measuring the current flowing through the motor 300 and cannot be completely eliminated, the bias needs to be considered when measuring the current flowing through the motor 300.
[0125] To accurately detect the bias of the current sensor, the electronic control device 200 of this disclosure can control the operation of the inverter such that during the detection period of the bias (e.g., the bias voltage of the current sensor), the current sensor remains connected to either the power supply unit 100 or ground GND. For example, the microcontroller 220 can connect the first current sensor CS1 and the second current sensor CS2 to one of the power supply unit 100 and ground GND to detect the respective bias voltages of the first current sensor CS1 and the second current sensor CS2. This will be referred to... Figures 3 to 6 Provide a detailed description.
[0126] Figure 3 This is a diagram illustrating the operation of an inverter that detects the bias voltage of a current sensor. Figure 4 It shows the supply to Figure 3 A diagram showing the PWM signal of the inverter. On the other hand, in Figure 3 In the diagram, a switch surrounded by a relatively thick line indicates that the switch is in the ON state, while a switch surrounded by a gray dashed line indicates that the switch is in the OFF state.
[0127] like Figure 3As shown, the microcontroller 220 can connect the first current sensor CS1 and the second current sensor CS2 to ground GND to detect the bias voltages of their respective sensors. For this purpose, as an example, the microcontroller 220 can disconnect the high-side inverter switch of the inverter 260 (e.g., the first to third inverter switches IT1, IT2, and IT3 connected to the power supply unit 100) while simultaneously turning on the low-side inverter switch of the inverter 260 (e.g., the fourth to sixth inverter switches IT4, IT5, and IT6 connected to ground GND). In this case, the first current sensor CS1 can be connected to ground GND through the turned-on fourth inverter switch IT4, while the second current sensor CS2 can be connected to ground GND through the turned-on sixth inverter switch IT6.
[0128] To enable the first to sixth inverter switches IT1 to IT6 as Figure 3 As shown in the diagram, the first to sixth inverter switches IT1 to IT6 can receive signals such as... Figure 4 The switch control signal shown is (e.g., a PWM signal). For example, during the detection period Pd of detecting the bias voltage of the first current sensor CS1 and the second current sensor CS2, the microcontroller 220 can supply a first PWM signal PWM1 to the gate of the first inverter switch IT1, a second PWM signal PWM2 to the gate of the second inverter switch IT2, a third PWM signal PWM3 to the gate of the third inverter switch IT3, a fourth PWM signal PWM4 to the gate of the fourth inverter switch IT4, a fifth PWM signal PWM5 to the gate of the fifth inverter switch IT5, and a sixth PWM signal PWM6 to the gate of the sixth inverter switch IT6. In this case, as... Figure 4 As shown in (a), the first to third PWM signals PWM1, PWM2 and PWM3 can be maintained at the off level VL during the detection period Pd, and as Figure 4 As shown in (b), the fourth to sixth PWM signals PWM4, PWM5, and PWM6 can remain at the on-level VH during the detection period Pd. For example, the first to third PWM signals PWM1, PWM2, and PWM3 can each have a fixed off-level VL lower than the reference voltage Vref during the detection period Pd, and the fourth to sixth PWM signals PWM4, PWM5, and PWM6 can each have a fixed on-level VH higher than the reference voltage Vref during the detection period Pd. Here, the off-level VL can, for example, represent a value less than the threshold voltage of the inverter switches IT1 to IT6, while the on-level VH can, for example, represent a value greater than the threshold voltage of the inverter switches IT1 to IT6.
[0129] The microcontroller 220 can use the first current sensor CS1 and the second current sensor CS2 to detect the bias voltage of the first current sensor CS1 and the second current sensor CS2 during the detection period Pd. In this case, during the detection period Pd, one of the high-side inverter switches IT1, IT2, and IT3 or the low-side inverter switches IT4, IT5, and IT6 (e.g., the first inverter switches IT1 to the third inverter switches IT3) is completely off, and essentially no motor drive current is generated during the detection period Pd. Therefore, no interference caused by motor drive current occurs during the detection period Pd. Moreover, during the detection period Pd, the first current sensor CS1 and the second current sensor CS2 are connected to ground GND and are not floating. Therefore, the terminal voltages of the first current sensor CS1 and the second current sensor CS2 can be accurately defined. Furthermore, during the detection period Pd, the PWM signals PWM1 to PWM6 supplied to the first to sixth inverter switches IT1 to IT6 are fixed at a constant level (e.g., on level VH or off level VL). Therefore, no switching noise is generated. As described above, without interference from the motor drive current, the terminal voltages of the first current sensor CS1 and the second current sensor CS2 are accurately defined, and no switching noise is generated. Therefore, during the detection period Pd, the bias voltages of the first current sensor CS1 and the second current sensor CS2 can be accurately detected. In other words, during the detection period Pd, the microcontroller 220 can accurately check the bias voltages of the first current sensor CS1 and the second current sensor CS2 using both sensors. Therefore, this may mean that the current sensed from the first current sensor CS1 and the current sensed from the second current sensor CS2 during the detection period Pd accurately reflect the bias voltages of the first current sensor CS1 and the second current sensor CS2, respectively.
[0130] On the other hand, the aforementioned detection period Pd can, for example, represent the electrical (and / or physical) separation of all phase terminals of the aforementioned motor 300 (e.g., the first phase terminal NP1, the second phase terminal NP2, and the third phase terminal NP3) from each other. In other words, the aforementioned detection period Pd can represent the period during which the output control unit 400 is separated from the first phase terminal NP1, the second phase terminal NP2, and the third phase terminal NP3.
[0131] Furthermore, the detection period Pd may also include the period during which the electronic control unit 200 does not control the current of the motor 300. For example, the detection period may include an ignition start-up initial check period, a fail-safe period, and a power-locked period.
[0132] Figure 5This is a diagram illustrating another operation of an inverter used to explain the bias voltage of a current sensor. Figure 6 It shows the supply to Figure 5 A diagram showing the PWM signal of the inverter. On the other hand, in Figure 5 In the diagram, a switch surrounded by a relatively thick line indicates that the switch is in the ON state, while a switch surrounded by a gray dashed line indicates that the switch is in the OFF state.
[0133] like Figure 5 As shown, the microcontroller 220 can connect the first current sensor CS1 and the second current sensor CS2 to ground GND to detect the bias voltages of the first current sensor CS1 and the second current sensor CS2, respectively. For this purpose, as an example, the microcontroller 220 can turn on the high-side inverter switches of the inverter 260 (e.g., the first inverter switch IT1, the second inverter switch IT2, and the third inverter switch IT3 connected to the power supply unit 100) and the switches of the power control unit 210 (e.g., the battery disconnect switch BT and the reverse voltage protection switch RT), while simultaneously turning off the low-side inverter switches of the inverter 260 (e.g., the fourth inverter switch IT4, the fifth inverter switch IT5, and the sixth inverter switch IT6 connected to ground GND). In this case, the first current sensor CS1 can be connected to the first input terminal T1 of the power supply unit 100 through the turned-on first inverter switch IT1 and the switch of the power control unit 210, while the second current sensor CS2 can be connected to the first input terminal T1 of the power supply unit 100 through the turned-on third inverter switch IT3 and the switch of the power control unit 210.
[0134] To enable the first to sixth inverter switches IT1 to IT6 as Figure 5 As shown in the diagram, the first to sixth inverter switches IT1 to IT6 can receive signals such as... Figure 6 The switch control signal shown is (e.g., a PWM signal). For example, during the detection period Pd of detecting the bias voltage of the first current sensor CS1 and the second current sensor CS2, the microcontroller 220 can supply a first PWM signal PWM1 to the gate of the first inverter switch IT1, a second PWM signal PWM2 to the gate of the second inverter switch IT2, a third PWM signal PWM3 to the gate of the third inverter switch IT3, a fourth PWM signal PWM4 to the gate of the fourth inverter switch IT4, a fifth PWM signal PWM5 to the gate of the fifth inverter switch IT5, and a sixth PWM signal PWM6 to the gate of the sixth inverter switch IT6. In this case, as... Figure 6 As shown in (a), the first to third PWM signals PWM1, PWM2 and PWM3 can remain at the on level VH during the detection period Pd, and as Figure 6As shown in (b), the fourth to sixth PWM signals PWM4, PWM5, and PWM6 can remain at an off level VL during the detection period Pd. For example, the first to third PWM signals PWM1, PWM2, and PWM3 can each have a fixed on level VH higher than the reference voltage Vref during the detection period Pd, and the fourth to sixth PWM signals PWM4, PWM5, and PWM6 can each have a fixed off level VL lower than the reference voltage Vref during the detection period Pd. Here, the off level VL can, for example, represent a value less than the threshold voltage of the inverter switches IT1 to IT6, while the on level VH can, for example, represent a value greater than the threshold voltage of the inverter switches IT1 to IT6.
[0135] The microcontroller 220 can use the first current sensor CS1 and the second current sensor CS2 to detect the bias voltage of the first current sensor CS1 and the second current sensor CS2 during the detection period Pd. In this case, during the detection period Pd, all one of the high-side inverter switches IT1, IT2, and IT3 or the low-side inverter switches IT4, IT5, and IT6 (e.g., the fourth inverter switch IT4, the fifth inverter switch IT4, and the sixth inverter switch IT6) is disconnected, and essentially no motor drive current is generated during the detection period Pd. Therefore, no interference caused by motor drive current occurs during the detection period Pd. Moreover, during the detection period Pd, the first current sensor CS1 and the second current sensor CS2 are connected to the terminals of the power supply unit 100 (e.g., the terminal T1 to which the positive voltage of the battery BAT is applied) and are not floating. Therefore, the terminal voltages of the first current sensor CS1 and the second current sensor CS2 can be accurately defined. Furthermore, during the detection period Pd, the PWM signals PWM1 to PWM6 supplied to the first inverter switch IT1 to the sixth inverter switch IT6 are fixed at a constant level (e.g., on-level VH or off-level VL). Therefore, no switching noise is generated. As described above, without interference caused by the motor drive current, the terminal voltages of the first current sensor CS1 and the second current sensor CS2 are accurately defined, and no switching noise is generated. Thus, during the detection period Pd, the bias voltage of the first current sensor CS1 and the bias voltage of the second current sensor CS2 can be accurately detected. In other words, during the detection period Pd, the microcontroller 220 can accurately check the bias voltages of the first current sensor CS1 and the second current sensor CS2 using the first current sensor CS1 and the second current sensor CS2. Therefore, this may mean that the current sensed from the first current sensor CS1 and the current sensed from the second current sensor CS2 during the detection period Pd accurately reflect the bias voltages of the first current sensor CS1 and the second current sensor CS2, respectively.
[0136] On the other hand, the aforementioned detection period Pd can, for example, represent the electrical (and / or physical) separation of all phase terminals of the aforementioned motor 300 (e.g., the first phase terminal NP1, the second phase terminal NP2, and the third phase terminal NP3) from each other. In other words, the aforementioned detection period Pd can represent the period during which the output control unit 400 is separated from the first phase terminal NP1, the second phase terminal NP2, and the third phase terminal NP3.
[0137] Furthermore, the detection period Pd may include the period during which the electronic control unit 200 does not control the current of the motor 300. For example, the detection period may include an ignition start-up initial check period, a fail-safe period, and a power-locked period.
[0138] On the other hand, as described above, the bias voltages of the first current sensor CS1 and the second current sensor CS2 detected during the detection period Pd can be stored in a storage cell such as a memory.
[0139] The microcontroller 220 can control the operation of the inverter 260 based on the bias voltage of the first current sensor CS1 and the bias voltage of the second current sensor CS2 stored in the storage cell. For example, when the motor 300 is being driven normally, the motor drive current supplied to the motor 300 can be more accurately controlled by controlling the operation of the inverter 260 based on the bias voltage stored in the storage cell.
[0140] Figure 7 This is a circuit configuration diagram of an electronic control device 200 according to another embodiment of the present disclosure.
[0141] like Figure 7 As shown, the electronic control device 200 according to another embodiment of the present disclosure may further include an inverter output control unit 410 disposed outside the motor 300.
[0142] The inverter output control unit 410 can control whether to supply motor drive signals output from the inverter 260 to the motor 300. For example, the inverter output control unit 410 can keep all output terminals P1, P2, and P3 of the inverter 260 electrically connected to all phase terminals NP1, NP2, and NP3 of the motor 300 in a normal state, and can electrically disconnect all output terminals P1, P2, and P3 of the inverter 260 from all phase terminals NPP1, NP2, and NP3 of the motor 300 during the aforementioned detection period (Pd). As a specific example, when the first to third output control switches PT1, PT2, and PT3 of the inverter output control unit 410 are turned on, motor drive signals from the inverter 260 can be supplied to the motor 300. On the other hand, when the first to third output control switches PT1, PT2, and PT3 of the inverter output control unit 410 are turned off, the motor drive signal from the inverter 260 to the motor 300 is cut off, and the motor 300 cannot receive motor drive signals from the inverter 260. The inverter output control unit 270 may include a first output control switch PT1, a second output control switch PT2, and a third output control switch PT3.
[0143] The first output control switch PT1 is controlled by an output control signal from the microcontroller 220 and can be connected between the first phase output terminal P1 and the first phase terminal of the motor 300. In this case, the first output control switch PT1 may include a body diode BD connected between its source and drain terminals.
[0144] The second output control switch PT2 is controlled by an output control signal from the microcontroller 220 and can be connected between the second phase output terminal P2 and the second phase terminal of the motor 300. In this case, the second output control switch PT2 may include a body diode connected between its source and drain terminals.
[0145] The third output control switch PT3 is controlled by an output control signal from the microcontroller 220 and can be connected between the third phase output terminal P3 and the third phase terminal of the motor 300. In this case, the third output control switch PT3 may include a body diode connected between its source and drain terminals.
[0146] on the other hand, Figure 7 The electric motor 300 may include Figure 1 (or Figure 2 The first coil CL1, the second coil CL2, the third coil CL3, and the output control unit 400. In contrast, Figure 7 The motor 300 may not include the output control unit 400. In other words, Figure 7The inverter output control unit 410 can replace the aforementioned output control unit 400. However, in this case, the first phase terminal NP1, the second phase terminal NP2, and the third phase terminal NP3 of the motor 300 will remain connected. In other words, the first coil CL1, the second coil CL2, and the third coil CL3 can be connected at the neutral point.
[0147] As in Figure 7 In the example shown, the aforementioned inverter output control unit 410 can be located between the current sensors CS1 and CS2 and the motor 300. As a specific example, the first output control switch PT1 of the inverter output control unit 410 can be connected between the first sensing resistor Rs1 of the first current sensor CS1 and the first coil CL1 of the motor 300; the second output control switch PT2 can be connected between the second phase output terminal P2 of the inverter 260 and the second coil CL2 of the motor 300; and the third output control switch PT3 can be connected between the second sensing resistor Rs2 of the second current sensor CS2 and the third coil CL3 of the motor 300.
[0148] On the other hand, as described above, the bias voltage of the first current sensor CS1 and the bias voltage of the second current sensor CS2 detected during the detection period Pd can be stored in a storage unit such as a memory.
[0149] The microcontroller 220 can control the operation of the inverter 260 based on the bias voltage of the first current sensor CS1 and the bias voltage of the second current sensor CS2 stored in the storage cell. For example, when the motor 300 is being driven normally, the microcontroller 220 can more accurately control the motor drive current supplied to the motor 300 by controlling the operation of the inverter 260 based on the bias voltage stored in the storage cell.
[0150] Figure 8 This is a circuit configuration diagram of an electronic control device 200 according to another embodiment of the present disclosure.
[0151] like Figure 8 As shown, the electronic control device 200 according to another embodiment of the present disclosure may further include an inverter output control unit 410 disposed outside the motor 300. Figure 8 The inverter output control unit 410 and the above Figure 7 The inverter output control unit 410 is the same. However, it is similar to... Figure 7 The inverter output control unit 410 is different. Figure 8 The inverter output control unit 410 can be located between the inverter 260 and the current sensors CS1 and CS2.
[0152] As a specific example, the first output control switch PT1 of the inverter output control unit 410 can be connected between the first phase output terminal P1 of the inverter 260 and the first sensing resistor Rs1 of the first current sensor CS1, the second output control switch PT2 can be connected between the second phase output terminal P2 of the inverter 260 and the second coil CL2 of the motor 300, and the third output control switch PT3 can be connected between the third phase output terminal P3 of the inverter 260 and the second sensing resistor Rs2 of the second current sensor CS2.
[0153] Figure 9 This is a flowchart illustrating a method for driving an electronic control device 200 according to an embodiment of the present disclosure.
[0154] First, during the detection period Pd, step S1 can be executed, which controls the operation of inverter 260 to connect the current sensor to power supply 300 or ground GND. For example, as described above, the first current sensor CS1 can be connected to ground GND through the fourth inverter switch IT4, and the second current sensor CS2 can be connected to ground GND through the sixth inverter switch IT6. For this purpose, as an example, the high-side inverter switches of inverter 260 (e.g., the first inverter switch IT1, the second inverter switch IT1, and the third inverter switch IT3 connected to power unit 100) can be turned off, while the low-side inverter switches of inverter 260 (e.g., the fourth inverter switch IT4, the fifth inverter switch IT5, and the sixth inverter switch IT6 connected to ground GND) can be turned on. In this scenario, during the detection period Pd, the first PWM signal PWM1, the second PWM signal PWM2, and the third PWM signal PWM3 supplied to the first to third inverter switches IT1, IT2, and IT3 respectively can each have a fixed off-level VL lower than the reference voltage Vref. Furthermore, during the detection period Pd, the fourth PWM signal PWM4, the fifth PWM signal PWM5, and the sixth PWM signal PWM6 supplied to the fourth inverter switch IT4, the fifth inverter switch IT5, and the sixth inverter switch IT6 respectively can each have a fixed on-level VH higher than the reference voltage Vref.
[0155] Then, step S2 can be performed, which involves using the current sensor to detect the bias voltage of the current sensor while the current sensor is connected to either the power supply 300 or the ground GND. For example, during the detection period Pd in which the first current sensor CS1 and the second current sensor CS2 remain connected to the ground GND as described above, the bias voltage of the first current sensor CS1 and the bias voltage CS2 of the second current sensor CS2 can be detected by the first current sensor CS1 and the second current sensor CS2, respectively.
[0156] Then, step S3, which involves storing the detected bias voltage, can be performed. For example, the bias voltage of the first current sensor CS1 and the bias voltage of the second current sensor CS2 detected during the detection period Pd can be stored in a memory cell such as a memory.
[0157] Next, when the motor 300 is being driven normally, step S4 can be executed, which involves controlling the operation of the inverter 260 based on the stored bias voltage. For example, the operation of the inverter 260 can be controlled based on the bias voltage of the first current sensor CS1 and the bias voltage of the second current sensor CS2 stored in the storage unit. In other words, when the motor 300 is being driven normally, the operation of the inverter 260 can be controlled based on the bias voltage stored in the storage unit, thus allowing for more accurate control of the motor drive current supplied to the motor 300.
[0158] On the other hand, it should be understood that each block of a process flowchart and combinations thereof can be executed by computer program instructions. Since these computer program instructions can be loaded into the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing equipment, those instructions executed by the processor of the computer or other programmable data processing equipment will create tools for performing the functions described in the flowchart blocks. Since these computer program instructions can also be stored in computer-usable or computer-readable storage, which can be sent to the computer or other programmable data processing equipment to implement the functions in a particular manner, the instructions stored in the computer-usable or computer-readable storage can also produce an article of art containing instructions for performing the functions described in the flowchart blocks. Computer program instructions can also be loaded onto a computer or other programmable data processing equipment, and instructions that create a computer-executed process by performing a series of operational steps on the computer or other programmable data processing equipment can provide steps for performing the functions described in the flowchart blocks.
[0159] Additionally, each block may represent a portion of a module, segment, or code comprising one or more executable instructions for performing a specified logical function. It should also be noted that in some alternative embodiments, the functions mentioned in a block may occur out of order. For example, two blocks shown consecutively may actually execute substantially simultaneously, or these blocks may sometimes execute in reverse order based on their functions. In this context, the term “…unit” as used in this embodiment refers to software or a hardware component such as an FPGA or ASIC, and the “…unit” plays a specific role. However, the “…unit” is not limited to software or hardware. A “…unit” may be configured to reside in an addressable storage medium or may be configured to reproduce one or more processors. Thus, by way of example, a “…unit” relates to components such as software components, object-oriented software components, class components, and task components; processes; functions; attributes; procedures; subroutines; fragments of program code; drivers; firmware; microcode; circuits; data; databases; data structures; tables; arrays; and variables. Components and functions provided in a “…unit” may be combined into a small number of components and “…units”, or may be further separated into additional components and “units”. Additionally, components and “…units” can be implemented as one or more CPUs or secure multimedia cards in the device.
[0160] Those skilled in the art to which this disclosure pertains will understand that this disclosure may be implemented in other specific forms without altering its technical spirit or essential characteristics. Therefore, the above embodiments should be understood as illustrative rather than restrictive in all respects. It should be understood that the scope of this disclosure is defined by the claims rather than by the detailed description above, and all changes or modifications derived from the meaning and scope of the claims and their equivalents are included within the scope of this disclosure.
[0161] On the other hand, although this specification and accompanying drawings disclose preferred embodiments of the present disclosure and use specific terminology, they are used in a general sense only to facilitate the explanation of the technical content of the present disclosure and to aid in the understanding of the present disclosure, and do not limit the scope of the present disclosure. In addition to the embodiments disclosed herein, it will be apparent to those skilled in the art that other modifications based on the technical spirit of the present disclosure can be implemented.
Claims
1. An electronic control device, comprising: The inverter is connected between the power supply unit and the motor; A current sensor is connected between the inverter and the motor; as well as The control unit detects the bias voltage of the current sensor. The inverter includes: Multiple first switches are connected between the output terminals of the inverter and the power supply unit; and Multiple second switches are connected between the output terminal of the inverter and the ground wire. During the detection of the bias voltage of the current sensor, the control unit disconnects all of the plurality of first switches or all of the plurality of second switches, such that the current sensor is connected to one of the power supply unit and the ground wire, and the bias voltage is detected based on the current detected by the current sensor. The bias voltage of the current sensor is the amount of DC voltage used to operate the current sensor.
2. The electronic control device according to claim 1, wherein, During the detection period when the control unit detects the bias voltage of the current sensor, the control unit supplies a first switch control signal to the first switch and supplies a second switch control signal with a different level than the first switch control signal to the second switch.
3. The electronic control device according to claim 2, wherein during the detection period, the first switch control signal is fixed at one of an on level and an off level, and During the detection period, the second switch control signal is fixed at the other of the on level and the off level.
4. The electronic control device according to claim 1, wherein, The current sensor includes: A resistor is connected between the output terminal of the inverter and the motor; and An amplifier is connected to the resistor.
5. The electronic control device according to claim 1, wherein, With the current sensor connected to one of the power supply unit and the ground wire, the control unit uses the current sensor to detect the bias voltage.
6. The electronic control device according to claim 5, wherein, The control unit stores the detected bias voltage.
7. The electronic control device according to claim 6, wherein, When the motor is driven, the control unit controls the operation of the inverter based on the stored bias voltage.
8. The electronic control device according to claim 1, wherein, When the motor is driven, the control unit controls the operation of the inverter based on the bias voltage of the current sensor.
9. The electronic control device according to claim 2, wherein, During the detection period, the first switch control signal is fixed at one of the on level and the off level, and during the detection period, the second switch control signal is fixed at the other of the on level and the off level, so that noise caused by the switching of the first switch and the second switch is suppressed.
10. A method for driving an electronic control device, the electronic device including a current sensor connected between an inverter and a motor, the driving method comprising: Disconnect all of the plurality of first switches or all of the plurality of second switches of the inverter, such that the current sensor is connected to one of the power supply unit and the ground wire, the plurality of first switches being connected between the output terminal of the inverter and the power supply unit, and the plurality of second switches being connected between the output terminal of the inverter and the ground wire; and With the current sensor connected to one of the power supply unit and the ground wire, the bias voltage of the current sensor is detected using the current sensor. The bias voltage of the current sensor is detected based on the current detected by the current sensor. The bias voltage of the current sensor is the amount of DC voltage used to operate the current sensor.
11. The driving method according to claim 10, wherein, During the detection period of the bias voltage of the current sensor, a first switch control signal is supplied to the first switch, and a second switch control signal having a different level than the first switch control signal is supplied to the second switch.
12. The driving method according to claim 11, wherein, During the detection period, the first switch control signal is fixed at one of the on level and the off level, and During the detection period, the second switch control signal is fixed at the other of the on level and the off level.
13. The driving method of claim 10, further comprising storing the detected bias voltage.
14. The driving method of claim 13, further comprising controlling the operation of the inverter based on a stored bias voltage when the motor is being driven normally.
15. The driving method according to claim 10, further comprising driving the electric motor, in, Driving the motor includes controlling the operation of the inverter based on the bias voltage of the current sensor.
16. The driving method according to claim 10, wherein, The current sensor includes: A resistor is connected between the output terminal of the inverter and the motor; and An amplifier is connected to the resistor.
Citation Information
Patent Citations
Apparatus and Method for detecting fault of switching device in inverter
KR1020190030501A
Inverter controller
JP2014131393A
Inverter device and electric power steering apparatus
US20200153375A1
