Method, device, computer equipment and storage medium for controlling oxygen concentration in vehicle
By obtaining the oxygen concentration inside and outside the vehicle and calculating the rate of change, the oxygen concentration rate inside the vehicle is adjusted, which solves the problem of the oxygen environment inside and outside the vehicle being unable to transition, achieves a smooth transition of the oxygen environment inside and outside the vehicle, and improves the comfort and safety of the passengers.
Patent Information
- Application Number
- CN202310290876.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2043-03-23
AI Technical Summary
In the prior art, there is no transition between the oxygen environment inside the vehicle and the oxygen environment outside the vehicle, which causes passengers to experience discomfort after getting off the vehicle.
By obtaining the oxygen concentration outside and inside the cabin, calculating the concentration change rate, and adjusting the oxygen concentration inside the cabin according to the change rate, so that it gradually approaches the oxygen concentration outside the cabin, the oxygen supply or deoxygenation device is used to control the oxygen concentration change rate.
A smooth transition between the oxygen environment inside the vehicle and the oxygen environment outside the vehicle is achieved, reducing occupant discomfort symptoms and improving occupant comfort and safety.
Smart Images

Figure CN116353303B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of automobile technology, and in particular to a method, device, computer equipment and storage medium for controlling oxygen concentration in a vehicle. Background Art
[0002] The oxygen concentration in the car cabin may change with the external environment, such as changes in altitude, or the vehicle entering a low-oxygen or high-oxygen concentration environment. To cope with the above situations, some family cars or special vehicles are equipped with oxygen control devices in the cabin. The usual adjustment method is to keep the oxygen concentration in the car within a preset range. The control mode is simple, but if the oxygen control device is turned off or after getting off the car, there is no transition between the oxygen environment inside the car and the oxygen environment outside the car, and the person has no adaptation process, which will still cause discomfort symptoms. Summary of the Invention
[0003] Based on this, a method, device, computer equipment and storage medium for controlling oxygen concentration in a vehicle are provided to improve the problem in the prior art that the oxygen environment in the vehicle cannot be transitioned to the oxygen environment outside the vehicle.
[0004] In one aspect, a method for controlling oxygen concentration in a vehicle is provided, the method comprising:
[0005] obtaining a first oxygen concentration and a second oxygen concentration, wherein the first oxygen concentration is the oxygen concentration outside the vehicle cabin and the second oxygen concentration is the oxygen concentration inside the vehicle cabin, and obtaining a first concentration change rate based on the first oxygen concentration;
[0006] When the first concentration change rate is greater than a first change rate threshold, determining a first target change rate according to the first concentration change rate, and the first target change rate is less than the first concentration change rate;
[0007] The second oxygen concentration is adjusted based on the first target change rate so that the second oxygen concentration approaches or is equal to the first oxygen concentration.
[0008] In one embodiment, determining a first target change rate according to the first concentration change rate includes:
[0009] determining a transition coefficient, where the transition coefficient is preset or obtained by user input, and the transition coefficient is less than 1;
[0010] The first target change rate is determined according to the product of the transition coefficient and the first concentration change rate.
[0011] In one embodiment, adjusting the second oxygen concentration based on the first target change rate includes:
[0012] When the first oxygen concentration decreases, obtaining a first target concentration based on the second oxygen concentration at the current moment and the first target change rate;
[0013] The oxygen supply parameters of the oxygen supply device are controlled according to the first target concentration so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0014] In one embodiment, the adjusting the second oxygen concentration based on the first target change rate further includes:
[0015] obtaining a concentration difference based on the first oxygen concentration and the second oxygen concentration;
[0016] When the first concentration change rate is less than or equal to the first change rate threshold and the concentration difference is greater than or equal to the concentration threshold, the second oxygen concentration is adjusted based on a second target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0017] In one embodiment, a concentration difference is obtained according to the first oxygen concentration and the second oxygen concentration, and then the method further includes:
[0018] An estimated change time is determined according to the concentration difference and the first target change rate or the second target change rate to display the estimated change time.
[0019] In one embodiment, the in-vehicle oxygen concentration control method further includes:
[0020] When the first concentration change rate is greater than a second change rate threshold, the second oxygen concentration is adjusted to and maintained at a second target concentration, and the second change rate threshold is greater than the first change rate threshold.
[0021] In one embodiment, the in-vehicle oxygen concentration control method further includes:
[0022] obtaining a second concentration change rate according to the second oxygen concentration;
[0023] When the first concentration change rate is less than or equal to the first change rate threshold, and the second concentration change rate is greater than a third change rate threshold, the second oxygen concentration is adjusted to the first oxygen concentration.
[0024] In another aspect, a device for controlling oxygen concentration in a vehicle is provided, the device comprising:
[0025] an acquisition module, comprising a first oxygen concentration acquisition unit and a second oxygen concentration acquisition unit, for respectively acquiring a first oxygen concentration and a second oxygen concentration, wherein the first oxygen concentration is the oxygen concentration outside the cabin and the second oxygen concentration is the oxygen concentration inside the cabin;
[0026] a calculation module, configured to obtain a first concentration change rate based on the first oxygen concentration, and further configured to determine a first target change rate based on the first concentration change rate when the first concentration change rate is greater than a first change rate threshold, wherein the first target change rate is less than the first concentration change rate;
[0027] The oxygen concentration adjustment module is configured to adjust the second oxygen concentration based on the first target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0028] In another aspect, a computer device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps of the method are implemented when the processor executes the computer program.
[0029] A computer-readable storage medium is also provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method are implemented.
[0030] The above-mentioned in-vehicle oxygen concentration control method, device, computer equipment and storage medium obtain the first oxygen concentration outside the cabin and the second oxygen concentration inside the cabin to know the oxygen environment inside and outside the vehicle, and calculate the first oxygen concentration change rate to determine whether the external oxygen environment has changed. When the first oxygen concentration change rate is greater than a certain threshold, the second oxygen concentration is adjusted at a smaller change rate, so that the oxygen environment inside the cabin gradually transitions to an oxygen environment close to or consistent with that outside the cabin. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 1 is a flow chart of a method for controlling oxygen concentration in a vehicle according to an embodiment;
[0032] Figure 2 Schematic diagram of changes in the first oxygen concentration and the second oxygen concentration in one embodiment;
[0033] Figure 3 is a flow chart of a method for controlling oxygen concentration in a vehicle according to another embodiment;
[0034] Figure 4 is a structural block diagram of an in-vehicle oxygen concentration control device according to one embodiment;
[0035] Figure 5 FIG. 1 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0037] The air quality in the vehicle cabin directly affects the health of the driver and passengers, and has a significant impact on driving safety. Especially in some special driving conditions, such as traveling to higher or lower altitudes, changes in cabin oxygen concentration may directly lead to discomfort symptoms such as hypoxia or oxygen intoxication for the driver and passengers.
[0038] The current solution is to rely on the oxygen control device in the car to maintain the oxygen concentration in the cabin at a certain level. Although this method improves the comfort of the passengers to a certain extent, after the passengers get off the car or turn off the oxygen control device, they need to face the oxygen environment outside the car, which is completely different from the oxygen environment inside the car. Without an adaptation process, the passengers in the car will still feel uncomfortable.
[0039] The present application provides a method for controlling oxygen concentration in a vehicle, which has a transition mode and can improve the oxygen concentration control process in the vehicle under the condition of changing oxygen environment outside the vehicle, and realize the transition process from the oxygen environment inside the vehicle to the oxygen environment outside the vehicle.
[0040] like Figure 1 As shown, in one embodiment, the method includes the following steps:
[0041] Step 101 : Obtain a first oxygen concentration and a second oxygen concentration, where the first oxygen concentration is the oxygen concentration outside the cabin and the second oxygen concentration is the oxygen concentration inside the cabin, and obtain a first concentration change rate based on the first oxygen concentration.
[0042] It should be pointed out that the oxygen concentration referred to in this application can be understood as the mass of oxygen per unit space, and its value is related to the altitude. In this embodiment, the first oxygen concentration and the second oxygen concentration are obtained by detecting oxygen concentration sensors installed outside and inside the cabin, respectively.
[0043] During actual implementation, the oxygen concentration outside the cabin is continuously detected, and the difference between the two oxygen concentrations is divided by the time difference to obtain the first oxygen concentration change rate. The first oxygen concentration change rate is taken as an absolute value in the aforementioned calculation method and used in subsequent calculations. The larger the value, the more drastic the change in oxygen concentration outside the cabin.
[0044] Step 102 : When the first concentration change rate is greater than a first change rate threshold, determining a first target change rate according to the first concentration change rate, and the first target change rate is less than the first concentration change rate.
[0045] It can be understood that under normal circumstances, the oxygen environment outside the vehicle cabin remains roughly stable. Even if there are slight changes in the oxygen environment while the vehicle is driving, the interference can be removed by filtering the sensor signal. Therefore, the typical value of the first change rate threshold can be zero.
[0046] For example, when a vehicle is traveling to a higher altitude area, as the altitude increases, the oxygen concentration outside the cabin, i.e., the first oxygen concentration, decreases, and the first concentration change rate is greater than zero. The first target change rate can be determined based on the first concentration change rate. In this application, the first target change rate is the expected rate of change of the oxygen concentration in the cabin.
[0047] In actual implementation, the first target change rate is associated with the first concentration change rate. For example, the first target change rate and the first concentration change rate may be positively correlated, or may be a preset mapping correspondence, or a phased jump relationship.
[0048] Step 103: Adjust the second oxygen concentration based on the first target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0049] The adjustment process of this application is illustrated by taking the vehicle traveling to a higher altitude area as an example: due to the decrease in the oxygen concentration outside the cabin (the first oxygen concentration), the oxygen inside the cabin is affected by the outside world and decreases. In the absence of intervention measures, the rate of decrease in the oxygen concentration inside the cabin is roughly the same as that outside the cabin, and the people inside the car may experience hypoxia. If a stable maintenance method is used to ensure the oxygen concentration inside the car, the passengers will face a low-concentration oxygen environment after getting off the vehicle.
[0050] The control method of the present application controls the oxygen supply parameters of the oxygen supply device, such as the oxygen supply rate, so that the second oxygen concentration decreases according to the desired first target change rate when the external oxygen concentration decreases. The first target change rate is less than the first concentration change rate. Therefore, the oxygen concentration in the cabin decreases more slowly, and the occupants can gradually adapt to the low oxygen environment.
[0051] For example, when the first oxygen concentration decreases, the onboard controller determines a first target concentration based on the second oxygen concentration at the current moment and the first target rate of change. The first target concentration is a desired in-vehicle concentration value at the next moment. Based on the first target concentration, an oxygen supply parameter of the oxygen supply device is controlled using a feedback control method, for example, based on the current value and the target value as inputs, so that the second oxygen concentration approaches or equals the first oxygen concentration.
[0052] The adjustment process of a vehicle moving to a lower altitude area is exemplified: during this process, the first oxygen concentration increases, and the second oxygen concentration is controlled by controlling the power parameters of a deoxygenation device such as a nitrogen-filled exhaust device so that it increases according to the desired first target change rate.
[0053] It can be understood that, in the above adjustment process, the adjustment direction of the second oxygen concentration is consistent with the change direction of the first oxygen concentration, that is, the second oxygen concentration follows the change of the first oxygen concentration.
[0054] By adopting the in-vehicle oxygen concentration control method of the present application, the oxygen concentration inside the cabin is transitionally adjusted so that it changes at a target change rate that is smaller than the oxygen concentration change rate outside the cabin, thereby realizing the transition from the in-vehicle oxygen environment to the outside oxygen environment, allowing the occupants to adapt to the changes in the oxygen environment.
[0055] In one embodiment, the first target change rate may be determined in the following manner:
[0056] 1) Determine a transition coefficient, where the transition coefficient is preset or obtained by user input, and the transition coefficient is less than 1.
[0057] 2) Determining the first target change rate according to the product of the transition coefficient and the first concentration change rate.
[0058] During actual implementation, the onboard controller determines that the external oxygen environment of the cabin has changed by monitoring the first oxygen concentration. It can then send a signal to the IVI (In-Vehicle Infotainment) via the CAN (Controller Area Network) network. The IVI controls the in-vehicle speaker to voice-inquire whether the occupant has entered transition mode. After the microphone receives the occupant's voice confirmation reply, the IVI sends a signal to the onboard controller via CAN to enter transition mode. The IVI then prompts the user to set the transition coefficient through a pop-up window or voice prompt. The transition coefficient is an important parameter that determines the rate of change of the oxygen concentration in the cabin. After the user hears a voice prompt or a pop-up window appears on the large screen, they can set the transition coefficient value according to their physical condition. The range that can be set is, for example, 0.1-0.9. The larger the value, the closer the expected rate of change of the oxygen concentration in the cabin is to the outside, and the smaller the value, the longer it takes for the oxygen concentration in the cabin to reach the same level as the outside. If no value is set within a certain period of time, the system uses a default value, such as 0.8.
[0059] During the implementation of the above embodiment, the oxygen concentration inside the cabin can be gradually reduced at a relatively low rate, for example Figure 2 As shown in part A, Figure 2 In FIG, the solid line OX1 indicates the first oxygen concentration, the dotted line OX2 indicates the second oxygen concentration, and Figure 2 In part B, the oxygen concentration outside the cabin stabilizes again. When there is still an oxygen concentration difference between the inside and outside of the cabin, the first concentration change rate drops below the first change rate threshold.
[0060] In one embodiment, the on-board controller also obtains a concentration difference based on the first oxygen concentration and the second oxygen concentration; when the first concentration change rate is less than or equal to the first change rate threshold, and the concentration difference is greater than or equal to the concentration threshold, the second oxygen concentration is adjusted based on the second target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0061] By monitoring the concentration difference between inside and outside the cabin, the ability to adjust the oxygen concentration inside the cabin is still retained after the oxygen concentration outside the cabin stabilizes again. In this embodiment, the second target change rate can continue to use the first target change rate at time T1, or use the average of the first target change rate in part A or other calculated values, or use the system preset value.
[0062] In some embodiments, after obtaining the concentration difference based on the first oxygen concentration and the second oxygen concentration, the step of calculating the estimated change time based on the concentration difference and the first target change rate is also included. If the oxygen concentration outside the cabin tends to be stable, the second target change calculation can be used to obtain the estimated change time.
[0063] The estimated change time is sent to a display terminal such as an on-board display for display, which helps passengers choose a suitable time to get off the vehicle.
[0064] The in-vehicle oxygen concentration control method provided in this application also discloses a control process in some extreme situations, such as when the vehicle falls into water, hereinafter referred to as the emergency maintenance mode. When the first concentration change rate is greater than the second change rate threshold, the emergency maintenance mode is entered, and the second oxygen concentration is adjusted to the second target concentration and maintained, and the second change rate threshold is greater than the first change rate threshold.
[0065] During actual implementation, the second change rate threshold may be the oxygen concentration change rate under extreme conditions obtained through experiments, such as the oxygen concentration change rate that meets the scenario of a vehicle falling into water.
[0066] The second target concentration is an oxygen concentration value suitable for human survival.
[0067] It can be understood that in the in-vehicle oxygen concentration control method provided by this application, the emergency maintenance mode can have the highest priority, giving priority to protecting the lives of the occupants.
[0068] Under normal circumstances, the vehicle is in a relatively stable external oxygen environment for a long time, and the oxygen concentration control inside the vehicle can be used to improve the comfort of the passengers in daily driving, which is referred to as the comfort mode below.
[0069] In some embodiments, the in-vehicle oxygen concentration control method provided by the present application further includes:
[0070] A second concentration change rate is obtained according to the second oxygen concentration; when the first concentration change rate is less than or equal to the first change rate threshold and the second concentration change rate is greater than a third change rate threshold, the second oxygen concentration is adjusted to the first oxygen concentration.
[0071] If the first concentration change rate is less than or equal to the first change rate threshold, it can be considered that the oxygen environment outside the cabin has not changed. However, when the cabin is closed, the occupants' breathing will cause the oxygen concentration in the cabin to continue to decrease. The third change rate threshold is determined based on the test. When only the oxygen concentration in the cabin changes, the inside and outside of the cabin are adjusted to remain consistent.
[0072] The in-vehicle oxygen concentration control method provided in this application also determines whether the target value, i.e., the first oxygen concentration, is reached based on the actually collected second oxygen concentration. If it is not reached, the oxygen output is continuously adjusted to form a closed-loop regulation, and the time required to reach the target value is calculated based on the current second concentration change rate and the target value to remind the user.
[0073] like Figure 3 , shows a flow chart of in-vehicle oxygen concentration control disclosed in one embodiment of the present application, Figure 3 The implementation process of emergency maintenance mode, transition mode and comfort mode is explained by taking oxygen supply adjustment as an example. Among them, the first change rate threshold and the third change rate threshold are both 0. Before the transition mode adjustment, it also includes monitoring of the oxygen environment inside the cabin. When the second concentration change rate is greater than zero, that is, when the oxygen concentration in the cabin decreases, the transition mode is started.
[0074] On the other hand, the activation of transition mode and comfort mode can follow user instructions and confirm user needs through voice interaction with passengers.
[0075] It should be understood that although Figure 1 、 3 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. In addition, Figure 1 、 3 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.
[0076] In one embodiment, Figure 4As shown, a vehicle oxygen concentration control device is provided, comprising: an acquisition module, a calculation module and an oxygen concentration adjustment module, wherein:
[0077] The acquisition module includes a first oxygen concentration acquisition unit and a second oxygen concentration acquisition unit, which are used to respectively acquire a first oxygen concentration and a second oxygen concentration, wherein the first oxygen concentration is the oxygen concentration outside the cabin and the second oxygen concentration is the oxygen concentration inside the cabin; the first oxygen concentration acquisition unit and the second oxygen concentration acquisition unit can be oxygen concentration sensors.
[0078] a calculation module, configured to obtain a first concentration change rate based on the first oxygen concentration, and further configured to determine a first target change rate based on the first concentration change rate when the first concentration change rate is greater than a first change rate threshold, wherein the first target change rate is less than the first concentration change rate;
[0079] An oxygen concentration adjustment module is used to adjust the second oxygen concentration based on the first target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration. The oxygen concentration adjustment module may include an oxygen supply unit and / or a deoxygenation unit, both of which work together or individually to regulate the oxygen concentration in the cabin.
[0080] The oxygen concentration adjustment module may adopt a closed-loop control method based on an actual value and a target value as inputs. For example, the oxygen concentration adjustment module may obtain a first target concentration at a next moment based on the second oxygen concentration at a current moment and the first target change rate;
[0081] A regulating parameter, such as an oxygen supply rate of an oxygen supply device, is controlled according to the first target concentration so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0082] In one embodiment, the in-vehicle oxygen concentration control device also includes an input module, such as an IVI system with an input text recognition or voice recognition module, and the user can customize the transition coefficient. In the in-vehicle oxygen concentration control device provided in this application, the transition coefficient is used to multiply the first concentration change rate to obtain the first target change rate, and the transition coefficient is less than 1.
[0083] Using the above method, users can customize the rate of change of oxygen concentration in the cabin according to their own physical condition.
[0084] In one embodiment, the in-vehicle oxygen concentration control device also includes a display module for displaying current oxygen environment parameters. For example, the calculation module can obtain a concentration difference based on the first oxygen concentration and the second oxygen concentration, calculate an estimated change time based on the concentration difference and the target change rate, and send the estimated change time to the display module for display.
[0085] In one embodiment, when there is a concentration difference between the environment inside and outside the cabin, the in-vehicle oxygen concentration control device still adjusts the second oxygen concentration so that the second oxygen concentration is close to or equal to the first oxygen concentration, even if the first concentration change rate is less than or equal to the first change rate threshold.
[0086] The in-vehicle oxygen concentration control device provided in the present application is also used for automatic identification of emergency situations and oxygen regulation. When the first concentration change rate is greater than the second change rate threshold, the oxygen concentration adjustment module adjusts the second oxygen concentration to the second target concentration and maintains it. The second change rate threshold is greater than the first change rate threshold.
[0087] In some embodiments, the calculation module can also obtain a second concentration change rate based on the change of the second oxygen concentration. When the first concentration change rate is less than or equal to the first change rate threshold, such as a typical value of 0, and the second concentration change rate is greater than a third change rate threshold, the oxygen concentration adjustment module adjusts the second oxygen concentration to the first oxygen concentration.
[0088] The specific definition of the in-vehicle oxygen concentration control device can be found in the definition of the in-vehicle oxygen concentration control method above and will not be repeated here. The various modules in the above-mentioned in-vehicle oxygen concentration control device can be implemented in whole or in part through software, hardware, or a combination thereof. The above-mentioned modules can be embedded in or independent of the processor of the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each of the above modules.
[0089] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 5 As shown. The computer device includes a processor, a memory, a network interface, a display screen and an input device connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external terminal via a network connection. When the computer program is executed by the processor, a method for controlling the oxygen concentration in a vehicle is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad provided on the computer device housing, or an external keyboard, touchpad or mouse.
[0090] Those skilled in the art will understand that Figure 5The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0091] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the following steps are performed:
[0092] Step a: obtaining a first oxygen concentration and a second oxygen concentration, where the first oxygen concentration is the oxygen concentration outside the cabin and the second oxygen concentration is the oxygen concentration inside the cabin, and obtaining a first concentration change rate based on the first oxygen concentration;
[0093] Step b: when the first concentration change rate is greater than a first change rate threshold, determining a first target change rate according to the first concentration change rate, and the first target change rate is less than the first concentration change rate;
[0094] Step c: adjusting the second oxygen concentration based on the first target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0095] The computer device provided in the present application knows the oxygen environment inside and outside the vehicle by obtaining a first oxygen concentration outside the cabin and a second oxygen concentration inside the cabin, and calculates the change rate of the first oxygen concentration to determine whether the external oxygen environment has changed. When the change rate of the first oxygen concentration is greater than a certain threshold, the second oxygen concentration is adjusted at a smaller change rate, so that the oxygen environment inside the cabin gradually transitions to an oxygen environment close to or consistent with that outside the cabin.
[0096] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0097] Determining a transition coefficient, wherein the transition coefficient is less than 1;
[0098] The first target change rate is determined according to the product of the transition coefficient and the first concentration change rate.
[0099] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0100] When the first oxygen concentration decreases, obtaining a first target concentration based on the second oxygen concentration at the current moment and the first target change rate;
[0101] The oxygen supply parameters of the oxygen supply device are controlled according to the first target concentration so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0102] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:
[0103] obtaining a concentration difference based on the first oxygen concentration and the second oxygen concentration;
[0104] When the first concentration change rate is less than or equal to the first change rate threshold and the concentration difference is greater than or equal to the concentration threshold, the second oxygen concentration is adjusted based on a second target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0105] An estimated change time is also determined based on the concentration difference and the first target change rate or the second target change rate to display the estimated change time.
[0106] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0107] Step a: obtaining a first oxygen concentration and a second oxygen concentration, where the first oxygen concentration is the oxygen concentration outside the cabin and the second oxygen concentration is the oxygen concentration inside the cabin, and obtaining a first concentration change rate based on the first oxygen concentration;
[0108] Step b: when the first concentration change rate is greater than a first change rate threshold, determining a first target change rate according to the first concentration change rate, and the first target change rate is less than the first concentration change rate;
[0109] Step c: adjusting the second oxygen concentration based on the first target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0110] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0111] A transition coefficient is determined, where the transition coefficient is less than 1; and the first target change rate is determined according to a product of the transition coefficient and the first concentration change rate.
[0112] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented:
[0113] A first target concentration is obtained based on the second oxygen concentration at the current moment and the first target change rate; and an oxygen supply parameter of the oxygen supply device is controlled according to the first target concentration so that the second oxygen concentration is close to or equal to the first oxygen concentration.
[0114] Those skilled in the art will appreciate that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in various forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
[0115] The technical features of the above embodiments can be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0116] The above-described embodiments merely represent several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art could make various modifications and improvements without departing from the spirit of the present application, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present patent application shall be determined by the appended claims.
Claims
1. A method for controlling oxygen concentration in a vehicle, characterized in that: include: obtaining a first oxygen concentration and a second oxygen concentration, wherein the first oxygen concentration is the oxygen concentration outside the vehicle cabin and the second oxygen concentration is the oxygen concentration inside the vehicle cabin, and obtaining a first concentration change rate based on the first oxygen concentration; When the first concentration change rate is greater than a first change rate threshold, determining a first target change rate according to the first concentration change rate, and the first target change rate is less than the first concentration change rate; adjusting the second oxygen concentration based on the first target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration; The method further includes adjusting the second oxygen concentration based on the first target change rate: obtaining a concentration difference based on the first oxygen concentration and the second oxygen concentration; When the first concentration change rate is less than or equal to the first change rate threshold and the concentration difference is greater than or equal to the concentration threshold, the second oxygen concentration is adjusted based on a second target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration.
2. The method for controlling oxygen concentration in a vehicle according to claim 1, wherein: Determining a first target change rate according to the first concentration change rate includes: determining a transition coefficient, where the transition coefficient is preset or obtained by user input, and the transition coefficient is less than 1; The first target change rate is determined according to the product of the transition coefficient and the first concentration change rate.
3. The method for controlling oxygen concentration in a vehicle according to claim 1, wherein: The adjusting the second oxygen concentration based on the first target change rate includes: When the first oxygen concentration decreases, obtaining a first target concentration based on the second oxygen concentration at the current moment and the first target change rate; The oxygen supply parameters of the oxygen supply device are controlled according to the first target concentration so that the second oxygen concentration is close to or equal to the first oxygen concentration.
4. The method for controlling oxygen concentration in a vehicle according to claim 1, wherein: A concentration difference is obtained according to the first oxygen concentration and the second oxygen concentration, and then the method further includes: An estimated change time is determined according to the concentration difference and the first target change rate or the second target change rate to display the estimated change time.
5. The method for controlling oxygen concentration in a vehicle according to claim 1, wherein: The in-vehicle oxygen concentration control method further includes: When the first concentration change rate is greater than a second change rate threshold, the second oxygen concentration is adjusted to and maintained at a second target concentration, and the second change rate threshold is greater than the first change rate threshold.
6. The method for controlling oxygen concentration in a vehicle according to claim 1, wherein: The in-vehicle oxygen concentration control method further includes: obtaining a second concentration change rate according to the second oxygen concentration; When the first concentration change rate is less than or equal to the first change rate threshold, and the second concentration change rate is greater than a third change rate threshold, the second oxygen concentration is adjusted to the first oxygen concentration.
7. A vehicle interior oxygen concentration control device, characterized in that: The device comprises: an acquisition module, comprising a first oxygen concentration acquisition unit and a second oxygen concentration acquisition unit, for respectively acquiring a first oxygen concentration and a second oxygen concentration, wherein the first oxygen concentration is the oxygen concentration outside the cabin and the second oxygen concentration is the oxygen concentration inside the cabin; a calculation module, configured to obtain a first concentration change rate based on the first oxygen concentration, and further configured to determine a first target change rate based on the first concentration change rate when the first concentration change rate is greater than a first change rate threshold, wherein the first target change rate is less than the first concentration change rate; an oxygen concentration adjustment module, configured to adjust the second oxygen concentration based on the first target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration; The method further includes adjusting the second oxygen concentration based on the first target change rate: obtaining a concentration difference based on the first oxygen concentration and the second oxygen concentration; When the first concentration change rate is less than or equal to the first change rate threshold and the concentration difference is greater than or equal to the concentration threshold, the second oxygen concentration is adjusted based on a second target change rate so that the second oxygen concentration is close to or equal to the first oxygen concentration.
8. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Oxygen control device for cab interior of trackless transport vehicle in high-attitude area and control method
CN108790709A
Vehicle anti-suffocation method and system and electronic equipment
CN115593348A