A pass-through module and electric vehicle controller interface chip
Patent Information
- Application Number
- CN202521937599.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-09
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2035-09-09
AI Technical Summary
[0003]然而,在一些异常情况中,高压开关处于开启状态,将端口与低压电路连通了,端口电压本应是低压,但却误接入了高压,极大可能造成低压电路损坏,甚至芯片烧毁
[0031]本实用新型提出了一种通道模块,包括:第一端口、低压电路、高压开关、异常检测电路以及控制电路,其中,高压开关连接于第一端口与低压电路之间;异常检测电路基于高压开关与低压电路之间的电压,可以检测高压开关是否在第一端口所接电压为高压时误开启,所输出的触发信号在检测到高压开关误开启时有效,进而可以通过控制电路输出强制关断高压开关的第二控制信号,有效保护低压电路和芯片。
Smart Images

Figure CN224790625U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of integrated circuit technology, specifically to a channel module and an interface chip for an electric vehicle controller. Background Technology
[0002] A port is a terminal in a circuit that allows it to connect to an external circuit. In some high-voltage applications, a high-voltage switch is typically installed between the port and the low-voltage circuit. When the port voltage is high, the high-voltage switch is turned off (i.e., the high-voltage switch is open), cutting off the path between the port and the low-voltage circuit and preventing the high voltage at the port from damaging the low-voltage circuit. When the port voltage is low, the high-voltage switch can be opened normally (i.e., the high-voltage switch is closed), allowing the port to connect to the low-voltage circuit and enabling the relevant functions of the low-voltage circuit.
[0003] However, in some abnormal situations, the high-voltage switch is in the open state, connecting the port to the low-voltage circuit. The port voltage should be low, but it is mistakenly connected to high voltage, which may cause damage to the low-voltage circuit or even burn out the chip. Utility Model Content
[0004] This invention provides a channel module and an electric vehicle controller interface chip to overcome the above-mentioned technical problems.
[0005] To address the aforementioned problems, from a first aspect, this utility model discloses a channel module, comprising:
[0006] First port, low-voltage circuit;
[0007] A high-voltage switch is connected between the first port and the low-voltage circuit;
[0008] The anomaly detection circuit detects whether the high-voltage switch has been accidentally opened based on the voltage between the high-voltage switch and the low-voltage circuit, and outputs a trigger signal.
[0009] The control circuit, based on a trigger signal and a first control signal used to indicate whether the high-voltage switch is turned on or off, controls the high-voltage switch to turn off when it is mistakenly turned on.
[0010] In some embodiments of this utility model, the anomaly detection circuit includes: a clamping circuit, a current limiting circuit, and a logic detection circuit; the first terminal of the clamping circuit is used to connect the voltage between the high-voltage switch and the low-voltage circuit, and the second terminal is grounded through the current limiting circuit; the logic detection circuit is used to detect whether the voltage at the second terminal of the clamping circuit exceeds a first threshold and outputs a first detection signal.
[0011] The trigger signal is generated based on the first detection signal.
[0012] In some embodiments of this utility model, the anomaly detection circuit further includes a hysteresis circuit; the hysteresis circuit is used to receive the first detection signal and output a trigger signal.
[0013] In some embodiments of this utility model, the clamping circuit is a Zener diode, with the cathode of the Zener diode being the first terminal of the clamping circuit and the anode being the second terminal of the clamping circuit.
[0014] Alternatively, the clamping circuit includes a PMOS transistor, the functional module in the channel module is connected between the high-voltage switch and the low-voltage circuit, the source of the PMOS transistor is connected between the high-voltage switch and the functional module, the gate is connected between the functional module and the low-voltage circuit, and the drain is the second terminal of the clamping circuit.
[0015] In some embodiments of this utility model, the current limiting circuit includes a current source and a current mirror. The current source is connected to the input channel of the current mirror, the output channel of the current mirror is connected to the second terminal of the clamping circuit, and the current mirror is grounded; or, the current limiting circuit is a resistor.
[0016] In some embodiments of this utility model, the control circuit includes: a NAND gate circuit, an inverter one, and an inverter two; a trigger signal is connected to the first input terminal of the inverter one and the NAND gate circuit, the second input terminal of the NAND gate circuit is connected to the first control signal, and the output terminal of the NAND gate circuit outputs the second control signal through the inverter two to control the high-voltage switch to open or close.
[0017] In some embodiments of this utility model, the channel module further includes: a first ESD module and a functional module; the functional module is connected between the high-voltage switch and the low-voltage circuit; the first end of the first ESD module is connected between the high-voltage switch and the functional module, and the second end is grounded;
[0018] The breakdown voltage of the first ESD module is less than the withstand voltage of the functional module.
[0019] In some embodiments of this utility model, the channel module further includes: a second ESD module; the first end of the second ESD module is connected between the first port and the high-voltage switch, and the second end is grounded; wherein, the breakdown voltage of the second ESD module is less than the withstand voltage of the high-voltage switch.
[0020] In some embodiments of this utility model, the first control signal is stored in a storage module, which is located inside or outside the channel module.
[0021] In some embodiments of this utility model, the channel module further includes a high-voltage switch driving circuit, the input terminal of which is connected to the output terminal of the control circuit, and the output terminal of which is connected to the controlled terminal of the high-voltage switch.
[0022] In some embodiments of this utility model, the channel module further includes a high-voltage detection circuit. The input terminal of the high-voltage detection circuit is connected between the first port and the high-voltage switch to detect the voltage of the first port, and the output terminal is used to output a second detection signal. The first control signal is generated in response to the second detection signal.
[0023] In some embodiments of this utility model, the channel module also has multiple functional ports, which are divided into high-voltage detection ports and multiple low-voltage ports, with different port types for the different low-voltage ports; wherein, the low-voltage circuit is connected between the high-voltage switch and the multiple low-voltage ports.
[0024] The output terminal of the high-voltage detection circuit outputs a second detection signal through the high-voltage detection port.
[0025] Based on the same concept, from a second aspect, this utility model also discloses an electric vehicle controller interface chip, comprising: a plurality of general-purpose pins, which are used to provide input ports and / or output ports for functional signals connected to the electric vehicle controller; and a channel module set for each general-purpose pin, which is the channel module as described in the first aspect of this utility model, wherein the first port of the channel module is connected to the general-purpose pin.
[0026] In some embodiments of this utility model, the channel module also has multiple functional ports, and the port types of the different functional ports are different; the interface chip also includes:
[0027] Communication pins and multiple function pins are used to connect to components in the electric vehicle controller;
[0028] The control module, based on the configuration logic determined by one or more functional signals transmitted through the communication pin, controls the general-purpose pin to connect with the target functional pin via the target functional port in its corresponding channel module.
[0029] Among them, the signal types of the functional signals connected to the target functional port and the general-purpose pin are matched, and the functional signals connected to the target functional pin and the general-purpose pin are matched.
[0030] This utility model has the following advantages:
[0031] This utility model proposes a channel module, including: a first port, a low-voltage circuit, a high-voltage switch, an anomaly detection circuit, and a control circuit. The high-voltage switch is connected between the first port and the low-voltage circuit. The anomaly detection circuit, based on the voltage between the high-voltage switch and the low-voltage circuit, can detect whether the high-voltage switch is mistakenly turned on when the voltage connected to the first port is high. The output trigger signal is effective when the high-voltage switch is mistakenly turned on. Then, the control circuit can output a second control signal to forcibly turn off the high-voltage switch, effectively protecting the low-voltage circuit and the chip. Attached Figure Description
[0032] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application.
[0033] Figure 1 This is a structural schematic diagram of a channel module according to the present invention;
[0034] Figure 2 This is a schematic diagram of the structure of an anomaly detection circuit according to an embodiment of the present invention;
[0035] Figure 3 yes Figure 2 A circuit diagram of an anomaly detection circuit is shown.
[0036] Figure 4 yes Figure 2 Another circuit diagram of the anomaly detection circuit shown.
[0037] Figure 5 This is a structural schematic diagram of a channel module according to the present invention;
[0038] Figure 6 This is a schematic diagram of the control circuit of an embodiment of the present invention;
[0039] Figure 7 This is a schematic diagram of the structure of an electric vehicle controller interface chip according to this utility model.
[0040] Explanation of reference numerals in the attached figures:
[0041] 100-Channel module, 11-First port, 12-Low voltage circuit, 13-High voltage switch, 14-Abnormal detection circuit, 15-Control circuit, 16-High voltage switch drive circuit, 17-High voltage detection circuit, 18-First ESD module, 19-Second ESD module, 20-Functional module; 141-Clamping circuit, 142-Current limiting circuit, 143-Logic detection circuit, 144-Hysteresis circuit; 1421-Current source, 1422-Current mirror. Detailed Implementation
[0042] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments.
[0043] Hereinafter, the terms "second," "first," etc., are used for descriptive convenience only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "second," "first," etc., may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0044] In the embodiments of this application, unless otherwise expressly specified and limited, the term "connection" should be interpreted broadly, and can refer to direct connection or indirect connection through an intermediate medium.
[0045] In this embodiment of the application, "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following associated objects have an "or" relationship.
[0046] This utility model proposes a channel module 100, with reference to... Figure 1 It includes: a first port 11, a low-voltage circuit 12, a high-voltage switch 13, an anomaly detection circuit 14, and a control circuit 15. The high-voltage switch 13 is connected between the first port 11 and the low-voltage circuit 12; the anomaly detection circuit 14 detects whether the high-voltage switch 13 is mistakenly opened based on the voltage between the high-voltage switch 13 and the low-voltage circuit 12, and outputs a trigger signal; the control circuit 15 controls the high-voltage switch 13 to turn off when it is mistakenly opened, based on the trigger signal and a first control signal used to indicate whether the high-voltage switch 13 is open or closed.
[0047] The high-voltage switch 13, also known as a high-voltage isolating switch, can be implemented using a high-voltage NMOS transistor. The source of this high-voltage NMOS transistor is connected to the low-voltage circuit 12, and the drain of the high-voltage switch 13 is connected to the first port 11. The structure of the low-voltage circuit 12 is not limited in this invention, and its structure does not affect the implementation of this invention. Accidental opening of the high-voltage switch 13 refers to the high-voltage switch 13 being in an open state when it should not be open, thus connecting the first port 11 to the low-voltage circuit 12 via the high-voltage switch 13.
[0048] The first control signal is used to control the high-voltage switch 13 to open or close. For example, when the voltage at the first port 11 is high, the first control signal instructs the high-voltage switch 13 to close, preventing high voltage from flowing into the low-voltage circuit 12 and protecting the low-voltage circuit 12. When the voltage at the first port 11 is low, the first control signal instructs the high-voltage switch 13 to open, allowing the voltage at the first port 11 to connect with the low-voltage circuit 12. Here, high voltage and low voltage are relative terms, depending on the voltage range in the actual application scenario of the channel module 100 and the low-voltage range that the low-voltage circuit 12 can withstand. Generally, voltages that the low-voltage circuit 12 cannot support or withstand can be considered high voltage, while voltages that allow the low-voltage circuit 12 to operate normally can be considered low voltage.
[0049] The anomaly detection circuit 14 detects whether the high-voltage switch 13 has been mistakenly opened based on the voltage between the high-voltage switch 13 and the low-voltage circuit 12 (referred to as the first voltage), and outputs a trigger signal. When the high-voltage switch 13 is abnormally opened (i.e., when the high-voltage switch 13 is mistakenly opened), the trigger signal is valid, indicating that the high-voltage switch 13 has been mistakenly opened. In this invention, the opening and closing of the high-voltage switch 13 are jointly determined by the first control signal and the trigger signal. The control circuit 15 includes two input terminals: one for receiving the first control signal and the other for receiving the trigger signal. The control circuit 15 performs logical processing on the first control signal and the trigger signal, and finally outputs a second control signal to determine whether the high-voltage switch 13 is open or closed. In this control circuit 15, when the trigger signal is valid, it indicates that the high-voltage switch 13 has been mistakenly opened. At this time, the state of the output second control signal changes, controlling the high-voltage switch 13 to close.
[0050] Specifically: If the voltage at the first port 11 is low, the first control signal instructs the high-voltage switch 13 to open. At this time, the first voltage is small and will not trigger the abnormality detection circuit 14. The trigger signal output by the abnormality detection circuit 14 is invalid. The second control signal is determined by the first control signal and will not affect the normal opening of the high-voltage switch 13. If the voltage at the first port 11 is high, the first control signal instructs the high-voltage switch 13 to close. At this time, the first voltage is 0, and the abnormality detection circuit 14 will not be triggered. Its output trigger signal is invalid. The second control signal is determined by the first control signal and will not affect the normal closing of the high-voltage switch 13. In some abnormal situations, the high-voltage switch 13 was originally in the open state, connecting the first port 11 to the low-voltage circuit 12. That is, theoretically, the first port 11 should be connected to low voltage at this time, but the voltage at the first port 11 is connected to high voltage. The first voltage increases rapidly, causing the abnormality detection circuit 14 to trigger. At this time, the trigger signal output by the abnormality detection circuit 14 is valid, indicating that the high-voltage switch 13 has been mistakenly opened. At this time, the trigger signal intervenes in the first control signal. The level of the second control signal is determined by the trigger signal, which forcibly shuts off the high-voltage switch 13 to protect the low-voltage circuit 12 and the entire chip.
[0051] In other words, by setting up an abnormality detection circuit 14 and a control circuit 15, this utility model can forcibly shut down the high-voltage switch 13 when it is accidentally turned on, effectively protecting the low-voltage circuit 12 and the chip.
[0052] like Figure 1 As shown, in the specific circuit, the channel module 100 further includes a high-voltage switch drive circuit 16. The input terminal of the high-voltage switch drive circuit 16 is connected to the output terminal of the control circuit 15, and the output terminal of the high-voltage switch drive circuit 16 is connected to the controlled terminal of the high-voltage switch 13. That is, the high-voltage switch drive circuit 16 receives the second control signal output by the control circuit 15, and then outputs a drive signal to turn the high-voltage switch 13 on or off. Under the control of the second control signal, when the high-voltage switch 13 is mistakenly turned on, the high-voltage switch drive circuit 16 drives the high-voltage switch 13 to turn off.
[0053] In some embodiments, the channel module 100 further includes a high-voltage detection circuit 17. The input terminal of the high-voltage detection circuit 17 is connected between the first port 11 and the high-voltage switch 13 to detect the voltage of the first port 11, and the output terminal is used to output a second detection signal. A first control signal is generated in response to the second detection signal. That is, after the high-voltage detection circuit 17 outputs the second detection signal, other circuits or chips can generate or configure a corresponding first control signal in response to the second detection signal and transmit it to the control circuit 15.
[0054] In some implementations, reference Figure 2The anomaly detection circuit 14 may include: a clamping circuit 141, a current limiting circuit 142, and a logic detection circuit 143. The first terminal of the clamping circuit 141 is used to connect the voltage between the high-voltage switch 13 and the low-voltage circuit 12 (i.e., the first voltage, in the attached circuit). Figure 2 In the diagram, the first voltage is indicated by V0, and the second terminal is grounded via a current-limiting circuit 142. A logic detection circuit 143 detects whether the voltage at the second terminal of the clamping circuit 141 (represented by V1 in the various figures) exceeds a first threshold and outputs a first detection signal. A trigger signal is generated based on the first detection signal. Under normal conditions, the high-voltage switch 13 is normally open or closed, causing the first voltage to be either small or zero. The first voltage will not cause the clamping circuit 141 to break down, and consequently, the voltage at the second terminal of the clamping circuit 141 will remain at a small or even zero level, not exceeding the first threshold. Therefore, the first detection signal output by the logic detection circuit 143 is invalid, and the trigger signal, generated based on the first detection signal, is also invalid. When the high-voltage switch 13 is mistakenly opened, the voltage at the first port 11 is high, causing the first voltage to increase sharply and quickly break down the clamping circuit 141. This causes the voltage V1 at the second terminal of the clamping circuit 141 to exceed the first threshold, making the first detection signal valid, and the trigger signal, generated based on the first detection signal, is also valid.
[0055] In the specific circuit, the trigger signal can be the first detection signal. However, to avoid potential fluctuations caused by interference with the first voltage, which could lead to misjudgment by the anomaly detection circuit 14, please refer to [the relevant documentation / reference]. Figure 2 The anomaly detection circuit 14 may also include a hysteresis circuit 144, which is used to receive the first detection signal and output a trigger signal. The hysteresis circuit 144 can be understood as a delay circuit, which can be implemented using commercially available related circuits.
[0056] Optional, see reference Figure 3 The clamping circuit 141 is a Zener diode Z0, with the cathode of the Zener diode Z0 forming the first terminal of the clamping circuit 141 and the anode forming the second terminal. Optionally, the high-voltage switch 13 is implemented using a high-voltage NMOS transistor, with the first voltage being the source voltage of the high-voltage switch 13. Figure 3 In this context, the first voltage is represented by V0.
[0057] Optional, see reference Figure 4 The clamping circuit 141 includes a PMOS transistor PM1. For example... Figure 5As shown, the functional module 20 in the channel module 100 is connected between the high-voltage switch 13 and the low-voltage circuit 12. The source of the PMOS transistor PM1 is connected between the high-voltage switch 13 and the functional module 20, the gate is connected between the functional module 20 and the low-voltage circuit 12, and the drain is the second terminal of the clamping circuit 141. The functional module 20 can be a low-voltage switch or a resistor, etc. In this invention, the core function of the functional module 20 is to provide a voltage difference so that the PMOS transistor PM1 conducts when the high-voltage switch 13 is mistakenly turned on. Optionally, the high-voltage switch 13 can be implemented using a high-voltage NMOS transistor. The source of the PMOS transistor PM1 is connected to the source voltage VS of the high-voltage switch 13, and the gate of the PMOS transistor PM1 is connected between the functional module 20 and the low-voltage circuit 12. The connected voltage is denoted by V0.
[0058] Optionally, the current limiting circuit 142 includes a current source 1421 and a current mirror 1422. The current source 1421 is connected to the input channel of the current mirror 1422, the output channel of the current mirror 1422 is connected to the second terminal of the clamping circuit 141, and the current mirror 1422 is grounded. Figure 3 or Figure 4 As shown, the current mirror 1422 is implemented by NMOS transistors NM0 and NM1. The sources of NM0 and NM1 are grounded together and their gates are connected together. The drain of NM0 is the input channel of the current mirror 1422 for connecting to the current source 1421, and the drain of NM1 is the output channel of the current mirror 1422 for connecting to the second terminal of the clamping circuit 141.
[0059] Optionally, the current limiting circuit 142 is a resistor (not shown in the figure).
[0060] In this invention, the high-voltage switch 13 can be implemented using an NMOS transistor, and the control circuit 15 can be implemented using some logic circuits. In one embodiment, refer to... Figure 6 The control circuit 15 includes a NAND gate Y1, an inverter A1, and an inverter A2. A trigger signal is connected to the first input terminal of the NAND gate Y1 via inverter A1. The second input terminal of the NAND gate Y1 receives the first control signal. The output terminal of the NAND gate outputs a second control signal via inverter A2 to control the high-voltage switch 13 to open or close. In this embodiment, the waveforms of the trigger signal, the first control signal, and the second control signal can be represented by square waves. For example, a high level for the first control signal indicates that the high-voltage switch 13 is open, and a low level indicates that the high-voltage switch 13 is closed. A high level for the trigger signal indicates that high voltage is detected, and a low level indicates normal operation. When the trigger signal is low, the level of the second control signal is determined by the first control signal; when the trigger signal is high, the second control signal is forcibly pulled low, causing the high-voltage switch 13 to close.
[0061] The anomaly detection circuit 14 proposed in this utility model has a simple structure and a fast response speed, reaching the nanosecond level. It can effectively force the erroneously opened high-voltage switch 13 to shut down through the control circuit 15 when an anomaly is detected.
[0062] like Figure 5 As shown, the channel module 100 proposed in this utility model may further include: a first ESD module 18 and a functional module 20; the functional module 20 is connected between the high-voltage switch 13 and the low-voltage circuit 12; the first end of the first ESD module 18 is connected between the high-voltage switch 13 and the functional module 20, and the second end is grounded; wherein, the breakdown voltage of the first ESD module 18 is less than the withstand voltage of the functional module 20. As mentioned above, the functional module 20 can be a low-voltage switch or a resistor, etc. ESD stands for Electrostatic Discharge, and the implementation structure of the first ESD module 18 can refer to relevant prior art, and is not limited here. Since the breakdown voltage of the first ESD module 18 is less than the withstand voltage of the functional module 20, and the functional module 20 is connected between the high-voltage switch 13 and the low-voltage circuit 12, and the first terminal of the first ESD module 18 is connected between the high-voltage switch 13 and the functional module 20, when the high-voltage switch 13 is turned on but the port voltage is mistakenly connected to high voltage, the first ESD module 18 can break down before the functional module 20, thereby reducing the voltage input to the functional module 20 and reducing damage to the low-voltage circuit 12.
[0063] Continue to refer to Figure 5 The channel module 100 proposed in this utility model may further include: a second ESD module 19; the first end of the second ESD module 19 is connected between the first port 11 and the high-voltage switch 13, and the second end is grounded; wherein, the breakdown voltage of the second ESD module 19 is less than the withstand voltage of the high-voltage switch 13. In particular, the second ESD module 19 is a high-voltage ESD, and its structure can also be implemented with reference to relevant high-voltage ESD structures in the prior art, and is not limited here.
[0064] It is worth noting that the circuit shown in the channel module 100 proposed in this utility model can be applied in many scenarios, especially in some interface circuit scenarios. This utility model will now be illustrated by taking the channel module 100 in an electric vehicle controller interface chip as an example.
[0065] The electric vehicle controller interface chip may include: Reference Figure 7 The system includes multiple general-purpose pins and a channel module 100 configured for each general-purpose pin. The general-purpose pins are used to provide input ports and / or output ports for functional signals connected to the electric vehicle controller. The channel module 100 is the channel module 100 of this invention, and the first port 11 of the channel module 100 is connected to its corresponding general-purpose pin.
[0066] In the interface chip of this electric vehicle controller, the implementation principle and circuit structure of the channel module 100 that can effectively force the erroneously opened high-voltage switch 13 to shut down through the control circuit 15 when an anomaly is detected are explained in the previous text and will not be repeated here.
[0067] Among them, continue to refer to Figure 7 The channel module 100 also has multiple functional ports, each with a different port type. The electric vehicle controller interface chip may further include: communication pins (not shown) and multiple functional pins (not shown), as well as a control module (not shown). The communication pins and multiple functional pins are used to connect to components in the electric vehicle controller; the control module, based on configuration logic determined by one or more functional signals transmitted through the communication pins, controls the general-purpose pins to connect to the target functional pins via their corresponding target functional ports in the channel module 100; wherein the signal types of the functional signals connecting the target functional ports and the general-purpose pins are matched, and the functional signals connecting the target functional pins and the general-purpose pins are matched.
[0068] It is worth noting that, in Figure 7 Only the circuits that are mainly related to the inventive points of this utility model are shown. Other circuits, such as the first ESD module 18 and the second ESD module 19, are not shown, nor are other circuits in the electric vehicle controller interface chip.
[0069] The components in the aforementioned electric vehicle controller include an MCU. Explanations regarding the communication pins, multiple functional pins, and control module of this interface chip can be found in existing technical documents, such as the invention patent CN120491521A entitled "An Interface Chip, Electric Vehicle Controller, and Control System Thereof." It is understood that in this application of the electric vehicle controller interface chip, the first control signal received by the control circuit 15 in each channel module 100 is directly or indirectly derived from the control module. In other words, the control module, based on the configuration logic determined by one or more functional signals transmitted by the MCU through the communication pins, can directly or indirectly generate control signals for controlling each channel module 100. The control signals received by each channel module 100 may include the first control signal.
[0070] In this invention, the multiple functional ports can be further divided into high-voltage detection ports and multiple low-voltage ports, with different port types for each low-voltage port. The low-voltage circuit 12 is connected between the high-voltage switch 13 and the multiple low-voltage ports. The multiple low-voltage ports may include analog access ports, digital access ports, digital output ports, and power / ground ports; or, the multiple low-voltage ports may include analog ports, digital ports, and power / ground ports; or, the multiple low-voltage ports may include analog ports and digital ports. Figure 7 This is merely one example of the channel module 100, and the present invention does not limit the specific structure of the low-voltage port and the low-voltage circuit 12 in the channel module 100.
[0071] like Figure 7 As shown, the channel module 100 also includes a high-voltage detection circuit 17. The input terminal of the high-voltage detection circuit 17 is connected between the first port 11 and the high-voltage switch 13, and is used to detect the voltage of the first port 11. The output terminal is used to output a second detection signal. A first control signal is generated in response to the second detection signal. The output terminal of the high-voltage detection circuit 17 outputs the second detection signal through the high-voltage detection port. After the second detection signal is output, it can be transmitted to the MCU through the control module. The MCU then determines whether the voltage of the first port 11 is high or low based on the second detection signal, and then returns the configuration logic to the control module of the interface chip. The control module can directly or indirectly generate the first control signal based on the configuration logic determined by one or more functional signals transmitted by the MCU through the communication pin. Specifically, the second detection signal can be a voltage sampling signal, which is output to other circuits or the MCU to compare with relevant thresholds to determine whether the voltage of the first port 11 of the high-voltage switch 13 is high or low; the second detection signal can also be a signal that directly characterizes the detection result that the voltage of the first port 11 is high or low.
[0072] In some application scenarios of electric vehicle controller interface chips, after purchasing the interface chip and MCU, customers will test them before assembling them with multiple interfaces of the electric vehicle controller. To test the chip's safety, one or more general-purpose pins of the interface chip are pre-configured according to a certain functional interface definition, connected to the target functional pin via the target functional port in the corresponding channel module 100. For the channel module 100 corresponding to a general-purpose pin configured to receive high-voltage signals, the high-voltage switch 13 is in the off state; for the general-purpose module corresponding to a general-purpose pin configured to receive low-voltage signals, the high-voltage switch 13 is in the on state. In this scenario, for testing purposes, a high-voltage signal is intentionally input into a general-purpose pin configured to receive low-voltage signals. Without a high-voltage protection mechanism, this could potentially burn out the chip. In this invention, since each channel module 100 in the interface chip can detect whether the high-voltage switch 13 is accidentally turned on, in the channel module 100 corresponding to the general pin, the control circuit 15 can output a second control signal based on the trigger signal output by the abnormal detection circuit 14 and the first control signal used to indicate whether the high-voltage switch 13 is turned on or off, thereby forcibly controlling the high-voltage switch 13 to turn off, thus protecting the interface chip and the MCU and preventing the chip from burning out.
[0073] In other application scenarios of this electric vehicle controller interface chip, when the interface chip is packaged together with the MCU in the electric vehicle controller, in practical applications, after the MCU sends the configuration logic defined by the functional interface to the interface chip, the interface chip stores the configuration logic in a storage module. The control module in the interface chip generates multiple control signals based on this configuration logic, and these multiple control signals may include the first control signal described in this invention. The first control signal can be stored in a storage module (not shown in the figure), which may be located inside or outside the channel module 100. Then, according to the configuration logic, the interface chip controls each general-purpose pin to connect to the target function pin via its corresponding target function port in the channel module 100.
[0074] However, the process of the MCU sending the configuration logic to the interface chip and storing the first control signal in the storage module may be subject to interference, causing the data to change. For example, the original configuration logic is: the high-voltage switch 13 corresponding to general-purpose pin 1 is closed (indicating that general-purpose pin 1 is used to connect to a low-voltage signal), and the high-voltage switch 13 corresponding to general-purpose pin 2 is open (indicating that general-purpose pin 2 is used to connect to a high-voltage signal); but after interference, the configuration data becomes: the high-voltage switch 13 corresponding to general-purpose pin 1 is closed, and the high-voltage switch 13 corresponding to general-purpose pin 2 is closed. This causes the first control signal received by the control circuit 15 to be the signal after interference, representing the configuration data after interference. If the first control signal received by the channel module 100 corresponding to general-purpose pin 2 is used to indicate that its high-voltage switch 13 is open (i.e. closed), for the electric vehicle controller, the interface corresponding to general-purpose pin 2 will still connect to a high-voltage signal, but the high-voltage signal will be transmitted to the low-voltage channel through the high-voltage switch 13 corresponding to general-purpose pin 2. A certain functional interface does not support high voltage but connects to a high-voltage functional signal, causing the general-purpose electric vehicle controller to burn out, or even the entire vehicle to be damaged. This invention can effectively solve the problem. Regardless of whether the first control signal is interfered with and changes abruptly, since each channel module 100 in the interface chip is equipped with an anomaly detection circuit 14 and a control circuit 15, when the anomaly detection circuit 14 detects that the high-voltage switch 13 is mistakenly turned on, the control circuit 15 can forcibly control the high-voltage switch 13 to turn off based on the trigger signal output by the anomaly detection circuit 14 and the first control signal used to indicate whether the high-voltage switch 13 is turned on or off, thereby protecting the interface chip and MCU and preventing chip burnout and vehicle damage.
[0075] It should be noted that the various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0076] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand this application, and the content of this specification should not be construed as a limitation of this application. Furthermore, for those skilled in the art, there will be different forms of changes in the specific implementation methods and application scope based on this application. It is neither necessary nor possible to exhaustively list all implementation methods here, and obvious changes or modifications derived therefrom are still within the protection scope of this application.
Claims
1. A channel module, characterized in that, include: First port, low-voltage circuit; A high-voltage switch is connected between the first port and the low-voltage circuit; An anomaly detection circuit detects whether the high-voltage switch has been accidentally opened based on the voltage between the high-voltage switch and the low-voltage circuit, and outputs a trigger signal. The control circuit, based on the trigger signal and a first control signal for indicating whether the high-voltage switch is turned on or off, controls the high-voltage switch to turn off when the high-voltage switch is mistakenly turned on.
2. The channel module according to claim 1, characterized in that, The anomaly detection circuit includes: a clamping circuit, a current limiting circuit, and a logic detection circuit; The first terminal of the clamping circuit is used to connect the voltage between the high-voltage switch and the low-voltage circuit, and the second terminal is grounded through the current limiting circuit. The logic detection circuit is used to detect whether the voltage at the second terminal of the clamping circuit exceeds the first threshold, and outputs a first detection signal. The trigger signal is generated based on the first detection signal.
3. The channel module according to claim 2, characterized in that, The anomaly detection circuit also includes: a hysteresis circuit; The hysteresis circuit is used to receive the first detection signal and output the trigger signal.
4. The channel module according to claim 2, characterized in that, The clamping circuit is a Zener diode, with the cathode of the Zener diode being the first terminal of the clamping circuit and the anode being the second terminal of the clamping circuit. Alternatively, the clamping circuit includes a PMOS transistor, the functional module in the channel module is connected between the high-voltage switch and the low-voltage circuit, the source of the PMOS transistor is connected between the high-voltage switch and the functional module, the gate is connected between the functional module and the low-voltage circuit, and the drain is the second terminal of the clamping circuit.
5. The channel module according to claim 2, characterized in that, The current limiting circuit includes a current source and a current mirror. The current source is connected to the input channel of the current mirror, the output channel of the current mirror is connected to the second terminal of the clamping circuit, and the current mirror is grounded. Alternatively, the current-limiting circuit may be a resistor.
6. The channel module according to claim 1, characterized in that, The control circuit includes: NAND gate circuit, inverter one and inverter two; The trigger signal is connected to the inverter and the first input terminal of the NAND gate circuit. The second input terminal of the NAND gate circuit is connected to the first control signal, and the output terminal of the NAND gate circuit outputs a second control signal through the inverter to control the high-voltage switch to turn on or off.
7. The channel module according to claim 1, characterized in that, It also includes: the first ESD module and functional modules; The functional module is connected between the high-voltage switch and the low-voltage circuit; The first terminal of the first ESD module is connected between the high-voltage switch and the functional module, and the second terminal is grounded; The breakdown voltage of the first ESD module is less than the withstand voltage of the functional module.
8. The channel module according to claim 1 or 7, characterized in that, It also includes: a second ESD module; The first end of the second ESD module is connected between the first port and the high-voltage switch, and the second end is grounded; The breakdown voltage of the second ESD module is less than the withstand voltage of the high-voltage switch.
9. The channel module according to claim 1, characterized in that, The first control signal is stored in a storage module, which is located either inside or outside the channel module.
10. The channel module according to claim 1, characterized in that, It also includes a high-voltage switch drive circuit, the input terminal of which is connected to the output terminal of the control circuit, and the output terminal of which is connected to the controlled terminal of the high-voltage switch.
11. The channel module according to claim 1, characterized in that, The channel module also includes a high-voltage detection circuit. The input terminal of the high-voltage detection circuit is connected between the first port and the high-voltage switch to detect the voltage of the first port, and the output terminal is used to output a second detection signal. The first control signal is generated in response to the second detection signal.
12. The channel module according to claim 11, characterized in that, The channel module also has multiple functional ports, which are divided into high-voltage detection ports and multiple low-voltage ports, with different port types for the different low-voltage ports; The low-voltage circuit is connected between the high-voltage switch and the plurality of low-voltage ports; The output terminal of the high-voltage detection circuit outputs the second detection signal through the high-voltage detection port.
13. An electric vehicle controller interface chip, characterized in that, include: Multiple general-purpose pins, which are used to provide input ports and / or output ports for functional signals connected to the electric vehicle controller; A channel module is configured for each general-purpose pin, wherein the channel module is as described in any one of claims 1-12, and the first port of the channel module is connected to the general-purpose pin.
14. The electric vehicle controller interface chip according to claim 13, characterized in that, The channel module also has multiple functional ports, each with a different port type. The interface chip also includes: Communication pins and multiple function pins are used to connect to components in the electric vehicle controller; The control module controls the general-purpose pin to connect to the target function pin via the target function port in the corresponding channel module, based on the configuration logic determined by one or more functional signals transmitted by the communication pin. Wherein, the target functional port is connected to the functional signal of the general-purpose pin, and the target functional pin is connected to the functional signal of the general-purpose pin.
Citation Information
Patent Citations
Interface chip, electric vehicle controller and control system thereof
CN120491521A