Vehicle cabin temperature regulation method and related products
Patent Information
- Application Number
- CN202410234669.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-29
- Publication Date
- 2026-10-09
- Estimated Expiration
- 2044-02-29
AI Technical Summary
[0004]然而,车厢负荷值只是反映了乘客的整体情况,导致车厢的温度调节的精度低
[0020] By acquiring and identifying images of the train carriage's interior, passenger information for each passenger can be obtained. Then, based on this information, the temperature inside the carriage can be adjusted. This allows for the identification of individual passenger temperature control needs, providing tailored temperature control strategies to improve the accuracy of temperature regulation within the carriage.
Smart Images

Figure CN118220230B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle temperature regulation technology, and in particular to a method for regulating the temperature of a vehicle compartment and related products. Background Technology
[0002] With the development and popularization of public transportation, people's travel has become increasingly convenient, and taking rail trains is a common mode of transportation. The temperature inside the train carriage directly affects passenger comfort.
[0003] The traditional method for regulating the temperature of a train car's air conditioning system involves calculating the required load value, air conditioning fan speed, and air conditioning valve opening value for each car based on passenger weight data. Then, the system collects the temperature regulation data for each car's air conditioning and compares it with the calculated load value, air conditioning fan speed, and air conditioning valve opening value. Finally, the system adjusts the load value, air conditioning fan speed, and air conditioning valve opening value of the train car in real time to regulate the temperature of the car.
[0004] However, the carriage load value only reflects the overall situation of passengers, resulting in low accuracy of temperature regulation in the carriage. Summary of the Invention
[0005] To address the aforementioned problems in the prior art, this application provides a method and related products for regulating the temperature of a train carriage. By recognizing images inside the carriage, passenger information for each passenger in the carriage is obtained, and the temperature of the carriage is adjusted based on the passenger information of each passenger, thereby improving the accuracy of the temperature regulation of the carriage.
[0006] In a first aspect, embodiments of this application provide a method for regulating the temperature of a vehicle compartment, including:
[0007] Acquire images of the interior of the train carriage;
[0008] Based on the images inside the carriage, passenger information for each passenger inside the carriage is obtained;
[0009] The temperature inside the carriage is adjusted based on the passenger information of each passenger.
[0010] Secondly, embodiments of this application provide a train control and management system, which includes an acquisition unit and a processing unit;
[0011] The acquisition unit is used to acquire images of the interior of the carriage;
[0012] The processing unit is used to obtain passenger information for each passenger in the carriage based on the images inside the carriage.
[0013] The temperature inside the carriage is adjusted based on the passenger information of each passenger.
[0014] Thirdly, embodiments of this application provide an electronic device, including:
[0015] A processor and a memory, the processor being connected to the memory for storing computer programs, the processor being configured to execute the computer programs stored in the memory to cause the electronic device to perform the method as described in the first aspect.
[0016] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that is executed by a processor to implement the method described in the first aspect.
[0017] Fifthly, embodiments of this application provide a computer program product including a non-transitory computer-readable storage medium storing a computer program, the computer being operable to perform the method as described in the first aspect.
[0018] Sixthly, embodiments of this application provide a vehicle, the vehicle including the train control and management system as described in the second aspect.
[0019] Implementing the embodiments of this application has the following beneficial effects:
[0020] By acquiring and identifying images of the train carriage's interior, passenger information for each passenger can be obtained. Then, based on this information, the temperature inside the carriage can be adjusted. This allows for the identification of individual passenger temperature control needs, providing tailored temperature control strategies to improve the accuracy of temperature regulation within the carriage. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a schematic diagram of a vehicle air conditioning system provided in an embodiment of this application;
[0023] Figure 2 A schematic diagram illustrating the arrangement of an in-car camera according to an embodiment of this application;
[0024] Figure 3A schematic flowchart illustrating a method for regulating the temperature of a passenger compartment provided in an embodiment of this application;
[0025] Figure 4 A flowchart illustrating a method for adjusting carriage temperature based on passenger information, provided in an embodiment of this application;
[0026] Figure 5 A schematic flowchart of another method for adjusting the temperature of a passenger compartment based on passenger information provided in an embodiment of this application;
[0027] Figure 6 A functional unit block diagram of a train control and management system provided in this application embodiment;
[0028] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0029] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0030] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or modules is not limited to the listed steps or modules, but may optionally include steps or modules not listed, or may optionally include other steps or modules inherent to these processes, methods, products, or devices.
[0031] In this document, the term "embodiment" means that a particular feature, result, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0032] First, refer to Figure 1 , Figure 1 This is a schematic diagram of a vehicle air conditioning system provided in an embodiment of this application.
[0033] like Figure 1As shown, the car's air conditioning system includes one or more cameras, an image processor, an air conditioning controller, an intelligent fan, a frequency converter, an air conditioner, a train control and management system (TCMS), and a signaling system (vehicle on-board controller, VOBC).
[0034] It should be understood that the air conditioning system can be applied to different types of vehicles, such as buses, freight cars, trains, etc. This application embodiment uses a train as an example for illustration. Each carriage of a train has an independent air conditioning system, which is used to regulate the temperature of each carriage. This application embodiment uses the regulation of the temperature of any one carriage of a train as an example for illustration.
[0035] In this embodiment, the camera is used to capture images inside the carriage. For example, four cameras can be installed in each carriage, and the arrangement of each camera inside the carriage can be as follows: Figure 2 As shown, four cameras are installed on the top of the carriage. Camera 1 is symmetrical to camera 3, and camera 2 is symmetrical to camera 4. They are located in the middle of the four sides of the carriage top, and are used together to collect images of the carriage interior from different angles.
[0036] It should be noted that the cameras used in this embodiment can be, for example, 3D cameras, to acquire 3D image information inside the carriage in real time. An image processor establishes a 3D coordinate system within the carriage and identifies the 3D coordinate information of different objects within the carriage. Setting up four cameras inside the carriage facilitates the acquisition of images from different angles, avoiding blind spots in the captured images. Furthermore, the number of cameras and their placement can be selected based on the camera's field of view and the volume of the carriage; no limitations are imposed here.
[0037] In this embodiment, the image processor receives images of the carriage interior captured by the camera, analyzes and processes these images, and sends the processed results to the TCMS. The image processor can be independently configured or integrated into the TCMS; this embodiment uses integration into the TCMS as an example. The TCMS communicates with subsystems within the train to control, monitor, and manage the train and its corresponding subsystems, such as the aforementioned carriage air conditioning system. The VOBC can remotely communicate with the TCMS to remotely control various train subsystems, including the carriage air conditioning system, and remotely adjust the carriage temperature. The air conditioning controller receives control commands and their associated information from the TCMS. This information may include, for example, the target temperature, the location information of the target area, and the local temperature. The air conditioning controller then sends the target temperature to the frequency converter, which sends a frequency conversion signal to the air conditioner, causing the air conditioner to output a specific power to adjust the carriage temperature to the target temperature. Alternatively, the air conditioning controller sends the location information and local temperature to the intelligent fan, which then adjusts the temperature of the target area within the carriage.
[0038] Applied to the aforementioned vehicle air conditioning system, TCMS acquires images of the vehicle's interior.
[0039] Based on the images inside the carriage, TCMS obtains passenger information for each passenger inside the carriage;
[0040] Based on each passenger's information, TCMS adjusts the temperature inside the carriage.
[0041] See Figure 3 , Figure 3 This is a flowchart illustrating a method for regulating the temperature of a passenger compartment according to an embodiment of this application. This method can be applied to the aforementioned passenger compartment air conditioning system, and includes, but is not limited to, the following steps:
[0042] 301: Obtain an image of the interior of the train carriage;
[0043] In this embodiment, a camera can acquire real-time images of the interior of the carriage. This camera can be a 3D camera, which can be used to establish a 3D coordinate system within the carriage to acquire 3D images of the carriage, including projected images of different planes within the carriage. After acquiring the images of the carriage's interior, the camera sends these images to a TCMS (Traffic Control System) integrated with an image processor for visual inspection.
[0044] It should be noted that the embodiments in this application are only illustrated by taking the image inside the carriage obtained by the camera as an example. Based on the temperature regulation requirements, sensors, such as infrared thermal imaging sensors, can also be used to collect images inside the carriage, which is not limited here.
[0045] 302: Based on the images inside the carriage, obtain passenger information for each passenger inside the carriage.
[0046] In this embodiment, after receiving the interior image of the carriage captured by the camera, the TCMS sends the image to the image processor integrated within the TCMS. The image processor analyzes the interior image according to a configured algorithm to identify the passenger information of each passenger in the carriage. Based on this passenger information, the passenger's temperature control requirements can be determined, and a corresponding temperature control strategy for this carriage can be derived.
[0047] Specifically, after the TCMS image processor acquires images of the carriage interior, it uses technologies such as facial landmark localization and face tracking to locate each passenger within the carriage. Then, using a facial recognition algorithm, it matches sample points extracted from each passenger's face with the background dataset to identify each passenger's information. After identifying each passenger's information, the image processor sends this information to the TCMS, which then sends control commands to the air conditioning controller to adjust the temperature inside the carriage.
[0048] It should be noted that the embodiments of this application only use the example of obtaining passenger information of each passenger in the carriage through visual detection. Based on actual application needs, multiple sensors can also be set, such as infrared sensors, to collect local infrared temperature in the carriage in real time, so as to send control commands to the air conditioning controller through TCMS, and control the smart fan through the air conditioning controller to adjust the local temperature of the target area in the carriage. This is not limited here.
[0049] 303: Adjust the temperature inside the carriage based on each passenger's information.
[0050] In this embodiment, after acquiring passenger information for each passenger in the carriage, the TCMS parses and processes this information. Based on the parsed passenger information, it obtains the required temperature control strategy for the carriage according to a preset algorithm. Then, it sends control commands to the air conditioning controller according to the temperature control strategy to control the temperature adjustment of the train carriage.
[0051] For example, each passenger's passenger information may include: each passenger's identity information and / or each passenger's location information within the carriage.
[0052] It should be noted that the TCMS can adjust the temperature of the train carriage as a whole based on the identity information of each passenger, and / or the TCMS can adjust the temperature of a local area in the carriage based on the location information of each passenger in the carriage.
[0053] The following is combined Figure 4 This section details the process of adjusting the overall temperature of the carriage.
[0054] like Figure 4 As shown, adjusting the temperature inside the carriage based on each passenger's information may include, for example, the following steps:
[0055] 401: Determine the target temperature of the carriage based on the identity information of each passenger.
[0056] In this embodiment of the application, after the TCMS receives the image inside the carriage, it performs facial recognition sampling on each passenger in the carriage, matches the sampled sample with the background dataset, and returns the matching result to the TCMS, thereby identifying the identity information of each passenger in the train carriage.
[0057] Furthermore, after the TCMS obtains the identity information of each passenger in the train carriage, it determines the temperature adjustment requirements of each passenger based on this information and uses a preset algorithm to obtain the target temperature for the carriage. Then, the TCMS sends this target temperature to the air conditioning controller to adjust the temperature of the train carriage.
[0058] For example, each passenger's identity information may include their gender and age. TCMS samples and identifies the faces of each passenger in the carriage, extracts feature points from each passenger's face, and then analyzes the shape, texture, and skin laxity of these feature points. This information is then compared with a corresponding face dataset to determine each passenger's gender and age. This face dataset can, for example, be the IMDB-WIKI face dataset. The preset algorithm model can be trained using the IMDB-WIKI face dataset to improve the accuracy of gender and age recognition for each passenger.
[0059] Determining the target temperature of the carriage based on each passenger's identity information may include, for example, the following steps:
[0060] Based on each passenger's gender, determine the first number of male passengers and the second number of female passengers in the carriage;
[0061] Based on each passenger's age, determine the third number of passengers in the carriage whose age is greater than the third threshold and the fourth number of passengers whose age is less than or equal to the third threshold.
[0062] The target temperature is determined based on the first, second, third, and fourth quantities, as well as the total number of passengers in the carriage.
[0063] In this embodiment of the application, the first quantity is the number of male passengers in the carriage, the second quantity is the number of female passengers in the carriage, the third quantity is the number of passengers in the carriage whose age is greater than a third threshold, and the fourth quantity is the number of passengers in the carriage whose age is less than or equal to the third threshold.
[0064] Specifically, after TCMS identifies and detects the gender and age of each passenger in the carriage, it counts the number of male passengers, the number of female passengers, the number of passengers whose age is greater than the third threshold, and the fourth number, which is the number of passengers whose age is less than or equal to the third threshold. These are the first number, the second number, the third number, and the fourth number.
[0065] Furthermore, the first quantity is added to the second quantity, or the third quantity is added to the fourth quantity, to obtain the total number of passengers in this train carriage. Then, the target temperature of this carriage is obtained by summing the products of the proportions of the first, second, third, and fourth quantities to the total number of passengers in the carriage and the corresponding preset coefficients.
[0066] As can be seen, by obtaining the gender of each passenger in the carriage, the first and second numbers of passengers in the carriage are determined. Similarly, by obtaining the gender of each passenger in the carriage, the third and fourth numbers of passengers in the carriage are determined, thus obtaining the total number of passengers in the carriage. Based on the first, second, third, and fourth numbers, and the total number of passengers in the carriage, a preset algorithm is used to determine the target temperature of this carriage. Therefore, by using the gender and age information of each passenger in the carriage, the passenger's temperature regulation needs in the train carriage can be reflected, thereby determining the target temperature of the carriage and improving the accuracy of train carriage temperature regulation.
[0067] For example, the target temperature mentioned above can be expressed by the following formula (1):
[0068]
[0069] Where T1 is the target temperature of this carriage, k1, k2, k3, k4, a, b, c, and d are all preset coefficients, x1 is the first quantity, x2 is the second quantity, x3 is the third quantity, x4 is the fourth quantity, and x0 is the total number of passengers in the carriage.
[0070] In this embodiment, k1, k2, k3, and k4 represent the temperature adjustment coefficients for male passengers, female passengers, passengers older than a third threshold, and passengers younger than or equal to the third threshold, respectively. a, b, c, and d represent the temperature adjustment percentages for male, female, and older passengers, and passengers younger than or equal to the third threshold, respectively. The sum of a, b, c, and d is 100.
[0071] Specifically, the ratios of the first quantity to the total number of passengers in the carriage, the second quantity to the total number of passengers in the carriage, the third quantity to the total number of passengers in the carriage, and the fourth quantity to the total number of passengers in the carriage reflect the proportions of male passengers, female passengers, passengers older than the third threshold, and passengers younger than or equal to the third threshold in the carriage to the total number of passengers in the carriage, respectively, thus obtaining the first proportion, the second proportion, the third proportion, and the fourth proportion.
[0072] Then, the first ratio, the second ratio, the third ratio, and the fourth ratio are multiplied by their respective temperature adjustment coefficients to obtain the temperature adjustment requirements for male passengers, female passengers, passengers older than the third threshold, and passengers younger than or equal to the third threshold in the carriage.
[0073] Furthermore, the temperature regulation needs of male passengers, female passengers, passengers older than the third threshold, and passengers younger than or equal to the third threshold in the carriage are multiplied by their respective temperature regulation ratios, and the results of the above multiplications are summed to obtain the target temperature of the carriage.
[0074] It should be noted that k1, k2, k3, k4, as well as a, b, c, and d, can be adjusted according to actual needs to accurately identify the temperature adjustment needs of passengers of different ages and genders in the carriage, so as to make the target temperature in the carriage more accurate.
[0075] As can be seen, by comparing the first, second, third, and fourth quantities with the total number of passengers in the carriage, we can obtain the first, second, third, and fourth proportions, respectively. Then, by multiplying the first, second, third, and fourth proportions by their corresponding temperature adjustment coefficients and temperature adjustment percentages, and summing these products, we can obtain the target temperature for the carriage. Therefore, by using the gender and age information of each passenger in the carriage, the target temperature can be determined based on the above algorithm. This target temperature can then be used to adjust the train carriage temperature, improving the accuracy of train carriage temperature control.
[0076] 402: Adjust the temperature inside the carriage to the target temperature.
[0077] In this embodiment of the application, after determining the target temperature of the carriage, the TCMS sends the target temperature of the carriage to the air conditioning controller and sends control commands.
[0078] Furthermore, after receiving the target temperature and control command for the carriage, the air conditioning controller sends the target temperature of the carriage to the inverter. The inverter receives the target temperature, determines the corresponding inverter signal, and sends this signal to the air conditioner. Then, upon receiving the inverter signal, the air conditioner adjusts its output power based on the signal, thereby regulating the temperature of the carriage to the target temperature.
[0079] The following is combined Figure 5 This application will specifically describe the process of adjusting the temperature of a local area inside the carriage.
[0080] like Figure 5 As shown, adjusting the temperature inside the carriage based on each passenger's information may include, for example, the following steps:
[0081] 501: Based on the location information of each passenger in the carriage, determine at least one target area in the carriage.
[0082] In this embodiment, after acquiring images of the carriage interior, the TCMS establishes a three-dimensional coordinate system within the carriage. A clustering algorithm identifies each passenger within the carriage, and the centroid position of each passenger is obtained. These centroid coordinates are used as the position information for each passenger. By processing the position information of each passenger, the distribution of passengers within the carriage can be determined, thereby identifying at least one target area within the carriage requiring temperature regulation.
[0083] For example, determining at least one target area within the carriage based on the location information of each passenger can include, for instance, the following steps:
[0084] Clustering is performed based on the location information of each passenger to obtain at least one first cluster group;
[0085] Obtain the land area corresponding to each first cluster group;
[0086] Based on the area occupied by each first cluster and the number of passengers in each first cluster, at least one second cluster is determined from the above at least one first cluster;
[0087] The region containing at least one of the aforementioned second cluster groups shall be designated as at least one of the aforementioned target regions.
[0088] The location information for each passenger can be the three-dimensional coordinates of each passenger within the carriage.
[0089] Specifically, after the TCMS obtains the location information of each passenger in the carriage, it clusters the passengers corresponding to the location information. This clustering algorithm can be, for example, the Ordering Points to Identify the Clustering Structure (OPTICS) algorithm. The location information of each passenger is input into the OPTICS algorithm model, and the OPTICS algorithm clusters the data to obtain the output queue, which is at least one of the aforementioned first cluster groups. The first cluster group represents the group of passengers whose location information is within the same area in this train carriage.
[0090] Furthermore, TCMS scans each first cluster within the carriage using cameras to obtain the area occupied by each first cluster.
[0091] For example, obtaining the area corresponding to each first cluster group may include the following steps:
[0092] Obtain an overhead projection image of the interior of the train carriage;
[0093] Determine the pixels of passengers in each first cluster group in the top-view projection image, that is, identify each pixel in the top-view projection image to obtain the pixels belonging to passengers in each first cluster group.
[0094] Based on the pixels of passengers in each first cluster in the top-view projection, determine the area occupied by passengers in each first cluster.
[0095] Based on the area occupied by passengers in each first cluster, the area occupied by each first cluster is obtained.
[0096] In this embodiment of the application, a three-dimensional image of the train carriage can be obtained through a three-dimensional camera, thereby obtaining a projected image of each plane inside the carriage.
[0097] Specifically, after acquiring the top-down projection image of the carriage through the 3D camera, TCMS identifies the top-down projection image and determines the projection image of the passenger in each first cluster in the top-down projection image based on the position information of each passenger in the carriage and the position information of each first cluster group in the carriage. That is, all the pixels of the passenger in each first cluster group in the top-down projection image. The connected domain formed by all the above pixels is the projection image of the passenger in each first cluster group in the top-down projection image.
[0098] Furthermore, the number of all pixels of passengers in each first cluster in the top-view projection map is counted. The area occupied by passengers in each first cluster is obtained by multiplying the area of each pixel in the top-view projection map by the number of all pixels of passengers in each first cluster in the top-view projection map.
[0099] Furthermore, the area occupied by passengers in each first cluster is summed to obtain the area occupied by each first cluster.
[0100] As can be seen, by acquiring a top-down projection image of the carriage, the pixel locations of passengers in each first cluster can be determined. The number and area of these pixels in the top-down projection image can then be used to determine the area occupied by passengers in each first cluster, thus obtaining the area corresponding to each first cluster. Therefore, the passenger density of each first cluster within the carriage can be determined by the distribution of each cluster and the passenger location information. This allows for localized temperature adjustment in specific areas of the carriage, improving the accuracy of temperature control.
[0101] Furthermore, based on the area corresponding to each first cluster and the number of passengers in each first cluster, TCMS can determine whether there is a cluster with a high density of passengers, i.e., a second cluster, in at least one of the first clusters.
[0102] For example, determining at least one second cluster from the aforementioned at least one first cluster based on the area corresponding to each first cluster and the number of passengers in each first cluster may include, for example, the following steps:
[0103] The degree of looseness of each first cluster is determined based on the area occupied by each first cluster and the number of passengers in each first cluster;
[0104] The first cluster with a looseness level less than the first threshold among the above at least one first cluster group shall be regarded as the above at least one second cluster group.
[0105] In this embodiment, TCMS determines the density of each first cluster based on its corresponding area and the number of passengers within that cluster. The density of each first cluster can be used to represent the passenger density in the area where that cluster is located.
[0106] Specifically, TCMS obtains the number of passengers in each first cluster and the corresponding area of each first cluster. By the ratio of the area of each first cluster to the number of passengers in each first cluster, it reflects whether the personnel distribution of each first cluster is dense, that is, the looseness of each first cluster.
[0107] Furthermore, the first cluster with a looseness level less than a first threshold among the above-mentioned at least one first cluster group is regarded as the above-mentioned at least one second cluster group. The area where the second cluster group is located is the area with a high passenger density in this carriage. By adjusting the temperature of the area where the second cluster group is located, local temperature regulation can be achieved in the densely populated areas of the carriage.
[0108] It can be seen that the degree of looseness of each first cluster can be determined by the ratio of the area occupied by each first cluster to the number of passengers in each first cluster. If the degree of looseness of a first cluster is less than a first threshold, then the passengers in that first cluster are densely distributed, and this first cluster is designated as a second cluster, thus obtaining at least one second cluster. Therefore, based on the area occupied by each first cluster and the number of passengers in each first cluster, the second cluster requiring local temperature regulation can be determined, thereby improving the accuracy of temperature regulation in the carriage.
[0109] Furthermore, TCMS designates the region containing at least one of the aforementioned second clusters as the at least one target region. This target region is the area requiring local temperature regulation.
[0110] It can be seen that by clustering the location information of each passenger, at least one first cluster group is obtained. Then, the area corresponding to each first cluster group and the number of passengers in each first cluster group are obtained. Based on the area corresponding to each first cluster group and the number of passengers in each first cluster group, at least one second cluster group can be obtained. The area where the above at least one second cluster group is located is taken as the above at least one target area, thereby adjusting the temperature of each target area and improving the accuracy of temperature regulation in the carriage.
[0111] 502: Adjust the temperature of each target area.
[0112] In this embodiment, after obtaining the at least one target area, the TCMS sends the location information corresponding to the at least one target area to the air conditioner controller. The air conditioner controller then sends the location information corresponding to the at least one target area to the smart fan, causing the smart fan to move to the at least one target area and adjust the temperature of the at least one target area with a preset output power.
[0113] It should be noted that the TCMS can also send a preset local temperature to the air conditioning controller, which in turn sends the preset local temperature to the smart fan, thereby allowing the smart fan to adjust the temperature of the at least one target area based on the preset local temperature. This application embodiment uses the example of the TCMS sending the location information corresponding to the at least one target area and the preset local temperature to the air conditioning controller for illustration.
[0114] Specifically, after acquiring at least one target area, the TCMS sends the location information and preset local temperature corresponding to the at least one target area to the air conditioning controller.
[0115] Furthermore, after receiving the aforementioned at least one target area and preset local temperature, the air conditioning controller sends the aforementioned at least one target area and preset local temperature to the smart fan. For example, the preset local temperature can be set to 23 degrees Celsius.
[0116] Then, after receiving the above-mentioned at least one target area and preset local temperature, the smart fan moves to the target position corresponding to each target area. Based on the preset local temperature, the preset output power of the smart fan is obtained, and the fan outputs the preset output power to adjust the temperature of each target area to the preset local temperature.
[0117] As can be seen, based on each passenger's identity information, the target temperature of the carriage can be determined, and the temperature inside the carriage can be adjusted to the target temperature, thereby achieving overall temperature control of the carriage. Based on each passenger's location information within the carriage, at least one target area within the carriage can be identified, and then the temperature of each target area can be adjusted to achieve local temperature control of each target area within the carriage. Therefore, by using the identity and location information of each passenger within the carriage, both overall temperature control and local temperature control of each target area can be performed, improving the accuracy of temperature control within the carriage.
[0118] For example, adjusting the temperature of each target area may include the following steps:
[0119] Obtain the cluster center for each second cluster group;
[0120] Move the smart fan to the target location corresponding to each target area to regulate the temperature of each target area.
[0121] In this embodiment, the straight line connecting the target location corresponding to each target region and the cluster center corresponding to each target region is perpendicular to the horizontal plane.
[0122] It should be noted that each train carriage can be equipped with multiple smart fans, each distributed in different areas of the carriage, so as to regulate the temperature of each target area in the carriage through these multiple smart fans.
[0123] Specifically, after determining each second cluster, TCMS obtains the cluster center of each second cluster. Then, it sends the cluster center of each second cluster to the air conditioning controller. After receiving the cluster center of each second cluster and the preset local temperature, the air conditioning controller sends an adjustment command to the smart fan. This adjustment command includes, but is not limited to, the cluster center of each second cluster, each target area, and the preset local temperature.
[0124] Furthermore, after receiving the adjustment command from the air conditioner controller, the smart fan in each target area obtains the coordinates of the cluster center of the second cluster group corresponding to each target area. Then, the smart fan in each target area is moved to the same horizontal and vertical coordinates as the cluster center of the second cluster group corresponding to each target area. The straight line connecting the smart fan in each target area and the cluster center of the second cluster group corresponding to each target area is parallel to the vertical axis or perpendicular to the horizontal plane, that is, the smart fan is moved to the target position corresponding to each target area.
[0125] Furthermore, the air outlet of each smart fan at the target location is adjusted to face the cluster center of each second cluster group, meaning the air outlet direction of each smart fan at the target location is parallel to the vertical axis or perpendicular to the horizontal plane. Then, based on the preset local temperature, the smart fans continuously output power at a preset output power to regulate the temperature of each target area.
[0126] It should be noted that the air outlet direction of each smart fan can be adjusted according to actual needs. This embodiment of the application only illustrates the example of each smart fan's air outlet facing the cluster center of each second cluster group, and is not limited here.
[0127] As can be seen, by obtaining the cluster center of each second cluster, and then moving the intelligent fan to the target position corresponding to each target area, the temperature of each target area can be adjusted through the intelligent fan. Therefore, TCMS can improve the accuracy of temperature regulation in the target areas inside the carriage by obtaining the cluster center of each second cluster and using the intelligent fan to regulate the temperature of the target areas.
[0128] For example, the method may also include the following steps:
[0129] After a preset time period, the looseness level of each target area is reacquired.
[0130] If the looseness of any target area exceeds the second threshold, stop adjusting the temperature of that target area.
[0131] In this embodiment, after a preset time period, the TCMS re-acquires the top-down projection image of the current carriage, determining all pixels of passengers in each target area within the top-down projection image. The connected component formed by all these pixels constitutes the projected image of passengers in each target area within the top-down projection image. The area occupied by passengers in each target area is obtained by multiplying the area of each pixel by the number of pixels of passengers in each target area within the top-down projection image.
[0132] Furthermore, the number of passengers in each target area is obtained, thereby obtaining the ratio of the area occupied by passengers in each target area to the number of passengers in each target area, i.e., the looseness of each target area.
[0133] When the TCMS detects that the looseness of any target area is greater than the second threshold, it sends a shutdown command to the air conditioning controller. After receiving the shutdown command, the air conditioning controller sends a shutdown signal to the smart fan in the target area to turn off the output of the smart fan, thereby stopping the adjustment of the temperature in the target area.
[0134] It can be seen that after a preset time, TCMS re-acquires the top-down projection map inside the carriage, determines the passenger area and number of passengers in each target area, and then obtains the looseness degree corresponding to each target area based on the passenger area and number of passengers in each target area. When the looseness degree of any target area is greater than the second threshold, the temperature adjustment of that target area is stopped, thereby improving the accuracy of temperature adjustment of each target area in the carriage.
[0135] It should be understood that the above embodiments are illustrated using the example of the TCMS in the carriage air conditioning system controlling the carriage air conditioning system to achieve temperature regulation inside the carriage. In practical applications, the VOBC can communicate remotely with the TCMS, and the VOBC can send an indication signal to the TCMS to instruct the TCMS to control the carriage air conditioning system, thereby achieving remote control of the temperature regulation inside the carriage. This is not limited to this.
[0136] In summary, this embodiment of the application acquires images of the interior of the carriage, identifies these images to obtain passenger information for each passenger, and then adjusts the temperature inside the carriage based on this information. Therefore, by reflecting the temperature control needs of different passengers based on their individual passenger information, corresponding temperature control strategies can be provided to improve the accuracy of temperature control within the carriage.
[0137] See Figure 6 , Figure 6 This is a block diagram illustrating the functional units of a train control and management system provided in an embodiment of this application. Figure 6 As shown, the train control and management system 600 includes an acquisition unit 601 and a processing unit 602. Wherein:
[0138] Acquisition unit 601 is used to acquire images of the interior of the carriage;
[0139] The processing unit 602 is used to obtain passenger information for each passenger in the carriage based on the images inside the carriage;
[0140] The temperature inside the carriage is adjusted based on each passenger's information.
[0141] In some possible embodiments, the passenger information for each passenger includes: the identity information of each passenger and / or the location information of each passenger within the carriage; Regarding adjusting the temperature within the carriage based on the passenger information for each passenger, the processing unit 602 is specifically used for:
[0142] The target temperature for the carriage is determined based on each passenger's identity information;
[0143] Adjust the temperature inside the carriage to the target temperature;
[0144] And / or,
[0145] Based on the location information of each passenger in the carriage, at least one target area in the carriage is determined;
[0146] Adjust the temperature of each target area.
[0147] In some possible embodiments, in determining at least one target area within the carriage based on the location information of each passenger within the carriage, the processing unit 602 is specifically configured to:
[0148] Clustering is performed based on the location information of each passenger to obtain at least one first cluster group;
[0149] Obtain the land area corresponding to each first cluster group;
[0150] Based on the area occupied by each first cluster and the number of passengers in each first cluster, at least one second cluster is determined from the above at least one first cluster;
[0151] The region containing at least one of the aforementioned second cluster groups shall be designated as at least one of the aforementioned target regions.
[0152] In some possible embodiments, in obtaining the area corresponding to each first cluster, the processing unit 602 is specifically used for:
[0153] Obtain an overhead projection image of the interior of the train carriage;
[0154] Determine the pixels of each passenger in the first cluster in the top-view projection;
[0155] Based on the pixels of passengers in each first cluster in the top-view projection, determine the area occupied by passengers in each first cluster.
[0156] Based on the area occupied by passengers in each first cluster, the area occupied by each first cluster is obtained.
[0157] In some possible embodiments, in determining at least one second cluster from the at least one first cluster based on the area corresponding to each first cluster and the number of passengers in each first cluster, the processing unit 602 is specifically configured to:
[0158] The degree of looseness of each first cluster is determined based on the area occupied by each first cluster and the number of passengers in each first cluster;
[0159] The first cluster with a looseness level less than the first threshold among the above at least one first cluster group shall be regarded as the above at least one second cluster group.
[0160] In some possible embodiments, the processing unit 602 is specifically configured to: adjust the temperature of each target region
[0161] Obtain the cluster center for each second cluster group;
[0162] The smart fan is moved to the target position corresponding to each target area to regulate the temperature of each target area. The straight line connecting the target position corresponding to each target area and the cluster center corresponding to each target area is perpendicular to the horizontal plane.
[0163] In some possible embodiments, the processing unit 602 is further configured to:
[0164] After a preset time period, the looseness level of each target area is reacquired.
[0165] When the looseness of any target area exceeds the second threshold, stop adjusting the temperature of that target area.
[0166] In some possible embodiments, the identity information of each passenger includes the gender and age of each passenger; in determining the target temperature of the carriage based on the identity information of each passenger, the processing unit 602 is specifically used for:
[0167] Based on each passenger's gender, determine the first number of male passengers and the second number of female passengers in the carriage;
[0168] Based on each passenger's age, determine the third number of passengers in the carriage whose age is greater than the third threshold and the fourth number of passengers whose age is less than or equal to the third threshold.
[0169] The target temperature is determined based on the first, second, third, and fourth quantities, as well as the total number of passengers in the carriage.
[0170] In some possible embodiments, the target temperature is represented by the following formula (1):
[0171]
[0172] Where T1 is the target temperature, k1, k2, k3, k4, a, b, c, and d are all preset coefficients, x1 is the first quantity, x2 is the second quantity, x3 is the third quantity, x4 is the fourth quantity, and x0 is the total number of passengers in the carriage.
[0173] See Figure 7 , Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 7 As shown, the electronic device 700 includes a transceiver 701, a processor 702, and a memory 703. These are connected via a bus 704. The memory 703 stores computer programs and data, and can transfer data stored in the memory 703 to the processor 702. The electronic device 700 can be the train control and management system 600 described above.
[0174] Processor 702 is used to read the computer program in memory 703 and perform the following operations:
[0175] Acquire images of the interior of the train carriage;
[0176] Based on the images inside the carriage, passenger information for each passenger in the carriage is obtained;
[0177] The temperature inside the carriage is adjusted based on each passenger's information.
[0178] In some possible embodiments, the passenger information for each passenger includes: the identity information of each passenger and / or the location information of each passenger within the carriage; in adjusting the temperature within the carriage based on the passenger information for each passenger, the processor 702 is specifically configured to perform the following operations:
[0179] The target temperature for the carriage is determined based on each passenger's identity information;
[0180] Adjust the temperature inside the carriage to the target temperature;
[0181] And / or,
[0182] Based on the location information of each passenger in the carriage, at least one target area in the carriage is determined;
[0183] Adjust the temperature of each target area.
[0184] In some possible embodiments, in determining at least one target area within the carriage based on the location information of each passenger within the carriage, the processor 702 is specifically configured to perform the following operations:
[0185] Clustering is performed based on the location information of each passenger to obtain at least one first cluster group;
[0186] Obtain the land area corresponding to each first cluster group;
[0187] Based on the area occupied by each first cluster and the number of passengers in each first cluster, at least one second cluster is determined from the above at least one first cluster;
[0188] The region containing at least one of the aforementioned second cluster groups shall be designated as at least one of the aforementioned target regions.
[0189] In some possible embodiments, in obtaining the footprint corresponding to each first cluster, processor 702 is specifically configured to perform the following operations:
[0190] Obtain an overhead projection image of the interior of the train carriage;
[0191] Determine the pixels of each passenger in the first cluster in the top-view projection;
[0192] Based on the pixels of passengers in each first cluster in the top-view projection, determine the area occupied by passengers in each first cluster.
[0193] Based on the area occupied by passengers in each first cluster, the area occupied by each first cluster is obtained.
[0194] In some possible embodiments, in determining at least one second cluster from the at least one first cluster based on the area corresponding to each first cluster and the number of passengers in each first cluster, the processor 702 is specifically configured to perform the following operations:
[0195] The degree of looseness of each first cluster is determined based on the area occupied by each first cluster and the number of passengers in each first cluster;
[0196] The first cluster with a looseness level less than the first threshold among the above at least one first cluster group shall be regarded as the above at least one second cluster group.
[0197] In some possible embodiments, in regulating the temperature of each target region, the processor 702 is specifically configured to perform the following operations:
[0198] Obtain the cluster center for each second cluster group;
[0199] The smart fan is moved to the target position corresponding to each target area to regulate the temperature of each target area. The straight line connecting the target position corresponding to each target area and the cluster center corresponding to each target area is perpendicular to the horizontal plane.
[0200] In some possible embodiments, the processor 702 is also configured to perform the following operations:
[0201] After a preset time period, the looseness level of each target area is reacquired.
[0202] When the looseness of any target area exceeds the second threshold, stop adjusting the temperature of that target area.
[0203] In some possible embodiments, the identity information of each passenger includes the gender and age of each passenger; in determining the target temperature of the carriage based on the identity information of each passenger, the processor 702 is specifically configured to perform the following operations:
[0204] Based on each passenger's gender, determine the first number of male passengers and the second number of female passengers in the carriage;
[0205] Based on each passenger's age, determine the third number of passengers in the carriage whose age is greater than the third threshold and the fourth number of passengers whose age is less than or equal to the third threshold.
[0206] The target temperature is determined based on the first, second, third, and fourth quantities, as well as the total number of passengers in the carriage.
[0207] In some possible embodiments, the target temperature is represented by the following formula (1):
[0208]
[0209] Where T1 is the target temperature, k1, k2, k3, k4, a, b, c, and d are all preset coefficients, x1 is the first quantity, x2 is the second quantity, x3 is the third quantity, x4 is the fourth quantity, and x0 is the total number of passengers in the carriage.
[0210] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor to implement some or all of the steps of any of the carriage temperature regulation methods described in the above method embodiments.
[0211] This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the carriage temperature regulation methods described in the above method embodiments.
[0212] This application also provides a vehicle that includes a train control and management system as described in any of the above embodiments.
[0213] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily essential to this application.
[0214] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0215] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0216] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0217] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software program module.
[0218] If the integrated unit is implemented as a software program module and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, 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. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0219] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0220] The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for regulating the temperature of a train carriage, characterized in that, include: Acquire images of the interior of the train carriage; Based on the images inside the carriage, passenger information for each passenger inside the carriage is obtained; The temperature inside the carriage is adjusted based on the passenger information of each passenger. The passenger information includes the location information of each passenger inside the carriage, including: Clustering is performed based on the location information of each passenger to obtain at least one first cluster group; Obtain the land area corresponding to each first cluster group; Based on the area occupied by each first cluster and the number of passengers in each first cluster, at least one second cluster is determined in the at least one first cluster, wherein the second cluster is the first cluster with a looseness degree less than a first threshold in the at least one first cluster, and the looseness degree of the first cluster is used to represent the density of passengers in the area where the first cluster is located in the carriage. The region where the at least one second cluster group is located is taken as the at least one target region; Adjust the temperature of each target area to the preset local temperature.
2. The method according to claim 1, characterized in that, The step of obtaining the area corresponding to each first cluster group includes: Obtain a top-down projection image of the interior of the carriage; Determine the pixels of passengers in each first cluster in the top-view projection; The area occupied by passengers in each first cluster is determined based on the pixels of the overhead projection map. Based on the area occupied by passengers in each first cluster, the area occupied by each first cluster is obtained.
3. The method according to claim 1 or 2, characterized in that, The step of determining at least one second cluster within the at least one first cluster based on the land area corresponding to each first cluster and the number of passengers in each first cluster includes: The degree of looseness of each first cluster is determined based on the area occupied by each first cluster and the number of passengers in each first cluster; The first cluster with a looseness level less than a first threshold in the at least one first cluster group is regarded as the at least one second cluster group.
4. The method according to claim 3, characterized in that, Adjusting the temperature of each target area to a preset local temperature includes: Obtain the cluster center for each second cluster group; The intelligent fan is moved to the target position corresponding to each target area so as to adjust the temperature of each target area to a preset local temperature. The straight line connecting the target position corresponding to each target area and the cluster center corresponding to each target area is perpendicular to the horizontal plane.
5. The method according to claim 4, characterized in that, The method further includes: After a preset time period, the looseness level of each target area is reacquired. When the looseness of any target area exceeds the second threshold, stop adjusting the temperature of that target area.
6. A train control and management system, characterized in that, The train control and management system includes an acquisition unit and a processing unit; The acquisition unit is used to acquire images of the interior of the carriage; The processing unit is used to obtain passenger information for each passenger in the carriage based on the images inside the carriage. The temperature inside the carriage is adjusted based on the passenger information of each passenger. The passenger information includes the location information of each passenger inside the carriage, including: Clustering is performed based on the location information of each passenger to obtain at least one first cluster group; Obtain the land area corresponding to each first cluster group; Based on the area occupied by each first cluster and the number of passengers in each first cluster, at least one second cluster is determined in the at least one first cluster, wherein the second cluster is the first cluster with a looseness degree less than a first threshold in the at least one first cluster, and the looseness degree of the first cluster is used to represent the density of passengers in the area where the first cluster is located in the carriage. The region where the at least one second cluster group is located is taken as the at least one target region; Adjust the temperature of each target area to the preset local temperature.
7. An electronic device, characterized in that, include: A processor and a memory, the processor being connected to the memory, the memory being used to store a computer program, and the processor being used to execute the computer program stored in the memory to cause the electronic device to perform the method as described in any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that is executed by a processor to implement the method as described in any one of claims 1-5.
9. A vehicle, characterized in that, The vehicle includes the train control and management system as described in claim 6.
Citation Information
Patent Citations
Intelligent air conditioner controlling method for high speed train based on passenger distribution
CN108609024A
Face recognition system for high-speed rail air conditioner adjustment
CN111325174A
Subway carriage passenger refined guiding method and system
CN112182267A