Power-on timing control method, device and vehicle based on multi-core heterogeneous system
By using power management chips to optimize the power-on sequence in multi-core heterogeneous systems, the problem of long system power-on and power-off times is solved, and the startup efficiency and user experience of the autonomous driving domain controller are improved.
Patent Information
- Application Number
- CN202411034843.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-31
AI Technical Summary
The complexity of multi-core heterogeneous system architecture results in long system power-on and power-off times, affecting the startup time requirements of application functions and user experience.
The power management chip controls the power-on and initialization of multiple SOCs and MCUs respectively to ensure that when the preset power-on conditions are met, the power-on sequence is optimized and the system's power-on and power-off time is saved.
It effectively reduces the power on and off time of multi-core heterogeneous systems, improves the startup efficiency of application functions, and improves user experience.
Smart Images

Figure CN118584873B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle technology, and in particular to a power-on timing control method, device and vehicle based on a multi-core heterogeneous system. Background Art
[0002] With the rapid development of advanced autonomous driving, the standards for autonomous driving computing power required by vehicles are getting higher and higher. By building an autonomous driving domain controller with multi-core heterogeneous chips, we can develop a system that can solve the current needs for perception, decision-making and planning computing power, as well as functional safety backup needs. Therefore, it is necessary to improve the power-on and power-off control technology of large computing power platforms.
[0003] However, due to the complexity of the multi-core heterogeneous system architecture, the system power-on and power-off time will be too long, which in turn affects the startup time requirements of the upper-level application functions and the user experience, which urgently needs to be solved. Summary of the invention
[0004] The present invention provides a power-on timing control method, device and vehicle based on a multi-core heterogeneous system to solve the problem that the system power-on and power-off time is too long due to the complexity of the multi-core heterogeneous system architecture, which in turn affects the startup time requirements of application functions and reduces user experience.
[0005] The first aspect of the present invention provides a power-on timing control method based on a multi-core heterogeneous system, wherein the multi-core heterogeneous system is applied to a domain controller, and the multi-core heterogeneous system includes multiple SOCs (System on Chip) and multiple MCUs (Micro Controller Units), wherein the method mainly includes the following steps:
[0006] Determining whether the multi-core heterogeneous system meets a preset power-on condition;
[0007] If the multi-core heterogeneous system meets the preset power-on condition, the first power management chip is enabled to control the corresponding first MCU and first SOC to power on, and at the same time, the second power management chip is enabled to control the corresponding second MCU and second SOC to power on;
[0008] After the first MCU, the first SOC, the second MCU and the second SOC are powered on, the first MCU, the first SOC, the second MCU and the second SOC are initialized respectively, and the third SOC is controlled to be powered on based on the initialized first MCU, and after the third SOC is initialized, the corresponding camera components are powered based on the initialized first SOC, the initialized second SOC and the initialized third SOC.
[0009] According to an embodiment of the present invention, the determining whether the multi-core heterogeneous system meets a preset power-on condition includes:
[0010] Determine whether the current vehicle is in a normal power state;
[0011] If the current vehicle is in the normal power state, determining whether the current vehicle meets the domain controller power-on condition or whether the current vehicle meets the network management wake-up condition;
[0012] If the current vehicle meets the domain controller power-on condition or the current vehicle meets the network management wake-up condition, it is determined that the multi-core heterogeneous system meets the preset power-on condition.
[0013] According to an embodiment of the present invention, the determining whether the current vehicle meets the power-on condition of the domain controller or whether the current vehicle meets the wake-up condition of the network management includes:
[0014] Determining whether the switch power supply of the current vehicle is in the ON mode;
[0015] If the switch power of the current vehicle is in the ON mode, it is determined that the current vehicle meets the power-on condition of the domain controller. Otherwise, it is determined whether the current vehicle meets the wake-up condition of the network management, and when the current vehicle meets the wake-up condition of the network management, the multi-core heterogeneous system is powered on.
[0016] According to an embodiment of the present invention, the determining whether the current vehicle meets the wake-up condition of the network management includes:
[0017] Determining whether the current vehicle has received a preset network wake-up request signal;
[0018] If the preset network wake-up request signal is received, it is determined that the current vehicle meets the wake-up condition of the network management.
[0019] According to an embodiment of the present invention, after the corresponding camera components are powered based on the initialized first SOC, the initialized second SOC, and the initialized third SOC, the method further includes:
[0020] The camera assembly corresponding to the initialized first SOC, the camera assembly corresponding to the initialized second SOC, and the camera assembly corresponding to the initialized third SOC are initialized respectively.
[0021] According to the power-on timing control method based on a multi-core heterogeneous system according to an embodiment of the present invention, when the multi-core heterogeneous system meets the preset power-on conditions, the first power management chip is enabled to control the corresponding first MCU and first SOC to power on, and the second power management chip is enabled to control the corresponding second MCU and second SOC to power on; after the first MCU, the first SOC, the second MCU and the second SOC are powered on, they are initialized respectively, and the third SOC is controlled to power on based on the initialized first MCU, and after the third SOC is initialized, the corresponding camera components are powered on based on the initialized first SOC, the second SOC and the third SOC. Thus, the problem of the system powering on and off being too long due to the complexity of the multi-core heterogeneous system architecture, which in turn affects the startup time requirements of the application function and reduces the user experience, is solved, and the corresponding SOC and MCU are powered on respectively by the power management chip, thereby ensuring the maximum power-on efficiency and saving the system power-on and power-off time.
[0022] A second aspect of the present invention provides a power-on timing control device based on a multi-core heterogeneous system, wherein the multi-core heterogeneous system is applied to a domain controller, and the multi-core heterogeneous system includes multiple SOCs and multiple MCUs, including:
[0023] A judgment module, used to judge whether the multi-core heterogeneous system meets the preset power-on condition;
[0024] An enabling module, used for enabling the first power management chip to control the corresponding first MCU and first SOC to power on if the multi-core heterogeneous system meets the preset power-on condition, and at the same time, enabling the second power management chip to control the corresponding second MCU and second SOC to power on;
[0025] A control module is used to initialize the first MCU, the first SOC, the second MCU and the second SOC respectively after the first MCU, the first SOC, the second MCU and the second SOC are powered on, and control the third SOC to power on based on the initialized first MCU; after the third SOC is initialized, power the corresponding camera components based on the initialized first SOC, the initialized second SOC and the initialized third SOC.
[0026] According to one embodiment of the present invention, the judgment module includes:
[0027] A first judging unit, used to judge whether the current vehicle is in a normal power state;
[0028] A second judgment unit is used to judge whether the current vehicle meets the domain controller power-on condition or whether the current vehicle meets the network management wake-up condition if the current vehicle is in the normal power state;
[0029] A determination unit is used to determine whether the multi-core heterogeneous system meets the preset power-on condition if the current vehicle meets the domain controller power-on condition or the current vehicle meets the network management wake-up condition.
[0030] According to an embodiment of the present invention, the second determination unit includes:
[0031] A first judging subunit, used to judge whether the switch power supply of the current vehicle is in the ON mode;
[0032] The second judgment subunit is used to determine whether the current vehicle meets the power-on condition of the domain controller if the switch power of the current vehicle is in the ON mode; otherwise, determine whether the current vehicle meets the wake-up condition of the network management, and when the current vehicle meets the wake-up condition of the network management, power on the multi-core heterogeneous system.
[0033] According to an embodiment of the present invention, the second judgment subunit includes:
[0034] A first judgment sub-component is used to judge whether the current vehicle has received a preset network wake-up request signal;
[0035] The determination subcomponent is used to determine whether the current vehicle meets the wake-up condition of the network management if the preset network wake-up request signal is received.
[0036] According to one embodiment of the present invention, after the corresponding camera components are powered based on the initialized first SOC, the initialized second SOC, and the initialized third SOC, the control module further includes:
[0037] The initialization module is used to respectively initialize the camera component corresponding to the initialized first SOC, the initialized second SOC camera component and the initialized third SOC camera component.
[0038] According to the power-on timing control device based on a multi-core heterogeneous system according to an embodiment of the present invention, when the multi-core heterogeneous system meets the preset power-on conditions, the first power management chip is enabled to control the corresponding first MCU and first SOC to power on, and the second power management chip is enabled to control the corresponding second MCU and second SOC to power on; after the first MCU, the first SOC, the second MCU and the second SOC are powered on, they are initialized respectively, and the third SOC is controlled to power on based on the initialized first MCU, and after the third SOC is initialized, the corresponding camera components are powered on based on the initialized first SOC, the second SOC and the third SOC. Thus, the problem of the system powering on and off being too long due to the complexity of the multi-core heterogeneous system architecture, which in turn affects the startup time requirements of the application function and reduces the user experience, is solved, and the corresponding SOC and MCU are powered on respectively by the power management chip, thereby ensuring the maximum power-on efficiency and saving the system power-on and power-off time.
[0039] A third aspect of the present invention provides a vehicle, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the power-on timing control method based on a multi-core heterogeneous system as described in the above embodiment.
[0040] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the power-on timing control method based on a multi-core heterogeneous system as described in the above embodiment.
[0041] A fifth aspect of the present invention provides a computer program product, including a computer program, which is executed to implement the power-on timing control method based on a multi-core heterogeneous system described in the above embodiment.
[0042] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0044] Figure 1 A schematic diagram of a multi-core heterogeneous chip architecture according to an embodiment of the present invention;
[0045] Figure 2 A block diagram of a multi-core heterogeneous system architecture according to an embodiment of the present invention;
[0046] Figure 3A flowchart of a power-on timing control method based on a multi-core heterogeneous system provided according to an embodiment of the present invention;
[0047] Figure 4 A schematic diagram of powering on a multi-core heterogeneous system based on KL15 conditions according to an embodiment of the present invention;
[0048] Figure 5 A schematic diagram of powering on a multi-core heterogeneous system based on a network management wake-up condition according to an embodiment of the present invention;
[0049] Figure 6 A system power-on timing diagram according to an embodiment of the present invention;
[0050] Figure 7 is a block diagram of an exemplary device for controlling a power-on timing sequence based on a multi-core heterogeneous system according to an embodiment of the present invention;
[0051] Figure 8 Schematic diagram of the structure of a vehicle according to an embodiment of the present invention.
[0052] 20-power-on timing control device based on multi-core heterogeneous system; 100-judgment module; 200-enabling module; 300-control module; 801-memory; 802-processor; 803-communication interface. DETAILED DESCRIPTION
[0053] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0054] The following describes the power-on timing control method, device, vehicle and storage medium based on a multi-core heterogeneous system according to an embodiment of the present invention with reference to the accompanying drawings. In view of the problem mentioned in the above background technology that the system power-on and power-off time is too long due to the complexity of the multi-core heterogeneous system architecture, thereby affecting the startup time requirements of the application function and reducing the user experience, the present invention provides a power-on timing control method based on a multi-core heterogeneous system. In the method, when the multi-core heterogeneous system meets the preset power-on conditions, the first power management chip is enabled to control the corresponding first MCU and the first SOC to power on, and the second power management chip is enabled to control the corresponding second MCU and the second SOC to power on; after the first MCU, the first SOC, the second MCU and the second SOC are powered on, they are initialized respectively, and the third SOC is controlled to power on based on the initialized first MCU. After the third SOC is initialized, the corresponding camera components are powered on based on the initialized first SOC, the second SOC and the third SOC. This solves the problem of long system power-on and power-off times caused by the complexity of the multi-core heterogeneous system architecture, which in turn affects the startup time requirements of application functions and reduces user experience. The power management chip is used to power on the corresponding SOC and MCU separately, thereby ensuring maximum power-on efficiency and saving system power-on and power-off time.
[0055] Specifically, before introducing the embodiments of the present invention, we first introduce the multi-core heterogeneous system. The multi-core heterogeneous system refers to a system that integrates multiple processor cores with different functions and different performances. These cores may include general-purpose processors, dedicated accelerators, graphics processors, etc. The multi-core heterogeneous system can process different types of tasks at the same time through the above processors, thereby improving the overall performance of the multi-core heterogeneous system. In practical applications, multi-core heterogeneous systems are widely used in domain controllers for autonomous driving. The domain controller is the core component of the autonomous driving system, responsible for receiving sensor data, running autonomous driving algorithms and outputting control instructions. At the same time, it can provide powerful computing power and flexible application support for the multi-core heterogeneous system to ensure the safety and reliability of end-to-end autonomous driving technology.
[0056] Furthermore, if Figure 1 and Figure 2As shown, the multi-core heterogeneous system of the present invention is composed of multiple SOCs (such as SOC-1, SOC-2 and SOC-3) and multiple MCUs (such as MCU-1 and MCU-2), wherein SOC-1, SOC-2 and MCU-1 form a corresponding driving group, and SOC-1 and SOC-2 are respectively connected to corresponding camera components (such as front-view camera, surround-view camera, side-view camera, rear-view camera, etc.), SOC-3 and MCU-2 form a corresponding parking group, and SOC-3 is connected to corresponding camera components (such as front-view camera, surround-view camera, side-view camera, rear-view camera, etc.). Therefore, the design of multiple SOCs and multiple MCUs can meet the safety requirements of the autonomous driving function and save the power-on time based on the multi-core heterogeneous system.
[0057] It should be noted that, when designing the separate control of power supply groups, the embodiments of the present invention are not limited to being divided into driving groups or parking groups, and can be grouped accordingly according to the design architecture of the multi-core heterogeneous system, and the power-on control design principles are the same. The embodiments of the present invention take the SOC of the driving group as an example. During the design process, if the parking group or other power supply groups have other SOC power-on problems such as residual pressure suppression mentioned in the present invention, the method proposed in the present invention can be applied, which will be explained in detail by specific embodiments below.
[0058] Specifically, Figure 3 A flowchart of a power-on sequence control method based on a multi-core heterogeneous system provided by an embodiment of the present invention.
[0059] like Figure 3 As shown, the power-on timing control method based on a multi-core heterogeneous system, the multi-core heterogeneous system is applied to a domain controller, the multi-core heterogeneous system includes multiple SOCs and multiple MCUs, wherein the method mainly includes the following steps:
[0060] In step S301, it is determined whether the multi-core heterogeneous system meets a preset power-on condition.
[0061] According to one embodiment of the present invention, determining whether a multi-core heterogeneous system meets preset power-on conditions includes: determining whether a current vehicle is in a normal power state; if the current vehicle is in a normal power state, determining whether the current vehicle meets a domain controller power-on condition or whether the current vehicle meets a network management wake-up condition; if the current vehicle meets the domain controller power-on condition or the current vehicle meets the network management wake-up condition, determining that the multi-core heterogeneous system meets the preset power-on condition.
[0062] According to one embodiment of the present invention, determining whether the current vehicle meets the power-on condition of the domain controller or whether the current vehicle meets the wake-up condition of the network management includes: determining whether the switch power supply of the current vehicle is in the ON mode; if the switch power supply of the current vehicle is in the ON mode, determining that the current vehicle meets the power-on condition of the domain controller, otherwise, determining whether the current vehicle meets the wake-up condition of the network management, and when the current vehicle meets the wake-up condition of the network management, powering on the multi-core heterogeneous system.
[0063] Among them, the preset power-on condition can be set by technical personnel in this field according to actual power-on requirements, and is not specifically limited here.
[0064] Specifically, in order to save the power-on time of a multi-core heterogeneous system, provide the domain controller with powerful computing power and flexible application support, and ensure the safety and reliability of end-to-end autonomous driving technology, the embodiment of the present invention is based on multiple SOCs and multiple MCUs integrated in a multi-core heterogeneous system, and supplies power to the multiple SOCs and multiple MCUs through a power management chip PMIC (Power Management Integrated Circuits) to realize the power-on process of multiple SOCs and multiple MCUs, thereby ensuring maximum control of power-on efficiency.
[0065] Specifically, the embodiment of the present invention first needs to determine the preset power-on conditions of the multi-core heterogeneous system, such as Figure 4 and Figure 5 As shown, the preset power-on conditions of the embodiment of the present invention may mainly include two situations. For example, first, when the current vehicle is in a normal power state and the switch power supply of the current vehicle is in the ON mode, it can be determined that the current vehicle meets the power-on conditions of the domain controller; second, when the current vehicle is in a normal power state and the switch power supply of the current vehicle is not in the ON mode, that is, in the OFF mode, the current vehicle meets the wake-up conditions of the network management.
[0066] It should be noted that the present invention only needs to meet one of the two real-time power-on conditions. That is to say, when any one of the above two power-on conditions is met, the domain controller meets the preset power-on condition, that is, the multi-core heterogeneous system meets the preset power-on condition.
[0067] For example, the current vehicle is in a normal power state, such as KL30, and the switch power supply KL15 is in the ON mode from 0 to 1. At this time, the multi-core heterogeneous system meets the preset power-on conditions; secondly, if Figure 5 As shown, the current vehicle is in a normal power state, such as KL30, and the switch power supply KL15 is in OFF mode, and the current vehicle meets the wake-up conditions of the network management, then it is determined that the multi-core heterogeneous system meets the preset power-on conditions.
[0068] According to one embodiment of the present invention, determining whether the current vehicle meets the wake-up conditions of network management includes: determining whether the current vehicle receives a preset network wake-up request signal; if the preset network wake-up request signal is received, determining that the current vehicle meets the wake-up conditions of network management.
[0069] The preset network wake-up request signal may be set by those skilled in the art according to actual power-on requirements and is not specifically limited here.
[0070] Specifically, in an embodiment of the present invention, if the current vehicle receives a preset network wake-up request signal (for example, a CAN (Controller Area Network) network), it is determined that the current vehicle meets the network management wake-up conditions, wherein the network wake-up request signal of the embodiment of the present invention may include a network management message signal or a specific diagnostic message signal, and other nodes trigger the wake-up of the network node through the CAN network signal, thereby enabling the current vehicle to achieve network management wake-up.
[0071] In step S302, if the multi-core heterogeneous system meets the preset power-on condition, the first power management chip is enabled to control the corresponding first MCU and first SOC to power on, and at the same time, the second power management chip is enabled to control the corresponding second MCU and second SOC to power on.
[0072] Specifically, Figure 4 and Figure 5As shown, in an embodiment of the present invention, the multi-core heterogeneous system is powered on by a power management chip. To ensure that the multi-core heterogeneous system is powered on with maximum efficiency, the power management chip in the embodiment of the present invention can be divided into a first power management chip (PMIC_1) and a second power management chip (PMIC_2). The two power management chips respectively supply power to the corresponding SOC and MCU, so that the corresponding SOC and MCU complete the power-on action. At the same time, considering that in the actual autonomous driving development process, according to the connection status of the heterogeneous topology chips, the selected SOC-1 and SOC-2 are mostly connected by SPI (Serial Peripheral Interface, serial peripheral interface) or PCIE (peripheral component interconnect express, high-speed serial computer expansion bus standard) or GPIO (General Purpose Input Output, general input / output port) or RGMI (Reduced Gigabit Media Independent Interface, Gigabit Media Independent Interface) pins are connected, and when the multi-core heterogeneous system meets the preset power-on condition, the first power management chip is controlled to power the corresponding first MCU (MCU-1) and the first SOC (SOC-2), and at the same time, the second power management chip is controlled to power the corresponding second MCU (MCU-2) and the second SOC (SOC-3), thereby completing the power-on action of the first MCU (MCU-1), the first SOC (SOC-2), the second MCU (MCU-2) and the second SOC (SOC-3), that is, the first power management chip is enabled to control the corresponding first MCU (MCU-1) and the first SOC (SOC-2) to power on, and at the same time, the second power management chip is enabled to control the corresponding second MCU (MCU-2) and the second SOC (SOC-3) to power on.
[0073] Specifically, if Figure 4 As shown, if the multi-core heterogeneous system of the embodiment of the present invention is in the KL30 state, and the switch power supply KL15 is in the ON mode from 0 (low level) to 1 (high level), the multi-core heterogeneous system meets the preset power-on condition. At this time, after the first power management chip PMIC_1 and the second power management chip PMIC_2 work stably, they output a stable voltage, thereby enabling the first power management chip PMIC_1 to control the corresponding first MCU (MCU-1) and the first SOC (SOC-2) to power on, and at the same time, enabling the second power management chip PMIC_2 to control the corresponding second MCU (MCU-2) and the second SOC (SOC-3) to power on; similarly, Figure 5As shown, if the multi-core heterogeneous system of an embodiment of the present invention is in the KL30 state, and the switching power supply KL15 is in the OFF mode, and the CAN network management wake-up condition is met, the multi-core heterogeneous system meets the preset power-on condition. At this time, the first power management chip PMIC_1 and the second power management chip PMIC_2 are enabled to power on the corresponding SOC and MCU respectively through the above-mentioned power-on method, wherein the SOC and MCU corresponding to the first power management chip PMIC_1 and the second power management chip PMIC_2 are consistent, and are not described in detail here.
[0074] In step S303, after the first MCU, the first SOC, the second MCU and the second SOC are powered on, the first MCU, the first SOC, the second MCU and the second SOC are initialized respectively, and the third SOC is controlled to be powered on based on the initialized first MCU, and after the third SOC is initialized, the corresponding camera components are powered based on the initialized first SOC, the initialized second SOC and the initialized third SOC.
[0075] According to one embodiment of the present invention, after the corresponding camera components are powered based on the initialized first SOC, the initialized second SOC and the initialized third SOC respectively, it also includes: initializing the camera component corresponding to the initialized first SOC, the initialized second SOC camera component and the initialized third SOC corresponding to the camera component respectively.
[0076] Specifically, in the embodiment of the present invention, after the first power management chip PMIC_1 controls the corresponding first MCU (MCU-1) and the first SOC (SOC-2) to be powered on, and at the same time, the second power management chip PMIC_2 controls the corresponding second MCU (MCU-2) and the second SOC (SOC-3) to be powered on, it can be known that the first MCU (MCU-1), the first SOC (SOC-2), the second MCU (MCU-2) and the second SOC (SOC-3) of the embodiment of the present invention are powered on earliest, which can be expressed as T power_MCU and T power_SOC-2 / 3 At this time, the first MCU (MCU-1), the first SOC (SOC-2), the second MCU (MCU-2) and the second SOC (SOC-3) are initialized respectively, so as to supply power to the third SOC (SOC-1) according to the initialized first MCU (MCU-1), which can be expressed as T power_SOC-1, to complete the power-on action of the third SOC (SOC-1). At this time, after the third SOC (SOC-1) is powered on, a weak current will be injected into the first SOC (SOC-2) through the pin. The weak current passes through the first SOC (SOC-2) and generates residual voltage at the power output pin of its corresponding front-stage power chip. In order to solve the residual voltage problem, the first SOC (SOC-2) of the embodiment of the present invention selects a functional safety ASIL D chip to meet the functional safety requirements, so that the first SOC (SOC-2) enters an abnormal protection state due to the residual voltage at the moment of power-on, thereby avoiding outputting voltage to the first SOC (SOC-2).
[0077] Furthermore, if Figure 6 As shown, after the first MCU (MCU-1), the second MCU (MCU-2), the third SOC (SOC-1), the first SOC (SOC-2) and the second SOC (SOC-3) of the embodiment of the present invention are powered on, first, the first MCU and the second MCU will complete the initialization first, which can be expressed as T MCU If the initialization time of the third SOC (SOC-1) itself is faster than that of the first SOC (SOC-2) or the second SOC (SOC-3), the multi-core heterogeneous system will continue to initialize the third SOC (SOC-1) and complete the initialization when the output of the third SOC (SOC-1) is high. The initialization completion time point can be expressed as T SOC-1 After the third SOC (SOC-1) is initialized, the camera component corresponding to the third SOC (SOC-1) is powered by POC (Power Over Coax, coaxial cable power supply), and the camera component corresponding to the third SOC (SOC-1) is initialized. The time point of initialization completion can be expressed as T Camera(SOC-1) After the camera component corresponding to the third SOC (SOC-1) is initialized, the internal program of the third SOC (SOC-1) is started, and the camera component starts normally.
[0078] Furthermore, if the initialization time of the first SOC (SOC-2) and the second SOC (SOC-3) is the same, the SOC will be initialized immediately after the initialization of the third SOC (SOC-1) is completed. The initialization completion time can be expressed as T SOC(SOC-2 / 3) , and after the initialization of the first SOC (SOC-2) and the second SOC (SOC-3) is completed, the corresponding camera components are powered by POC respectively, and the camera components corresponding to the first SOC (SOC-2) and the second SOC (SOC-3) are initialized. The initialization completion time point can be expressed as T camera(SOC-2 / 3), and the internal programs of the first SOC (SOC-2) and the second SOC (SOC-3) are pulled up. At this time, the first MCU (MCU-1), the second MCU (MCU-2), the third SOC (SOC-1), the first SOC (SOC-2) and the second SOC (SOC-3) are all initialized, and their corresponding internal programs are pulled up, which means that the initialization of the multi-core heterogeneous system is completed, and it also marks that the power-on of the entire domain controller is completed.
[0079] In order to enable those skilled in the art to further understand the power-on timing control method based on a multi-core heterogeneous system according to an embodiment of the present invention, it is described in detail below in conjunction with specific embodiments.
[0080] like Figure 4 and Figure 5 As shown, if the multi-core heterogeneous system is in the KL30 state, and the switch power supply KL15 is in the ON mode from 0 to 1, or the multi-core heterogeneous system is in the KL30 state, and the switch power supply KL15 is in the OFF mode and meets the CAN network management wake-up condition, the multi-core heterogeneous system meets the preset power-on condition. At this time, after the first power management chip PMIC_1 and the second power management chip PMIC_2 work stably, they output a stable voltage, thereby enabling the first power management chip PMIC_1 to control the corresponding first MCU (MCU-1) and the first SOC (SOC-2) to power on, and at the same time, enabling the second power management chip PMIC_2 to control the corresponding second MCU (MCU-2) and the second SOC (SOC-3) to power on, and perform corresponding chip initialization work. After the initialization of the first MCU (MCU-1) is completed, the third SOC (SOC-1) is enabled to power on, and the corresponding initialization is performed. In the third SOC ( After the initialization of the first SOC (SOC-1) is completed, the corresponding camera component (such as a driving camera) is immediately powered by POC. At the same time, after the initialization of the camera component corresponding to the third SOC (SOC-1) is completed, the internal program of the third SOC (SOC-1) is started, and the camera component corresponding to the third SOC (SOC-1) is started normally. Similarly, after the initialization of the first SOC (SOC-2) and the second SOC (SOC-3) is completed, the corresponding camera components are powered respectively, and after the camera components corresponding to the first SOC (SOC-2) and the second SOC (SOC-3) are initialized, the internal programs of the first SOC (SOC-2) and the second SOC (SOC-3) are started, and the camera component corresponding to the first SOC (SOC-2) (such as a driving camera) is started normally, and the camera component corresponding to the second SOC (SOC-3) (such as a parking camera) is started normally, thereby completing the power-on action of the entire multi-core heterogeneous system.
[0081] It should be noted that the SOC proposed in the embodiment of the present invention is controlled after the MCU is powered on, and is not limited to one SOC. According to the requirements of a multi-core heterogeneous system, the MCU can control multiple SOCs to be powered on at the same time, which is not specifically limited here.
[0082] Therefore, through the power supply process of the multi-core heterogeneous system mentioned above, it is ensured that during the startup of the multi-core heterogeneous system, each chip can be powered on and initialized according to the designed grouping order and timing, thereby ensuring that the multi-core heterogeneous system can achieve the shortest power-on time of the current vehicle on the basis of meeting functional requirements.
[0083] In summary, through the above embodiments, the present invention can achieve the following beneficial effects:
[0084] (1) The multi-core heterogeneous system of the present invention controls the MCU and SOC corresponding to the driving group and the MCU and SOC corresponding to the parking group respectively through two power management chips PMIC-1 and PMIC-2 to start power-on to ensure maximum efficiency;
[0085] (2) Each power group such as MCU and SOC will be powered on at the first time by PMIC control to ensure maximum control efficiency;
[0086] (3) Based on the principle that each group controls the power-on of the corresponding MCU and SOC control group through PMIC at the same time, it is also considered that in the actual autonomous driving development process, according to the connection status of the heterogeneous topology chips, the SOCs are mostly connected by any pin of SPI, PCIE, GPIO, and RGMI, and after the third SOC (SOC-1) is powered on, a weak current is injected into the first SOC (SOC-2) through the connected pin. The weak current passes through the first SOC (SOC-2) chip and generates residual voltage at the power output pin of the previous power chip corresponding to the first SOC (SOC-2), resulting in power-on failure. Therefore, the first SOC (SOC-2) of the present invention is a functional safety ASIL D chip is used to make the first SOC (SOC-2) enter an abnormal protection state when residual pressure is generated to meet the functional safety requirements. That is to say, on the basis of controlling the main SOC (such as SOC-2 and SOC-3) and MCU to power on at the same time, the present invention proposes a system design power-on control sequence between individual SOCs (such as SOC-1) according to the chip architecture design, and puts the SOC that has a power-on impact on the main SOC and other SOCs at the moment of power-on under the subsequent control of the MCU to complete the power-on process of the multi-core heterogeneous system and save power-on time.
[0087] According to the power-on timing control method based on a multi-core heterogeneous system according to an embodiment of the present invention, when the multi-core heterogeneous system meets the preset power-on conditions, the first power management chip is enabled to control the corresponding first MCU and first SOC to power on, and the second power management chip is enabled to control the corresponding second MCU and second SOC to power on; after the first MCU, the first SOC, the second MCU and the second SOC are powered on, they are initialized respectively, and the third SOC is controlled to power on based on the initialized first MCU, and after the third SOC is initialized, the corresponding camera components are powered on based on the initialized first SOC, the second SOC and the third SOC. Thus, the problem of the system powering on and off being too long due to the complexity of the multi-core heterogeneous system architecture, which in turn affects the startup time requirements of the application function and reduces the user experience, is solved, and the corresponding SOC and MCU are powered on respectively by the power management chip, thereby ensuring the maximum power-on efficiency and saving the system power-on and power-off time.
[0088] Next, a power-on timing control device based on a multi-core heterogeneous system according to an embodiment of the present invention is described with reference to the accompanying drawings.
[0089] Figure 7 It is a block diagram of a power-on timing control device based on a multi-core heterogeneous system according to an embodiment of the present invention.
[0090] like Figure 7 As shown, the power-on timing control device 20 based on the multi-core heterogeneous system, the multi-core heterogeneous system is applied to the domain controller, the multi-core heterogeneous system includes multiple SOCs and multiple MCUs, including: a judgment module 100, an enabling module 200 and a control module 300.
[0091] The judging module 100 is used to judge whether the multi-core heterogeneous system meets the preset power-on condition;
[0092] The enabling module 200 is used to enable the first power management chip to control the corresponding first MCU and first SOC to power on if the multi-core heterogeneous system meets the preset power-on condition, and at the same time, enable the second power management chip to control the corresponding second MCU and second SOC to power on;
[0093] The control module 300 is used to initialize the first MCU, the first SOC, the second MCU and the second SOC respectively after the first MCU, the first SOC, the second MCU and the second SOC are powered on, and control the power-on of the third SOC based on the initialized first MCU; after the third SOC is initialized, power the corresponding camera components based on the initialized first SOC, the initialized second SOC and the initialized third SOC.
[0094] According to one embodiment of the present invention, the determination module 100 includes:
[0095] A first judging unit, used to judge whether the current vehicle is in a normal power state;
[0096] A second judgment unit is used to judge whether the current vehicle meets the domain controller power-on condition or whether the current vehicle meets the network management wake-up condition if the current vehicle is in a normal power state;
[0097] A determination unit is used to determine whether the multi-core heterogeneous system meets a preset power-on condition if the current vehicle meets the domain controller power-on condition or the current vehicle meets the network management wake-up condition.
[0098] According to one embodiment of the present invention, the second judgment unit includes:
[0099] The first judgment subunit is used to judge whether the switch power supply of the current vehicle is in the ON mode;
[0100] The second judgment subunit is used to determine whether the current vehicle meets the power-on conditions of the domain controller if the switch power of the current vehicle is in the ON mode; otherwise, it is used to determine whether the current vehicle meets the wake-up conditions of the network management, and when the current vehicle meets the wake-up conditions of the network management, the multi-core heterogeneous system is powered on.
[0101] According to one embodiment of the present invention, the second judgment subunit includes:
[0102] The first judgment sub-component is used to judge whether the current vehicle has received a preset network wake-up request signal;
[0103] The determination subcomponent is used to determine whether the current vehicle meets the wake-up conditions of the network management if a preset network wake-up request signal is received.
[0104] According to one embodiment of the present invention, after the corresponding camera components are powered based on the initialized first SOC, the initialized second SOC, and the initialized third SOC, the control module 300 further includes:
[0105] The initialization module is used to respectively initialize the camera assembly corresponding to the initialized first SOC, the initialized second SOC camera assembly and the initialized third SOC camera assembly.
[0106] According to the power-on timing control device based on a multi-core heterogeneous system according to an embodiment of the present invention, when the multi-core heterogeneous system meets the preset power-on conditions, the first power management chip is enabled to control the corresponding first MCU and first SOC to power on, and the second power management chip is enabled to control the corresponding second MCU and second SOC to power on; after the first MCU, the first SOC, the second MCU and the second SOC are powered on, they are initialized respectively, and the third SOC is controlled to power on based on the initialized first MCU, and after the third SOC is initialized, the corresponding camera components are powered on based on the initialized first SOC, the second SOC and the third SOC. Thus, the problem of the system powering on and off being too long due to the complexity of the multi-core heterogeneous system architecture, which in turn affects the startup time requirements of the application function and reduces the user experience, is solved, and the corresponding SOC and MCU are powered on respectively by the power management chip, thereby ensuring the maximum power-on efficiency and saving the system power-on and power-off time.
[0107] Figure 8 A schematic diagram of the structure of a vehicle provided in an embodiment of the present invention. The vehicle may include:
[0108] A memory 801 , a processor 802 , and a computer program stored in the memory 801 and executable on the processor 802 .
[0109] When the processor 802 executes the program, the power-on timing control method based on the multi-core heterogeneous system provided in the above embodiment is implemented.
[0110] Furthermore, the vehicle also includes:
[0111] The communication interface 803 is used for communication between the memory 801 and the processor 802 .
[0112] The memory 801 is used to store computer programs that can be executed on the processor 802 .
[0113] The memory 801 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0114] If the memory 801, the processor 802 and the communication interface 803 are implemented independently, the communication interface 803, the memory 801 and the processor 802 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0115] Optionally, in a specific implementation, if the memory 801, the processor 802 and the communication interface 803 are integrated on a chip, the memory 801, the processor 802 and the communication interface 803 can communicate with each other through an internal interface.
[0116] The processor 802 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.
[0117] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the power-on timing control method based on a multi-core heterogeneous system is implemented as described above.
[0118] This embodiment also provides a computer program product, including a computer program, which is executed to implement the power-on timing control method based on a multi-core heterogeneous system of the above embodiment.
[0119] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0120] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "N" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0121] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.
[0122] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or N wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.
[0123] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0124] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0125] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0126] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.
Claims
1. A power-on timing control method based on a multi-core heterogeneous system, characterized in that: The multi-core heterogeneous system is applied to a domain controller, and the multi-core heterogeneous system includes multiple system-on-chips SOCs and multiple microcontroller units MCUs, wherein the power-on timing control method based on the multi-core heterogeneous system mainly includes the following steps: Determining whether the multi-core heterogeneous system meets a preset power-on condition; If the multi-core heterogeneous system meets the preset power-on condition, the first power management chip is enabled to control the corresponding first MCU and first SOC to power on, and at the same time, the second power management chip is enabled to control the corresponding second MCU and second SOC to power on; After the first MCU, the first SOC, the second MCU and the second SOC are powered on, the first MCU, the first SOC, the second MCU and the second SOC are initialized respectively, and the third SOC is controlled to be powered on based on the initialized first MCU, and after the third SOC is initialized, the corresponding camera components are powered based on the initialized first SOC, the initialized second SOC and the initialized third SOC respectively; Among them, the first SOC is a functional safety ASIL D chip.
2. The power-on timing control method based on a multi-core heterogeneous system according to claim 1, characterized in that: The determining whether the multi-core heterogeneous system meets a preset power-on condition includes: Determine whether the current vehicle is in a normal power state; If the current vehicle is in the normal power state, determining whether the current vehicle meets the domain controller power-on condition or whether the current vehicle meets the network management wake-up condition; If the current vehicle meets the domain controller power-on condition or the current vehicle meets the network management wake-up condition, it is determined that the multi-core heterogeneous chip system meets the preset power-on condition.
3. The power-on timing control method based on a multi-core heterogeneous system according to claim 2, characterized in that: The determining whether the current vehicle meets the power-on condition of the domain controller or whether the current vehicle meets the wake-up condition of the network management includes: Determining whether the switch power supply of the current vehicle is in the ON mode; If the switch power of the current vehicle is in the ON mode, it is determined that the current vehicle meets the power-on condition of the domain controller. Otherwise, it is determined whether the current vehicle meets the wake-up condition of the network management, and when the current vehicle meets the wake-up condition of the network management, the multi-core heterogeneous system is powered on.
4. The power-on timing control method based on a multi-core heterogeneous system according to claim 3, characterized in that: The determining whether the current vehicle meets the wake-up condition of the network management includes: Determining whether the current vehicle has received a preset network wake-up request signal; If the preset network wake-up request signal is received, it is determined that the current vehicle meets the wake-up condition of the network management.
5. The power-on timing control method based on a multi-core heterogeneous system according to claim 1, characterized in that: After the corresponding camera components are powered based on the initialized first SOC, the initialized second SOC, and the initialized third SOC, the method further includes: The camera assembly corresponding to the initialized first SOC, the camera assembly corresponding to the initialized second SOC, and the camera assembly corresponding to the initialized third SOC are initialized respectively.
6. A power-on timing control device based on a multi-core heterogeneous system, characterized in that: The multi-core heterogeneous system is applied to a domain controller, and the multi-core heterogeneous system includes multiple SOCs and multiple MCUs, including: A judgment module, used to judge whether the multi-core heterogeneous system meets the preset power-on condition; An enabling module, used for enabling the first power management chip to control the corresponding first MCU and first SOC to power on if the multi-core heterogeneous system meets the preset power-on condition, and enabling the second power management chip to control the corresponding second MCU and second SOC to power on; A control module, configured to respectively initialize the first MCU, the first SOC, the second MCU, and the second SOC after the first MCU, the first SOC, the second MCU, and the second SOC are powered on, and control the third SOC to power on based on the initialized first MCU, and after the third SOC is initialized, respectively power the corresponding camera components based on the initialized first SOC, the initialized second SOC, and the initialized third SOC; Among them, the first SOC is a functional safety ASIL D chip.
7. The power-on timing control device based on a multi-core heterogeneous system according to claim 6, characterized in that: The judging module comprises: A first judging unit, used to judge whether the current vehicle is in a normal power state; A second judgment unit is used to judge whether the current vehicle meets the domain controller power-on condition or whether the current vehicle meets the network management wake-up condition if the current vehicle is in the normal power state; A determination unit is used to determine whether the multi-core heterogeneous chip system meets the preset power-on condition if the current vehicle meets the domain controller power-on condition or the current vehicle meets the network management wake-up condition.
8. A vehicle, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the power-on timing control method based on a multi-core heterogeneous system as described in any one of claims 1 to 5.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the power-on timing control method based on a multi-core heterogeneous system as described in any one of claims 1 to 5.
10. A computer program product, comprising a computer program, characterized in that The computer program is executed to implement the power-on sequence control method based on a multi-core heterogeneous system as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle-mounted network connection central domain controller
CN113364656A
SOC power supply system and monitoring method based on SOC power supply system
CN113799716A
