Cabin temperature adjusting method and system based on CAN bus, automobile and storage medium

Through the CAN bus, intelligent adjustment of the windows and air conditioning system is controlled, the problems of car spontaneous combustion and seats cannot be seated due to excessive cabin temperature are solved, and automatic adjustment of cabin temperature and vehicle safety guarantee are achieved.

CN119065275AActive Publication Date: 2024-12-03CHENGDU CELIS TECH CO LTD
View PDF 12 Cites 0 Cited by

Patent Information

Application Number
CN202310625184.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-30
Publication Date
2024-12-03
Estimated Expiration
2043-05-30

Smart Images

  • Figure CN119065275A_ABST
    Figure CN119065275A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of automobiles, and discloses a cabin temperature adjusting method and system based on a CAN bus, an automobile and a storage medium, the method comprises the steps that an awakening instruction sent by the CAN bus is responded, an automobile window is controlled to be opened, and the awakening instruction is sent when the automobile is in an automobile locking state and the cabin temperature is larger than or equal to a first temperature threshold value; continuously acquiring the temperature of the vehicle cabin, and recording the time when the temperature of the vehicle cabin is acquired; if the moment is smaller than or equal to the preset moment threshold value and the cabin temperature is smaller than or equal to a second temperature threshold value, the vehicle window is controlled to be closed, and the first temperature threshold value is larger than the second temperature threshold value. According to the technical scheme, the awakening function can be achieved based on the CAN bus, the automobile window is controlled to be opened, then the temperature of the automobile cabin is reduced, and the problems that the automobile is spontaneously combusted and seats cannot be seated due to the fact that the temperature of the automobile cabin is too high are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of automobile technology, and in particular to a method and system for adjusting cabin temperature based on a CAN bus, a vehicle, and a computer-readable storage medium. Background Art

[0002] In hot weather, the temperature inside the car cabin will be too high, and even the seat temperature will become high. The high cabin temperature may cause the car to catch fire and the user to be unable to sit down. Summary of the invention

[0003] In view of the above problems, an embodiment of the present invention provides a cabin temperature adjustment method, system, automobile and computer-readable storage medium based on CAN bus, which are used to solve the problem of spontaneous combustion of the car and inability to sit down due to excessive cabin temperature in the prior art.

[0004] According to one aspect of an embodiment of the present invention, a method for adjusting cabin temperature based on a CAN bus is provided, the method comprising: controlling the windows to open in response to a wake-up command sent by the CAN bus, the wake-up command being sent when the car is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold; continuously acquiring the cabin temperature and recording the time when the cabin temperature is acquired; if the time is less than or equal to a preset time threshold and the cabin temperature is less than or equal to a second temperature threshold, controlling the windows to close, the first temperature threshold being greater than the second temperature threshold.

[0005] In an optional embodiment, the automobile includes a diagonally arranged window group, and the step of controlling the opening of the windows in response to the wake-up command sent by the CAN bus includes: obtaining wind direction information in the wake-up command sent by the CAN bus; selecting a target window group from the diagonally arranged window groups according to the wind direction information; and controlling the opening of the target window group.

[0006] In an optional manner, the step of controlling the opening of the target window group includes: obtaining the cabin temperature in the wake-up command sent by the CAN bus; selecting a target window opening from a preset window opening table according to the cabin temperature, wherein the preset window opening table includes a correspondence between the cabin temperature and the window opening; and controlling the opening of the target window group based on the target window opening.

[0007] In an optional manner, the step of selecting a target window group from diagonally arranged window groups based on the wind direction information includes: obtaining orientation information of each window group; calculating the similarity between the wind direction information and the orientation information of each window group; and selecting the window group corresponding to the maximum similarity as the target window group.

[0008] In an optional manner, after the step of opening the vehicle window, the method further includes: if it is obtained that there is a target object in the vehicle cabin, determining whether a Bluetooth signal is received; if no Bluetooth signal is received, controlling the vehicle window to close and performing an alarm process.

[0009] In an optional embodiment, the method also includes: if the time is greater than the preset time threshold and the cabin temperature is greater than the second temperature threshold, sending an air-conditioning external circulation start instruction, so that the air-conditioning starts the air-conditioning external circulation based on the received air-conditioning external circulation start instruction; in response to the time for the air-conditioning to start the air-conditioning external circulation reaching the time threshold, controlling the vehicle windows to close, and sending an air-conditioning internal circulation start instruction, so that the air-conditioning starts the air-conditioning internal circulation based on the received air-conditioning internal circulation start instruction.

[0010] According to another aspect of an embodiment of the present invention, a method for adjusting cabin temperature based on a CAN bus is provided, the method comprising: receiving a wake-up command sent by a sensor, the wake-up command being sent when the car is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold; sending the wake-up command to a main control chip, so that the main control chip controls the opening of windows based on the wake-up command, and continuously obtains the cabin temperature and records the time when the cabin temperature is obtained, if the time is less than or equal to a preset time threshold, and the cabin temperature is less than or equal to a second temperature threshold, controlling the windows to close, and the first temperature threshold is greater than the second temperature threshold.

[0011] According to another aspect of an embodiment of the present invention, a cabin temperature adjustment system based on a CAN bus is provided, the system comprising a sensor, a CAN bus and a main control chip; the sensor collects the cabin temperature, and when the cabin temperature is greater than or equal to a first temperature threshold and the car is in a locked state, sends a wake-up command to the CAN bus; the CAN bus sends the wake-up command sent by the sensor to the main control chip; the main control chip controls the opening of the windows based on the wake-up command, and continuously obtains the cabin temperature and records the time when the cabin temperature is obtained, if the time is less than or equal to a preset time threshold, and the cabin temperature is less than or equal to a second temperature threshold, controls the windows to be closed, and the first temperature threshold is greater than the second temperature threshold.

[0012] According to another aspect of an embodiment of the present invention, there is provided an automobile, comprising a memory and a processor, wherein the processor is configured to execute program instructions stored in the memory to implement any of the above-mentioned methods for adjusting cabin temperature based on the CAN bus.

[0013] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, on which program instructions are stored. When the program instructions are executed by a processor, any one of the above-mentioned vehicle cabin temperature adjustment methods based on the CAN bus is implemented.

[0014] In the embodiment of the present invention, when the car is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold, a wake-up instruction is sent through the CAN bus to control the windows to open, and when the cabin temperature is obtained at a time point less than or equal to a preset time threshold and the cabin temperature is less than or equal to a second temperature threshold, the windows are controlled to close. In this way, wake-up can be achieved based on the CAN bus, and the windows can be controlled to open, thereby reducing the cabin temperature and avoiding the problem of the car spontaneously catching fire due to excessive cabin temperature and the inability to sit on the seats.

[0015] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0017] Figure 1 is a flow chart of an exemplary embodiment of a vehicle cabin temperature adjustment method based on a CAN bus shown in the present application;

[0018] Figure 2 is a structural schematic diagram of the connection between the CAN bus and the sensor in the cabin temperature adjustment method based on the CAN bus shown in the present application;

[0019] Figure 3 yes Figure 1 A flow chart of an exemplary embodiment of step 110 in a method for adjusting cabin temperature based on a CAN bus is shown;

[0020] Figure 4 yes Figure 3 The effect schematic diagram of the window group in the cabin temperature adjustment method based on the CAN bus is shown;

[0021] Figure 5 yes Figure 1 A flow chart of an exemplary embodiment of a method for adjusting cabin temperature based on a CAN bus after step 110 is shown;

[0022] Figure 6is a flow chart of an exemplary embodiment of a vehicle cabin temperature adjustment method based on a CAN bus shown in the present application;

[0023] Figure 7 is a flow chart of another exemplary embodiment of a vehicle cabin temperature adjustment method based on a CAN bus shown in the present application;

[0024] Figure 8 is a structural schematic diagram of a cabin temperature adjustment system based on a CAN bus shown in the present application;

[0025] Fig. 9 is a block diagram of a main control chip shown in an exemplary embodiment of the present application;

[0026] Fig.10 It is a structural schematic diagram of an embodiment of a vehicle of the present application;

[0027] Fig.11 It is a structural diagram of an embodiment of a computer-readable storage medium of the present application. DETAILED DESCRIPTION

[0028] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0029] Figure 1 The flowchart of an exemplary embodiment of the method for adjusting cabin temperature based on the CAN bus of the present invention is shown. The method can be executed by the main control chip in the car or by the server. The embodiment of the present application is described with the main control chip as the execution subject. Figure 1 As shown, the method comprises the following steps:

[0030] Step S110, in response to a wake-up instruction sent by the CAN bus, controlling the window to open, the wake-up instruction being sent when the vehicle is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold.

[0031] CAN bus refers to the CAN bus protocol. CAN (controller area network) is the full name of controller area network. It is a serial data communication bus developed to solve the data exchange between many control components of a car. In the embodiment of the present application, the CAN bus includes two CAN interfaces, CAN_H and CAN_L. The sensor transmits the collected cabin temperature to the main control chip through the two CAN interfaces, CAN_H and CAN_L in the CAN bus. Exemplarily, the sensor may include a temperature sensor and a light sensor. The temperature sensor can be used to collect the cabin temperature, and the light sensor can be used to collect the light intensity. It should be noted that the intensity of light can also indirectly reflect the size of the cabin temperature, because too strong light intensity also means that there is sufficient sunlight, and the cabin temperature will rise accordingly. Please refer to Figure 2 , Figure 2 The figure shows a schematic diagram of the connection between the two CAN interfaces CAN_H and CAN_L in the CAN bus and the temperature sensor and the light sensor respectively.

[0032] The wake-up command is used to wake up the dormant main control chip. Exemplarily, the wake-up command can be a specific frame message. Specifically, the sensor collects the cabin temperature. When it is determined that the car is in a locked state and the collected cabin temperature is greater than or equal to the first temperature threshold, the sensor sends a specific frame message to the CAN bus. The CAN bus transmits the received specific frame message to the main control chip MCU. After receiving the specific frame message, the main control chip MCU pulls up the INH pin of the chip in the dormant state, and then recognizes that the INH pin is pulled high and starts to work normally, controlling the windows to open so that air can enter the cabin, thereby reducing the cabin temperature.

[0033] Step S120, continuously obtaining the cabin temperature and recording the time when the cabin temperature is obtained.

[0034] In order to avoid safety issues caused by the absence of the car owner during the window opening process, the embodiment of the present application needs to continuously obtain the cabin temperature and correspondingly record the time when the cabin temperature is obtained, and determine whether the window can be closed based on the obtained cabin temperature and the time when the cabin temperature is obtained.

[0035] Step S130, if the time is less than or equal to the preset time threshold, and the cabin temperature is less than or equal to the second temperature threshold, control the window to close, and the first temperature threshold is greater than the second temperature threshold.

[0036] The first temperature threshold and the second temperature threshold can be temperature values ​​set manually, or can be temperature values ​​determined based on the average value of historical temperatures. The embodiments of the present application are not limited to this. It should be noted that the first temperature threshold is greater than the second temperature threshold. The first temperature threshold is the temperature at which the windows need to be opened when the cabin temperature reaches a high temperature, and the second temperature threshold is the temperature at which the windows need to be closed when the cabin temperature drops to a low temperature.

[0037] The main control chip determines whether the time when the cabin temperature is obtained is less than or equal to a preset time threshold, and determines whether the cabin temperature is less than or equal to a second temperature threshold. If the time when the cabin temperature is obtained is less than or equal to the preset time threshold, and the cabin temperature is less than or equal to the second temperature threshold, it indicates that the cabin temperature has dropped to a low temperature, and the main control chip controls the windows to be closed.

[0038] It can be seen that the cabin temperature adjustment method based on the CAN bus in the embodiment of the present application controls the windows to open through the wake-up command sent by the CAN bus when the car is in a locked state and the cabin temperature is greater than or equal to the first temperature threshold, and controls the windows to close when the cabin temperature is obtained at a time less than or equal to a preset time threshold and the cabin temperature is less than or equal to a second temperature threshold. In this way, wake-up can be achieved based on the CAN bus, and the windows can be controlled to open, thereby reducing the cabin temperature and avoiding the problem of spontaneous combustion of the car and inability to sit on the seats due to excessive cabin temperature.

[0039] Based on the above embodiments, the embodiments of the present application adopt Figure 3 The flowchart shown in the figure explains in detail how to determine the window group and then open the window group. Figure 3 , Figure 3 yes Figure 1 The flowchart of an exemplary embodiment of step 110 in the cabin temperature adjustment method based on the CAN bus is shown. Specifically, step S110 responds to the wake-up instruction sent by the CAN bus, and controlling the window to open also includes the following steps:

[0040] Step S210, obtaining wind direction information in the wake-up instruction sent by the CAN bus.

[0041] If it is dangerous to open all the windows in the car to cool down the cabin temperature, the embodiment of the present application considers opening only some of the windows in the car. Specifically, the windows in the car are selected for opening according to the wind direction information. For example, a group of windows arranged opposite to each other can be selected, or a group of windows arranged diagonally can be selected.

[0042] Wind direction information refers to wind direction information. For example, the wind direction information can be obtained by installing a wind direction sensor on the outside of the car. Specifically, the wind direction sensor can be installed on the roof of the car to facilitate accurate wind direction acquisition.

[0043] In an embodiment of the present application, the wind direction sensor transmits the acquired wind direction information to the main control chip via the CAN bus through a wake-up command.

[0044] Step S220 , selecting a target window group from diagonally arranged window groups according to wind direction information.

[0045] For details, please refer to Figure 4 , Figure 4 Four windows are shown in the figure, and the window group can be windows AB arranged opposite to each other, or it can be window group AC arranged diagonally.

[0046] In an embodiment of the present application, in order to increase the circulation area of ​​air in the cabin, a diagonally arranged window group is selected, and a target window group is selected from the diagonally arranged window group according to the wind direction information. Exemplarily, the orientation information of the diagonally arranged window group AC and the orientation information of the diagonal BD are obtained, and the similarity between the wind direction information and the orientation information of the window group AC is calculated, and the similarity between the wind direction information and the orientation information of the window group DB is calculated, and the window group corresponding to the maximum similarity is selected as the target window group. Among them, the similarity is used to describe the similarity between the wind direction and the orientation of the window group. The maximum similarity is used to describe the orientation of the window group in the window group that is closest to the wind direction.

[0047] Step S230, controlling the target window group to open.

[0048] The main control chip controls the opening of the target window group to allow air to flow in the cabin to the greatest extent. Furthermore, considering the relationship between window opening and safety, the embodiment of the present application determines the window opening according to the cabin temperature. Specifically, the main control chip obtains the cabin temperature in the wake-up command sent by the CAN bus, and selects the target window opening from the preset window opening table according to the cabin temperature, and then controls the opening of the target window group based on the target window opening, that is, the window opening of the target window group is the target window opening. Among them, the preset window opening table includes the correspondence between the cabin temperature and the window opening.

[0049] It can be seen that the cabin temperature adjustment method based on the CAN bus in the embodiment of the present application selects the target window group according to the wind direction information, and then controls the opening of the target window group, thereby increasing the air circulation area in the cabin and accelerating the reduction of the cabin temperature.

[0050] Based on the above embodiments, the embodiments of the present application adopt Figure 5 The flowchart shown in the figure explains in detail how to ensure the safety of the car when the windows are opened. Figure 5 , Figure 5 yes Figure 1The flowchart of an exemplary embodiment after step 110 in the cabin temperature adjustment method based on the CAN bus is shown. Specifically, after the process of controlling the window opening in response to the wake-up instruction sent by the CAN bus in step S110, the cabin temperature adjustment method based on the CAN bus in the embodiment of the present application further includes the following steps:

[0051] Step S310: If it is obtained that there is a target object in the cabin, it is determined whether a Bluetooth signal is received.

[0052] The target objects may include strangers or strangers and car owners.

[0053] Bluetooth signal refers to the signal sent by the car key.

[0054] The target object in the cabin can be identified and obtained by the sensor set in the cabin. The sensor transmits the identified target object information to the main control chip through the CAN bus. If the main control chip obtains the existence of the target object in the detection range, it determines whether the Bluetooth signal is received within the preset time. If so, it indicates that the owner has returned to the vicinity of the car. If not, step S320 is executed. It should be noted that the sensor can be an infrared sensor.

[0055] In other embodiments, whether the window is closed can also be determined by obtaining whether there is a target object in the detection range. The detection range is a range determined by a preset distance with the car as the center. In other embodiments, it can also be a range at a certain distance from the window. Exemplarily, the sensor detects the target object information in the detection range, and transmits the detected target object information to the main control chip via the CAN bus. If the main control chip obtains the existence of the target object in the detection range, it determines whether the Bluetooth signal is received within the preset time. If so, it indicates that the owner has returned to the vicinity of the car. If not, step S320 is executed.

[0056] Step S320: If no Bluetooth signal is received, the vehicle windows are controlled to close and an alarm is triggered.

[0057] The alarm processing can be the double flashing of the car lights, the sounding of the buzzer in the car and the power failure of the vehicle. It can also send an alarm message to the car owner through SMS or phone call.

[0058] In other embodiments, the main control chip parses the target object information obtained in the cabin and matches the target object information with the object information in the preset database. If the match is successful, it indicates that the target object obtained is the car owner or other users allowed to approach the car by the car owner. If the match is unsuccessful, it indicates that the target object obtained is a stranger. It should be noted that the target object information includes facial information, head shape information, height information, etc. The main control chip can use facial information for face recognition matching, or it can perform comprehensive matching based on facial information, head shape information, height information, etc. to determine whether the target object obtained is the car owner or other users allowed to approach the car by the car owner.

[0059] It can be seen that the cabin temperature adjustment method based on the CAN bus in the embodiment of the present application controls the closing of the windows by judging whether the target object in the cabin is the car owner and whether a Bluetooth signal is received, thereby achieving cabin cooling while ensuring the safety of the car and avoiding safety problems caused by the windows being open and the owner not being around the car.

[0060] Based on the above embodiments, the embodiments of the present application adopt Figure 6 The flowchart shown in the figure explains in detail how to cool the cabin temperature. Figure 6 , Figure 6 1 is a flow chart of an exemplary embodiment of a method for adjusting cabin temperature based on a CAN bus shown in the present application. Specifically, the method for adjusting cabin temperature based on a CAN bus in the embodiment of the present application further includes the following steps:

[0061] Step S410, if the time is greater than the preset time threshold and the cabin temperature is greater than the second temperature threshold, an air conditioning external circulation start instruction is sent to enable the air conditioner to start the air conditioning external circulation based on the received air conditioning external circulation start instruction.

[0062] The air conditioning external circulation start command is used to instruct the air conditioner to start the air conditioning external circulation.

[0063] The main control chip determines whether the time is greater than the preset time threshold and the cabin temperature is greater than the second temperature threshold. If so, it sends an air conditioning external circulation start instruction to the air conditioner, and the air conditioner starts the air conditioning external circulation based on the air conditioning external circulation start instruction sent by the main control chip to discharge the high-temperature gas in the cabin as soon as possible. It should be noted that in order to discharge the high-temperature gas in the car as soon as possible, the air conditioning external circulation should be set to the maximum circulation gear.

[0064] Step S420, in response to the time for the air conditioner to turn on the air conditioner external circulation reaching a time threshold, control the vehicle window to close, and send an air conditioner internal circulation start instruction, so that the air conditioner turns on the air conditioner internal circulation based on the received air conditioner internal circulation start instruction.

[0065] The air conditioning internal circulation start command is used to instruct the air conditioner to start the air conditioning internal circulation.

[0066] When the air conditioner turns on the air conditioning external circulation, the time of turning on the air conditioning external circulation is recorded, and the main control chip determines whether the time of turning on the air conditioning external circulation of the air conditioner reaches the time threshold. If so, the car window is controlled to close, and the air conditioning internal circulation is turned on by sending an instruction to turn on the air conditioning internal circulation. The air conditioner turns on the air conditioning internal circulation based on the air conditioning internal circulation turn-on instruction sent by the main control chip. It should be noted that in order to allow the cold air to sink automatically, realize natural convection, and thus improve the cooling efficiency, the main control chip of the embodiment of the present application can also set the air conditioning vents as the target direction. Exemplarily, the main control chip obtains the target direction of the air conditioning vents in the air conditioning internal circulation turn-on instruction, and adjusts the current direction of the air conditioning vents to the target direction. It should also be noted that if the cabin temperature obtained by the main control chip is less than or equal to the second temperature threshold, an air conditioning internal circulation turn-off instruction is sent to the air conditioner, and the air conditioner turns off the air conditioning internal circulation based on the received air conditioning internal circulation turn-off instruction.

[0067] It can be seen that the cabin temperature adjustment method based on the CAN bus of the embodiment of the present application determines whether to indicate to turn on the air-conditioning external circulation by judging whether the time of obtaining the cabin temperature is greater than the preset time threshold, and judging whether the cabin temperature is greater than the second temperature threshold. If the time is greater than the preset time threshold and the cabin temperature is greater than the second temperature threshold, an air-conditioning external circulation start instruction is sent to enable the air-conditioning to turn on the air-conditioning external circulation based on the received air-conditioning external circulation start instruction, thereby improving the discharge efficiency of high-temperature gas in the cabin. Afterwards, in response to the time for the air-conditioning to turn on the air-conditioning external circulation reaching the time threshold, the windows are controlled to close, and an air-conditioning internal circulation start instruction is sent to enable the air-conditioning to turn on the air-conditioning internal circulation based on the received air-conditioning internal circulation start instruction, thereby improving the cooling efficiency and reducing the cabin temperature as soon as possible.

[0068] Figure 7 FIG. 1 is a flow chart showing another exemplary embodiment of a method for adjusting cabin temperature based on a CAN bus according to the present invention, and the method can be executed by the CAN bus. Figure 1 As shown, the method comprises the following steps:

[0069] Step S510, receiving a wake-up instruction sent by a sensor, where the wake-up instruction is sent when the car is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold.

[0070] Step S520, sending the wake-up command to the main control chip, so that the main control chip controls the opening of the window based on the wake-up command, and continuously obtains the cabin temperature and records the time when the cabin temperature is obtained. If the time is less than or equal to the preset time threshold, and the cabin temperature is less than or equal to the second temperature threshold, the window is controlled to be closed, and the first temperature threshold is greater than the second temperature threshold.

[0071] The detailed description of steps S510 to S520 in the embodiment of the present application can be found in the above embodiment, and will not be repeated here.

[0072] It can be seen that the cabin temperature adjustment method based on the CAN bus in the embodiment of the present application is awakened based on the CAN bus, so that the main control chip controls the opening of the windows, thereby reducing the cabin temperature and avoiding the problem of the car spontaneously igniting due to excessive cabin temperature and the inability to sit on the seats.

[0073] Figure 8 FIG. 2 shows a schematic diagram of the structure of a vehicle cabin temperature adjustment system based on a CAN bus according to the present invention. Figure 8 As shown, the system includes a main control chip, a sensor (not shown) and a CAN bus. The sensor is connected to the CAN bus and transmits the collected information to the main control chip through two CAN interfaces CAN_H and CAN_L in the CAN bus.

[0074] Specifically, the sensor collects the cabin temperature and sends a wake-up command to the CAN bus when the cabin temperature is greater than or equal to the first temperature threshold and the car is in a locked state; the CAN bus sends the wake-up command sent by the sensor to the main control chip; the main control chip controls the opening of the windows based on the wake-up command, and continuously obtains the cabin temperature and records the time when the cabin temperature is obtained. If the time is less than or equal to the preset time threshold, and the cabin temperature is less than or equal to the second temperature threshold, the windows are controlled to be closed, and the first temperature threshold is greater than the second temperature threshold.

[0075] It should be noted that Figure 8 The infrared detection in the infrared sensor is used to detect whether a stranger enters the cabin. If so, the alarm system will be triggered to handle the alarm. The air conditioning temperature control is used to start the corresponding air conditioning cycle after receiving the air conditioning external cycle start command or the air conditioning internal cycle start command sent by the main control chip.

[0076] Fig. 9 FIG. 1 is a block diagram of a main control chip shown in an exemplary embodiment of the present application. Fig. 9 As shown, the exemplary main control chip 900 includes: a wake-up module 910, an acquisition module 920 and a control module 930. Specifically:

[0077] The wake-up module 910 is used to control the opening of the vehicle window in response to a wake-up instruction sent by the CAN bus. The wake-up instruction is sent when the vehicle is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold.

[0078] The acquisition module 920 is used to continuously acquire the cabin temperature and record the time when the cabin temperature is acquired.

[0079] The control module 930 is used to control the window to close if the time is less than or equal to a preset time threshold and the cabin temperature is less than or equal to a second temperature threshold, and the first temperature threshold is greater than the second temperature threshold.

[0080] In this exemplary main control chip, when the car is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold, the wake-up command sent through the CAN bus controls the windows to open, and when the cabin temperature is obtained at a time less than or equal to a preset time threshold and the cabin temperature is less than or equal to a second temperature threshold, the windows are controlled to close. In this way, wake-up can be achieved based on the CAN bus, and the windows can be controlled to open, thereby reducing the cabin temperature and avoiding the problem of the car catching fire due to excessive cabin temperature and the inability to sit on the seats.

[0081] The functions of each module can be found in the embodiment of the engine abnormal start control method based on a hybrid vehicle, and will not be described in detail here.

[0082] See also Fig.10 , Fig.10 1 is a schematic diagram of the structure of an embodiment of the automobile of the present application. Automobile 100 includes a memory 101 and a processor 102, and processor 102 is used to execute program instructions stored in memory 101 to implement the steps in any of the above-mentioned embodiments of the method for adjusting cabin temperature based on CAN bus. In a specific implementation scenario, hybrid vehicle 100 may include but is not limited to: a microcomputer, a server, and in addition, hybrid vehicle 100 may also include mobile devices such as laptops and tablet computers, which are not limited here.

[0083] Specifically, the processor 102 is used to control itself and the memory 101 to implement the steps in any of the above-mentioned embodiments of the vehicle cabin temperature adjustment method based on the CAN bus. The processor 102 can also be called a CPU (Central Processing Unit). The processor 102 may be an integrated circuit chip with signal processing capabilities. The processor 102 can also be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field-programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. In addition, the processor 102 can be implemented by an integrated circuit chip.

[0084] In the above scheme, when the car is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold, a wake-up command is sent through the CAN bus to control the windows to open, and when the cabin temperature is obtained at a time less than or equal to a preset time threshold and the cabin temperature is less than or equal to a second temperature threshold, the windows are controlled to close. In this way, wake-up can be achieved based on the CAN bus, and the windows can be controlled to open, thereby reducing the cabin temperature and avoiding the problem of the car spontaneously catching fire and the inability to sit on the seats due to excessive cabin temperature.

[0085] See also Fig.11 , Fig.11 The computer-readable storage medium 110 stores program instructions 111 that can be executed by a processor, and the program instructions 111 are used to implement the steps in any of the above-mentioned vehicle cabin temperature adjustment method embodiments based on the CAN bus.

[0086] In the above scheme, when the car is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold, a wake-up command is sent through the CAN bus to control the windows to open, and when the cabin temperature is obtained at a time less than or equal to a preset time threshold and the cabin temperature is less than or equal to a second temperature threshold, the windows are controlled to close. In this way, wake-up can be achieved based on the CAN bus, and the windows can be controlled to open, thereby reducing the cabin temperature and avoiding the problem of the car spontaneously catching fire and the inability to sit on the seats due to excessive cabin temperature.

[0087] In some embodiments, the functions or modules included in the device provided by the embodiments of the present disclosure can be used to execute the method described in the above method embodiments. The specific implementation can refer to the description of the above method embodiments, and for the sake of brevity, it will not be repeated here.

[0088] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

[0089] In the several embodiments provided in the present application, it should be understood that the disclosed methods and devices can be implemented in other ways. For example, the device implementation described above is only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical, mechanical or other forms.

[0090] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of each implementation method of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program code.

Claims

1. A method for adjusting cabin temperature based on CAN bus, characterized in that: The method comprises: In response to a wake-up instruction sent by the CAN bus, controlling the window to open, the wake-up instruction being sent when the vehicle is in a locked state and the cabin temperature is greater than or equal to a first temperature threshold; Continuously obtaining the vehicle cabin temperature and recording the time when the vehicle cabin temperature is obtained; If the time is less than or equal to the preset time threshold, and the cabin temperature is less than or equal to the second temperature threshold, the window is controlled to be closed, and the first temperature threshold is greater than the second temperature threshold.

2. The method according to claim 1, characterized in that The automobile includes a window group arranged diagonally, and the step of controlling the opening of the window in response to the wake-up instruction sent by the CAN bus includes: Obtain wind direction information in the wake-up command sent by the CAN bus; Selecting a target window group from diagonally arranged window groups according to the wind direction information; Control the target window group to open.

3. The method according to claim 2, characterized in that The step of controlling the target window group to open includes: Acquiring the cabin temperature in the wake-up command sent by the CAN bus; Selecting a target window opening from a preset window opening table according to the cabin temperature, wherein the preset window opening table includes a correspondence between the cabin temperature and the window opening; The target window group is controlled to open based on the target window opening.

4. The method according to claim 2, characterized in that: The step of selecting a target window group from diagonally arranged window groups according to the wind direction information comprises: Get the orientation information of each window group; Calculating the similarity between the wind direction information and the orientation information of each window group; The window group corresponding to the maximum similarity is selected as the target window group.

5. The method according to claim 1, characterized in that After the step of opening the vehicle window, the method further includes: If it is obtained that there is a target object in the vehicle cabin, determining whether a Bluetooth signal is received; If no Bluetooth signal is received, the vehicle window is controlled to close and an alarm is performed.

6. The method according to claim 1, characterized in that The method further comprises: If the time is greater than the preset time threshold and the cabin temperature is greater than the second temperature threshold, sending an air conditioning external circulation start instruction, so that the air conditioner starts the air conditioning external circulation based on the received air conditioning external circulation start instruction; In response to the time for the air conditioner to start the air conditioner external circulation reaching a time threshold, the vehicle window is controlled to close, and an air conditioner internal circulation start instruction is sent, so that the air conditioner starts the air conditioner internal circulation based on the received air conditioner internal circulation start instruction.

7. A method for adjusting cabin temperature based on CAN bus, characterized in that: The method comprises: receiving a wake-up instruction sent by a sensor, wherein the wake-up instruction is sent when the vehicle is in a locked state and the vehicle cabin temperature is greater than or equal to a first temperature threshold; The wake-up command is sent to the main control chip, so that the main control chip controls the opening of the window based on the wake-up command, and continuously obtains the cabin temperature and records the time when the cabin temperature is obtained. If the time is less than or equal to a preset time threshold, and the cabin temperature is less than or equal to a second temperature threshold, the window is controlled to be closed, and the first temperature threshold is greater than the second temperature threshold.

8. A cabin temperature adjustment system based on CAN bus, characterized in that: The system includes a sensor, a CAN bus and a main control chip; The sensor collects the cabin temperature, and sends a wake-up command to the CAN bus when the cabin temperature is greater than or equal to a first temperature threshold and the vehicle is in a locked state; The CAN bus sends the wake-up instruction sent by the sensor to the main control chip; The main control chip controls the opening of the vehicle windows based on the wake-up command, and continuously obtains the cabin temperature and records the time when the cabin temperature is obtained. If the time is less than or equal to a preset time threshold and the cabin temperature is less than or equal to a second temperature threshold, the window is controlled to be closed, and the first temperature threshold is greater than the second temperature threshold.

9. A car, characterized in that: It comprises a memory and a processor, wherein the processor is used to execute program instructions stored in the memory to implement the vehicle cabin temperature adjustment method based on the CAN bus as described in any one of claims 1-6 or 7.

10. A computer-readable storage medium having program instructions stored thereon, characterized in that: When the program instructions are executed by the processor, the vehicle cabin temperature adjustment method based on the CAN bus as described in any one of claims 1-6 or 7 is implemented.

Citation Information

Patent Citations

  • Automatic in-car temperature regulating method and system

    CN103541623A

  • System and method for detecting and alarming human bodies in automobile

    CN106448048A

  • In-vehicle temperature control method, device and equipment and storage medium

    CN109989657A

  • Automobile window self-adaptive lifting method and system based on perception fusion

    CN112854950A

  • Cooling control method and device for vehicle cabin, vehicle and readable storage medium

    CN114953920A