Temperature control method of cabin area controller and related equipment
By setting up multiple temperature monitoring points within the cockpit domain controller and implementing a tiered temperature control strategy, the problem of traditional cockpit domain controllers being unable to effectively monitor temperature has been solved, achieving precise temperature control and energy consumption optimization, and preventing downtime and component damage.
Patent Information
- Application Number
- CN202310513154.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-08
- Publication Date
- 2024-11-08
AI Technical Summary
Traditional cockpit domain controllers cannot effectively monitor the temperature distribution of the entire machine, causing the fan to run at a fixed speed, resulting in wasted energy. Furthermore, excessively high controller temperatures may cause system crashes or component damage.
By setting up multiple temperature monitoring points and implementing a step-by-step temperature control strategy within the cockpit domain controller, the microcontroller and temperature sensors monitor the temperature of the main chip, temperature monitoring points, and crystal oscillator, adjusting the fan speed or controller sleep state to perform temperature compensation.
It achieves precise control of the internal temperature of the cockpit domain controller, avoiding unnecessary energy consumption and component damage, and ensuring the normal operation of the controller.
Smart Images

Figure CN118915854A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent automobile technology, and in particular to a temperature control method and related equipment for a cockpit domain controller. Background Art
[0002] Traditional cockpit domain controllers process less data and do not generate much heat. Therefore, they basically monitor the temperature through the temperature sensor built into the main control chip and use a constant speed fan to cool down according to the temperature, or they do not need to detect the temperature. This solution cannot monitor the temperature distribution of the entire machine, and the constant speed rotation of the fan easily causes a large amount of ineffective energy consumption.
[0003] With the development of the automotive industry, more and more devices are integrated into the cockpit domain. Therefore, the amount of data processed by the controller is increasing, and the power of external devices is also increasing. Therefore, excessive temperature of the controller can easily cause downtime or even component damage.
[0004] Therefore, it is particularly important to monitor and control the internal temperature of the cockpit domain controller. Summary of the invention
[0005] In an exemplary embodiment of the present application, a temperature control method and related equipment for a cockpit domain controller are provided to control the temperature of the cockpit domain controller from multiple angles, thereby preventing the cockpit domain controller from shutting down or damaging components due to excessive temperature.
[0006] According to a first aspect of an exemplary embodiment, a temperature control method of a cabin domain controller is provided, the method comprising at least the following steps:
[0007] Monitor the temperatures of M main chips, the temperatures of P temperature monitoring points in the first area, and the temperatures of N crystal oscillators; wherein the current value of the current path covered by the first area is greater than the set current value, or the power of the device included in the first area is greater than the set power value;
[0008] If it is determined that the temperatures of the M main chips are all lower than the first threshold, and the temperatures of the P temperature monitoring points are all lower than the second threshold, then it is determined whether the temperatures of the N crystal oscillators are all lower than the third threshold;
[0009] If not, determining a first crystal oscillator, wherein the first crystal oscillator is any one of at least one crystal oscillator having a temperature greater than a third threshold;
[0010] A clock signal of the first crystal oscillator is adjusted to perform temperature compensation on the first crystal oscillator.
[0011] According to a second aspect of an exemplary embodiment, a cockpit domain controller is provided, for executing the method of the first aspect, comprising a microcontroller unit (MCU), and M main chips connected to the MCU, P temperature monitoring points, N crystal oscillators, at least P thermistors arranged in a first area including the P temperature monitoring points, at least N temperature sensors arranged at a first distance from the N crystal oscillators, and an analog to digital converter (AD converter), wherein:
[0012] Each main chip has a built-in temperature sensor, which is used to obtain the temperature of the main chip and send it to the MCU;
[0013] AD converter, used to convert the resistance value of each thermistor into the corresponding temperature and send it to the MCU;
[0014] Each temperature sensor is used to obtain the temperature of the corresponding crystal oscillator and send it to the MCU;
[0015] The MCU is used to adjust the fan speed or control the cockpit domain controller to enter a sleep state according to the temperatures of the M main chips, the temperatures of the P temperature monitoring points, and the temperatures of the N crystal oscillators.
[0016] According to a third aspect of an exemplary embodiment, there is provided a temperature control device, comprising a temperature acquisition unit and a processor, wherein:
[0017] The temperature acquisition unit is configured to perform:
[0018] Monitor the temperatures of M main chips, the temperatures of P temperature monitoring points in the first area, and the temperatures of N crystal oscillators; wherein the current value of the current path covered by the first area is greater than the set current value, or the power of the device included in the first area is greater than the set power value;
[0019] The processor is configured to execute:
[0020] If it is determined that the temperatures of the M main chips are all lower than the first threshold, and the temperatures of the P temperature monitoring points are all lower than the second threshold, then it is determined whether the temperatures of the N crystal oscillators are all lower than the third threshold;
[0021] If not, determining a first crystal oscillator, wherein the first crystal oscillator is any one of at least one crystal oscillator having a temperature greater than a third threshold;
[0022] A clock signal of the first crystal oscillator is adjusted to perform temperature compensation on the first crystal oscillator.
[0023] According to a fourth aspect of the exemplary implementation, a computer storage medium is provided, in which computer program instructions are stored. When the instructions are executed on a computer, the computer executes the temperature control method of the first aspect.
[0024] Through the embodiments of the present application, the factors that affect the normal operation of the cockpit domain controller include the temperature of the main chip, the temperature of the high-current path or the high-power device on the control board, and the crystal oscillator on the control board is sensitive to temperature, and the corresponding clock signal generated is greatly affected by temperature, thereby affecting the working state of the corresponding integrated circuit. Therefore, when it is determined that each main chip is operating normally and the temperature of the area where the high-current path or the high-power device is located is normal, if there is a crystal oscillator with an abnormal operating temperature, the clock signal of the first crystal oscillator with the abnormal temperature is adjusted to perform temperature compensation on the first crystal oscillator. In this way, the internal temperature of the cockpit domain control board is monitored as a whole to ensure the normal operation of the cockpit domain control board. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0026] Figure 1 The structural diagram of a cockpit domain controller provided by an embodiment of the present application is exemplarily shown;
[0027] Figure 2 The structure diagram of a control panel of a cockpit domain controller provided by an embodiment of the present application is exemplarily shown;
[0028] Figure 3 A flow chart of a temperature control method for a cabin domain controller provided by an embodiment of the present application is exemplarily shown;
[0029] Figure 4 A schematic diagram exemplarily shows a temperature control process of a first main chip provided in an embodiment of the present application;
[0030] Figure 5 A schematic diagram exemplarily shows a temperature control process of a first temperature monitoring point provided in an embodiment of the present application;
[0031] Figure 6 An exemplary flowchart of temperature monitoring of a cockpit domain controller in a default working state provided by an embodiment of the present application is shown;
[0032] Figure 7An exemplary flow chart of temperature monitoring when the temperature of some main chips exceeds a first threshold value provided by an embodiment of the present application is shown;
[0033] Figure 8 An exemplary flow chart of temperature monitoring when the detected temperature of some thermistors provided in an embodiment of the present application exceeds a second threshold is shown;
[0034] Fig. 9 An exemplary flow chart of temperature monitoring when the operating temperature of a part of the crystal oscillators provided in an embodiment of the present application exceeds a third threshold is shown;
[0035] Fig.10 A schematic structural diagram of a temperature control device of a cockpit domain controller provided in an embodiment of the present application is exemplarily shown. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
[0037] Traditional cockpit domain controllers process less data and do not generate much heat. Therefore, they basically monitor the temperature through the temperature sensor built into the main control chip and use a constant speed fan to cool down according to the temperature, or they do not need to detect the temperature. This solution cannot monitor the temperature distribution of the entire machine, and the constant speed rotation of the fan easily causes a large amount of ineffective energy consumption.
[0038] With the development of the automotive industry, more and more devices are integrated in the cockpit domain. For example, the cockpit integrates at least 4 display screens, 8 cameras, 5 audio speakers and other external devices (hereinafter referred to as peripherals). Therefore, the amount of data processed by the controller is increasing, and the power of the external devices is also increasing. The high temperature of the controller can easily cause downtime or even component damage. In addition, the crystal oscillator on the circuit board is sensitive to temperature, and the corresponding clock signal is greatly affected by temperature, which affects the working state of the corresponding integrated circuit. Therefore, it is particularly important to monitor and control the internal temperature of the cockpit domain controller.
[0039] To this end, the embodiment of the present application provides a temperature control method, a control device and a cockpit domain controller for a cockpit domain controller. By deploying multiple points of control in the cockpit domain controller and implementing a step-by-step temperature control strategy, the overall performance of the cockpit domain controller is guaranteed to the greatest extent, and the energy waste caused by continuously starting the fan is avoided, thereby achieving precise control of the working temperature of multiple cockpit domain controllers.
[0040] After introducing the design ideas of the embodiments of the present application, the following briefly introduces the application scenarios to which the technical solutions of the embodiments of the present application can be applied. It should be noted that the application scenarios introduced below are only used to illustrate the embodiments of the present application and are not limited. In specific implementation, the technical solutions provided by the embodiments of the present application can be flexibly applied according to actual needs.
[0041] Figure 1 A structural schematic diagram of a cockpit domain controller provided in an embodiment of the present application, wherein the exterior is a metal shell, and a control board and at least two fans for heat dissipation are arranged inside. The two fans are fixed on the casing for air cooling, and the fans are connected to the control board through a wiring harness. Figure 1 Two fans are used to illustrate this.
[0042] Figure 2 A structural schematic diagram of a control panel of a cockpit domain controller provided in an embodiment of the present application, the cockpit domain controller includes a microcontroller MCU, and M main chips connected to the MCU, P temperature monitoring points, N crystal oscillators, at least P thermistors arranged in a first area including the P temperature monitoring points, at least N temperature sensors and AD converters arranged at a first distance from the N crystal oscillators. Among them: the temperature sensor built into each main chip is used to obtain the temperature of the main chip and send it to the MCU; the AD converter is used to convert the resistance value of each thermistor into a corresponding temperature and send it to the MCU; each temperature sensor is used to obtain the temperature of the corresponding crystal oscillator and send it to the MCU; the MCU is used to adjust the speed of the fan or control the cockpit domain controller to enter a sleep state according to the temperature of the M main chips, the temperature of the P temperature monitoring points and the temperature of the N crystal oscillators.
[0043] Optional, M main chips are denoted as U1-U M Each chip has a temperature sensor integrated inside, which can directly read the temperature of the main chip. The control board includes at least P thermistors R1-R P , the thermistor is arranged in the first area, the current value of the current path covered by the first area is greater than the set current value, or the power of the device included in the first area is greater than the set power value, that is, the thermistor is arranged on a large current path or near a high-power device. The resistance of the thermistor changes with temperature. Therefore, the MCU can read the voltage value across the thermistor through an AD converter, and then calculate the corresponding temperature value. The control board includes at least N high-precision temperature sensors Z1-Z N , can be arranged near the N crystal oscillators, for example, at a first distance from the crystal oscillator, through a two-wire serial bus (inter-integrated circuit, I 2C bus) or universal asynchronous receiver / transmitter (UART) and other interfaces are connected to the MCU; the MCU can directly read the temperature value of each crystal oscillator. The MCU can control two fans for air cooling. In addition, the fan also supports PWM control, and the fan speed can be adjusted according to the frequency of the PWM signal. Among them, M, P and N are all positive integers greater than or equal to 1.
[0044] The MCU obtains the temperatures of M main chips, P temperature monitoring points and N crystal oscillators through regular inspections, and compares them with the preset thresholds. If the threshold is not exceeded, the cockpit domain controller operates normally and the fan does not run; if the threshold is exceeded, the MCU controls the corresponding module to reduce the frequency or enter sleep mode to prevent the components from being burned out due to excessive temperature, and starts the fan to cool down.
[0045] To further illustrate the technical solution provided by the embodiment of the present application, this is described in detail below in conjunction with the accompanying drawings and specific implementation methods. Although the embodiment of the present application provides the method operation steps shown in the following embodiments or drawings, more or fewer operation steps may be included in the method based on routine or no creative labor. In the steps where there is no necessary causal relationship logically, the execution order of these steps is not limited to the execution order provided in the embodiment of the present application.
[0046] Combine the following Figure 1 and Figure 2 The application scenario shown, Figure 3 A flow chart of a temperature control method for a cabin domain controller provided in an embodiment of the present application is provided to illustrate the technical solution provided in the embodiment of the present application.
[0047] S301: Monitor the temperatures of M main chips, the temperatures of P temperature monitoring points in the first area, and the temperatures of N crystal oscillators.
[0048] The current value of the current path covered by the first area is greater than the set current value, or the power of the device included in the first area is greater than the set power value.
[0049] S302: If it is determined that the temperatures of the M main chips are all lower than the first threshold, and the temperatures of the P temperature monitoring points are all lower than the second threshold, then determine whether the temperatures of the N crystal oscillators are all lower than the third threshold, if not, execute S303.
[0050] S303: Determine a first crystal oscillator.
[0051] The first crystal oscillator is any one of at least one crystal oscillator whose temperature is greater than a third threshold.
[0052] S304: Adjust the clock signal of the first crystal oscillator to perform temperature compensation on the first crystal oscillator.
[0053] Through the embodiments of the present application, the factors that affect the normal operation of the cockpit domain controller include the temperature of the main chip, the temperature of the high-current path or the high-power device on the control board, and the crystal oscillator on the control board is sensitive to temperature, and the corresponding clock signal generated is greatly affected by temperature, thereby affecting the working state of the corresponding integrated circuit. Therefore, when it is determined that each main chip is operating normally and the temperature of the area where the high-current path or the high-power device is located is normal, if there is a crystal oscillator with an abnormal operating temperature, the clock signal of the first crystal oscillator with the abnormal temperature is adjusted to perform temperature compensation on the first crystal oscillator. In this way, the internal temperature of the cockpit domain control board is monitored as a whole to ensure the normal operation of the cockpit domain control board.
[0054] In S301 , the internal temperature sensors of the M main chips respectively send the monitored temperatures to the MCU; or, the MCU polls the outputs of the temperature sensors of the M main chips to obtain the temperatures of the M main chips.
[0055] For the P temperature monitoring points in the first area, for example, the P temperature monitoring points include temperature monitoring points set on the high current path and temperature monitoring points near high-power devices. The AD converter uses the voltage signal of at least P thermistors set at the P monitoring points, and converts the voltage signal into a resistance value, and then obtains the temperature of the P monitoring points based on the corresponding relationship between the resistance value and the temperature. The current value of the current path covered by the first area is greater than the set current value, or the power of the device included in the first area is greater than the set power value. Therefore, the temperature of the P monitoring points can be used to ensure that the first area, which is prone to overheating, does not fail.
[0056] For N crystal oscillators, the temperatures of the N crystal oscillators may be determined by acquiring the temperatures of at least N temperature sensors around the N crystal oscillators.
[0057] This involves S302, wherein the first threshold is the upper temperature limit at which each main chip can work normally, the second threshold is the upper temperature limit at which each device at each temperature monitoring point can work normally, and the third threshold is the upper temperature limit at which each crystal oscillator can work normally.
[0058] Therefore, when the temperatures of the M main chips are all less than the first threshold, and the temperatures of the P temperature monitoring points are all less than the second threshold, each main chip can work normally, and the high current path or high power device in the first area can work normally. Considering that the crystal oscillator on the control board is sensitive to temperature, the corresponding clock signal generated is greatly affected by temperature, thereby affecting the working state of the corresponding integrated circuit, it is determined whether the temperatures of the N crystal oscillators are all less than the third threshold. If so, it is determined that the cockpit domain controller is in a normal operating state of the whole machine, otherwise S303 is executed.
[0059] In S303, any one of the at least one crystal oscillator having a temperature greater than the third threshold is taken as an example for description, wherein the first crystal oscillator is at least one crystal oscillator having a temperature greater than the third threshold.
[0060] In S304, since the temperature of the first crystal oscillator is greater than the third threshold value, in order to ensure the normal operation of the first overall oscillator, the first crystal oscillator can be temperature compensated by adjusting the clock signal of the first crystal oscillator. Among them, a temperature compensation algorithm can be applied to adjust the clock signal of the first crystal oscillator. The temperature compensation algorithm can be any temperature compensation algorithm in the relevant technology, which is not described here.
[0061] In one implementation, a temperature control process when the temperature of a main chip is abnormal is described.
[0062] If it is determined that the temperature of at least one of the M main chips is greater than or equal to the first threshold, the first main chip is determined, and the fan is controlled to rotate according to the temperature of the first main chip, or the cockpit domain controller is controlled to enter the whole machine sleep state. The first main chip is any one of the at least one main chip whose temperature is greater than or equal to the first threshold.
[0063] Optionally, in this embodiment, Figure 4 A schematic diagram of a temperature control process of a first main chip provided in an embodiment of the present application. Figure 4 , according to the temperature of the first main chip, the fan is controlled to rotate, or the cockpit domain controller is controlled to enter the whole machine sleep state, including the following situations:
[0064] S401: When the temperature of the first main chip is greater than or equal to a first threshold, control the fan to start and run at a first speed.
[0065] If the temperature of the first main chip is detected to be greater than or equal to the first threshold, it indicates that the temperature of the first main chip is too high, and the MCU can control the fan to start and run at a first speed. In actual application, the first speed can be a lower set value.
[0066] S402: If it is detected that the temperature of the first main chip is lower than a first threshold after the fan runs at the first speed for a first time, the fan is controlled to run at the first speed.
[0067] If it is detected that the temperature of the first main chip has dropped below the first threshold after the fan has been running at a first relatively low speed for a first time (e.g., 5 minutes), the fan can be stopped. However, in general, the fan can be controlled to run at the first speed for a period of time to ensure safety.
[0068] S403: If it is detected that the temperature of the first main chip is greater than or equal to the first threshold after the fan has been running at the first speed for a second time, the fan is controlled to run at a second speed.
[0069] Among them, if it is detected that the temperature of the first main chip has not decreased after the fan has run at a lower first speed for a second time (for example, 5 minutes), and the temperature of the first main chip is still greater than or equal to the first threshold, at this time, the fan is controlled to run at a second speed greater than the first speed.
[0070] S404: If the second rotation speed is the maximum rotation speed of the fan, control the first main chip to operate at a reduced frequency.
[0071] In this example, if the second speed is the maximum speed of the fan, it indicates that the high temperature has a greater impact on the first main chip at this time. Therefore, the first main chip is controlled to run at a lower frequency, or some functions of the first main chip are turned off to reduce the operating current, so as to quickly reduce the temperature of the first main chip.
[0072] S405: If it is detected that the temperature of the first main chip is greater than or equal to the first threshold after the fan runs at the maximum speed for a third time, the cockpit domain controller is controlled to enter a whole-machine sleep state.
[0073] Among them, if the temperature of the first main chip still does not drop after the fan runs at the maximum speed for a third time (for example, 5 minutes), and is still greater than or equal to the first threshold, in order to ensure the safety of the cockpit domain controller, the cockpit domain controller is directly controlled to enter the whole machine sleep state.
[0074] Through the embodiments of the present application, since whether the main chip is normal seriously affects whether the cockpit domain controller can work normally, therefore, in this implementation, if the temperature of at least one main chip is abnormal, there is no need to judge the temperature monitoring point and the temperature of the crystal oscillator, and the fan rotation can be directly controlled or the cockpit domain controller can be put into sleep mode.
[0075] In one implementation, a temperature control process is described when the temperature of the main chip is abnormal and the temperature monitoring point is abnormal.
[0076] If the temperatures of the M main chips are all lower than the first threshold, and the temperature of at least one of the P temperature monitoring points is greater than or equal to the second threshold, then the first temperature monitoring point is determined; the fan is controlled to rotate according to the temperature of the first temperature monitoring point, or the cockpit domain controller is controlled to enter the whole machine sleep state. The first temperature monitoring point is any one of the at least one monitoring point whose temperature is greater than or equal to the second threshold.
[0077] Among them, the temperature of each main chip is less than the first threshold, indicating that each main chip is working normally. At this time, the MCU can judge the relationship between the temperature of P temperature monitoring points and the second threshold to determine whether the high current path or high power device in the first area is working normally.
[0078] Optionally, in this embodiment, Figure 5 A schematic diagram of a temperature control process of a first temperature monitoring point provided in an embodiment of the present application, wherein reference is made to Figure 5 , according to the temperature of the first temperature monitoring point, the fan is controlled to rotate, or the cockpit domain controller is controlled to enter the whole machine sleep state, including the following situations:
[0079] S501: When the temperature at the first temperature monitoring point is greater than or equal to a second threshold, control the fan to start and run at a third speed.
[0080] If the temperature of the first temperature monitoring point (for example, at the high-power device X) is greater than or equal to the second threshold, in order to reduce the temperature of the first temperature monitoring point, the fan is controlled to start and run at a third speed.
[0081] S502: If it is detected that the temperature of the first temperature monitoring point is greater than or equal to the second threshold after the fan runs at the third speed for a fourth time, control the fan to run at a fourth speed; wherein the fourth speed is greater than the third speed.
[0082] If it is detected that the fan runs at the third speed for a fourth time (for example, 3 minutes) and the temperature of the first temperature monitoring point is still greater than or equal to the second threshold, the fan speed is increased and the fan is controlled to run at the fourth speed.
[0083] S503: If the fourth speed is the maximum speed of the fan, control the cockpit domain controller to enter a whole machine sleep state.
[0084] Among them, if the fourth speed is the maximum speed of the fan, it means that the fan at the maximum speed still cannot lower the temperature of the first temperature monitoring point to below the second threshold in a short time. At this time, in order to ensure the safety of the cockpit domain controller, the cockpit domain controller is directly controlled to enter the whole machine sleep state.
[0085] Through the embodiment of the present application, since the normal operation of the main chip seriously affects whether the cockpit domain controller can work normally, therefore, when each main chip works normally, the high current path or high power device in the first area is monitored to see whether it works normally. In this implementation, the normal operation of the high current path or high power device is guaranteed.
[0086] based on Figure 3 The embodiment shown in the present application also provides the following implementation methods:
[0087] Implementation method 1: Temperature monitoring process of the cockpit domain controller in the default working state.
[0088] Figure 6 A temperature monitoring flow chart of a cockpit domain controller in the default working state provided in an embodiment of the present application.
[0089] S601: Read the temperatures of M main chips, P temperature monitoring points, and N crystal oscillators.
[0090] S602: Determine whether the temperatures of the M main chips are all lower than a first threshold. If so, execute S603.
[0091] S603: Determine whether the temperatures of the P temperature monitoring points are all less than a second threshold value. If so, execute S604.
[0092] S604: Determine whether the temperatures of the N crystal oscillators are all less than a third threshold, and if so, execute S605.
[0093] S605: Maintain the working status of the cockpit domain controller.
[0094] In the embodiment of the present application, when the temperatures of the M main chips, the temperatures of the P temperature monitoring points, and the temperatures of the N crystal oscillators are all normal, the cockpit domain controller is maintained to operate normally.
[0095] Implementation method 2: Temperature monitoring process when the temperature of some main chips exceeds the first threshold.
[0096] Figure 7 A temperature monitoring flow chart provided in an embodiment of the present application when the temperature of some main chips exceeds a first threshold.
[0097] S701: Read the temperatures of M main chips, P temperature monitoring points, and N crystal oscillators.
[0098] S702: Determine whether the temperatures of the M main chips are all lower than a first threshold; if not, execute S703.
[0099] S703: Start the fan to rotate, and control the fan to run at a first speed.
[0100] S704: Determine whether the temperatures of the m main chips are all lower than a first threshold value. If so, execute S705; otherwise, execute S706.
[0101] Among them, the m main chips are main chips whose temperatures are greater than or equal to the first threshold.
[0102] S705: Control the fan to still run at the first speed.
[0103] S706: Increase the fan speed to a second speed.
[0104] S707: Determine whether the second speed is the maximum speed of the fan, if so, execute S708, otherwise execute S709.
[0105] S708: Control the main chip m to run at a reduced frequency.
[0106] S709: Continue to increase the fan speed.
[0107] S710: Determine whether the temperatures of the m main chips are all lower than a first threshold value. If so, execute S711; otherwise, execute S712.
[0108] S711: Maintain the working status of the cockpit domain controller.
[0109] S712: Control the cockpit domain controller to enter the whole machine sleep state.
[0110] In an embodiment of the present application, among M main chips, if the temperature of m main chips is abnormal, the working state of the cockpit domain controller can be maintained or the cockpit domain controller can be controlled to enter the whole machine sleep state by gradually increasing the speed of the fan.
[0111] Implementation method three: temperature monitoring process when the detection temperature of some thermistors exceeds the second threshold value.
[0112] Figure 8 A temperature monitoring flow chart provided in an embodiment of the present application when the detected temperature of some thermistors exceeds a second threshold value.
[0113] S801: Read the temperatures of M main chips, P temperature monitoring points, and N crystal oscillators.
[0114] S802: Determine whether the temperatures of the M main chips are all lower than a first threshold. If so, execute S803.
[0115] S803: Determine whether the temperatures of the P temperature monitoring points are all less than the second threshold; if not, execute S804.
[0116] S804: Start the fan to rotate, and control the fan to run at a third speed.
[0117] S805: Determine whether the temperatures of the p temperature monitoring points are all less than the second threshold value. If so, execute S806; otherwise, execute S807.
[0118] The p temperature monitoring points are main chips whose temperatures are greater than or equal to the second threshold.
[0119] S806: Control the fan to still run at the third speed.
[0120] S807: Increase the fan speed to the fourth speed.
[0121] S808: Determine whether the fourth speed is the maximum speed of the fan, if so, execute S809, otherwise execute S810.
[0122] S809: Control the cockpit domain controller to enter the whole machine sleep state.
[0123] S810: Continue to increase the fan speed.
[0124] S811: Determine whether the temperatures of the p temperature monitoring points are all less than the second threshold value. If so, execute S812; otherwise, execute S809.
[0125] S812: Maintain the working status of the cockpit domain controller.
[0126] Implementation method 4: Temperature monitoring process when the operating temperature of some crystal oscillators exceeds the third threshold value.
[0127] Fig. 9 A temperature monitoring flow chart provided in an embodiment of the present application when the operating temperature of some crystal oscillators exceeds a third threshold.
[0128] S901: Read the temperatures of M main chips, P temperature monitoring points, and N crystal oscillators.
[0129] S902: Determine whether the temperatures of the M main chips are all lower than a first threshold. If so, execute S903.
[0130] S903: Determine whether the temperatures of the P temperature monitoring points are all less than a second threshold value. If so, execute S904.
[0131] S904: Determine whether the temperatures of the N crystal oscillators are all less than a third threshold; if not, execute S905.
[0132] S905: adjusting the clock signals of the n crystal oscillators to achieve temperature compensation of the n crystal oscillators.
[0133] The n crystal oscillators are crystal oscillators whose temperatures are greater than a third threshold among the N crystal oscillators.
[0134] In the embodiment of the present application, when the M main chips and the P temperature monitoring points are normal, the operating temperature of the crystal oscillator is detected. Since the crystal oscillator on the control board is sensitive to temperature, the corresponding clock signal generated is greatly affected by temperature, thereby affecting the working state of the corresponding integrated circuit. Therefore, the operating temperature of the crystal oscillator can be guaranteed to ensure the normal operation of the cockpit domain controller.
[0135] like Fig.10 As shown, based on the same inventive concept, an embodiment of the present application provides a temperature control device of a cabin domain controller, and the temperature control device of the cabin domain controller includes: a processor 1001 and a temperature acquisition unit 1002.
[0136] The temperature acquisition unit 1002 is configured to perform:
[0137] Monitor the temperatures of M main chips, the temperatures of P temperature monitoring points in the first area, and the temperatures of N crystal oscillators; wherein the current value of the current path covered by the first area is greater than the set current value, or the power of the device included in the first area is greater than the set power value;
[0138] The processor 1001 is configured to execute:
[0139] If it is determined that the temperatures of the M main chips are all lower than the first threshold, and the temperatures of the P temperature monitoring points are all lower than the second threshold, then it is determined whether the temperatures of the N crystal oscillators are all lower than the third threshold;
[0140] If not, determining a first crystal oscillator, wherein the first crystal oscillator is any one of at least one crystal oscillator having a temperature greater than a third threshold;
[0141] A clock signal of the first crystal oscillator is adjusted to perform temperature compensation on the first crystal oscillator.
[0142] In a possible implementation, the processor 1001 is further configured to execute:
[0143] If it is determined that the temperature of at least one main chip among the M main chips is greater than or equal to the first threshold, then the first main chip is determined; wherein the first main chip is any one of the at least one main chip whose temperature is greater than or equal to the first threshold;
[0144] The fan rotation is controlled according to the temperature of the first main chip, or the cockpit domain controller is controlled to enter the whole machine sleep state.
[0145] In a possible implementation, the processor 1001 is specifically configured to execute:
[0146] When the temperature of the first main chip is greater than or equal to a first threshold, controlling the fan to start and run at a first speed;
[0147] If it is detected that the temperature of the first main chip is lower than the first threshold value after the fan runs at the first speed for the first time, the fan is controlled to run at the first speed;
[0148] If it is detected that the temperature of the first main chip is greater than or equal to the first threshold after the fan runs at the first speed for the second time, the fan is controlled to run at the second speed; wherein the second speed is greater than the first speed; if the second speed is the maximum speed of the fan, the first main chip is controlled to reduce the frequency;
[0149] If it is detected that the temperature of the first main chip is greater than or equal to the first threshold after the fan runs at the maximum speed of the fan for a third time, the cockpit domain controller is controlled to enter the whole machine sleep state.
[0150] In a possible implementation, the processor 1001 is further configured to execute:
[0151] If the temperatures of the M main chips are all lower than the first threshold, and the temperature of at least one of the P temperature monitoring points is greater than or equal to the second threshold, then the first temperature monitoring point is determined; wherein the first temperature monitoring point is any one of the at least one monitoring point whose temperature is greater than or equal to the second threshold;
[0152] The fan is controlled to rotate according to the temperature of the first temperature monitoring point, or the cockpit domain controller is controlled to enter the whole machine sleep state.
[0153] In a possible implementation, the processor 1001 is specifically configured to execute:
[0154] When the temperature at the first temperature monitoring point is greater than or equal to the second threshold, the fan is controlled to start and run at a third speed;
[0155] If it is detected that the temperature of the first temperature monitoring point is greater than or equal to the second threshold after the fan runs at the third speed for a fourth time, the fan is controlled to run at a fourth speed; wherein the fourth speed is greater than the third speed;
[0156] If the fourth speed is the maximum speed of the fan, the cockpit domain controller is controlled to enter the whole machine sleep state.
[0157] The embodiment of the present application also provides a computer storage medium, in which computer program instructions are stored. When the instructions are executed on a computer, the computer executes the steps of the above-mentioned temperature control method.
[0158] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0159] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0160] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0161] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0162] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A temperature control method for a cockpit domain controller, characterized in that: include: Monitor the temperatures of M main chips, the temperatures of P temperature monitoring points in the first area, and the temperatures of N crystal oscillators; wherein the current value of the current path covered by the first area is greater than the set current value, or the power of the device included in the first area is greater than the set power value; If it is determined that the temperatures of the M main chips are all lower than the first threshold, and the temperatures of the P temperature monitoring points are all lower than the second threshold, then determining whether the temperatures of the N crystal oscillators are all lower than the third threshold; If not, determining a first crystal oscillator, wherein the first crystal oscillator is any one of at least one crystal oscillator having a temperature greater than the third threshold; A clock signal of the first crystal oscillator is adjusted to perform temperature compensation on the first crystal oscillator.
2. The method according to claim 1, characterized in that: The method further comprises: If it is determined that the temperature of at least one of the M main chips is greater than or equal to the first threshold, then a first main chip is determined; wherein the first main chip is any one of the at least one main chip whose temperature is greater than or equal to the first threshold; The fan is controlled to rotate according to the temperature of the first main chip, or the cockpit domain controller is controlled to enter a whole machine sleep state.
3. The method according to claim 2, characterized in that The controlling the fan to rotate according to the temperature of the first main chip, or controlling the cockpit domain controller to enter a whole machine sleep state, includes: When the temperature of the first main chip is greater than or equal to the first threshold, controlling the fan to start and run at a first speed; If it is detected that the temperature of the first main chip is lower than the first threshold value after the fan runs at the first speed for the first time, controlling the fan to run at the first speed; If it is detected that the temperature of the first main chip is greater than or equal to the first threshold after the fan runs at the first speed for a second time, the fan is controlled to run at a second speed; wherein the second speed is greater than the first speed; if the second speed is the maximum speed of the fan, the first main chip is controlled to reduce the frequency; If it is detected that the temperature of the first main chip is greater than or equal to the first threshold after the fan runs at the maximum speed of the fan for a third time, the cockpit domain controller is controlled to enter a whole-machine sleep state.
4. The method according to claim 1, characterized in that: The method further comprises: If the temperatures of the M main chips are all lower than the first threshold, and the temperature of at least one temperature monitoring point among the P temperature monitoring points is greater than or equal to the second threshold, then a first temperature monitoring point is determined; wherein the first temperature monitoring point is any one of the at least one monitoring point whose temperature is greater than or equal to the second threshold; The fan is controlled to rotate according to the temperature of the first temperature monitoring point, or the cockpit domain controller is controlled to enter a whole machine sleep state.
5. The method according to claim 4, characterized in that The controlling the fan to rotate according to the temperature of the first temperature monitoring point, or controlling the cockpit domain controller to enter a whole machine sleep state, includes: When the temperature of the first temperature monitoring point is greater than or equal to the second threshold, controlling the fan to start and run at a third speed; If it is detected that the temperature of the first temperature monitoring point is greater than or equal to the second threshold value after the fan runs at the third speed for a fourth time, the fan is controlled to run at a fourth speed; wherein the fourth speed is greater than the third speed; If the fourth speed is the maximum speed of the fan, the cockpit domain controller is controlled to enter a whole-machine sleep state.
6. A cockpit domain controller, used to execute the method according to any one of claims 1 to 5, characterized in that: The device comprises a microcontroller MCU, M main chips connected to the MCU, P temperature monitoring points, N crystal oscillators, at least P thermistors arranged in a first area including the P temperature monitoring points, at least N temperature sensors and AD converters arranged at a first distance from the N crystal oscillators, wherein: A temperature sensor built into each main chip is used to obtain the temperature of the main chip and send it to the MCU; The AD converter is used to convert the resistance value of each thermistor into a corresponding temperature and send it to the MCU; Each temperature sensor is used to obtain the temperature of the corresponding crystal oscillator and send it to the MCU; The MCU is used to adjust the speed of the fan or control the cockpit domain controller to enter a sleep state according to the temperatures of the M main chips, the temperatures of the P temperature monitoring points, and the temperatures of the N crystal oscillators.
7. A temperature control device for a cockpit domain controller, characterized in that: It includes a temperature acquisition unit and a processor, wherein: The temperature acquisition unit is configured to perform: Monitor the temperatures of M main chips, the temperatures of P temperature monitoring points in the first area, and the temperatures of N crystal oscillators; wherein the current value of the current path covered by the first area is greater than the set current value, or the power of the device included in the first area is greater than the set power value; The processor is configured to perform: If it is determined that the temperatures of the M main chips are all lower than the first threshold, and the temperatures of the P temperature monitoring points are all lower than the second threshold, then determining whether the temperatures of the N crystal oscillators are all lower than the third threshold; If not, determining a first crystal oscillator, wherein the first crystal oscillator is any one of at least one crystal oscillator having a temperature greater than the third threshold; A clock signal of the first crystal oscillator is adjusted to perform temperature compensation on the first crystal oscillator.
8. The temperature control device according to claim 7, characterized in that: The processor is further configured to perform: If it is determined that the temperature of at least one of the M main chips is greater than or equal to the first threshold, then a first main chip is determined; wherein the first main chip is any one of the at least one main chip whose temperature is greater than or equal to the first threshold; The fan is controlled to rotate according to the temperature of the first main chip, or the cockpit domain controller is controlled to enter a whole machine sleep state.
9. The temperature control device according to claim 8, characterized in that: The processor is specifically configured to execute: When the temperature of the first main chip is greater than or equal to the first threshold, controlling the fan to start and run at a first speed; If it is detected that the temperature of the first main chip is lower than the first threshold value after the fan runs at the first speed for the first time, controlling the fan to run at the first speed; If it is detected that the temperature of the first main chip is greater than or equal to the first threshold after the fan runs at the first speed for a second time, the fan is controlled to run at a second speed; wherein the second speed is greater than the first speed; if the second speed is the maximum speed of the fan, the first main chip is controlled to reduce the frequency; If it is detected that the temperature of the first main chip is greater than or equal to the first threshold after the fan runs at the maximum speed of the fan for a third time, the cockpit domain controller is controlled to enter a whole-machine sleep state.
10. The temperature control device according to claim 7, characterized in that: The processor is further configured to perform: If the temperatures of the M main chips are all lower than the first threshold, and the temperature of at least one temperature monitoring point among the P temperature monitoring points is greater than or equal to the second threshold, then a first temperature monitoring point is determined; wherein the first temperature monitoring point is any one of the at least one monitoring point whose temperature is greater than or equal to the second threshold; The fan is controlled to rotate according to the temperature of the first temperature monitoring point, or the cockpit domain controller is controlled to enter a whole machine sleep state.
