Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, the present invention provides a method, apparatus, device and storage medium for controlling the opening degree of a damper in an air conditioning mode of a vehicle to solve the above-mentioned problems.
The invention provides a method for controlling the opening of a vehicle air conditioning mode air door, which comprises the following steps:
acquiring a target air outlet temperature of a vehicle air conditioner and a mapping relation between the air outlet temperature and the opening degree of a mode air door;
determining the target opening degree of the mode air door according to the target air outlet temperature and the mapping relation between the air outlet temperature and the opening degree of the mode air door so as to control the actual opening degree of the mode air door;
the mapping relation between the air outlet temperature and the opening degree of the mode air door is that the air outlet temperature is provided with a plurality of temperature gears, the opening degree of the mode air door is provided with a plurality of opening degree gears, the opening degree gears correspond to the temperature gears one by one, and if the target air outlet temperature is in the temperature gears, the target opening degree is an opening degree gear corresponding to the temperature gears; and if the target outlet air temperature is between two adjacent temperature gears, the target opening is between two opening gears corresponding to the two temperature gears.
In an embodiment of the present invention, the obtaining of the target outlet air temperature of the vehicle air conditioner and the mapping relationship between the outlet air temperature and the opening degree of the mode air door includes:
and if the target air outlet temperature is between two adjacent temperature gears, the target opening degree continuously changes relative to the target air outlet temperature.
In an embodiment of the present invention, the obtaining of the target outlet air temperature of the vehicle air conditioner and the mapping relationship between the outlet air temperature and the opening degree of the mode air door includes:
and if the target air outlet temperature is between two adjacent temperature gears, the target opening degree monotonously changes relative to the target air outlet temperature.
In an embodiment of the present invention, the obtaining the target opening degree of the mode damper according to the target outlet air temperature and the mapping relationship between the outlet air temperature and the mode damper opening degree includes:
acquiring a threshold value of each temperature gear and a threshold value between adjacent temperature gears,
and comparing the target outlet air temperature with each threshold value one by one, if the target outlet air temperature is within the threshold value of the temperature gear, the target opening degree of the mode air door is the opening degree gear corresponding to the temperature gear, and if the target outlet air temperature is within the threshold value of two adjacent temperature gears, the target opening degree of the mode air door is obtained according to the variation relation between the target opening degree and the target outlet air temperature.
In an embodiment of the present invention, the obtaining of the target outlet air temperature of the vehicle air conditioner and the mapping relationship between the outlet air temperature and the opening degree of the mode air door includes:
acquiring environmental parameters, wherein the environmental parameters comprise an in-vehicle temperature, a sunshine value, an out-vehicle temperature and a set temperature;
and determining the target air-out temperature according to the environmental parameters and the preset mapping relation between the environmental parameters and the target air-out temperature.
In an embodiment of the present invention, the obtaining of the target outlet air temperature of the vehicle air conditioner and the mapping relationship between the outlet air temperature and the opening degree of the mode air door includes: and the temperature gear corresponding to the opening gear is obtained by real vehicle calibration.
In an embodiment of the present invention, the obtaining of the target outlet air temperature of the vehicle air conditioner and the mapping relationship between the outlet air temperature and the opening degree of the mode air door includes: the opening gear comprises face blowing, foot blowing defrosting and defrosting.
The invention provides a control device for the opening degree of a vehicle air-conditioning mode air door, which comprises:
the information acquisition module is used for acquiring a target air outlet temperature of the vehicle air conditioner and a mapping relation between the air outlet temperature and the mode air door opening;
the target opening degree determining module is used for determining the target opening degree of the mode air door according to the target air outlet temperature and the mapping relation between the air outlet temperature and the opening degree of the mode air door so as to control the actual opening degree of the mode air door;
the mapping relation between the outlet air temperature and the opening degree of the mode air door is that the outlet air temperature is provided with a plurality of temperature gears, the opening degree of the mode air door is provided with a plurality of opening degree gears, the opening degree gears are in one-to-one correspondence with the temperature gears, and if the target outlet air temperature is in the temperature gears, the target opening degree is an opening degree gear corresponding to the temperature gears; and if the target outlet air temperature is between two adjacent temperature gears, the target opening is between two opening gears corresponding to the two temperature gears.
The invention provides an electronic device, comprising:
one or more processors;
a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic equipment to implement the method of controlling vehicle air conditioning mode damper opening as described in any one of the above.
The present invention provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute any one of the above-described control methods of the air conditioner mode damper opening degree of a vehicle.
The invention has the beneficial effects that: according to the method, the device, the equipment and the storage medium for controlling the opening degree of the air door in the vehicle air-conditioning mode, when the target air-out temperature is between two adjacent temperature gears, the target opening degree can be changed between two opening degree gears corresponding to the two temperature gears according to the target air-out temperature, so that the opening degree of the mode air door can be adjusted between the two opening degree gears according to the target air-out temperature, the flexibility of adjusting the opening degree of the mode air door is increased, and the requirement of fine adjustment of a customer is met.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the disclosure herein, wherein the embodiments of the present invention are described in detail with reference to the accompanying drawings and preferred embodiments. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It should be understood that the preferred embodiments are illustrative of the invention only and are not limiting upon the scope of the invention.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than being drawn according to the number, shape and size of the components in actual implementation, and the type, amount and proportion of each component in actual implementation can be changed freely, and the layout of the components can be more complicated.
In the following description, numerous details are set forth to provide a more thorough explanation of embodiments of the present invention, however, it will be apparent to one skilled in the art that embodiments of the present invention may be practiced without these specific details, and in other embodiments, well-known structures and devices are shown in block diagram form, rather than in detail, to avoid obscuring embodiments of the present invention.
Referring to fig. 1, in an embodiment of the present invention, a method for controlling an opening of a damper in an air conditioning mode of a vehicle includes the following steps:
s10, acquiring a target air outlet temperature of a vehicle air conditioner and a mapping relation between the air outlet temperature and the opening degree of a mode air door;
s20, determining the target opening of the mode air door according to the target air outlet temperature and the mapping relation between the air outlet temperature and the opening of the mode air door so as to control the actual opening of the mode air door;
in step S10, a mapping relationship between the outlet air temperature and the opening degree of the mode air door is that the outlet air temperature has a plurality of temperature gears, the opening degree of the mode air door has a plurality of opening degree gears, the opening degree gears correspond to the temperature gears one to one, and if the target outlet air temperature is within the temperature gears, the target opening degree is an opening degree gear corresponding to the temperature gears; and if the target outlet air temperature is between two adjacent temperature gears, the target opening degree is between two opening degree gears corresponding to the two temperature gears.
In an embodiment of the present invention, the step S10, that is, the step of obtaining the mapping relationship between the outlet air temperature and the opening degree of the mode damper, includes:
and if the target air outlet temperature is between two adjacent temperature gears, the target opening degree continuously changes relative to the target air outlet temperature. Along with the continuous change of the air outlet temperature, the change of the target opening degree is also continuous, and when the air outlet temperature, namely the target air outlet temperature, is changed between two adjacent temperature gears, the mode air door can be correspondingly continuously and stably changed, so that the sudden change of the opening degree of the air door is prevented.
In an embodiment of the present invention, the step S10, that is, the step of obtaining the mapping relationship between the outlet air temperature and the opening degree of the mode damper, includes:
and if the target air outlet temperature is between two adjacent temperature gears, the target opening degree monotonously changes relative to the target air outlet temperature. Because the target opening degree changes monotonously with respect to the target outlet air temperature, when the target opening degree is between two opening degree gears corresponding to the two temperature gears, and if the target outlet air temperature changes monotonously, the target opening degree also changes monotonously between the two opening degree gears, so that an operator can find the relation between the target opening degree and the two opening degree gears, and the human-machine engineering is good.
In an embodiment of the present invention, the step S10, that is, the step of obtaining the mapping relationship between the outlet air temperature and the opening degree of the mode damper, includes: and if the target air outlet temperature is between two adjacent temperature gears, the target opening degree linearly changes relative to the target air outlet temperature.
In an embodiment of the present invention, the step S10, that is, the step of obtaining the mapping relationship between the outlet air temperature and the opening degree of the mode damper, includes: and if the target outlet air temperature is between two adjacent temperature gears, the target opening degree monotonically and continuously linearly changes relative to the target outlet air temperature.
In an embodiment of the present invention, in the step S10, that is, the step of obtaining the target outlet air temperature of the vehicle air conditioner, the step includes the following steps:
step S11: acquiring environmental parameters, wherein the environmental parameters comprise an in-vehicle temperature, a sunshine value, an out-vehicle temperature and a set temperature; the temperature in the vehicle can be obtained through the temperature sensor in the vehicle, the sunshine value can be obtained through the sunshine sensor outside the vehicle, the temperature outside the vehicle can be obtained through the temperature sensor outside the vehicle, the set temperature is generally input by a user according to actual requirements, and the set temperature can be obtained through the temperature setter of the air conditioner.
Step S12: and determining the target air-out temperature according to the environmental parameters and the preset mapping relation between the environmental parameters and the target air-out temperature. The mapping relation between the environmental parameters and the target air outlet temperature can be obtained by calibration according to the actual condition of the vehicle.
In an embodiment of the present invention, the step S10, that is, the step of obtaining the mapping relationship between the outlet air temperature and the opening degree of the mode damper, includes the following steps: and the temperature gear corresponding to the opening gear is obtained by real vehicle calibration. Specifically, the temperature gear corresponding to the opening gear is obtained through real vehicle calibration. Specifically, a mode air door position map of the vehicle is obtained by actually calibrating the vehicle, an input parameter of the vehicle mode air door position map is the target air-out temperature, and an opening gear corresponding to the target air-out temperature can be obtained through the mode air door position map under the condition that the target air-out temperature is known.
In an embodiment of the present invention, in step S10, that is, in the step of obtaining the mapping relationship between the target air-out temperature and the air-out temperature of the vehicle air conditioner and the opening of the mode damper, the opening gear includes face blowing, foot blowing, defrosting, and defrosting.
In an embodiment of the present invention, in the step S20, that is, obtaining the target opening degree of the mode damper according to the target outlet air temperature and the mapping relationship between the outlet air temperature and the mode damper opening degree, the method includes the following steps:
step S21: obtaining a threshold value of each temperature gear and a threshold value between adjacent temperature gears,
and S22, comparing the target outlet air temperature with each threshold value one by one, if the target outlet air temperature is within the threshold value of the temperature gear, the target opening degree of the mode air door is the opening degree gear corresponding to the temperature gear, and if the target outlet air temperature is within the threshold value of two adjacent temperature gears, the target opening degree of the mode air door is obtained according to the variation relation between the target opening degree and the target outlet air temperature.
Specifically, referring to fig. 2, the TAO value is calculated from the output value of the internal temperature sensor, the output value of the solar radiation sensor, the output value of the external temperature sensor, and the temperature value set by the user. The TAO value is a target outlet air temperature, that is, a temperature of air that should be blown out at present.
Referring to fig. 3, in the present embodiment, each opening gear is a face blowing mode, a face blowing foot blowing mode, a foot blowing defrosting mode, and a defrosting mode, and the upper and lower limits of the threshold value of the corresponding TAO value are obtained by actual vehicle calibration.
And when the TAO1L is not less than the TAO1H, the opening degree of the mode air door is the opening degree of the air door corresponding to the face blowing mode, and the opening degree is recorded as the percentage of the face blowing mode after being converted according to the percentage.
When TAO1H is not less than TAO not more than TAO2L, the opening degree of the mode air door is Y1:
when the TAO2L is not less than the TAO2H, the opening degree of the mode air door is the opening degree of the air door corresponding to the face-blowing foot-blowing mode, and the opening degree is recorded as the percentage of the face-blowing foot-blowing mode after being converted according to the percentage.
When TAO2H is not less than TAO and not more than TAO3L, the opening degree of the mode air door is Y2:
and when the TAO3L is not less than the TAO3H, the opening degree of the mode air door is the corresponding opening degree of the air door corresponding to the foot blowing mode, and the opening degree is recorded as the foot blowing mode percentage after being converted according to the percentage.
When TAO3H is not less than TAO not more than TAO4L, the opening degree of the mode air door is Y3:
and when the TAO4L is not less than the TAO4H, the opening degree of the mode air door is the percentage of the foot blowing defrosting mode after the opening degree of the air door corresponding to the foot blowing defrosting mode is converted according to the percentage.
When TAO4H is not less than TAO not more than TAO5L, the opening degree of the mode air door is Y4:
and when the TAO5L is not less than the TAO5H, the opening degree of the mode air door is the opening degree of the air door corresponding to the defrosting mode, and the opening degree is recorded as the percentage of the defrosting mode after being converted according to the percentage.
Fig. 4 is a block diagram of a vehicle air conditioning mode damper opening degree acquisition device shown in an exemplary embodiment of the present application. The apparatus may be applied to the implementation environment shown in fig. 1. The apparatus may also be applied to other exemplary implementation environments, and is specifically configured in other devices, and the embodiment does not limit the implementation environment to which the apparatus is applied.
As shown in fig. 4, the apparatus for obtaining the opening degree of a damper in an air conditioning mode of a vehicle according to this example includes:
the information acquisition module is used for acquiring a target air outlet temperature of the vehicle air conditioner and a mapping relation between the air outlet temperature and the mode air door opening;
the target opening determining module is used for determining the target opening of the mode air door according to the target air outlet temperature and the mapping relation between the air outlet temperature and the mode air door opening so as to control the actual opening of the mode air door;
the mapping relation between the air outlet temperature and the opening degree of the mode air door is that the air outlet temperature is provided with a plurality of temperature gears, the opening degree of the mode air door is provided with a plurality of opening degree gears, the opening degree gears correspond to the temperature gears one by one, and if the target air outlet temperature is in the temperature gears, the target opening degree is an opening degree gear corresponding to the temperature gears; and if the target outlet air temperature is between two adjacent temperature gears, the target opening degree is between two opening degree gears corresponding to the two temperature gears.
It should be noted that the control device for the opening degree of the vehicle air-conditioning mode air door provided by the above embodiment and the control method for the opening degree of the vehicle air-conditioning mode air door provided by the above embodiment belong to the same concept, wherein the specific manner of performing the operation by each module and unit has been described in detail in the method embodiment, and is not repeated herein. In practical applications, the road condition refreshing apparatus provided in the above embodiment may distribute the above functions through different functional modules according to needs, that is, divide the internal structure of the apparatus into different functional modules to complete all or part of the above described functions, which is not limited herein.
An embodiment of the present application further provides an electronic device, including: one or more processors; a storage device for storing one or more programs that, when executed by the one or more processors, cause the electronic apparatus to implement the method of controlling the opening degree of the air conditioning mode damper of the vehicle provided in the above-described respective embodiments.
FIG. 5 illustrates a schematic structural diagram of a computer system suitable for use to implement the electronic device of the embodiments of the subject application. It should be noted that the computer system 1200 of the electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the application scope of the embodiments of the present application.
As shown in fig. 5, the computer system 1200 includes a Central Processing Unit (CPU) 1201, which can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 1202 or a program loaded from a storage section 1208 into a Random Access Memory (RAM) 1203. In the RAM 1203, various programs and data necessary for system operation are also stored. The CPU 1201, ROM 1202, and RAM 1203 are connected to each other by a bus 1204. An Input/Output (I/O) interface 1205 is also connected to bus 1204.
The following components are connected to the I/O interface 1205: an input portion 1206 including a keyboard, a mouse, and the like; an output section 1207 including a Display device such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 1208 including a hard disk and the like; and a communication section 1209 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 1209 performs communication processing via a network such as the internet. A driver 1210 is also connected to the I/O interface 1205 as needed. A removable medium 1211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 1210 as necessary, so that a computer program read out therefrom is mounted into the storage section 1208 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication portion 1209 and/or installed from the removable medium 1211. The computer program performs various functions defined in the system of the present application when executed by a Central Processing Unit (CPU) 1201.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer-readable signal medium may comprise a propagated data signal with a computer-readable computer program embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Another aspect of the present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor of a computer, causes the computer to execute the method of acquiring the throttle opening degree of the air conditioning mode of the vehicle as before. The computer-readable storage medium may be included in the electronic device described in the above embodiment, or may exist separately without being incorporated in the electronic device.
Another aspect of the application also provides a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method for acquiring the vehicle air conditioning mode damper opening degree provided in the above embodiments.
In summary, according to the method, the device, the equipment and the storage medium for controlling the opening degree of the air door in the vehicle air conditioning mode, when the target outlet air temperature is between two adjacent temperature gears, the target opening degree can be changed between two opening degree gears corresponding to the two temperature gears according to the target outlet air temperature, so that the opening degree of the mode air door can be adjusted between the two opening degree gears according to the target outlet air temperature, the flexibility of adjusting the opening degree of the mode air door is improved, and the requirement of fine adjustment of a customer is met.
The foregoing embodiments are merely illustrative of the principles of the present invention and its efficacy, and are not to be construed as limiting the invention. Those skilled in the art can modify or change the above-described embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.