Electric control master control MCU and integrated motor controller and power brick system

An integrated electronic control main MCU addresses redundancy in power brick integration by combining motor and power brick functions, reducing system complexity and costs while enhancing compatibility with various power suppliers.

CN119218001APending Publication Date: 2024-12-31CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411257515.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-09
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The integration of power bricks in electric drive all-in-one assemblies results in redundancy due to the independent existence of the electric control MCU, leading to increased system complexity and costs.

Method used

An integrated electronic control main MCU that combines motor controller and power brick functions, including I/O interfaces for communication and control, allowing simultaneous management of motor and power brick operations.

Benefits of technology

Reduces system redundancy, lowers product volume and development costs, and enhances compatibility with different power suppliers while meeting platform-based product spectrum layout requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119218001A_ABST
    Figure CN119218001A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of electric drive integration, and discloses an electric control main control MCU and a system integrating a motor controller and a power brick, the electric control main control MCU comprises a motor control part and a power brick control part, and the motor control part is used for controlling a motor; the power supply brick control part is used for controlling the working mode and / or power of the power supply brick; furthermore, the power supply brick control part comprises bottom layer software and application layer software, the functions of the power supply brick control part are divided, the application requirements of power control of the power supply brick and differentiation of a main engine plant are completely decoupled, and the function that one set of electronic control MCU application layer software is compatible with power control software of different power suppliers is achieved. While the product development cost is reduced, the platform product pedigree layout of a main engine plant is met, and the personalized selection space of a finished automobile plant is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile charging, and in particular to an electric control main control MCU and a system integrating a motor controller and a power brick. Background Art

[0002] With the design requirements of cost reduction and efficiency improvement of new energy vehicles, the cost, weight and volume of the power supply system and other high-voltage loads are the key factors to be considered in the early design. Low cost, light weight and small volume have become the hard indicators put forward by the OEM for each load controller. At present, in response to this demand, the mainstream solution in the industry is to integrate the electric drive in one, which can reduce the distribution harness, high-voltage connectors, boxes, covers and other high-voltage accessories of each load, such as brackets, pipe clamps, sheaths, etc., so as to achieve the design goals of low cost, light weight and small volume. Thanks to the application of GAN devices, the volume of the power supply system is reduced to 50% of the traditional Si device solution, making it easier for the power supply system to be integrated into the electric drive all-in-one assembly in the form of a power brick.

[0003] The current integration methods of power bricks in electric drive all-in-one assemblies mainly include: ① Physical integration solution: the power brick exists in the all-in-one assembly as an independent individual, connected to the outside through a line nose, and does not involve any device reuse; ② Board integration solution: Based on solution ①, some devices are reused, such as: reuse the filter module on the HV side (high voltage side) of the power supply with the filter module of the motor controller, reuse the auxiliary source anti-reverse circuit of the low-voltage circuit, and reuse some power devices. However, the above solutions all stay at the reuse of hardware circuit devices, and the electric control MCU of the power brick exists independently, and there is still a problem of system redundancy. Summary of the invention

[0004] In view of this, the present invention provides an electric control main control MCU and a system integrating a motor controller and a power brick to solve the problem that the power brick still has redundancy in the integration of the electric drive all-in-one assembly.

[0005] In a first aspect, the present invention provides an electronic control main control MCU, comprising a motor control part and a power brick control part, wherein the motor control part is used to control the motor; the power brick control part is used to control the working mode and / or power of the power brick.

[0006] That is to say, the present invention is multiplexed in the electronic control main MCU, and the motor controller drive control, the power brick working mode control and the power brick power control are simultaneously realized through the electronic control main MCU, thereby solving the problem of redundancy of the power brick in the integration of the electric drive all-in-one assembly.

[0007] In an optional embodiment, the electronic control main MCU also includes a first I / 0 interface, a second I / 0 interface, a first communication interface and a second communication interface, wherein the first I / 0 interface is connected to the charging pile, and the electronic control main MCU obtains the CP (Control Pilot Function) information of the charging pile and / or the temperature of the charging port through the first I / 0 interface; the second I / 0 interface is connected to the whole vehicle, and the electronic control main MCU obtains the KL15 information of the whole vehicle through the second I / 0 interface; the first communication interface is connected to the whole vehicle controller, and the electronic control main MCU communicates with the whole vehicle controller through the first communication interface; the second communication interface is connected to the power brick, and the electronic control main MCU communicates with the power brick through the second communication interface.

[0008] This can support the electronic control main MCU to realize motor controller drive control, power brick working mode control and power brick power control.

[0009] In an optional implementation, the electronic control main MCU also includes a third I / 0 interface, which is connected to the electronic lock. The electronic control main MCU obtains the state of the electronic lock through the third I / 0 interface and drives the electronic lock to perform state conversion.

[0010] This allows the management of electronic locks to be implemented in the electronic control main MCU.

[0011] In an optional embodiment, the power brick control part includes underlying software and application layer software; the underlying software is used to obtain CP information, KL15 information and / or the temperature of the charging port, and send it to the application layer software; receive control instructions and / or communication signals sent by the application layer software, and control the power brick according to the control instructions, and communicate with the vehicle controller according to the communication signal; the application layer software is used to obtain CP information, KL15 information and / or the temperature of the charging port sent by the underlying software, generate control instructions and / or communication signals based on the CP information, KL15 information and / or the temperature of the charging port, and send the control instructions and / or communication signals to the underlying software.

[0012] The present invention divides the functions of the power brick control part into underlying software and application layer software, so that the application layer software can be used to realize the differentiated application needs of the OEM, completely decouple the power control of the power brick from the differentiated application needs of the OEM, and realize a set of electronic control main control MCU application layer software that can be compatible with the functions of power control software of different power suppliers. While reducing product development costs, it meets the platform-based product spectrum layout of the OEM and increases the personalized selection space of the vehicle manufacturer. The functions of the traditional power supply system are decomposed, the differentiated application needs of the OEM and the power control of the power brick are completely decoupled, and the role of the platform-based product spectrum layout is realized.

[0013] In an optional embodiment, the application layer software includes a low-voltage power management unit and a state machine management unit; the low-voltage power management unit is used to manage the state of the power brick, the state of the electronic lock, the temperature of the charging port and / or the S2 switch state based on the acquired CP information, KL15 information and / or the temperature of the charging port; after the power brick enters the standby mode, when the state machine management unit receives the working mode signal issued by the whole vehicle, the power brick is controlled to enter the working mode corresponding to the working mode signal according to the state of the power brick, the state of the electronic lock and the S2 switch state in the low-voltage power management unit.

[0014] This allows the power brick status, electronic lock status, charging port temperature, S2 switch status, and power brick operating mode to be managed.

[0015] In an optional embodiment, the application layer software also includes a fault diagnosis unit, which is used to perform UDS (Unified Diagnostic Services) diagnosis, OBD (on-Board Diagnostics) diagnosis, fault recovery and / or software upgrade based on the actual parameters obtained.

[0016] This allows the failure of the power brick to be handled.

[0017] In an optional embodiment, the sleep-wake-up subunit is used to obtain the CP information and / or KL15 information sent by the underlying software, determine whether the first wake-up condition of the power brick is met according to the CP information and / or KL15 information, and when the first wake-up condition is met, generate a first wake-up enable signal, and pass the first wake-up enable signal to the underlying software, so that the underlying software wakes up the power brick; obtain the CP information and / or KL15 information sent by the underlying software, determine whether the first sleep condition of the power brick is met according to the CP information and / or KL15 information, and when the first sleep condition is met, generate a first sleep enable signal, and pass the first sleep enable signal to the underlying software, so that the underlying software controls the power brick to enter a sleep state; and / or, the sleep-wake-up subunit is used to obtain network management messages. , determine whether the second wake-up condition of the power brick is met according to the network management message, and when the second wake-up condition is met, generate a second wake-up enable signal, and pass the second wake-up enable signal to the underlying software, so that the underlying software wakes up the power brick; obtain the network management message, determine whether the second sleep condition of the power brick is met according to the network management message, and when the second sleep condition is met, generate a second sleep enable signal, and pass the second sleep enable signal to the underlying software, so that the underlying software controls the power brick to enter a sleep state; and / or, a sleep wake-up subunit, which is used to determine whether the application messages of the power brick and the electronic control main MCU have been sent when the entire vehicle needs to sleep, and when the third sleep condition is met, stop sending application messages and network management messages, so that the electronic control main MCU and the power brick enter a sleep state.

[0018] Therefore, a specific implementation method for sleep-wake state management is provided.

[0019] In an optional embodiment, the electronic lock state management subunit is used to obtain the current state of the electronic lock after obtaining the locking instruction sent by the underlying software, and determine the current state of the electronic lock; when the current state of the electronic lock is an unlocked state, generate an electronic lock closing instruction, and send the electronic lock closing instruction to the underlying software so that the underlying software closes the electronic lock; and / or, the electronic lock state management subunit is used to obtain the current state of the electronic lock after obtaining the unlocking instruction sent by the underlying software, and determine the current state of the electronic lock; when the current state of the electronic lock is a locked state, generate an electronic lock opening instruction, and send the electronic lock opening instruction to the underlying software so that the underlying software opens the electronic lock.

[0020] Therefore, a specific implementation method for electronic lock state management is provided.

[0021] In an optional embodiment, the low-voltage power management unit includes an over-temperature protection subunit, which is used to obtain the actual temperature of the charging port, determine whether the actual temperature of the charging port reaches a preset over-temperature protection threshold, and when the actual temperature of the power terminal of the charging port reaches the over-temperature protection threshold, generate a power limiting factor, and send the power limiting factor to the underlying software, so that the underlying software sends the power limiting factor to the power brick; and / or, the low-voltage power management unit includes an S2 switch state management subunit; The S2 switch state management subunit: when there is no fault in the power brick, obtains the CP information and / or KL15 information sent by the underlying software, and determines whether the charging conditions are met according to the CP information and / or KL15 information; when the charging conditions are met and the charging enable signal is received, controls the S2 switch to close.

[0022] Therefore, a specific implementation method of the over-temperature protection function is provided.

[0023] In an optional embodiment, the fault diagnosis unit is used to obtain the actual parameters of the power brick sent by the underlying software, determine whether the actual parameters reach the preset fault trigger conditions, and when the actual parameters reach the fault trigger conditions, generate the current fault handling measures according to the preset fault handling scheme, and send the current fault handling measures to the underlying software, so that the underlying software drives the power brick according to the current fault handling measures; and / or, to obtain the actual parameters of the power brick sent by the underlying software, determine whether the actual parameters reach the preset fault trigger conditions, and when the actual parameters reach the fault trigger conditions, generate the UDS fault code, and send the UDS fault code to the underlying software. The layer software uses the underlying software to send the UDS fault code to the external network; and / or, it is also used to obtain the current state of the power brick when the enable signal sent by the underlying software is obtained, and when the current state of the power brick meets the preset fault recovery condition, it generates a re-work request message, and sends the re-work request message to the underlying software, so that the underlying software drives the power brick according to the enable signal; wherein the enable signal includes at least one of the following: a charging enable signal, a discharging enable signal, and a DCDC work enable signal; and / or, it is also used to download the upgrade package when the upgrade package download request sent by the underlying software is obtained, and send the downloaded upgrade package to the power brick.

[0024] This provides a specific implementation of power brick fault management.

[0025] In a second aspect, the present invention further provides a system integrating a motor controller and a power brick, comprising a motor controller, a power brick and the electric control main MCU of the first aspect.

[0026] That is to say, in a system integrating a motor controller and a power brick, the functions of the motor controller drive control and the power brick working mode and power control are simultaneously realized through the electronic control main MCU.

[0027] In an optional embodiment, the power brick and the electronic control main MCU include an intranet protocol, wherein the intranet protocol includes one or more of the following: AC side voltage and / or current of the power brick, HV side voltage and / or current, DCDC voltage and / or current signal, maximum output capacity signal of the power brick, key components of the power brick and coolant temperature signal, fault flag signal of the power brick, working status signal of the power brick, working request signal of the power brick, and power limit signal of the power brick.

[0028] By defining the intranet communication protocol, the application layer software of the electronic control main MCU can be made universal, thereby improving the compatibility of product solutions from different power suppliers, improving system reliability and reducing software development costs.

[0029] In an optional embodiment, the system integrating the motor controller and the power brick also includes a power circuit and a low-voltage control circuit. In the power circuit, the motor controller distributes power to the power brick through an internal copper bus and reuses the filter module with the power brick; in the low-voltage control circuit, the motor controller provides the power brick with KL30 normal power, intranet communication interface and wake-up signal through a low-voltage cable, and reuses the main electronic control MCU and auxiliary source anti-reverse circuit with the power brick.

[0030] This allows for deep integration of integrated motor controllers and power bricks.

[0031] The electronic control main MCU and the system with integrated motor controller and power brick provided by the present invention have the following beneficial effects: on the one hand, the electronic control main MCU of the power brick and the electronic control main MCU are reused, and the functions of motor controller drive control and power brick working mode and power control are realized simultaneously through one MCU, thereby further reducing the product volume and reducing the BOM cost of the whole vehicle on the basis of traditional power supply integration; on the other hand, by dividing the functions of the power module, the power control of the power brick is completely decoupled from the differentiated application requirements of the host factory, and a set of electronic control main MCU application layer software is realized, which is compatible with the functions of power control software of different power suppliers, thereby reducing product development costs while meeting the platform-based product spectrum layout of the host factory and increasing the personalized selection space of the vehicle manufacturer. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0033] Figure 1Schematic diagram of an example of hardware connection of an electronic control main control MCU according to an embodiment of the present invention;

[0034] Figure 2 Schematic diagram of an example of the software architecture of the electronic control main MCU according to an embodiment of the present invention;

[0035] Figure 3 is a flow chart of an example of electronic control MCU function control according to an embodiment of the present invention;

[0036] Among them, 1. Electric drive all-in-one assembly; 2. Electronic control main control MCU; 3. Power brick; 4. AC charging socket; 5. Electronic lock; 6. Vehicle controller; 7. I / 0 interface details; 8. Intranet CAN; 9. Extranet CAN; 10. PFC module; 11. DAB module; 12. DCDC module; 13. Electronic control main control MCU monitoring and drive unit; 14. Low-voltage power management unit; 15. State machine management unit; 16. Fault diagnosis unit; 17. Signal monitoring circuit; 18. Electronic lock drive circuit; 19. Vehicle communication segment; 20. Power brick monitoring and drive unit; 21. Power brick drive and control unit; 22. Power brick communication and monitoring unit; 23. Power device drive circuit; 24. Sensor. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0039] According to an embodiment of the present invention, an electric control main control MCU 2 is provided, including a motor control part and a power brick control part, wherein the motor control part is used to control the motor; the power brick control part is used to control the working mode and / or power of the power brick.

[0040] The embodiment of the present invention can simultaneously realize the control of the motor controller drive, the control of the working mode of the power brick 3 and the power control of the power brick 3 through the electronic control main control MCU 2, thereby solving the problem that the power brick still has redundancy in the integration of the electric drive all-in-one assembly.

[0041] In an optional implementation, the electronic control main control MCU 2 also includes a first I / 0 interface, a second I / 0 interface, a first communication interface, and a second communication interface, wherein the first I / 0 interface is connected to the charging pile, and the electronic control main control MCU 2 obtains the CP (Control Pilot Function) information of the charging pile and / or the temperature of the charging port through the first I / 0 interface; the second I / 0 interface is connected to the whole vehicle, and the electronic control main control MCU2 obtains the KL15 information of the whole vehicle through the second I / 0 interface; the first communication interface is connected to the whole vehicle controller 6, and the electronic control main control MCU 2 communicates with the whole vehicle controller 6 through the first communication interface; the second communication interface is connected to the power brick, and the electronic control main control MCU 2 communicates with the power brick through the second communication interface. This can support the electronic control main control MCU 2 to realize the drive control of the motor controller, the control of the working mode of the power brick, and the power control of the power brick.

[0042] Specifically, the CP information obtained by the first I / O interface includes CP voltage, CP duty cycle, and CP frequency. In automotive electrical systems, KL15 is a commonly used term, which refers to a power signal or power status signal in the vehicle. The KL15 signal usually indicates that the vehicle has completed the startup process and the engine has started running, and the main power supply of the vehicle has been activated.

[0043] The temperature of the charging port acquired by the first I / O interface is the temperature of the power terminal of the charging port.

[0044] The second communication interface is connected to the DCDC module 12 of the power brick.

[0045] In an optional implementation, the electronic control main control MCU 2 further includes a third I / O interface, the third I / O interface is connected to the electronic lock, and the electronic control main control MCU 2 obtains the state of the electronic lock through the third I / O interface and drives the electronic lock to perform state conversion. Thus, the electronic lock can be managed in the electronic control main control MCU 2.

[0046] That is to say, the electronic control main control MCU 2 is a chip reused by the motor controller and the power brick, and the chip continuously monitors the CP information of the charging pile, such as CP voltage, CP duty cycle and CP frequency. For example, the electronic control main control MCU 2 reports the CP information of the charging pile through the first communication interface. When the charging conditions are met, the vehicle controller 6 sends the charging enable to the electronic control main control MCU 2 through the first communication interface. At this time, the electronic control main control MCU 2 communicates with the power brick DSP through the second communication interface, sends the charging requirements of the whole vehicle, and the electronic control main control MCU 2 triggers a high-level signal to drive the S2 switch to close, and formally establishes charging; after the charging is established, the electronic control main control MCU 2 triggers a high-level signal to drive the electronic lock to close. At the same time, the electronic control main control MCU 2 continuously monitors the temperature of the power terminal of the charging port during the charging process. When the temperature of the power terminal of the charging port is greater than the preset over-temperature protection threshold, the DSP (Digital Signal Processor) of the power brick is sent a derating requirement through the second communication interface, thereby ensuring that the charging socket does not have the risk of overheating.

[0047] It should be noted that the method for the motor control part to control the motor can adopt the solution in the related technology, which will not be repeated here.

[0048] Figure 1 This is a hardware connection diagram of the electric control main control MCU of an embodiment of the present invention. The electric drive all-in-one assembly 1 includes a motor controller, a motor, a power brick, a compressor control module, a PTC (Positive Temperature Coefficient) control module, etc., wherein the electric drive all-in-one assembly is deeply integrated with the electric control main control MCU 2 on the basis of traditional board integration, and the electric control main control MCU 2 simultaneously executes the power control of the motor controller and the power brick working mode and power control functions.

[0049] The electronic control main control MCU 2 monitors the CP information of the charging pile, the temperature of the charging port power terminal and the status information of the electronic lock through different I / O interfaces. Figure 1As shown, the AC charging socket outputs the CP information of the charging pile, and an NTC (Negative Temperature Coefficient) thermistor is attached to its power terminal to monitor the temperature of the power terminal. Both are connected to the first I / 0 interface of the electronic control main control MCU 2 through hard wires and electronic control built-in circuits. The electronic control main control MCU 2 monitors the CP voltage, CP frequency, CP duty cycle and power terminal temperature of the charging pile, and triggers a high level wake-up power brick through the power wake-up interface under the condition of meeting the CP wake-up strategy. The electronic lock includes an electronic lock status circuit and an electronic lock drive circuit, both of which are connected to the third I / 0 interface of the electronic control main control MCU 2 through hard wires and electronic control built-in circuits. The electronic control main control MCU 2 monitors the status of the electronic lock, and after charging is established, it drives the electronic lock to lock, and after charging is terminated or the user manually unlocks, it drives the electronic lock to unlock.

[0050] The electronic control main control MCU 2 is connected to the external network CAN 9 through the first communication interface, such as the CAN communication interface, to realize the communication function with the vehicle controller 6. When the electronic control main control MCU 2 is in the working state, it continuously reports the status of the power brick and the CP information of the AC charging socket. After the user inserts the gun and swipes the card, the user's charging demand is reported, and after receiving the charging enable from the vehicle controller 6, the high-level signal is triggered through the "S2 drive interface" to drive the S2 switch to close, complete the charging hard line identification process, and trigger the charging pile relay to close. At the same time, the electronic control main control MCU 2 is connected to the intranet CAN 8 through the second communication interface, such as the CAN communication interface, to realize the communication function with the power brick. On the premise that it receives the charging enable from the vehicle controller 6 and the power brick is not faulty, it requests the power brick to enter the "working" state, and during the charging process, it continuously sends the working voltage, current and power requirements of the vehicle controller 6 for the power brick to adjust its output state.

[0051] like Figure 1As shown, the power brick includes an AC filter module, a PFC (Power Factor Correction) module 10, a DAB (Dual Active Bridge) module 11, a DCDC (Direct Current to Direct Current Converter) module 12 and a LV (Low Voltage) filter module; wherein the PFC module 10 includes: a PFC boost inductor L1, a PFC power device, a PFC bus capacitor C1, a PFC voltage / current sensor PFC_Sensor, a PFC driver chip PFC_Driver and a PFC_DSP; the DAB module 11 includes: a DAB primary / secondary power device, a DAB resonant capacitor C2, a DAB resonant inductor L2, a DAB transformer T1, a DAB voltage / current sensor DAB_Sensor, a DAB driver chip DAB_Driver and a DAB_DSP; the DCDC module 12 includes: a DCDC primary / secondary power device, a DCDC BUCK inductor L3, DCDC transformer T2, DCDC voltage / current sensor DCDC_Sensor, DCDC driver chip DCDC_Driver and DCDC_DSP. In particular, the power brick of the present invention does not include an independent MCU, and by connecting with the electronic control main MCU 2, the power brick realizes the full system functions that should be possessed in the whole vehicle.

[0052] The PFC module 10 samples the PFC bus voltage / current and module temperature through PFC_Sensor; the DAB module 11 samples the DAB resonant inductor current, the HV side bus capacitor voltage / current and module temperature through DAB_Sensor; the DCDC module 12 samples the DCDC BUCK inductor current, the low-voltage output capacitor voltage and module temperature through DCDC_Sensor.

[0053] Specifically, the DCDC_DSP of the DCDC module 12 communicates with the electronic control main MCU 2 through the second communication interface and the intranet CAN 8. When receiving the output request of the charging voltage and current of the whole vehicle, it communicates with the PFC_DSP of the PFC module 10 and the DAB_DSP of the DAB module 11 through the SPI (Serial Peripheral Interface) serial port to transmit the charging requirements of the whole vehicle, and adjusts the switching frequency and duty cycle of the power device through the driver modules of each module, such as: PFC_Driver, DAB_Driver and DCDC_Driver to complete the power output; at the same time, during the operation of the power brick, the input voltage, current and output voltage and current information of the power brick are continuously reported through the second communication interface and the intranet CAN 8. At the same time, the DSP of each module will monitor some fast protection faults, and report the fault status through the second communication interface and the intranet CAN8 when the fault triggering conditions are met.

[0054] In an optional embodiment, the power brick control part includes bottom layer software and application layer software. The bottom layer software is used to obtain CP information, KL15 information and / or the temperature of the charging port, and send it to the application layer software; the application layer software is used to obtain the CP information, KL15 information and / or the temperature of the charging port sent by the bottom layer software, generate control instructions and / or communication signals based on the CP information, KL15 information and / or the temperature of the charging port, and send the control instructions and / or communication signals to the bottom layer software; the bottom layer software is used to control the power brick according to the control instructions and / or communicate with the vehicle controller 6 according to the communication signal.

[0055] For example, Figure 2 As shown, the electronic control main control MCU 2 is divided into MCU bottom layer software and MCU application layer software. Externally, the I / O interface of the electronic control main control MCU 2 (including the above-mentioned first I / O interface, second I / O interface and third I / O interface) is hard-wired with the signal monitoring circuit 17, the electronic lock driving circuit 18 and the vehicle communication network segment 19. Among them, the signal monitoring circuit 17 includes: KL15 / CP sampling circuit, charging port power terminal temperature sampling circuit and electronic lock status sampling circuit; internally, the MCU bottom layer software has monitoring and driving functions, that is, it includes the electronic control main control MCU monitoring and driving unit 13, and samples the CP voltage, CP frequency, CP duty cycle, KL15 voltage, charging port power terminal temperature and electronic lock status through the signal monitoring circuit 17, and passes the sampled AD value to the MCU 2 application layer software for functional logic judgment through software interfaces, such as: CP voltage interface, CP duty cycle interface, CP frequency interface, KL15 voltage interface, charging port power terminal temperature interface and electronic lock status interface.

[0056] That is to say, this embodiment integrates the differentiated application layer functions of the traditional power supply system host factory, including: sleep / wake-up, electronic lock monitoring and control, charging / discharging / low-voltage power supply control, state machine jump, thermal management control, UDS / OBD diagnosis and fault protection, etc. into the application layer of the electronic control main control MCU 2. Among them, the CP signal, the temperature of the charging port, and the state of the electronic lock are directly sampled by the I / O interface of the electronic control main control MCU 2, and the electronic lock and the S2 switch are driven by other I / O interfaces of the electronic control main control MCU 2. It should be noted that the power control part of the traditional power supply system still samples the voltage and current of the power circuit, such as AC input voltage ULN, AC input current IL1, PFC bus voltage UC1, etc., by the DSP of the power brick, and communicates with the electronic control main control MCU 2 through the intranet, responds to the charging / discharging / DCDC enablement and power demand of the whole vehicle, and controls the state of the power device through the sampled loop voltage and current information to complete the power output.

[0057] It can be seen that this embodiment divides the functions of the power brick control part into the bottom layer software and the application layer software, so that the application layer software can be used to realize the differentiated application requirements of the OEM, completely decouple the power control of the power brick from the differentiated application requirements of the OEM, and realize a set of electronic control main control MCU 2 application layer software, which is compatible with the functions of power control software of different power suppliers, while reducing product development costs, meeting the platform product spectrum layout of the OEM and improving the personalized selection space of the vehicle manufacturer. The functions of the traditional power supply system will be decomposed, and the differentiated application requirements of the OEM and the power control of the power brick will be completely decoupled to realize the role of the platform product spectrum layout.

[0058] In an optional implementation, the application layer software includes a low-voltage power management unit 14 and a state machine management unit 15. The low-voltage power management unit 14 is used to manage the state of the power brick, the state of the electronic lock, the temperature of the charging port and / or the S2 switch state based on the acquired CP information, KL15 information and / or the temperature of the charging port; the state machine management unit 15 is used to control the power brick to enter the working mode corresponding to the working mode signal according to the state of the power brick and the state of the electronic lock in the low-voltage power management unit 14 after the power brick enters the standby mode when receiving the working mode signal sent by the whole vehicle. Specifically, the working modes of the power brick include: charging mode, discharging mode and DCDC mode.

[0059] Specifically, the low voltage power management unit 14 obtains CP information, KL15 information and / or the temperature of the charging port in the underlying software through a software interface.

[0060] For example, Figure 2As shown, the low-voltage power management unit 14 of the MCU application layer software has the following functions: power brick sleep / wake-up function (i.e., KL15 / CP wake-up), electronic lock management function, over-temperature protection function, S2 enable control function, and network management function, etc. Correspondingly, the low-voltage power management unit 14 includes a sleep / wake-up subunit, an electronic lock state management subunit, an over-temperature protection subunit, and an S2 switch state management subunit, etc.

[0061] In an optional embodiment, the sleep-wake-up subunit is used to obtain the CP information and / or KL15 information sent by the underlying software, determine whether the first wake-up condition of the power brick is met according to the CP information and / or KL15 information, and when the first wake-up condition is met, generate a first wake-up enable signal, and pass the first wake-up enable signal to the underlying software so that the underlying software wakes up the power brick; obtain the CP information and / or KL15 information sent by the underlying software, determine whether the first sleep condition of the power brick is met according to the CP information and / or KL15 information, and when the first sleep condition is met, generate a first sleep enable signal, and pass the first sleep enable signal to the underlying software so that the underlying software controls the power brick Entering a sleep state; and / or, a sleep wake-up subunit, which is used to obtain a network management message, determine whether the second wake-up condition of the power brick is met according to the network management message, and when the second wake-up condition is met, generate a second wake-up enable signal, and pass the second wake-up enable signal to the underlying software, so that the underlying software wakes up the power brick; obtain a network management message, determine whether the second sleep condition of the power brick is met according to the network management message, and when the second sleep condition is met, generate a second sleep enable signal, and pass the second sleep enable signal to the underlying software, so that the underlying software controls the power brick to enter a sleep state; and / or, a sleep wake-up subunit, which is used to determine whether the application messages of the power brick and the electronic control main MCU 2 have been sent when the entire vehicle needs to sleep, and when the third sleep condition is met, stop sending application messages and network management messages, so that the electronic control main MCU 2 and the power brick enter a sleep state.

[0062] That is to say, Figure 1 and Figure 2As shown, the power brick sleep / wake-up function of the low-voltage power management unit 14 includes: the MCU application layer software determines the voltage value of the KL15 signal or the voltage value, frequency, and duty cycle of the CP signal transmitted by the MCU bottom layer software. When the conditions for KL15 hard-line wake-up or CP hard-line wake-up are met, the wake-up enable is transmitted to the MCU bottom layer software through the "power wake-up interface", and finally the "power wake-up" I / O interface of the electric control main control MCU 2 triggers a high-level signal to wake up the power brick; the sleep process method is consistent and will not be repeated. In addition, the bottom layer software of the electric control main control MCU 2 continuously monitors the NM message of the whole vehicle. When receiving the network management message starting with 4, the "power wake-up" I / O interface of the electric control main control MCU 2 triggers a high-level signal to wake up the power brick. On the other hand, when the whole vehicle needs to enter sleep, the MCU application layer software determines whether the application message of the power brick and the electric control main control MCU 2 has been sent. When the sleep condition is met, the application message and the network management message are stopped, so that the electric control main control MCU 2 and the power brick enter sleep.

[0063] In an optional embodiment, the electronic lock state management subunit is used to obtain the current state of the electronic lock after obtaining the locking instruction sent by the underlying software, and determine the current state of the electronic lock; when the current state of the electronic lock is an unlocked state, generate an electronic lock closing instruction, and send the electronic lock closing instruction to the underlying software so that the underlying software closes the electronic lock; and / or, the electronic lock state management subunit is used to obtain the current state of the electronic lock after obtaining the unlocking instruction sent by the underlying software, and determine the current state of the electronic lock; when the current state of the electronic lock is a locked state, generate an electronic lock opening instruction, and send the electronic lock opening instruction to the underlying software so that the underlying software opens the electronic lock.

[0064] That is to say, Figure 1 and Figure 2 As shown, the electronic lock management function of the low-voltage power management unit 14 includes: after AC charging is successfully established, the MCU bottom layer receives the locking instruction issued by the vehicle controller 6 through the first communication interface (9), and transmits the instruction to the MCU application layer software through the "communication interface", and the MCU application layer software determines the electronic lock state transmitted by the MCU bottom layer software. When the electronic lock is in the unlocked state, the electronic lock locking enable is transmitted to the MCU bottom layer software through the "electronic lock enable interface", and finally the "electronic lock drive" I / O interface of the electronic control main control MCU 2 triggers a high-level signal to close the electronic lock; the electronic lock unlocking process method is the same and will not be repeated.

[0065] In an optional embodiment, the over-temperature protection subunit is used to obtain the actual temperature of the charging port, determine whether the actual temperature of the charging port reaches a preset over-temperature protection threshold, and when the actual temperature of the power terminal of the charging port reaches the over-temperature protection threshold, generate a power limiting factor and send the power limiting factor to the underlying software, so that the underlying software sends the power limiting factor to the power brick.

[0066] That is to say, Figure 1 and Figure 2 As shown, the over-temperature protection function of the low-voltage power management unit 14 includes: during the AC charging process, the MCU bottom layer continuously monitors the temperature of the charging port power terminal, and transmits the sampled AD value to the electronic control main control MCU 2 application layer through the "charging port power terminal temperature interface", and converts and determines the temperature of the charging port power terminal through the MCU application layer software. When the preset over-temperature protection threshold is reached, the power limit factor of the power brick is transmitted to the DCDC_DSP through the second communication interface (8), and the DCDC_DSP transmits the power limit factor to the PFC module 10 and the DAB module 11 through the SPI serial port communication, thereby limiting the charging output power and reducing the actual current carrying capacity of the charging port, thereby achieving the effect of reducing the power terminal temperature.

[0067] In an optional embodiment, the S2 switch status management subunit is specifically used to: when there is no fault in the power brick, obtain the CP information and / or KL15 information sent by the underlying software, and determine whether the charging conditions are met according to the CP information and / or KL15 information; when the charging conditions are met and it receives a charging enable signal, control the S2 switch to close.

[0068] Specifically, after the electronic control main MCU 2 and the DCDC_DSP of the power brick are initialized, the state machine management unit 15 uses the MCU application layer software to obtain the current state of the power brick sent by the underlying software, and determine whether the power brick is faulty according to the current state of the power brick. When the power brick is not faulty, it enters the standby mode; obtains the CP status information sent by the underlying software, determines the state of the CP according to the CP status information to obtain a determination result, and sends the determination result to the underlying software, so that the underlying software sends the determination result to the vehicle controller 6, and further enables the vehicle controller 6 to determine whether the charging conditions are met; after the charging is established, it is determined that the power brick enters the working mode.

[0069] For example, Figure 1 and Figure 2As shown, the state machine management function of the MCU application layer software includes: after the electronic control main control MCU2 and the power brick DCDC_DSP are initialized, the electronic control main control MCU 2 bottom-level software communicates with the DCDC_DSP of the power brick through the CAN communication interface and the second communication interface. The DCDC_DSP of the power brick will report the current state of the power brick through the second communication interface. The MCU bottom-level software reports the current state of the power brick through the "communication interface". The MCU application layer software determines the state of the power brick and enters the standby mode under the condition that there is no fault in the power brick. At the same time, the MCU underlying software will continue to monitor the CP voltage, CP duty cycle and CP frequency of the AC charging socket, and pass the sampled CP status information to the MCU application layer software through the "CP voltage interface", "CP duty cycle interface" and "CP frequency interface" respectively. The MCU application layer determines the status of the CP, and passes the CP status determination result and duty cycle information to the MCU underlying software through the "communication interface", and reports the determination result to the vehicle controller 6 through the CAN communication interface. When the charging conditions are met, the vehicle controller 6 sends a charging enable to the electronic control main control MCU 2 through the first communication interface. At this time, the electronic control main control MCU 2 communicates with the power brick DCDC_DSP through the second communication interface, and sends the charging requirements of the vehicle. After the charging is established, the working status of the power brick reported by the electronic control main control MCU 2 is "working"; the control method of the discharge mode is basically the same as that of the DCDC mode, and will not be repeated.

[0070] Obviously, the above embodiment is only for the charging function. The discharge function, DCDC function and in-vehicle discharge function of the power brick can all be controlled according to the above method, and this patent will not go into details.

[0071] In an optional implementation, the application layer software further includes a fault diagnosis unit 16, which is used to perform UDS diagnosis, OBD diagnosis, fault recovery and / or software upgrade based on actual parameters of the power brick.

[0072] Specifically, the fault diagnosis unit 16 obtains the actual parameters of the power brick in the underlying software through the software interface.

[0073] Specifically, the fault diagnosis unit 16 is used to obtain the actual parameters of the power brick sent by the underlying software, determine whether the actual parameters meet the preset fault trigger conditions, and when the actual parameters meet the fault trigger conditions, generate the current fault handling measures according to the preset fault handling scheme, and send the current fault handling measures to the underlying software, so that the underlying software drives the power brick according to the current fault handling measures; and / or, to obtain the actual parameters of the power brick sent by the underlying software, determine whether the actual parameters meet the preset fault trigger conditions, and when the actual parameters meet the fault trigger conditions, generate the UDS fault code, and send the UDS fault code to the underlying software. , the UDS fault code is sent to the external network by the underlying software; and / or, it is also used to obtain the current state of the power brick when the enable signal sent by the underlying software is obtained, and when the current state of the power brick meets the preset fault recovery condition, it generates a re-work request message, and sends the re-work request message to the underlying software, so that the underlying software drives the power brick according to the enable signal; wherein the enable signal includes at least one of the following: a charging enable signal, a discharging enable signal, and a DCDC work enable signal; and / or, it is also used to download the upgrade package when the upgrade package download request sent by the underlying software is obtained, and send the downloaded upgrade package to the power brick.

[0074] The faults of power bricks are generally divided into fast protection faults and slow protection faults. Fast protection faults are determined and controlled by the power brick itself, and only the fault information needs to be reported. They are designed by the power product supplier. Slow protection faults are generally diagnostic questionnaire faults customized by the vehicle manufacturer. The MCU application layer software should be imported according to the fault category defined in the diagnostic questionnaire, combined with the fault triggering conditions and recovery mechanism.

[0075] That is to say, Figure 1 and Figure 2 As shown, the MCU application layer software also has a fault diagnosis unit 16, which specifically includes: DCDC_DSP reports the current status information of the power brick through the second communication interface, including: AC side voltage / current, HV side voltage / current, DCDC LV side voltage, current and key temperature values ​​of each module. After the electronic control main control MCU 2 application layer software receives the parameter information reported by the power brick, it performs a fault judgment. When the fault triggering condition is met, the power brick is controlled to limit power output or stop according to the fault handling plan specified in the diagnostic questionnaire, and when the gateway has a UDS fault code, the UDS diagnostic service response is reported through the first communication interface, and the current fault status of the power brick is reported at the same time.

[0076] In addition, when the electronic control main control MCU 2 receives the enable signal sent by the vehicle controller 6, including: charging enable, discharging enable and DCDC work enable, it re-sends the work request to the power brick, re-determines the current fault state, and outputs normally when the fault recovery conditions are met, and reports the "working" state; the control mechanism of the OBD diagnostic function is basically the same. On the basis of the above-mentioned fault judgment and reporting, if the motor controller serves as the main node, it is necessary to request the vehicle controller 6 to turn on the MIL light through the first communication interface 9; similarly, when the gateway has an OTA upgrade request, the electronic control main control MCU 2 should respond to the gateway's OTA upgrade request through the first communication interface 9, and pass the upgrade package downloaded from the cloud to the DCDC DSP of the power brick through the second communication interface 8, and the power brick completes the power product upgrade.

[0077] The above functions are the basic functions that the electronic control main control MCU 2 should have to realize power control. In order to realize the normal output of the power product, the DSP bottom layer of the power brick needs to have a power brick monitoring and driving unit 20, and the application layer needs to have a power brick driving and control unit 21 and a power brick communication and monitoring unit 22; in addition, the power brick also has a power device driving circuit 24 and a sensor 25. Since these functions are basically consistent with the existing solutions, only a brief description is given to facilitate the display of system functions. For example, the DSP bottom layer interface of the power brick should sample the voltage / current / temperature of PFC, the voltage / current / temperature of DAB, and the voltage / current / temperature of DCDC, and pass the sampled AD values ​​to the DSP application layer through the software interface. The DSP application layer adjusts the switching frequency and duty cycle of the power device in combination with the charging demand voltage, current and power limit factor issued by the electric control main control MCU 2, and passes them to the DSP bottom layer software through the software interface, and the DSP hard-wired interface controls the operation of the driver chip; in addition, after the DSP application layer software converts the AD value reported by the bottom layer, it reports the AC side voltage / current, HV side voltage / current, and DCDC voltage / current to the electric control main control MCU 2 through the second communication interface, and when the fast protection fault is triggered, the fault information and fault status are reported to the electric control main control MCU 2 through the second communication interface.

[0078] In a second aspect, the present invention further provides a system integrating a motor controller and a power brick, comprising a motor controller, a power brick and the electric control main MCU 2 of the first aspect.

[0079] In an optional implementation, the system integrating the motor controller and the power brick also includes a power circuit and a low-voltage control circuit. In the power circuit, the motor controller distributes power to the power brick through the internal copper busbar and reuses the filter module with the power brick; in the low-voltage control circuit, the motor controller provides the power brick with KL30 normal power, intranet communication interface and wake-up signal through the low-voltage busbar, and reuses the main control MCU 2 and the auxiliary source anti-reverse circuit with the power brick. In the field of automotive electronics, KL30 refers to normal power, that is, power that can be provided even when the vehicle is turned off.

[0080] This can achieve deep integration of the integrated motor controller and the power brick. In other words, as a "power module", the power brick omits the MCU, filter module, auxiliary source anti-reverse circuit and other structural parts, such as high-voltage plug-in, box, cover, etc., on the basis of the two-in-one assembly solution of the traditional power supply system; the sleep, wake-up and other working states of the power brick are directly controlled by the electronic control main MCU 2. During the working process, the power brick does not need to interact with the whole vehicle, but only needs to monitor its own modules, such as: PFC bus voltage / current, DAB resonant inductor / current, HV side bus capacitor voltage / current, DCDCBUCK inductor current and the temperature of each module, and communicates with the electronic control main MCU 2 through the DSP to communicate with the electronic control main MCU 2 in the intranet, respond to the output requirements of the vehicle charging voltage and current, adjust the switching frequency and duty cycle of the power device, and complete the power output; at the same time, the DSP of each module will monitor some fast protection faults, and report the fault status through the second communication interface when the fault triggering conditions are met.

[0081] In an optional embodiment, the power brick and the electronic control main MCU 2 include an intranet protocol, wherein the intranet protocol includes one or more of the following: AC side voltage and / or current of the power brick, HV side voltage and / or current, DCDC voltage and / or current signal, maximum output capacity signal of the power brick, key components of the power brick and coolant temperature signal, fault flag signal of the power brick, working status signal of the power brick, working request signal of the power brick, and power limit signal of the power brick.

[0082] Reference Figure 3 , which is a flow chart of a preferred embodiment of a platform power brick function control solution provided by the present invention; through the flow chart, the charging function of the platform power brick is further explained, and the specific process is as follows:

[0083] Step S110: define a platform-based intranet protocol; the intranet protocol must include: AC side voltage / current, HV side voltage / current, DCDC voltage / current signal, maximum output capacity signal of the power brick, key components of the power brick and coolant temperature signal, power brick fault flag signal, power brick working status signal, power brick working request signal, power brick power limit signal, etc. Other software versions, CRC checksum information, etc. are not described in this function;

[0084] Step S111: import the intranet protocol, extranet protocol and power application layer functions into the electronic control main MCU 2; the power application layer functions should include KL15 / CP hard line voltage determination, charging port over-temperature protection, S2 switch enable control, electronic lock drive, state machine management, and power brick fault diagnosis functions;

[0085] Step S112: importing the intranet protocol into the power brick DSP;

[0086] Step S113: the electronic control main control MCU 2 identifies the CP signal of the charging pile, controls the wake-up and reports the CP status; wherein the electronic control main control MCU 2 continuously samples and determines the CP voltage, CP duty cycle, and CP frequency, and when the CP wake-up condition is met, the wake-up enable is passed to the MCU underlying software through the "power wake-up interface", and finally the "power wake-up" I / O interface of the electronic control main control MCU 2 triggers a high-level signal to wake up the power brick, and at the same time, sends a network management message through the communication interface to wake up the vehicle controller 6, and after a certain period of time, continuously reports the CP status information;

[0087] Step S114: the electronic control main control MCU 2 transmits the charging demand of the whole vehicle to the power brick DSP through the intranet protocol; after the electronic control main control MCU 2 wakes up the whole vehicle controller 6, when the charging pile and the whole vehicle meet the charging conditions, it transmits the charging request issued by the whole vehicle to the power brick DSP through the intranet protocol;

[0088] Step S115: the power brick DSP samples the voltage / current of each power module, and adjusts the output in combination with the charging demand of the whole vehicle; the power bricks PFC_DSP, DAB_DSP, and DCDC_DSP sample the voltage / current information of the PFC module 10, the DAB module 11, and the DCDC module 12, and the DCDC DSP obtains the charging demand of the whole vehicle through the intranet protocol, and transmits it to the PFC DSP and the DAB DSP through the SPI serial port communication, and adjusts the duty cycle and frequency of the power device in combination with the sampled module information to complete the power output;

[0089] Step S116: During the operation of the power brick DSP, the power brick operation information and operation status are continuously reported to the electronic control main control MCU 2;

[0090] Step S117: the electronic control main control MCU 2 reports the working information and working capacity of the power brick to the vehicle controller 6 through the external network protocol, and outputs continuously;

[0091] It is worth noting that the platform-based intranet protocol defined in step S110 can be applied to products of different power supply manufacturers. In the invention content of this application, the power brick only exists as a "power module" in the system of integrated motor controller and power brick. The differentiated application requirements of the vehicle manufacturer for power products are integrated in the application layer of the electronic control main MCU 2. When the functional requirements of the vehicle manufacturer change, only the application layer software of the electronic control main MCU 2 needs to be changed, and there is no impact on the voltage / current / temperature sampling and information and status reporting of each module of the power brick. With this design, a set of electronic control main MCU 2 application layer software can be used to be compatible with power solutions of different manufacturers.

[0092] This embodiment defines a set of intranet protocols suitable for vehicle function control, imports and changes the differentiated application requirements of the OEM in the application layer software of the electronic control main control MCU 2, and transmits it to the power brick through the second communication interface to adapt the intranet communication protocol. The power product supplier only needs to develop the DSP software adaptability according to the intranet communication protocol. In this way, a set of electronic control main control MCU 2 application layer software can be used to be compatible with the solutions of different power brick manufacturers without affecting the power brick power layer software development. In other words, this embodiment implements the function of the electronic control main control MCU 2 application layer software to adapt to the products of different power manufacturers by formulating a set of platform-based intranet protocols, which greatly improves the control reliability of the power product and the compatibility of the power product suppliers, thereby achieving the design requirements of cost reduction and efficiency improvement of the vehicle manufacturer and cost reduction of multiple bidding parties.

[0093] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. An electronic control main control MCU, characterized in that: include: The motor control part is used to control the motor; The power brick control part is used to control the working mode and / or power of the power brick.

2. The electronic control main control MCU according to claim 1, characterized in that: Also includes: A first I / 0 interface is connected to the charging pile, and the electronic control main control MCU obtains the CP information of the charging pile and / or the temperature of the charging port through the first I / 0 interface; The second I / 0 interface is connected to the whole vehicle, and the electronic control main control MCU obtains the KL15 information of the whole vehicle through the second I / 0 interface; A first communication interface is connected to a vehicle controller, and the electronic control main control MCU communicates with the vehicle controller through the first communication interface; The second communication interface is connected to the power brick, and the electronic control main control MCU communicates with the power brick through the second communication interface.

3. The electronic control main control MCU according to claim 1, characterized in that: Also includes: The third I / O interface is connected to the electronic lock. The electronic control main control MCU obtains the state of the electronic lock through the third I / O interface and drives the electronic lock to perform state conversion.

4. The electronic control main control MCU according to claim 2, characterized in that: The power brick control part includes bottom layer software and application layer software; The bottom layer software is used to obtain the CP information, the KL15 information and / or the temperature of the charging port, and send them to the application layer software; Receive control instructions and / or communication signals sent by the application layer software, and control the power brick according to the control instructions and / or communicate with the vehicle controller according to the communication signals; The application layer software is used to obtain the CP information, the KL15 information and / or the temperature of the charging port sent by the underlying software, generate control instructions and / or communication signals based on the CP information, the KL15 information and / or the temperature of the charging port, and send the control instructions and / or communication signals to the underlying software.

5. The electronic control main control MCU according to claim 4, characterized in that: The application layer software includes a low voltage power management unit and a state machine management unit; The low voltage power management unit is used to manage the state of the power brick, the state of the electronic lock, the temperature of the charging port and / or the S2 switch state based on the acquired CP information, the KL15 information and / or the temperature of the charging port; The state machine management unit is used to control the power brick to enter the working mode corresponding to the working mode signal according to the state of the power brick in the low-voltage power management unit, the state of the electronic lock and the state of the S2 switch after the power brick enters the standby mode, when receiving the working mode signal sent by the whole vehicle.

6. The electronic control main control MCU according to claim 4, characterized in that: The application layer software also includes a fault diagnosis unit; The fault diagnosis unit is used to perform UDS diagnosis, OBD diagnosis, fault recovery and / or software upgrade based on the actual parameters obtained.

7. The electronic control main control MCU according to claim 5, characterized in that: The low voltage power management unit includes a sleep and wake-up subunit; The sleep-wake-up subunit is used to obtain the CP information and / or the KL15 information sent by the underlying software, determine whether the first wake-up condition of the power brick is met according to the CP information and / or the KL15 information, and when the first wake-up condition is met, generate a first wake-up enable signal, and pass the first wake-up enable signal to the underlying software, so that the underlying software wakes up the power brick; obtain the CP information and / or the KL15 information sent by the underlying software, determine whether the first sleep condition of the power brick is met according to the CP information and / or the KL15 information, and when the first sleep condition is met, generate a first sleep enable signal, and pass the first sleep enable signal to the underlying software, so that the underlying software controls the power brick to enter a sleep state; And / or, the sleep-wake-up subunit is used to obtain a network management message, determine whether a second wake-up condition of the power brick is met according to the network management message, and when the second wake-up condition is met, generate a second wake-up enable signal, and transmit the second wake-up enable signal to the underlying software, so that the underlying software wakes up the power brick; Acquire the network management message, determine whether the second sleep condition of the power brick is met according to the network management message, generate a second sleep enable signal when the second sleep condition is met, and transmit the second sleep enable signal to the underlying software, so that the underlying software controls the power brick to enter a sleep state; And / or, the sleep-wake-up subunit is used to determine whether the application messages of the power brick and the electronic control main MCU have been sent when the entire vehicle needs to sleep, and when the third sleep condition is met, stop sending the application messages and the network management messages, so that the electronic control main MCU and the power brick enter a sleep state.

8. The electronic control main control MCU according to claim 5, characterized in that: The low voltage power management unit includes an electronic lock state management subunit; The electronic lock state management subunit is used to obtain the current state of the electronic lock after obtaining the locking instruction sent by the underlying software, and to determine the current state of the electronic lock. When the current state of the electronic lock is an unlocked state, an electronic lock closing instruction is generated, and the electronic lock closing instruction is sent to the underlying software so that the underlying software closes the electronic lock; And / or, the electronic lock status management subunit is used to obtain the current status of the electronic lock after obtaining the unlocking instruction sent by the underlying software, and determine the current status of the electronic lock. When the current status of the electronic lock is a locked state, an electronic lock opening instruction is generated, and the electronic lock opening instruction is sent to the underlying software so that the underlying software opens the electronic lock.

9. The electronic control main control MCU according to claim 5, characterized in that: The low voltage power management unit includes an over-temperature protection subunit; The over-temperature protection subunit is used to obtain the actual temperature of the charging port, determine whether the actual temperature of the charging port reaches a preset over-temperature protection threshold, and when the actual temperature of the power terminal of the charging port reaches the over-temperature protection threshold, generate a power limiting factor, and send the power limiting factor to the underlying software, so that the underlying software sends the power limiting factor to the power brick; And / or, the low voltage power management unit includes an S2 switch state management subunit; The S2 switch status management subunit is used to obtain the CP information and / or the KL15 information sent by the underlying software when there is no fault in the power brick, and determine whether the charging condition is met according to the CP information and / or the KL15 information; when the charging condition is met and a charging enable signal is received, control the S2 switch to close.

10. The electronic control main control MCU according to claim 6, characterized in that: The fault diagnosis unit is used to obtain the actual parameters of the power brick sent by the underlying software, determine whether the actual parameters reach the preset fault triggering conditions, and when the actual parameters reach the fault triggering conditions, generate a current fault handling measure according to a preset fault handling scheme, and send the current fault handling measure to the underlying software, so that the underlying software drives the power brick according to the current fault handling measure; And / or, used to obtain the actual parameters of the power brick sent by the underlying software, determine whether the actual parameters reach the preset fault trigger conditions, generate a UDS fault code when the actual parameters reach the fault trigger conditions, and send the UDS fault code to the underlying software, so that the underlying software sends the UDS fault code to the external network; And / or, it is also used to obtain the current state of the power brick when the enable signal sent by the underlying software is obtained, and when the current state of the power brick meets the preset fault recovery condition, generate a re-work request message, and send the re-work request message to the underlying software, so that the underlying software drives the power brick according to the enable signal; wherein the enable signal includes at least one of the following: a charging enable signal, a discharging enable signal, and a DCDC work enable signal; And / or, it is also used to download the upgrade package when obtaining the upgrade package download request sent by the underlying software, and send the downloaded upgrade package to the power brick.

11. A system integrating a motor controller and a power brick, characterized in that: include: Motor controller; Power brick; The electronic control main control MCU as claimed in any one of claims 1 to 10.

12. The system of integrated motor controller and power brick according to claim 11, characterized in that: The power brick and the electronic control main MCU include an intranet protocol, wherein the intranet protocol includes one or more of the following: the AC side voltage and / or current of the power brick, the HV side voltage and / or current, the DCDC voltage and / or current signal, the maximum output capacity signal of the power brick, the key components of the power brick and the coolant temperature signal, the fault flag signal of the power brick, the working status signal of the power brick, the working request signal of the power brick, and the power limit signal of the power brick.

13. The system of integrated motor controller and power brick according to claim 11, characterized in that It also includes power circuit and low voltage control circuit: In the power circuit, the motor controller distributes power to the power brick through an internal copper bus and reuses a filter module with the power brick; In the low-voltage control loop, the motor controller provides the power brick with KL30 normal power, intranet communication interface and wake-up signal through a low-voltage cable, and multiplexes the electric control main MCU and auxiliary source anti-reverse circuit with the power brick.