Method, device and equipment for detecting real-time temperature in passenger compartment, medium and vehicle
By using the trained long-short-term memory neural network model to predict the temperature based on the signal parameters in the passenger compartment, the problem of low accuracy and high cost of temperature detection in the passenger compartment in the existing technology is solved, and accurate temperature prediction and cost are achieved. reduce.
Patent Information
- Application Number
- CN202410667957.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-27
- Publication Date
- 2024-08-27
AI Technical Summary
Existing vehicle air conditioning control systems have low accuracy and high cost when detecting the temperature in the passenger compartment. Especially under different air conditioning settings and environmental conditions, the distribution of temperature in the passenger compartment varies greatly, making it difficult to accurately predict.
The trained long-short-term memory neural network model is used to predict the temperature in the passenger compartment by obtaining the temperature in the previous period of time at the target location, air conditioning setting parameters and ambient temperature signal parameters, and multi-dimensional temperature influencing factors are used to improve the prediction accuracy. Reduce reliance on multiple temperature sensors.
It achieves accurate prediction of the temperature in the passenger cabin, reduces temperature detection costs, improves prediction accuracy, and avoids the need for additional sensors.
Smart Images

Figure CN118544758A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of temperature detection of passenger vehicles, and in particular to a method, device, equipment, medium and vehicle for detecting the real-time temperature in a passenger compartment. Background Art
[0002] As one of the most important means of transportation for people today, the comfort requirements of cars have always attracted much attention, among which the temperature control comfort of the air-conditioning system is a very important link. Under different air-conditioning settings, the real-time temperature field in the passenger compartment is different. For example, under the air-conditioning heating condition, the setting (blowing feet + 2-speed wind) and the setting (blowing face + 4-speed wind), the temperature field distribution and change over time in the passenger compartment are completely different. Even with the same air-conditioning settings, under different environmental conditions (outside temperature, vehicle speed), the real-time temperature changes in the passenger compartment are also very different, and passengers are more sensitive to the distribution and change of the temperature in the car. Therefore, for the development of air-conditioning comfort, it is very important to obtain the real-time temperature in the passenger compartment. In the existing vehicle air-conditioning control system, the corresponding temperature is collected by arranging temperature sensors in the passenger compartment. If the real-time temperature at multiple locations needs to be obtained, multiple sensors need to be added, which is costly. Therefore, in the process of detecting the temperature of the passenger compartment, how to reduce the cost has become an urgent problem to be solved. Summary of the invention
[0003] Based on this, it is necessary to provide a method, device, equipment, medium and vehicle for detecting the real-time temperature in the passenger compartment in response to the above-mentioned technical problems, so as to solve the problem of low accuracy in the process of detecting the temperature of the passenger compartment.
[0004] A first aspect of an embodiment of the present application provides a method for detecting real-time temperature in a passenger compartment, the method comprising:
[0005] Acquire signal parameters in the passenger compartment whose temperature is to be calculated, wherein the signal parameters at least include the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment whose temperature is to be calculated in the previous time period, and the ambient temperature in the previous time period;
[0006] The signal parameters are input into a passenger compartment temperature prediction model, and the current time temperature of the target position in the passenger compartment whose temperature is to be calculated is output. The passenger compartment temperature prediction model is a trained long short-term memory neural network model.
[0007] A second aspect of an embodiment of the present application provides a device for detecting real-time temperature in a passenger compartment, the device comprising:
[0008] A first acquisition module is used to acquire signal parameters in the passenger compartment whose temperature is to be calculated, wherein the signal parameters at least include the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment whose temperature is to be calculated in the previous time period, and the ambient temperature in the previous time period;
[0009] The detection module is used to input the signal parameters into a passenger compartment temperature prediction model and output the current time temperature of the target position in the passenger compartment whose temperature is to be calculated. The passenger compartment temperature prediction model is a trained long short-term memory neural network model.
[0010] A third aspect of an embodiment of the present application provides an air conditioning control device, which includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and the processor implements the detection method of the first aspect when executing the computer program.
[0011] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the detection method of the first aspect described above is implemented.
[0012] A fifth aspect of an embodiment of the present application provides a vehicle, comprising an air-conditioning control device, wherein the air-conditioning control device is used to implement the detection method of the first aspect.
[0013] Compared with the prior art, the present invention has the following beneficial effects:
[0014] The signal parameters in the passenger compartment of the temperature to be calculated are obtained, and the signal parameters at least include the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment of the temperature to be calculated in the previous time period, and the ambient temperature in the previous time period. The signal parameters are input into the passenger compartment temperature prediction model, and the current time temperature of the target position in the passenger compartment of the temperature to be calculated is output. The passenger compartment temperature prediction model is a trained long short-term memory neural network model. In the present application, based on the signal parameters in the passenger compartment of the temperature to be calculated, the temperature of the target position at the current time is calculated, and multi-dimensional temperature influencing factors are used, so that the temperature of the target position can be accurately predicted, and the prediction accuracy of the temperature in the passenger compartment is improved. There is no need to set up multiple temperature sensors, and the trained passenger compartment temperature prediction model is used to predict the real-time temperature, thereby reducing the temperature detection cost in the passenger compartment. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0016] Figure 1 It is a flow chart of a method for detecting the real-time temperature in a passenger compartment provided in the first embodiment of the present application;
[0017] Figure 2 It is a flow chart of a method for detecting the real-time temperature in a passenger compartment provided in the second embodiment of the present application;
[0018] Figure 3 It is a flowchart of a method for detecting the real-time temperature in a passenger compartment provided in Embodiment 3 of the present application;
[0019] Figure 4 This is a structural block diagram of a device for detecting real-time temperature in a passenger compartment provided in Embodiment 4 of the present application;
[0020] Figure 5 This is a structural schematic diagram of an air conditioning control device provided in Embodiment 5 of the present application;
[0021] Figure 6 This is a schematic diagram of a vehicle provided in Example 6 of the present application. DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0023] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0024] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0025] As used in the present specification and the appended claims, the term "if" may be interpreted as "when" or "upon" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" may be interpreted as meaning "upon determination" or "in response to determining" or "upon detection of [described condition or event]" or "in response to detecting [described condition or event]", depending on the context.
[0026] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0027] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0028] It should be understood that the order of execution of the steps in the following embodiments does not imply a precedence of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0029] In order to illustrate the technical solution of the present invention, the following is described through specific embodiments.
[0030] See also Figure 1 , is a flow chart of a method for detecting the real-time temperature in a passenger compartment provided by Embodiment 1 of the present invention, such as Figure 1 As shown, the method for detecting the real-time temperature in the passenger compartment may include the following steps.
[0031] S101: Acquire signal parameters in a passenger compartment whose temperature is to be calculated, wherein the signal parameters include at least a temperature of a target position in a previous time period, air conditioning setting parameters in the passenger compartment whose temperature is to be calculated in a previous time period, and an ambient temperature in a previous time period.
[0032] In step S101, signal parameters in the passenger compartment whose temperature is to be calculated are obtained, wherein the signal parameters are parameters that affect the temperature in the passenger compartment whose temperature is to be calculated, the passenger compartment whose temperature is to be calculated is a passenger compartment that requires real-time temperature detection, and the signal parameters include at least the temperature of a target position in a previous time period, the air-conditioning setting parameters of the passenger compartment whose temperature is to be calculated in a previous time period, and the ambient temperature of the previous time period, wherein the target position is a certain position or multiple positions in the passenger compartment whose temperature is to be calculated, and the ambient temperature of the previous time period is the temperature outside the passenger compartment.
[0033] In this embodiment, signal parameters in a passenger compartment whose temperature is to be calculated are obtained, and the signal parameters include at least the temperature of a target position in a previous time period, the air-conditioning setting parameters in the passenger compartment whose temperature is to be calculated in a previous time period, and the ambient temperature in the previous time period, wherein the passenger compartment whose temperature is to be calculated is a passenger compartment whose temperature needs to be detected in real time, and the temperature in the previous time period of the target position is the predicted temperature at each moment in the previous time period of the target position, that is, the temperature detected when the previous time period is the current time. When obtaining the air-conditioning setting parameters in the passenger compartment whose temperature is to be calculated in a previous time period and the ambient temperature in the previous time period, corresponding sensors can be used to obtain them, and the information obtained by the sensor is sent to a controller area network bus (CAN), and the sensor value is transmitted to a corresponding server through the controller area network bus. For example, the corresponding sensor is used to detect the air-conditioning setting parameters in the passenger compartment whose temperature is to be calculated in a previous time period, and the temperature sensor is used to collect the temperature outside the passenger compartment.
[0034] It should be noted that, in this embodiment, the temperature of the target position in the passenger compartment in the previous time period, the air conditioning setting parameters in the passenger compartment in the previous time period and the ambient temperature in the previous time period are used as parameters for predicting the temperature of the target position at the current time. The temperature of the target position in the passenger compartment in the previous time period is selected because the temperature of the target position at the current time is calculated based on the temperature of the target position in the previous time period, and the increase and decrease of the temperature of the target position at the current time period have a greater relationship with the temperature of the target position in the previous time period. The air conditioning setting parameters in the passenger compartment in the previous time period are selected because the air conditioning setting parameters in the previous time period can control the air volume of the air outlet at the corresponding target position. When the initial air flows out cold air, the air volume is large, and the temperature of the target position can be quickly reduced. When the air outlet flows out hot air, the air volume is large, and the temperature of the target position can be quickly increased. The ambient temperature in the previous time period is selected because the ambient temperature is related to the temperature influence coefficient. The temperature influence coefficient is the influence coefficient of the temperature difference between the vehicle temperature and the ambient temperature on the vehicle temperature every 1°C change.
[0035] It should be noted that the air conditioning setting parameters of the previous time period in the passenger compartment whose temperature is to be calculated may include the outlet temperature, the outlet volume and the outlet mode of the air outlet. The outlet temperature of the air outlet can be detected by the temperature sensor, and the outlet volume of the air outlet may include different levels such as the first-gear air volume, the second-gear air volume, the third-gear air volume and the fourth-gear air volume. The higher the level, the greater the air volume. The outlet mode may include a face blowing mode, a foot blowing mode, and a combination of the face blowing mode and the foot blowing mode. Among them, each air outlet needs to obtain the corresponding outlet temperature, outlet volume and outlet mode. For example, if the air outlet is the main driver's air outlet, the outlet temperature, outlet volume and outlet mode of the main driver's air outlet need to be obtained.
[0036] It should be noted that different target positions require the collection of air outlet temperatures of different air outlets. For example, if the target position is the main driver's seat, that is, when detecting the real-time temperature of the main driver's seat, it is necessary to use a temperature sensor to detect the air outlet temperature of the main driver's seat in the previous time period, the air outlet temperature of the co-driver's seat in the previous time period, the air outlet temperature of the air outlet at the left position of the rear row in the previous time period, the air outlet temperature of the air outlet at the right position of the rear row, etc. If the target position is the co-driver's seat, that is, when detecting the real-time temperature of the co-driver's seat, it is necessary to use a temperature sensor to detect the air outlet temperature of the main driver's seat in the previous time period, the air outlet temperature of the co-driver's seat in the previous time period, the air outlet temperature of the air outlet at the left position of the rear row in the previous time period, the air outlet temperature of the air outlet at the right position of the rear row, etc.
[0037] It should be noted that if the target position is multiple positions in the passenger compartment whose temperature is to be calculated, when collecting the air outlet temperature of the air outlet at the target position, it is necessary to collect the air outlet temperature of the corresponding multiple positions in the previous time period. For example, if the target position is the main driver and the co-driver in the passenger compartment whose temperature is to be calculated, that is, when detecting the real-time temperature at the main driver and the co-driver, it is necessary to use a temperature sensor to detect the air outlet temperature at the main driver's air outlet in the previous time period and the air outlet temperature at the co-driver's air outlet in the previous time period.
[0038] In the present embodiment, signal parameters that affect the real-time temperature in the passenger compartment are obtained, and the real-time temperature in the passenger compartment for the temperature to be calculated is predicted based on the signal parameters, wherein multiple signal parameters related to the real-time temperature in the passenger compartment for the temperature to be calculated are obtained, thereby improving the accuracy of predicting the real-time temperature in the passenger compartment for the temperature to be calculated.
[0039] Optionally, the signal parameters also include the light intensity in the passenger compartment whose temperature is to be calculated in the previous time period and the vehicle speed of the vehicle corresponding to the passenger compartment whose temperature is to be calculated in the previous time period.
[0040] In this embodiment, in order to further improve the accuracy of predicting the real-time temperature in the passenger compartment of the temperature to be calculated, the number of signal parameters is increased, and the signal parameters also include other relevant parameters that affect the real-time temperature in the passenger compartment of the temperature to be calculated, for example, the light intensity in the passenger compartment of the temperature to be calculated in the previous time period and the vehicle speed of the vehicle corresponding to the passenger compartment of the temperature to be calculated in the previous time period. When collecting the light intensity in the passenger compartment of the temperature to be calculated in the previous time period, the light intensity can be detected by a light intensity sensor installed outside the vehicle, or it can be obtained from the network end, which is not limited in this embodiment. When collecting the vehicle speed of the vehicle corresponding to the previous time period in the passenger compartment of the temperature to be calculated, it can be detected by a speed sensor. The parameters collected by the sensor are sent to the controller local area network bus.
[0041] It should be noted that the added signal parameters also include the light intensity in the passenger compartment of the temperature to be calculated in the previous time period and the vehicle speed of the vehicle corresponding to the passenger compartment of the temperature to be calculated in the previous time period. The light intensity in the passenger compartment of the temperature to be calculated in the previous time period is selected because when sunlight shines on non-transparent outer surfaces such as the car body, a part is absorbed and the rest is reflected, but when it shines on the glass, in addition to the absorbed and reflected parts, the rest enters the passenger compartment and is absorbed by the interior panel. The glass or interior panel absorbs heat and the temperature rises. When the temperature is higher than the ambient air temperature, it transfers heat to the inside and outside of the passenger compartment in a convection manner. The heat entering the passenger compartment will eventually affect the air temperature in the passenger compartment, thereby affecting the temperature at the target position. The vehicle speed of the vehicle corresponding to the passenger compartment of the temperature to be calculated in the previous time period is selected because the vehicle speed causes the forced convection heat exchange coefficient between the vehicle and the environment to change. The greater the vehicle speed, the greater the fluid speed driven, and the greater the fluid speed, the greater its convection heat transfer coefficient.
[0042] See also Figure 2 , is a schematic diagram of a flow chart of detecting the real-time temperature in a passenger compartment provided in the second embodiment of the present application. Figure 2 As shown, a method for detecting the real-time temperature in a passenger compartment further includes the following steps:
[0043] S201: Obtain N groups of sample data and label data corresponding to the sample data, each group of sample data includes the temperature of the target position in the passenger cabin in the previous time period, the air conditioning setting parameters in the passenger cabin in the previous time period, and the ambient temperature in the previous time period, the label data is the temperature of the target position in the passenger cabin at the current time, and N is an integer greater than zero;
[0044] S202: Obtain an initial long short-term memory neural network model, and use N groups of sample data and label data to train the initial long short-term memory neural network model to obtain a trained long short-term memory neural network model.
[0045] In this embodiment, N groups of sample data and label data corresponding to the sample data are obtained, and the sample data in each group includes the temperature of the target position in the passenger compartment in the previous time period, the air conditioning setting parameters in the passenger compartment in the previous time period, and the ambient temperature in the previous time period, and the label data is the temperature of the target position in the passenger compartment at the current time. Among them, when obtaining the sample data, the temperature of the target position in the previous time period is the temperature collected in the previous time period of the target position, that is, the temperature collected when the previous time period is the current time. When obtaining the temperature of the target position in the previous time period, the temperature of each moment in the previous time period of the target position is collected. When obtaining the air conditioning setting parameters in the passenger compartment in the previous time period, the corresponding sensor can be used to collect the information, and the information obtained by the sensor is sent to the controller local area network bus. The ambient temperature of the previous time period can be collected and obtained by the temperature sensor outside the vehicle.
[0046] An initial long short-term memory neural network model is obtained, and the initial long short-term memory neural network model is trained using N groups of sample data and label data to obtain a trained long short-term memory neural network model. Among them, the initial long short-term memory neural network model is an improved iterative neural network model, which effectively solves the gradient vanishing or explosion problem faced by a simple iterative neural network by introducing a logic gate mechanism, so that the deep network model can learn the long-term dependence of the time series. The key to the initial long short-term memory neural network model is the introduction of a group of memory units (MemoryUnits), which allows the network to learn when to forget historical information and when to update the memory unit with new information. The initialization parameters of the initial long short-term memory neural network model are random sampling values uniformly distributed between [-0.1, 0.1]. The root mean square error is used as the loss function, and the error back propagation algorithm is used for training, and the cross-validation method is used to experimentally find the hyperparameters of the model. The error back propagation algorithm and the cross-validation method are both prior arts in the relevant technical field, and the present invention will not be described in detail.
[0047] In this embodiment, the initial long short-term memory neural network model can be composed of an LSTM layer including 100 hidden units and a dropout layer with a drop probability of 0.5. When the initial long short-term memory neural network model is trained using sample data and label data, the number of training iterations can be set to 20, the small batch size can be set to 4, the adam solver can be used, the learning rate can be set to 0.01, and the Tanh activation function can be used to increase the nonlinear fitting ability of the model.
[0048] It should be noted that when the sample data and label data are used to train the initial long short-term memory neural network model, the sample data is used as input data, that is, the temperature of the target position in the passenger compartment in the previous time period, the air conditioning setting parameters in the passenger compartment in the previous time period and the ambient temperature in the previous time period, and the label data is the temperature of the target position in the passenger compartment at the current time as input data, which is input into the initial long short-term memory neural network model, and the predicted value of the temperature of the target position in the passenger compartment at the current time is output, and the predicted value is compared with the label data. During training, when the difference between the predicted value and the label data meets the preset condition, the training is stopped to obtain the trained long short-term memory neural network model. Or when the number of training iterations meets the preset number, the training is stopped to obtain the trained long short-term memory neural network model. Among them, the trained long short-term memory neural network model is used as the passenger compartment temperature prediction model.
[0049] In this embodiment, a long short-term memory neural network model is used to predict the real-time temperature. Predictions are made based on the existing information of the vehicle, which can create a more accurate prediction model and reduce the expertise required to improve the prediction model.
[0050] In another embodiment, N groups of sample data and label data corresponding to the sample data are obtained, the sample data in each group include the temperature of the target position in the passenger compartment in the previous time period, the air conditioning setting parameters in the passenger compartment in the previous time period and the ambient temperature in the previous time period, the light intensity in the passenger compartment in the previous time period and the vehicle speed of the vehicle corresponding to the passenger compartment in the previous time period, and the label data is the temperature of the target position in the passenger compartment at the current time.
[0051] An initial long short-term memory neural network model is obtained, and the initial long short-term memory neural network model is trained using N groups of sample data and label data to obtain a trained long short-term memory neural network model. The sample data is used as input data, that is, the temperature of the target position in the passenger compartment in the previous time period, the air conditioning setting parameters in the passenger compartment in the previous time period and the ambient temperature in the previous time period, the light intensity in the passenger compartment in the previous time period and the vehicle speed of the corresponding vehicle in the passenger compartment in the previous time period are used as input data, and input into the initial long short-term memory neural network model, and the predicted value of the temperature of the target position in the passenger compartment at the current time is output, and the predicted value is compared with the label data. During training, when the difference between the predicted value and the label data meets the preset condition, the training is stopped to obtain the trained long short-term memory neural network model. Or when the number of training iterations meets the preset number, the training is stopped to obtain the trained long short-term memory neural network model. Among them, the trained long short-term memory neural network model is used as the passenger compartment temperature prediction model.
[0052] Optionally, the temperature of the target position in the passenger compartment at the current time is one or more of the temperature of the main driver's head in the passenger compartment, the temperature of the main driver's feet in the passenger compartment, the temperature of the co-driver's head in the passenger compartment, and the temperature of the co-driver's feet in the passenger compartment.
[0053] In this embodiment, the target position may be one position in the passenger compartment or may be multiple positions. When the target position is one position in the passenger compartment, it may be one of the temperature of the main driver's head in the passenger compartment, the temperature of the main driver's feet in the passenger compartment, the temperature of the co-driver's head in the passenger compartment, and the temperature of the co-driver's feet in the passenger compartment. For example, if the target position is the position of the main driver's head in the passenger compartment, the temperature of the main driver's head in the passenger compartment is collected; if the target position is the position of the main driver's feet in the passenger compartment, the temperature of the main driver's feet in the passenger compartment is collected; if the target position is the position of the co-driver's feet in the passenger compartment, the temperature of the co-driver's feet in the passenger compartment is collected.
[0054] When the target position is a plurality of positions in the passenger compartment, at least one of the temperature of the main driver's head, the temperature of the main driver's feet, the temperature of the co-pilot's head and the temperature of the co-pilot's feet is collected. For example, if the target position is the position of the main driver's head and the position of the feet in the passenger compartment, the temperature of the main driver's head and the temperature of the feet are collected; if the target position is the position of the co-pilot's head and the position of the feet in the passenger compartment, the temperature of the co-pilot's head and the temperature of the feet are collected. If the target position is the position of the main driver's head and the position of the feet, and the position of the co-pilot's head and the position of the feet in the passenger compartment, the temperature of the main driver's head and the temperature of the feet, and the temperature of the co-pilot's head and the temperature of the feet are collected.
[0055] Optionally, the sample data and the label data are sensor data in the passenger compartment acquired by the controller network bus.
[0056] In this embodiment, the sample data and label data obtained by each sensor are sent to the vehicle server through the controller network bus. The controller network bus is serially connected to each sensor, and the vehicle server obtains the sample data and label data through the controller network bus.
[0057] See also Figure 3 , is a schematic diagram of a flow chart of detecting the real-time temperature in a passenger compartment provided in the third embodiment of the present application. Figure 3 As shown, a method for detecting the real-time temperature in a passenger compartment further includes the following steps:
[0058] S301: Obtain N test conditions, where N is an integer greater than 1;
[0059] S302: Obtain sample data of a target sample vehicle in each test condition, where the target sample vehicle is a vehicle whose passenger compartment pressure remains within a preset pressure range within a period of time.
[0060] In this embodiment, when acquiring sample data and label data, sample data and label data can be acquired respectively under different working conditions, so as to improve the diversity of sample data. When using diverse sample data for the initial long short-term memory neural network model, the training accuracy of the model can be improved. In this embodiment, the test working condition is determined according to the value of the test condition, wherein the test condition includes ambient temperature, light intensity, air conditioning mode, vehicle temperature setting and vehicle speed curve. The range of ambient temperature is -15℃~35℃, and the range of light intensity is 0-1200W / m 2 The air-conditioning modes include face blowing mode, foot blowing mode and a combination model of face blowing mode and foot blowing mode, etc. The value range of the interior temperature setting is 16℃~32℃, and the vehicle speed curves include NEDC (New European Driving Cycle) curve, CLTC (China light-duty vehicle test cycle) curve, WLTC (World Light Vehicle Test Cycle) curve and UDDS (Urban Dynamometer Driving Schedule) curve.
[0061] Different test conditions are determined according to different values of the test conditions. For example, test condition 1 is an ambient temperature of -7°C, a light intensity of 800W / m2, an air conditioning mode of a foot-blowing model + 4 windshields, a temperature set in the car of 22°C, and a speed curve of a typical Chinese urban operating condition cycle. Test condition 2 is an ambient temperature of -5°C, a light intensity of 400W / m2, an air conditioning mode of a foot-blowing model + 3 windshields, a temperature set in the car of 20°C, and a speed curve of a typical Chinese urban operating condition cycle. To ensure the robustness of the model, sample data and label data are obtained in at least 60 test conditions.
[0062] It should be noted that when obtaining different values of the test conditions, they can be collected through sensors. If the values collected by the sensors are within the value range of the test conditions, the values collected by the sensors are used as one of the test conditions. If the values collected by the sensors are not within the value range of the test conditions, the test conditions are adjusted so that the values collected by the sensors are within the value range of the test conditions. For example, if the temperature inside the car collected by the temperature sensor is 15°C, the temperature inside the car is adjusted so that the temperature inside the car is between 16°C and 32°C. When adjusting the temperature inside the car, the temperature inside the car can be adjusted by controlling the air conditioning system inside the car.
[0063] It should be noted that before obtaining sample data of the target sample vehicle in each test condition, a sample vehicle is obtained, and the air tightness of the sample vehicle is tested to obtain a vehicle whose pressure in the passenger compartment is continuously within the preset pressure range within a time period. The vehicle whose pressure in the passenger compartment is continuously within the preset pressure range within the time period is taken as the target sample vehicle. The target sample vehicle is a vehicle whose pressure in the passenger compartment is continuously within the preset pressure range within the time period.
[0064] S102: Input the signal parameters into a passenger compartment temperature prediction model, and output the current time temperature of the target position in the passenger compartment whose temperature is to be calculated. The passenger compartment temperature prediction model is a trained long short-term memory neural network model.
[0065] In step S102, the acquired signal parameters in the passenger compartment whose temperature is to be calculated are input as input data into a passenger compartment temperature prediction model, i.e., a trained long short-term memory neural network model, and the result output by the trained long short-term memory neural network model is used as the current time temperature of the target position in the passenger compartment whose temperature is to be calculated, so as to obtain the current time temperature of the target position in the passenger compartment whose temperature is to be calculated.
[0066] In this embodiment, if the acquired signal parameters are the temperature of the target position in the previous time period, the air-conditioning setting parameters in the passenger compartment of the temperature to be calculated in the previous time period, and the ambient temperature in the previous time period, then the temperature of the target position in the previous time period, the air-conditioning setting parameters in the passenger compartment of the temperature to be calculated in the previous time period, and the ambient temperature in the previous time period are input into a trained long short-term memory neural network model trained based on the temperature of the target position in the passenger compartment in the previous time period, the air-conditioning setting parameters in the passenger compartment in the previous time period, and the ambient temperature in the previous time period, and the current time temperature of the target position in the passenger compartment of the temperature to be calculated is output.
[0067] In another embodiment, if the acquired signal parameters are the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment of the temperature to be calculated in the previous time period, the light intensity in the passenger compartment of the temperature to be calculated in the previous time period, the vehicle speed of the passenger compartment corresponding to the temperature to be calculated in the previous time period, and the ambient temperature in the previous time period, then the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment of the temperature to be calculated in the previous time period, the light intensity in the passenger compartment of the temperature to be calculated in the previous time period, the vehicle speed of the passenger compartment corresponding to the temperature to be calculated in the previous time period, and the ambient temperature in the previous time period are input into a trained long short-term memory neural network model obtained by training based on the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment of the temperature to be calculated in the previous time period, the light intensity in the passenger compartment of the temperature to be calculated in the previous time period, the vehicle speed of the passenger compartment corresponding to the temperature to be calculated in the previous time period, and the ambient temperature in the previous time period, and the current time temperature of the target position in the passenger compartment of the temperature to be calculated is output.
[0068] The signal parameters in the passenger compartment of the temperature to be calculated are obtained, and the signal parameters at least include the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment of the temperature to be calculated in the previous time period, and the ambient temperature in the previous time period. The signal parameters are input into the passenger compartment temperature prediction model, and the current time temperature of the target position in the passenger compartment of the temperature to be calculated is output. The passenger compartment temperature prediction model is a trained long short-term memory neural network model. In the present application, based on the signal parameters in the passenger compartment of the temperature to be calculated, the temperature of the target position at the current time is calculated, and multi-dimensional temperature influencing factors are used, so that the temperature of the target position can be accurately predicted, and the prediction accuracy of the temperature in the passenger compartment is improved. There is no need to set up multiple temperature sensors, and the trained passenger compartment temperature prediction model is used to predict the real-time temperature, thereby reducing the temperature detection cost in the passenger compartment.
[0069] See also Figure 4 , Figure 4 The structure block diagram of a device for detecting the real-time temperature in a passenger compartment provided by the fourth embodiment of the present application is shown. For the sake of convenience, only the part related to the embodiment of the present application is shown. Figure 4 The detection device 40 includes: a first acquisition module 41 and a detection module 42.
[0070] The first acquisition module 41 is used to obtain signal parameters in the passenger compartment whose temperature is to be calculated, and the signal parameters include at least the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment whose temperature is to be calculated in the previous time period, and the ambient temperature in the previous time period.
[0071] The detection module 42 is used to input the signal parameters into the passenger compartment temperature prediction model, and output the current time temperature of the target position in the passenger compartment whose temperature is to be calculated. The passenger compartment temperature prediction model is a trained long short-term memory neural network model.
[0072] Optionally, the detection device 40 further includes:
[0073] The first acquisition module is used to obtain N groups of sample data and label data corresponding to the sample data, each group of sample data includes the temperature of the target position in the passenger compartment in the previous time period, the air conditioning setting parameters in the passenger compartment in the previous time period and the ambient temperature in the previous time period, the label data is the temperature of the target position in the passenger compartment at the current time, and N is an integer greater than zero.
[0074] The training module is used to obtain an initial long short-term memory neural network model, and train the initial long short-term memory neural network model using N groups of sample data and label data to obtain a trained long short-term memory neural network model.
[0075] Optionally, the detection device 40 further includes:
[0076] The second acquisition module is used to acquire N test conditions, where N is an integer greater than 1.
[0077] The second acquisition module is used to obtain sample data of a target sample vehicle in each test condition, where the target sample vehicle is a vehicle whose passenger compartment pressure remains within a preset pressure range within a period of time.
[0078] It should be noted that the information interaction, execution process and other contents between the above-mentioned modules are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0079] Figure 5 This is a schematic diagram of the structure of an air conditioning control device provided in Example 5 of the present application. Figure 5 As shown, the air conditioning control device of this embodiment includes: at least one processor ( Figure 5 Only one is shown), a memory, and a computer program stored in the memory and executable on at least one processor, wherein when the processor executes the computer program, the steps in any of the above-mentioned embodiments of the method for detecting the real-time temperature in the passenger compartment are implemented.
[0080] The air conditioning control device may include, but is not limited to, a processor and a memory. Those skilled in the art will appreciate that Figure 5The above is merely an example of an air-conditioning control device and does not constitute a limitation of the air-conditioning control device. The air-conditioning control device may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include a network interface, a display screen, and an input device.
[0081] The processor may be a CPU, or other general-purpose processors, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0082] The memory includes a readable storage medium, an internal memory, etc., wherein the internal memory may be the memory of the air conditioning control device, and the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the readable storage medium. The readable storage medium may be a hard disk of the air conditioning control device, and in other embodiments, it may also be an external storage device of the air conditioning control device, for example, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the air conditioning control device. Further, the memory may also include both an internal storage unit of the air conditioning control device and an external storage device. The memory is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of a computer program, etc. The memory may also be used to temporarily store data that has been output or is to be output.
[0083] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment 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 software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the above-mentioned method embodiment, which will not be repeated here. 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 such understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned method embodiment when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying computer program code, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0084] The present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed through a computer program product. When the computer program product runs on an air-conditioning control device, the air-conditioning control device can implement the steps in the above-mentioned method embodiment when executing.
[0085] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0086] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0087] In the embodiments provided in the present application, it should be understood that the disclosed device / air conditioning control equipment and method can be implemented in other ways. For example, the device / air conditioning control equipment embodiments described above are merely 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 multiple 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, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0088] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0089] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
[0090] See also Figure 6 , Figure 6 It is a schematic diagram of a vehicle provided in Embodiment 6 of the present invention, wherein the vehicle 60 includes an air conditioning control device.
Claims
1. A method for detecting real-time temperature in a passenger compartment, characterized in that: The detection method comprises: Acquire signal parameters in the passenger compartment whose temperature is to be calculated, wherein the signal parameters at least include the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment whose temperature is to be calculated in the previous time period, and the ambient temperature in the previous time period; The signal parameters are input into a passenger compartment temperature prediction model, and the current time temperature of the target position in the passenger compartment whose temperature is to be calculated is output. The passenger compartment temperature prediction model is a trained long short-term memory neural network model.
2. The detection method according to claim 1, characterized in that The signal parameters also include the light intensity in the passenger compartment whose temperature is to be calculated in the previous time period and the vehicle speed of the vehicle corresponding to the passenger compartment whose temperature is to be calculated in the previous time period.
3. The detection method according to claim 2, characterized in that Before inputting the signal parameter into the passenger compartment temperature prediction model and outputting the current time temperature of the target position in the passenger compartment whose temperature is to be calculated, the method further includes: Obtaining N groups of sample data and label data corresponding to the sample data, each group of sample data includes the temperature of the target position in the passenger compartment in the previous time period, the air conditioning setting parameters in the passenger compartment in the previous time period, and the ambient temperature in the previous time period, the label data is the temperature of the target position in the passenger compartment at the current time, and N is an integer greater than zero; An initial long short-term memory neural network model is obtained, and the initial long short-term memory neural network model is trained using the N groups of sample data and the label data to obtain a trained long short-term memory neural network model.
4. The detection method according to claim 3, characterized in that The temperature of the target position in the passenger compartment at the current time is one or more of the main driver's head temperature in the passenger compartment, the main driver's foot temperature in the passenger compartment, the co-driver's head temperature in the passenger compartment and the co-driver's foot temperature in the passenger compartment.
5. The detection method according to claim 3, characterized in that: The sample data and the tag data are sensor data in the passenger compartment acquired by a controller network bus.
6. The detection method according to claim 3, characterized in that: Before acquiring N groups of sample data and label data corresponding to the sample data, the method further includes: Get N test conditions, where N is an integer greater than 1; Sample data of the target sample vehicle is obtained in each test condition, and the target sample vehicle is a vehicle whose pressure in the passenger compartment is continuously within a preset pressure range within a period of time.
7. A device for detecting real-time temperature in a passenger compartment, characterized in that: The detection device comprises: A first acquisition module is used to acquire signal parameters in the passenger compartment whose temperature is to be calculated, wherein the signal parameters at least include the temperature of the target position in the previous time period, the air conditioning setting parameters in the passenger compartment whose temperature is to be calculated in the previous time period, and the ambient temperature in the previous time period; The detection module is used to input the signal parameters into a passenger compartment temperature prediction model and output the current time temperature of the target position in the passenger compartment whose temperature is to be calculated. The passenger compartment temperature prediction model is a trained long short-term memory neural network model.
8. An air conditioning control device, characterized in that: The air conditioning control device includes a processor, a memory, and a computer program stored in the memory and executable on the processor, and the processor implements the detection method according to claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the detection method according to claims 1 to 6 is implemented.
10. A vehicle, characterized in that: The vehicle comprises an air conditioning control device, and the air conditioning control device is used to implement the detection method as claimed in claims 1 to 6.
