An electric vehicle controller interface chip and control system
Patent Information
- Application Number
- CN202522109908.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-30
- Publication Date
- 2026-09-15
- Estimated Expiration
- 2035-09-30
AI Technical Summary
现有技术中,为了降低电动车控制器的功耗,所设计的相关电路占用面积较大,成本较高,不利于电动车控制器的小型化发展
通过本申请提供的接口芯片,可以在电动车控制器内部完成不同厂商定义的功能接口转换,此种转换并不简单的只是第一引脚与第二引脚的连通性转换,本申请通过目标功能端口作为中间桥梁,更多实现的是一种功能性转换,可以适用于更多不同品牌的电动车,可提升电动车控制器的通用性,减少了电动车控制器中PCB电路面积和所使用的外围器件数量,大大降低了电动车控制器的制造成本。
Smart Images

Figure CN224758922U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of integrated circuit technology, specifically to an electric vehicle controller interface chip and control system. Background Technology
[0002] Electric vehicles such as electric bicycles, electric two-wheelers, and electric tricycles are suitable for the "last mile" due to their small size, convenience, and easy charging. They are currently widely used in services such as food delivery, express delivery, and people's daily commutes.
[0003] Electric vehicles of this type have limited battery capacity, and minimizing power consumption is one of the goals that current electric vehicle controllers aim to achieve. In existing technologies, the circuitry designed to reduce power consumption in electric vehicle controllers occupies a large area and is costly, which hinders the miniaturization of electric vehicle controllers. Utility Model Content
[0004] This application provides an electric vehicle controller interface chip and control system, which aims to reduce the power consumption of the electric vehicle controller, improve the versatility of the electric vehicle controller, reduce the manufacturing cost of the electric vehicle controller, and save circuit area.
[0005] To address the aforementioned problems, from a first aspect, this application discloses an electric vehicle controller interface chip, comprising: Multiple first pins, which are used to provide input ports and / or output ports for functional signals connected to the electric vehicle controller; Communication pins are used to connect to the MCU in the electric vehicle controller. Multiple second pins are used for connection to the MCU and other modules in the electric vehicle controller; Each channel module is connected to a corresponding first pin. Each channel module is used to detect whether the functional signal connected to its corresponding first pin meets the preset logic and outputs a detection signal. Each channel module includes multiple functional ports, and the port types of different functional ports are different. The control module outputs a switch control signal based on the detection signals output by one or more channel modules and the control commands received by the communication pin, to control the power supply circuit in the electric vehicle controller used to power the MCU, so that the MCU is powered on or off; and, according to the configuration logic received by the communication pin, controls the first pin to connect to the corresponding second pin through the target function port in its corresponding channel module, wherein the signal type of the function signal connected to the first pin by the target function port matches the corresponding second pin.
[0006] In some embodiments of this application, when the detection signal output by the channel module indicates that the corresponding first pin is connected and the function signal satisfies the preset logic, the switch control signal output by the control module is valid to control the power supply circuit and power on the MCU. Among them, the control instructions include shutdown instructions. When the control module receives a shutdown instruction, the output switch control signal becomes invalid in order to control the power supply circuit and power off the MCU.
[0007] In some embodiments of this application, the preset logic is: the functional signal connected by the first pin is high voltage; When the detection signal output by the channel module indicates that the corresponding first pin is connected and the function signal is high voltage, the switch control signal output by the control module is valid. The control module is also used to send a function signal indicating that the first pin is connected to high voltage to the MCU via the communication pin.
[0008] In some embodiments of this application, the preset logic is: the functional signal of the first pin being connected is abnormal; When the detection signal output by the channel module indicates an abnormality in the functional signal indicating that its corresponding first pin is connected, the switch control signal output by the control module is valid. The control module is also used to send a message to the MCU via the communication pin indicating that the first pin connection is abnormal.
[0009] In some embodiments of this application, an abnormality in the functional signal of the first pin connection includes: the functional signal of the first pin connection changing from high voltage to low voltage, or the functional signal of the first pin connection changing from low voltage to high voltage.
[0010] In some embodiments of this application, the channel module includes a high-voltage switch and a low-voltage circuit controlled by a control module, as well as a high-voltage sampling module and a high-voltage comparison module. The high-voltage switch is connected between the first pin and the low-voltage circuit, and the low-voltage circuit is connected to multiple function ports; One end of the high-voltage sampling module is connected between the high-voltage switch and the first pin, the other end is grounded, and the output terminal outputs the sampling voltage; One input terminal of the high-voltage comparator is used to connect the sampling voltage, the other input terminal is used to connect the threshold voltage, and the output terminal outputs the detection signal.
[0011] In some embodiments of this application, the channel module further includes a controlled switch controlled by the control module, and the analog function port among the multiple function ports is connected to the output terminal of the high-voltage sampling module through the controlled switch.
[0012] In some embodiments of this application, the interface chip further includes a communication module and a storage module. The communication module is connected between the communication pin and the control module; the storage module is connected to the communication module and the control module respectively.
[0013] In some embodiments of this application, the interface chip further includes a power module, which is connected to the power supply terminal of the electric vehicle controller and is used to supply power to the interface chip.
[0014] In a second aspect, this application also discloses an electric vehicle controller control system, including an MCU, a power supply circuit, and an interface chip as described in the first aspect of this application, all disposed in the electric vehicle controller; the power supply circuit is connected between the power supply terminal of the electric vehicle controller and the MCU, and the power supply circuit is controlled by the switching control signal output by the interface chip to power on or power off the MCU.
[0015] In some embodiments of this application, the power supply circuit includes a DC-DC converter and a power switch. The DC-DC converter is connected to the power supply terminal and the MCU respectively. The power switch is controlled by the switch control signal output by the interface chip. The power switch is connected between the DC-DC converter and the power supply terminal, or the power switch is located inside the DC-DC converter. When the power switch is closed, the MCU is powered on. When the power switch is open, the MCU is powered off.
[0016] In some embodiments of this application, a drive enhancement circuit is also included, which drives the power switch to close or open based on a switch control signal; wherein, the drive enhancement circuit is located inside the interface chip or outside the interface chip.
[0017] This application has the following advantages: The interface chip provided in this application enables the conversion of functional interfaces defined by different manufacturers within the electric vehicle controller. This conversion is not simply a conversion of the connectivity between the first and second pins. This application uses the target functional port as an intermediate bridge to achieve a more functional conversion, which can be applied to more electric vehicles of different brands. This improves the versatility of the electric vehicle controller, reduces the PCB circuit area and the number of peripheral components used in the electric vehicle controller, and greatly reduces the manufacturing cost of the electric vehicle controller.
[0018] The interface chip provided in this application can effectively control the power supply circuit in the electric vehicle controller that supplies power to the MCU, enabling the MCU to be powered on or off. This effectively reduces the power consumption of the electric vehicle controller, reduces the PCB board area occupied, and facilitates the miniaturization of the electric vehicle controller. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in 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.
[0020] Figure 1 This is a schematic diagram of the functional interfaces of an electric vehicle controller; Figure 2 This is a schematic diagram of the structure of the electric vehicle controller interface chip proposed in the embodiments of this application; Figure 3 This is a schematic diagram of the structure of an electric vehicle controller control system proposed in some embodiments of this application; Figure 4 This is a schematic diagram of the structure of an electric vehicle controller control system proposed in some other embodiments of this application; Figure 5 This is a schematic diagram of the channel module within the interface chip of this application embodiment. Detailed Implementation
[0021] 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.
[0022] 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.
[0023] 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.
[0024] 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.
[0025] The electric vehicle controller addressed in this application has multiple functional interfaces. These different interfaces control different actuators of the electric vehicle to achieve various functions, such as ignition lock, throttle, brake, and alarm. Currently, most electric vehicle controllers use standard plug-in interfaces to constrain these multiple functional interfaces, such as… Figure 1As shown, there are a total of 30 functional interfaces, divided into a first standard connector consisting of 8 functional interfaces, a second standard connector consisting of 16 functional interfaces, and a third standard connector consisting of 6 functional interfaces. Similarly, the connectors of the multiple control lines that execute the electric vehicle functions are also constrained into corresponding plugs to connect with the standard connector, realizing the connection between the control lines and the functional interfaces. Thus, the electric vehicle controller can control the electric vehicle through these multiple control lines.
[0026] Electric vehicles come in a wide variety of brands and models. Different manufacturers define different functions for the various interfaces on the electric vehicle controller, or the interfaces may perform the same functions but be located in different or identical positions. This manifests in the fact that while electric vehicle controllers all use the same physical plug to insert into the same physical standard connector, different manufacturers define the functions of each interface differently. This results in high maintenance costs, large footprint, and difficult repairs for electric vehicle controllers. For example, manufacturer A defines interface ① for connecting the ignition lock signal, while manufacturer B defines interface ③ for connecting the ignition lock signal, and manufacturer C defines interface ⑧ for connecting the ignition lock signal... Furthermore, electric vehicle batteries have limited capacity, and minimizing power consumption is one of the goals of current electric vehicle controllers. In existing technologies, the circuitry designed to reduce power consumption in electric vehicle controllers occupies a large area, which hinders the miniaturization of electric vehicle controllers. In view of this, this application provides an electric vehicle controller interface chip, which is disposed within the electric vehicle controller. (Reference) Figure 2 The interface chip includes: multiple first pins, communication pins, multiple second pins, a channel module corresponding to each first pin, and a control module.
[0027] In various embodiments of this application, the control lines transmit the functional signals referred to in this application. Different control lines implement different functions, and therefore the corresponding functional signals are different. The first pin is used to provide an input port and / or output port for the functional signals connected to the electric vehicle controller. In this application, there may be 24 first pins, which can correspond one-to-one with the 24 functional interfaces on the electric vehicle controller, such as the 8 functional interfaces constrained by the first standard connector and the 16 functional interfaces constrained by the second standard connector. Each first pin is used to transmit the functional signal connected (e.g., accessed) to its corresponding functional interface. Based on the characteristics of the functional signal it connects to, each first pin can serve as an input port, output port, or input / output port for that functional signal. That is, the connection can be understood as supporting only the input of the functional signal, or only the output of the functional signal, or both the input and output of the functional signal. Optionally, some of these first pins can serve as input ports, and some can serve as output ports; this application does not limit this. Figure 2 As shown, these multiple first pins use 24 GC_PORTs. <00> ~GC_PORT <23> This indicates that in practical applications, some functional signals connected to the first pin are high voltage, while others are low voltage.
[0028] In this application, the communication pin is used to connect with the MCU in the electric vehicle controller. The communication pin serves as a channel for information exchange between the interface chip and the MCU. Specifically, the communication pin can receive signals from the MCU and can also send signals to the MCU. Furthermore, the interface chip may also include a communication module and a storage module. The communication module is connected between the communication pin and the control module; the storage module is connected to both the communication module and the control module. The circuit structure and function of the communication module and the storage module are conventional designs in the field of communication, and their functions will not be elaborated here. After receiving a signal from the MCU via the communication pin, the communication module can either directly transmit the signal to the control module or store the signal in the storage module, which the control module can then retrieve from the storage module as needed. For example, after receiving configuration logic from the MCU via the communication pin, the communication module writes the configuration logic into the storage module. For example, after receiving a control command via the communication pin, the communication module directly transmits it to the control module. The communication module can communicate based on any of the following protocols: SPI (Serial Peripheral Interface), I2C (Inter-Integrated Circuit), and UART (Universal Asynchronous Receiver / Transmitter). This application does not impose any limitation. Multiple communication pins can be used, such as... Figure 2 The three shown are all based on SPI communication and are represented as MCU_SPI_0, MCU_SPI_1, and MCU_SPI_2 respectively.
[0029] The interface chip design of this application has multiple second pins. These second pins are used to connect to the MCU and other modules in the electric vehicle controller. It should be understood that a portion of the multiple second pins are connected to the MCU, while another portion is connected to other modules. Optionally, the other modules can be a DC-DC converter in the power supply circuit. For example, the multiple second pins include 16 digital pins MCU_DIG, 3 analog pins MCU_ANA, a power supply pin DC-DC_VCC, and a ground pin VSS. The 16 digital pins MCU_DIG and 3 analog pins MCU_ANA are connected to the MCU, the power supply pin DC-DC_VCC is connected to the DC-DC converter, and the ground pin VSS is connected to the ground signal of the electric vehicle controller.
[0030] In this application, each first pin corresponds to a channel module comprising multiple functional ports, each with a different port type. Optionally, each functional port may include any number of analog functional ports, digital input functional ports, digital output functional ports, power supply functional ports, ground functional ports, etc. It should be noted that, in the embodiments of this application, a functional port can be understood as a connection point between the channel module and other circuits. Multiple functional ports indicate that the channel module has multiple connection points, and should not be simply interpreted as a physical structure similar to communication pins.
[0031] In this application, the control module, based on the configuration logic received by the MCU from the communication pin, controls the first pin to connect to the corresponding second pin via the target function port in its corresponding channel module. The signal type of the function signal connected to the first pin by the target function port matches the signal type of the function signal connected to the first pin in its corresponding channel module, and the second pin to which it is connected matches the signal type of the function signal connected to the first pin. It is understandable that because the signal type of the function signal connected to the first pin matches the signal type of the function signal connected to the target function port, and the second pin to which the target function port is connected matches the signal type of the function signal connected to the first pin, when the communication pin connects to the corresponding second pin via the target function port in its corresponding channel module, a connection relationship is established between the communication pin connecting to a certain function signal and the corresponding second pin, allowing the MCU to control the electric vehicle accordingly through the second pin.
[0032] It is worth noting that not every first pin needs to be connected to its corresponding second pin via the target function port in its corresponding channel module, nor does every first pin need to be connected, nor does every second pin need to be connected. The control module can, based on this control command, connect one or more first pins to their corresponding second pins via the target function port in their corresponding channel module. This application does not limit which first pins need to be connected to their corresponding second pins via the target function port in their respective channel modules, or which first and second pins do not need to be connected.
[0033] The control module selects which target function port in a channel module is connected to the corresponding second pin, which can be achieved through a selection circuit. Each second pin corresponds to a selection circuit, whose input is connected to multiple channel modules and whose output is connected to the selection circuit itself. The selection circuit can be designed inside the channel module (where it can function as a switch) or outside the channel module; this is not a limitation here. Based on the above, in Figure 2 In this context, multiple selection circuits are represented by a single, concise selection module, which does not imply any limitation on the actual location and structure of each selection circuit.
[0034] It should also be noted that, for the sake of simplicity, the multiple functional ports of the channel module and the detection signals output by the channel module are not shown in the diagram. Figure 2 The diagram shows the connection relationships between the control module and each channel module, the connection relationship between the control module and the selection module, and the connection relationship between multiple channel modules and the selection module. Figure 2 The arrows used in the diagram are for illustrative purposes only and do not represent actual connecting lines.
[0035] The interface chip provided in this application enables the conversion of functional interfaces defined by different manufacturers within the electric vehicle controller. This conversion is not simply a matter of changing the connectivity between the first and second pins. This application uses the target functional port as an intermediate bridge to achieve a more comprehensive functional conversion, making it applicable to a wider range of electric vehicles and improving the versatility of the electric vehicle controller. In other words, when the interface chip is installed in the electric vehicle controller, different electric vehicle manufacturers may define different functional interfaces for the same functional signal on the controller. Correspondingly, different electric vehicles connected to the controller may have different first pins for the same functional signal (e.g., for electric vehicles from manufacturer A, the interface chip's first pin ① connects to the ignition switch signal after connecting via a control line; for electric vehicles from manufacturer B, the interface chip's first pin ③ connects to the ignition switch signal). However, this application can establish control paths or information transmission paths for any functional signal defined by different electric vehicle manufacturers within the interface chip. That is, for different electric vehicle manufacturers, the control paths or information transmission paths established within the interface chip for multiple functional signals are not entirely the same. This application achieves functional interface conversion between different manufacturers through an interface chip, resulting in unexpected technical benefits. The functional interface conversion implemented in this application occupies a very small circuit area, saving PCB board space and overcoming the size limitations of electric vehicle controllers. Simultaneously, since the functional interface conversion is implemented within the interface chip, the PCB board thickness is reduced, decreasing the number of PCBs and peripheral components used. This not only significantly reduces the manufacturing cost of the electric vehicle controller but also facilitates controller heat dissipation.
[0036] In the interface chip provided in this application, reference continues to be made. Figure 2 Each channel module can also be used to detect whether the functional signal of its corresponding first pin connection meets the preset logic and output a detection signal; the control module can output a switch control signal based on the detection signal output by one or more channel modules and the control command sent by the MCU received by the communication pin, so as to control the power supply circuit in the electric vehicle controller used to power the MCU, so as to power on or power off the MCU.
[0037] The electric vehicle controller control system, in addition to the interface chips provided in the various embodiments of this application, also includes an MCU and a power supply circuit disposed in the electric vehicle controller. The power supply circuit is connected between the power supply terminal of the electric vehicle controller and the MCU. The power supply terminal of the electric vehicle controller is powered by the battery pack of the electric vehicle. Since the power source of the electric vehicle is the battery pack (usually tens or hundreds of volts of high-voltage DC), but the operating voltage of the MCU is low (mostly a few volts), the voltage difference between the two is extremely large, making direct power supply impossible. Therefore, this application utilizes the power supply circuit to convert the high-voltage VCC to the corresponding low-voltage VDD to power the MCU. This application uses the interface chip to check whether the functional signals connected by the electric vehicle controller meet the preset logic, which can quickly detect the current state of the electric vehicle and, in conjunction with the control commands sent by the MCU, output a switch control signal to control the power supply circuit in the electric vehicle controller used to power the MCU (i.e., the power supply circuit is controlled by the switch control signal output by the interface chip), so that the MCU is powered on or off. This solution not only effectively reduces the power consumption of the electric vehicle controller, but also greatly reduces the PCB board area occupied by the interface chip, since the interface chip is a semiconductor integrated circuit, which is conducive to the miniaturization of the electric vehicle controller.
[0038] Furthermore, such as Figure 2-4 As shown, the interface chip also includes a power module, which is connected to the power supply terminal of the electric vehicle controller to supply power to the interface chip, enabling the interface chip to operate based on the voltage VCC provided by the power supply terminal. The power module can also step down this voltage VCC to provide high and low voltages to the various channel modules within the interface chip.
[0039] by Figure 3 and Figure 4 Taking the electric vehicle controller control system shown as an example, this application explains how the interface chip outputs a switch control signal based on the detection signal output by the channel module and the control command sent by the MCU received by the communication pin, so as to control the power supply circuit in the electric vehicle controller used to power the MCU, thereby powering on or off the MCU.
[0040] exist Figure 3 and Figure 4 In the middle, the detection signals output by the N channel modules are respectively used as detection signals. <n>This is represented, such as with the general-purpose pin GC_PORT. <00> Corresponding connected channel modules <00> The output detection signal is represented as HVDET. <00> , with the general-purpose pin GC_PORT <001> Corresponding connected channel modules <01> The output detection signal is represented as HVDET. <01> It should be noted that, due to Figure 3 and Figure 4 The main focus is on the control logic of the power supply circuit through the interface chip, which enables the MCU to power on or off. Therefore, the second pin of the interface chip and some other circuits are not shown.
[0041] like Figure 3 As shown, in some embodiments, the power supply circuit may include a DC-DC converter and a power switch. The DC-DC converter is connected to the power supply terminal of the electric vehicle controller and the MCU, respectively. The power switch is controlled by a switch control signal output by the interface chip, and the power switch is located inside the DC-DC converter. In this embodiment, the power switch may be a MOS device inside the DC-DC converter. When the power switch is closed, the MCU is powered on; when the power switch is open, the MCU is powered off. Optionally, the power switch may be specifically located at the voltage input terminal of the DC-DC converter used to connect to the power supply terminal of the electric vehicle controller. When the power switch is closed, the DC-DC converter is powered on based on the voltage of the power supply terminal of the electric vehicle controller. Since the DC-DC converter is connected to the MCU, when the DC-DC converter is powered on, the MCU is powered on; when the power switch is turned off, the DC-DC converter is powered off, and correspondingly, the MCU is powered off. Of course, in some other optional examples, the power switch may also be located at the voltage output terminal of the DC-DC converter used to connect to the MCU. That is, in this example, the opening and closing of the power switch does not affect the power-on state of the DC-DC converter. In this example, when the power switch is closed, the DC-DC converter supplies power to the MCU; when the power switch is open, the DC-DC converter stops supplying power to the MCU, and the MCU is powered off.
[0042] refer to Figure 4 In other embodiments, the power supply circuit may include a DC-DC converter and a power switch. The DC-DC converter is connected to the power supply terminal of the electric vehicle controller and the MCU, respectively. The closing and opening of the power switch is controlled by a switch control signal output by the interface chip. The power switch is connected between the DC-DC converter and the power supply terminal of the electric vehicle controller. In this embodiment, the power switch is a discrete device, positioned in the path from the power supply terminal of the electric vehicle controller to the DC-DC converter. For example, the power switch is connected to the power supply terminal of the electric vehicle controller and the DC-DC converter via wires. When the power switch is closed, the DC-DC converter and the MCU are powered on; when the power switch is open, the DC-DC converter and the MCU are powered off.
[0043] In various embodiments of this application, the switch control signal can directly control the power switch (e.g., Figure 4 Path ② in the middle), or the power switch can be controlled after driving the enhancement circuit (such as...). Figure 4 Path ① in the text. Figure 3 and Figure 4 As shown, optionally, the electric vehicle controller control system of this application may further include a drive enhancement circuit, which drives the power switch to close or open based on a switch control signal; wherein, the drive enhancement circuit is located inside or outside the interface chip. The drive enhancement circuit may be implemented using a buffer, and its structure is not limited in this application.
[0044] In various embodiments of this application, a DC-DC converter is a DC-to-DC converter that can be packaged as an electronic circuit device or a chip, and this application does not limit this.
[0045] In various embodiments of this application, reference is made to Figure 5 The channel module may specifically include a high-voltage switch controlled by the control module, a low-voltage circuit, and a high-voltage sampling module and a high-voltage comparison module. The high-voltage switch is connected between the first pin and the low-voltage circuit, and the low-voltage circuit is connected to multiple functional ports of different port types. One end of the high-voltage sampling module is connected between the high-voltage switch and the first pin, and the other end is grounded. The high-voltage sampling module is used to sample the voltage of the functional signal connected to the corresponding first pin, and outputs the sampled voltage. One input of the high-voltage comparison module is used to connect the sampled voltage, and the other input is used to connect the threshold voltage. The output of the high-voltage comparison module is used to output the detection signal.
[0046] The high-voltage sampling module can be implemented using a resistor voltage divider module, such as... Figure 5 As shown, one end of the high-voltage sampling module is connected between the first pin and the high-voltage switch, and its output terminal is a resistor divider node used to output the sampled voltage. The high-voltage comparison module can be implemented using a comparator. The two input terminals of the comparator are respectively connected to the threshold voltage and the sampled voltage output by the high-voltage sampling module, and the output terminal can output a detection signal through the high-voltage detection port of the channel module. If the function signal connected to the first pin is high voltage, the sampled voltage will be greater than the threshold voltage; if the function signal connected to the first pin is low voltage, the sampled voltage will be less than the threshold voltage. Optionally, when the sampled voltage is greater than the threshold voltage, the detection signal is high level; when the sampled voltage is less than the threshold voltage, the detection signal is low level.
[0047] A high-voltage switch is connected between the first pin and the low-voltage circuit. When the functional signal connected to the first pin is high voltage, the high-voltage switch can be opened, isolating the first pin from the low-voltage circuit; when the functional signal connected to the first pin is low voltage, the high-voltage switch can be closed, connecting the first pin to the low-voltage circuit. The low-voltage circuit may include multiple functional branch circuits (not shown in the figure). These multiple functional branch circuits are connected between the high-voltage switch and multiple functional ports. Different functional branch circuits are connected to different functional ports. Under the control of the control module, the port type of the functional port to which the different functional branch circuits are connected can be determined. The specific functional branch circuits are not limited in this application, and those skilled in the art can set them according to the port type of the functional port. These multiple functional branch circuits may include multiple switches. By controlling the high-voltage switch and the on / off states of different switches, the control module can achieve connection between the first pin and the target functional port among the multiple functional ports.
[0048] Among them, such as Figure 5 As shown, the channel module may also include a controlled switch. The analog function port among the multiple function ports of the channel module is connected to the node of the high-voltage sampling module used to output the sampling voltage via this controlled switch; wherein, the controlled switch is controlled by the control module. In some examples, the functional signal connected to the first pin of the channel module is high voltage. When the high-voltage switch is open and the controlled switch is closed, the analog function port connected to the controlled switch becomes the target functional port, making the first pin connected to the analog function port via the controlled switch. Thus, when the first pin is connected to the corresponding second pin via the analog function port, the MCU can control the functional signal connected to the first pin.
[0049] In this embodiment, when the detection signal output by the channel module indicates that the corresponding first pin is connected and satisfies the preset logic, the switch control signal output by the control module is valid to control the power supply circuit and power on the MCU. Specifically, the switch control signal can be active high and inactive low.
[0050] In some implementations of this embodiment, the preset logic is as follows: the functional signal of the first pin being connected is high voltage; when a detection signal output by a channel module indicates that the functional signal of its corresponding first pin being connected is high voltage, the switch control signal output by the control module is valid. In this implementation, the control module is used to receive detection signals transmitted by all channel modules. When one detection signal is valid, it indicates that the functional signal of the first pin being connected is high voltage. At this time, the control module controls the power supply circuit to power on the MCU. In addition, the control module is also used to send the information that the functional signal of the first pin being connected is high voltage to the MCU through the communication pin, so that the MCU can perform relevant processing. If the MCU receives the information that the functional signal of the first pin being connected is high voltage, the MCU will send a control command to the control module. The control module, according to the control command, controls the high voltage switch in the channel module corresponding to the first pin to be disconnected.
[0051] For example, the high-voltage signal can be an ignition switch signal, which indicates that the electric vehicle has started. After the electric vehicle starts, the MCU needs to be powered on and operate to participate in the control of the vehicle. Among the multiple first pins, when the functional signal connected to a certain first pin is the ignition switch signal, the channel module connected to the corresponding first pin will detect the high voltage, and the output detection signal will be valid. The control module controls the power supply circuit to power on according to the detection signal, so that the MCU powers on and performs related control.
[0052] For example, the high-voltage signal can be an alarm signal. When an electric vehicle is abnormally triggered, the vehicle's alarm will activate. At this time, the MCU needs to be woken up so that the MCU can perform corresponding control functions (such as remotely notifying the owner) based on the alarm signal. Among multiple first pins, when the functional signal connected to a certain first pin is an alarm signal, the channel module connected to the corresponding first pin will detect the high voltage, and the output detection signal will be valid. The control module controls the power supply circuit to power on based on the detection signal, so that the MCU powers on and performs related control.
[0053] In some implementations of this embodiment, the preset logic is as follows: the functional signal of the first pin connection is abnormal; when a detection signal output by a channel module indicates that its corresponding functional signal of the first pin connection is abnormal, the switch control signal output by the control module is valid. Optionally, the abnormal functional signal of the first pin connection may include the following situation: the functional signal of the first pin connection changes from low voltage to high voltage. Specifically, the electric vehicle controller may experience a functional signal misconnection, causing the first pin, which should be connected to a low voltage functional signal, to be mistakenly connected to a high voltage functional signal. When the channel module detects that its corresponding functional signal of the first pin connection changes from low voltage to high voltage, the control module outputs a switch control signal to control the power supply circuit according to the detection signal output by the channel module, so that the MCU is powered on. In addition, the control module is also used to send information about one or more functional signals of the first pin connection being abnormal to the MCU through the communication pin, such as sending a control command to the control module to handle the abnormal situation after the MCU is powered on.
[0054] In this embodiment, the control instructions received by the control module may further include a shutdown instruction. When the control module receives the shutdown instruction, the switch control signal output by the control module becomes invalid, thereby controlling the power supply circuit to shut down and the MCU to power off. In actual circuits, the MCU can determine whether a power-off is necessary based on some internally set low-power logic. When this low-power logic is triggered, the MCU sends a shutdown instruction to the communication pin of the interface chip. The control module in the interface chip, according to the shutdown instruction, outputs an invalid switch control signal, thereby controlling the power supply circuit to shut down and the MCU to power off. In actual circuits, those skilled in the art will know that the MCU may also be connected to other detection circuits. The low-power logic set internally by the MCU may be set based on the detection results of the detection circuit, or based on some timing logic configured by the technicians of the electric vehicle controller. This application does not limit this.
[0055] For example, after the MCU is powered on, the control module is also used to send detection signals output by one or more channel modules to the MCU via communication pins. When a detection signal output by a channel module indicates that the functional signal of its corresponding first pin connection changes from high voltage to low voltage, the MCU in the powered-on state can decide whether to send a shutdown command to the control module based on actual needs.
[0056] 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.
[0057] 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.< / n>
Claims
1. An electric vehicle controller interface chip, characterized by, include: Multiple first pins, the first pins being used to provide input ports and / or output ports for functional signals connected to the electric vehicle controller; Communication pins are used to connect to the MCU in the electric vehicle controller. Multiple second pins are used for connection to the MCU and other modules in the electric vehicle controller; Each channel module is connected to a corresponding first pin. Each channel module is used to detect whether the functional signal connected to its corresponding first pin meets the preset logic and outputs a detection signal. Each channel module includes multiple functional ports, and the port types of different functional ports are different. The control module, based on the detection signals output by one or more channel modules and the control commands received by the communication pin, outputs a switch control signal to control the power supply circuit in the electric vehicle controller used to power the MCU, so that the MCU is powered on or off; and, according to the configuration logic received by the communication pin, controls the first pin to connect to the corresponding second pin through the target function port in the corresponding channel module, wherein the signal type of the function signal connected between the target function port and the first pin matches the corresponding second pin.
2. The electric vehicle controller interface chip according to claim 1, characterized in that, When the detection signal output by the channel module indicates that the corresponding first pin is connected and the function signal satisfies the preset logic, the switch control signal output by the control module is valid, so as to control the power supply circuit and power on the MCU. The control command includes a shutdown command. When the control module receives the shutdown command, the output switch control signal becomes invalid to control the power supply circuit and power off the MCU.
3. The electric vehicle controller interface chip according to claim 2, characterized in that, wherein, The preset logic is as follows: the functional signal connected to the first pin is high voltage; When the detection signal output by the channel module indicates that the corresponding first pin is connected and the functional signal is high voltage, the switch control signal output by the control module is valid. The control module is also used to send information to the MCU via the communication pin that the function signal indicating the first pin is connected is high voltage.
4. The electric vehicle controller interface chip according to claim 2, characterized in that, wherein The preset logic is: the functional signal of the first pin connection is abnormal; When the detection signal output by the channel module indicates that the functional signal of its corresponding first pin connection is abnormal, the switch control signal output by the control module is valid. The control module is also used to send information to the MCU via the communication pin indicating that the function signal of the first pin connection is abnormal.
5. The electric vehicle controller interface chip according to claim 4, characterized in that, Abnormalities in the functional signal connected to the first pin include: the functional signal connected to the first pin changes from low voltage to high voltage.
6. The electric vehicle controller interface chip according to any one of claims 1-4, wherein, The channel module includes a high-voltage switch and a low-voltage circuit controlled by the control module, as well as a high-voltage sampling module and a high-voltage comparison module. The high-voltage switch is connected between the first pin and the low-voltage circuit, and the low-voltage circuit is connected to the plurality of functional ports; One end of the high-voltage sampling module is connected between the high-voltage switch and the first pin, the other end is grounded, and the output terminal outputs the sampling voltage; One input terminal of the high-voltage comparison module is used to connect the sampling voltage, the other input terminal is used to connect the threshold voltage, and the output terminal outputs the detection signal.
7. The electric vehicle controller interface chip according to claim 6, characterized in that, The channel module also includes a controlled switch controlled by the control module, and the analog function port among the plurality of function ports is connected to the output terminal of the high-voltage sampling module through the controlled switch.
8. The electric vehicle controller interface chip according to claim 1, characterized in that, The interface chip also includes a communication module and a storage module. The communication module is connected between the communication pin and the control module. The storage module is connected to the communication module and the control module respectively.
9. The electric vehicle controller interface chip according to claim 1, characterized in that, The interface chip also includes a power module, which is connected to the power supply terminal of the electric vehicle controller and is used to supply power to the interface chip.
10. An electric vehicle controller control system, characterized in that, This includes an MCU, a power supply circuit, and an interface chip as described in any one of claims 1-9, all disposed in the electric vehicle controller. The power supply circuit is connected between the power supply terminal of the electric vehicle controller and the MCU. The power supply circuit is controlled by the switching control signal output by the interface chip to power on or power off the MCU.
11. The electric vehicle controller control system according to claim 10, characterized in that, The power supply circuit includes a DC-DC converter and a power switch, wherein the DC-DC converter is connected to the power supply terminal and the MCU respectively; The power switch is controlled by the switch control signal output by the interface chip; wherein, the power switch is connected between the DC-DC and the power supply terminal, or, the power switch is located inside the DC-DC; When the power switch is closed, the MCU is powered on; when the power switch is open, the MCU is powered off.
12. The electric vehicle controller control system according to claim 11, characterized in that, It also includes a drive enhancement circuit, which drives the power switch to close or open based on the switch control signal; The drive enhancement circuit is located inside or outside the interface chip.