CN115284833A - Electric air outlet control method, system and equipment for automobile air conditioner and storage medium - Google Patents

Electric air outlet control method, system and equipment for automobile air conditioner and storage medium Download PDF

Info

Publication number
CN115284833A
CN115284833A CN202210992456.5A CN202210992456A CN115284833A CN 115284833 A CN115284833 A CN 115284833A CN 202210992456 A CN202210992456 A CN 202210992456A CN 115284833 A CN115284833 A CN 115284833A
Authority
CN
China
Prior art keywords
motor
step number
air outlet
determining
air conditioner
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210992456.5A
Other languages
Chinese (zh)
Inventor
陆小龙
徐荣昌
王雨秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202210992456.5A priority Critical patent/CN115284833A/en
Publication of CN115284833A publication Critical patent/CN115284833A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60HARRANGEMENTS OF HEATING, COOLING, VENTILATING OR OTHER AIR-TREATING DEVICES SPECIALLY ADAPTED FOR PASSENGER OR GOODS SPACES OF VEHICLES
    • B60H1/00Heating, cooling or ventilating [HVAC] devices
    • B60H1/34Nozzles; Air-diffusers
    • B60H1/3414Nozzles; Air-diffusers with means for adjusting the air stream direction
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60HARRANGEMENTS OF HEATING, COOLING, VENTILATING OR OTHER AIR-TREATING DEVICES SPECIALLY ADAPTED FOR PASSENGER OR GOODS SPACES OF VEHICLES
    • B60H1/00Heating, cooling or ventilating [HVAC] devices
    • B60H1/00642Control systems or circuits; Control members or indication devices for heating, cooling or ventilating devices
    • B60H1/00971Control systems or circuits characterised by including features for locking or memorising of control modes

Landscapes

  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Air-Conditioning For Vehicles (AREA)

Abstract

The application provides a method, a system, equipment and a storage medium for controlling an electric air outlet of an automobile air conditioner, and relates to the technical field of air conditioner control. The method comprises the following steps: acquiring a touch track of a user, wherein the touch track is formed by touching an air outlet animation interface on a vehicle-mounted terminal screen by the user to adjust the air blowing direction of an air outlet; according to the blade position percentage information, the target movement step number of the motor is determined, the target movement step number of the motor is the step number of the motor which needs to move when the air blowing direction of the air outlet of the automobile air conditioner is adjusted, the air blowing direction of one or more air outlets can be flexibly changed according to the touch action of a user on the air outlet animation on the vehicle-mounted terminal screen, and the flexibility and the convenience of control of the automobile air conditioner are effectively improved.

Description

Electric air outlet control method, system and equipment for automobile air conditioner and storage medium
Technical Field
The application relates to the technical field of air conditioner control, in particular to a method, a system, equipment and a storage medium for controlling an electric air outlet of an automobile air conditioner.
Background
The automobile plays an important role in daily life of people as a convenient tool for people to go out. With the rapid development of intelligent technology, automobiles turn to intellectualization rapidly, and better service is provided for people.
The automobile air conditioner is an indispensable part of an automobile, and can provide a space environment with more comfortable temperature for people in hot summer or cold winter. However, when the direction of the air outlet of the automobile air conditioner needs to be changed at present, the intelligent degree is low only by a manual control mode, and the diversified demands of people on health and comfort level cannot be met.
Disclosure of Invention
The embodiment of the application provides a method, a system, equipment and a storage medium for controlling an electric air outlet of an automobile air conditioner, which can automatically control the change of the air blowing direction of the air outlet and have high intelligent degree.
In a first aspect, the present application provides a method for controlling an electric air outlet of an automotive air conditioner, including: acquiring a touch track of a user, wherein the touch track is formed by touching an air outlet animation interface on a vehicle-mounted terminal screen by the user to adjust the air blowing direction of an air outlet; and determining the target moving step number of the motor according to the percentage information of the blade positions, wherein the target moving step number of the motor is the step number of the motor which needs to move when the blowing direction of the air outlet of the automobile air conditioner is adjusted.
According to the method and the device, the track formed by the fact that the user touches the air outlet animation interface on the vehicle-mounted terminal screen to adjust the air blowing direction of the air outlet is obtained; and determining the number of steps of the motor required to move when the air blowing direction of the air outlet of the automobile air conditioner is adjusted according to the percentage information of the blade positions, flexibly changing the air blowing direction of one or more air outlets according to the touch action of a user on the animation of the air outlet on a vehicle-mounted terminal screen, and effectively improving the flexibility and convenience of the control of the automobile air conditioner.
In an optional manner provided by the first aspect, the determining a target number of moving steps of the motor according to the blade position percentage information includes:
determining the target motion step number of the motor according to the blade position percentage information and an angle-step number relational expression, wherein the angle-step number relational expression is a relational expression of the target motion step number of the motor and the motion angle of the blades of the air outlet;
and controlling the blades to move by moving corresponding steps of the motor according to the target moving steps of the motor so as to adjust the blowing direction of the air outlet.
In another optional manner provided by the first aspect, the determining, according to the touch trajectory, percentage information of a position of a blade of an air outlet of the vehicle air conditioner includes:
acquiring position information of the air outlet animation corresponding to the touch track on a screen of the vehicle-mounted terminal;
and determining the percentage information of the blade positions according to the position information, wherein the percentage information of the blade positions has a mapping relation with the positions of the air outlet animations on the screen of the vehicle-mounted terminal.
In another alternative provided by the first aspect, the determining the target number of moving steps of the motor according to the blade position percentage information and the angle-step relation includes:
acquiring a total motor movement stroke of an air outlet corresponding to the touch track, wherein the total motor movement stroke is an angle between two wind sweeping limit positions or between the wind sweeping limit positions and an air outlet closing position, and the wind sweeping limit is an angle between a maximum wind blowing position and an upper/lower wind blowing limit position or an angle between the maximum wind blowing position and a left/right wind blowing limit position;
and determining the target movement step number of the motor according to the total movement stroke of the motor, the percentage information of the blade position and the angle-step number relational expression.
In another optional manner provided by the first aspect, the determining a target moving step number of the motor according to the total moving stroke of the motor, the percentage information of the blade position, and the angle-step number relation includes:
determining the target motion step number of the motor according to the total motion stroke of the motor, the percentage information of the blade position and the angle-step number relational expression by using a motor motion step number calculation formula, wherein the motor motion step number calculation formula is as follows:
P=S÷α×k
wherein P is the target movement step number of the motor, S is the total movement stroke of the motor, alpha is an angle-step number relational expression, and k is the position percentage of the blade.
In another optional manner provided by the first aspect, the controlling the movement of the blades by the corresponding number of steps of the movement of the motor according to the target number of steps of the movement of the motor to adjust the blowing direction of the air outlet includes: acquiring initial position information of a motor;
determining the initial step number of the motor according to the initial position information of the motor;
determining the target movement step number of the motor according to the total movement stroke of the motor and the initial step number of the motor;
and controlling the blades to move by moving corresponding steps of the motor according to the target moving steps of the motor so as to adjust the blowing direction of the air outlet.
In another alternative provided by the first aspect, the determining the target number of motor moving steps according to the total motor moving stroke and the initial number of motor steps includes:
determining a motor rotation direction, wherein the motor rotation direction comprises a clockwise rotation direction and a counterclockwise rotation direction;
determining a step number increasing and decreasing direction according to the rotation direction of the motor, wherein the step number increasing and decreasing direction is whether the movement step number of the motor is increased or decreased;
and determining the target movement step number of the motor according to the total movement stroke of the motor, the initial step number of the motor and the increase and decrease direction of the step number.
In a second aspect, the present application provides an electric air outlet control system for an air conditioner of a vehicle, comprising:
the touch track acquisition unit is used for acquiring a touch track of a user, wherein the touch track is formed by touching an air outlet animation interface on a vehicle-mounted terminal screen by the user so as to adjust the air blowing direction of the air outlet;
the blade position percentage information determining unit is used for determining the blade position percentage information of the air outlet of the automobile air conditioner according to the touch track;
and the movement step number determining unit is used for determining the target movement step number of the motor according to the blade position percentage information, wherein the target movement step number of the motor is the step number of the motor required to move when the blowing direction of the air outlet of the automobile air conditioner is adjusted.
In an optional manner provided by the second aspect, the motion step number determining unit is specifically configured to:
determining the target moving step number of the motor according to the blade position percentage information and an angle-step number relational expression, wherein the angle-step number relational expression is a relational expression between the target moving step number of the motor and the blade moving angle of the air outlet;
and controlling the blades to move by moving corresponding steps of the motor according to the target moving steps of the motor so as to adjust the blowing direction of the air outlet.
In another optional manner provided by the second aspect, the blade position percentage information determining unit is specifically configured to:
acquiring position information of the air outlet animation on a vehicle-mounted terminal screen corresponding to the touch track;
and determining the percentage information of the blade positions according to the position information, wherein the percentage information of the blade positions has a mapping relation with the positions of the air outlet animations on the screen of the vehicle-mounted terminal.
In another optional manner provided by the second aspect, the motion step number determining unit is specifically configured to:
acquiring a total motor movement stroke of an air outlet corresponding to the touch track, wherein the total motor movement stroke is an angle between two wind sweeping limit positions or between the wind sweeping limit positions and an air outlet closing position, and the wind sweeping limit is an angle between a maximum wind blowing position and an upper/lower wind blowing limit position or an angle between the maximum wind blowing position and a left/right wind blowing limit position;
and determining the target movement step number of the motor according to the total movement stroke of the motor, the percentage information of the blade positions and the angle-step number relational expression.
In another optional manner provided by the second aspect, the motion step number determining unit is specifically configured to:
determining the target motion step number of the motor according to the total motion stroke of the motor, the percentage information of the blade position and the angle-step number relational expression by using a motor motion step number calculation formula, wherein the motor motion step number calculation formula is as follows:
P=S÷α×k
wherein P is the target movement step number of the motor, S is the total movement stroke of the motor, alpha is an angle-step number relational expression, and k is the position percentage of the blade.
In another alternative provided by the second aspect, the motion step number determining unit is configured to:
acquiring initial position information of a motor;
determining the initial step number of the motor according to the initial position information of the motor;
determining the target movement step number of the motor according to the total movement stroke of the motor and the initial step number of the motor;
and controlling the blades to move by moving corresponding steps of the motor according to the target movement steps of the motor so as to adjust the air blowing direction of the air outlet.
In another optional manner provided by the second aspect, the moving step number determining unit is configured to: determining a motor rotation direction, wherein the motor rotation direction comprises a clockwise rotation direction and a counterclockwise rotation direction;
determining a step number increasing and decreasing direction according to the rotation direction of the motor, wherein the step number increasing and decreasing direction is whether the motor movement step number is increased or decreased;
and determining the target movement step number of the motor according to the total movement stroke of the motor, the initial step number of the motor and the increase and decrease direction of the step number.
In a third aspect, the present application provides an electric outlet control device for a vehicle air conditioner, comprising a processor, a memory and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to the first aspect or any optional manner of the first aspect when executing the computer program.
In a fourth aspect, the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the method as described above in the first aspect or any alternative of the first aspect.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on an electric outlet control device of a vehicle air conditioner, causes the electric outlet control device of the vehicle air conditioner to execute the steps of the electric outlet control method of the vehicle air conditioner in the first aspect.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an electric outlet control method for an automotive air conditioner according to an embodiment of the present disclosure;
FIG. 2 is a schematic interface diagram of an outlet animation interface according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating a method for determining a target number of steps of a motor according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart illustrating another method for determining a number of steps of a motor target movement according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electric air outlet control system of an automobile air conditioner according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of an electric outlet control device of an automobile air conditioner according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
It should also be appreciated that reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless otherwise specifically stated.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for controlling an electric air outlet of an automotive air conditioner according to an embodiment of the present application, which is detailed as follows:
step S101, obtaining a touch track of a user, wherein the touch track is formed by the user touching an air outlet animation interface on a vehicle-mounted terminal screen to adjust the air blowing direction of an air outlet.
In this application embodiment, when the user needs to adjust the direction of blowing of each air outlet in the vehicle air conditioner, demonstrate the air outlet animation interface as shown in fig. 2 on the vehicle mounted terminal screen, include the animation that each air outlet corresponds on this air outlet animation interface, the position at each air outlet place, for example, first air outlet is for being located the left air outlet of car steering wheel, the second air outlet is for being located the air outlet on car steering wheel right side, the third air outlet is for being located the air outlet on second air outlet right side, the air outlet of fourth air outlet for being located the third air outlet right side.
As shown in fig. 2, each outlet pair applies an outlet animation, and a user may touch the outlet animation on the outlet animation interface to adjust an air blowing direction of a corresponding outlet. When the air blowing directions of the air outlets need to be adjusted, different air blowing modes can be selected through touch on the air outlet animation interface, and the air blowing directions of the air outlets can be changed simultaneously through selecting the different air blowing modes.
It should be noted that, when the number or the position of the air outlets corresponding to the vehicle air conditioner varies, the relative position of the air outlets on the steering wheel of the vehicle is used to determine and associate each air outlet, which is not limited specifically herein.
And S102, determining the percentage information of the blade position of the air outlet of the automobile air conditioner according to the touch track.
In the embodiment of the application, after a touch track of a user is obtained, position information of an air outlet animation corresponding to the touch track on a screen of a vehicle-mounted terminal is obtained, and the percentage information of the position of the blade is determined according to the position information.
The mapping relation exists between the blade position percentage information and the position of the air outlet animation on the vehicle-mounted terminal screen, and after the position of the air outlet animation on the vehicle-mounted terminal screen is determined, the blade position percentage corresponding to the air outlet can be determined.
Before using the method for controlling an electric air outlet of an automobile air conditioner provided by the embodiment of the present application, parameters between a motion direction of each air outlet blade and an air outlet and a motor need to be defined, and table 1 defines parameters between a set of motion directions of each air outlet blade and the air outlet and the motor provided by the embodiment of the present application:
Figure BDA0003804352890000081
TABLE 1
As shown in table 1, the first air outlet, the second air outlet, the third air outlet, and the fourth air outlet correspond to four air outlets from left to right when the user faces the vehicle-mounted terminal screen, parameters from a maximum air blowing position to a limit position (for example, an up/down air blowing limit position, a left/right air blowing limit position) corresponding to each air outlet are determined according to an air outlet structure, parameters corresponding to each air outlet are not completely the same, the maximum air blowing position is a middle position of the two limit positions, and at this time, an air blowing amount of the air outlets is a maximum value.
The angle-step relation in table 1 is specifically a relation between the number of motor movement steps and the movement angle of the blades at the air outlet, that is, the angle of the corresponding blade movement is determined for each step of the motor, and the angle-step relation is determined by the parameters of the motor and is not constant.
Because each air blowing port corresponds to an upper air blowing direction, a lower air blowing direction and a left air blowing direction, and because of the motion limitation of the blades of the air blowing ports, the control of the air blowing directions of different groups is controlled by different motors, for example, the air blowing direction is independently controlled by a horizontal motor in the horizontal direction, and the air blowing direction is independently controlled by a vertical motor in the vertical direction.
It should be noted that, in the embodiments of the present application, the up/down and the left/right are determined based on the position facing the air outlet, and the moving direction of the blades of the air outlet when the motor rotates clockwise in the installation position is determined by the arrangement position of the motor, such as from left to right and from top to bottom.
And S103, determining the target movement steps of the motor according to the percentage information of the blade positions, wherein the target movement steps of the motor are the steps required by the motor to move when the blowing direction of the air outlet of the automobile air conditioner is adjusted.
In the embodiment of the application, after the blade position percentage information of any one or more air outlets, the number of movement steps of the motor for controlling the movement of the corresponding air outlet blade is determined according to the blade position percentage information corresponding to each air outlet so as to adjust the air blowing direction of each air blowing port. After the target movement steps of the motor are determined, the motor corresponding to each air outlet moves by corresponding steps so as to adjust the air blowing direction of each air blowing port.
In some embodiments of the present application, a target movement step number of the motor is determined according to the percentage information of the blade position and the angle-step number relation, and then the blade is controlled to move by moving the corresponding step number of the motor according to the target movement step number of the motor to adjust the blowing direction of the air outlet.
The angle-step relation in the embodiment of the application is a relation between the target motion step number of the motor and the motion angle of the blades of the air outlet.
In the embodiment of the application, after the blade position percentage information is acquired, the total movement stroke of the motor needs to be determined so as to conveniently determine the corresponding target movement step number of the motor.
The touch track in the embodiment of the application can be understood as an air outlet animation track, and when the air outlet animation track is obtained, the target motion step number of the motor can be determined through a preset mapping relation table of the air outlet animation track. For example, the definition of the relevant parameters in the air outlet animation track is as follows:
1. the left blowing limit position is defined as 0, and the right blowing limit position is defined as 100%;
2. the upper blowing limit position is defined as 0, and the right blowing limit position is defined as 100%;
3. in the wind sweeping mode, when wind is swept from the initial position, the motion direction of the blade is 0 → 100%;
the range of the motor target motion steps corresponding to 0 is 0-5% (not including 5%) of the total steps, the range of the motor target motion steps corresponding to 100% is 95-100% of the total steps, the range of the motor target motion steps corresponding to 10% is 5-15% (not including 15%) of the total steps, the range of the motor target motion steps corresponding to 20% is 15-25% (not including 25%) of the total steps, and so on.
Therefore, after determining the blade position percentage, the number of moving steps of the motor, i.e., the target number of moving steps of the motor in the above, can be calculated accordingly.
Taking a single air outlet as an example, after the percentage information of the blade positions of the air outlet is obtained, in order to calculate the number of moving steps of the motor when the blowing direction of the air outlet is adjusted, the total moving stroke of the motor of the air outlet needs to be obtained.
Specifically, please refer to fig. 3, fig. 3 is a schematic flow chart of a method for determining a target movement step number of a motor according to an embodiment of the present application, which is detailed as follows:
and S301, acquiring the total motor movement stroke of the air outlet corresponding to the touch track.
In the embodiment of the application, the total movement stroke of the motor is an angle between two wind sweeping limit positions or between the wind sweeping limit position and the air opening closing position, wherein the wind sweeping limit is an angle between the maximum wind blowing position and the upper/lower wind blowing limit position or an angle between the maximum wind blowing position and the left/right wind blowing limit position.
The total movement stroke of the motor in the embodiment of the application can also be understood as the total movement stroke of the blades of the air outlet.
In a specific embodiment of the present application, taking the horizontal direction of the first air outlet in table 1 as an example, the total blade movement stroke of the first air outlet is 38 ° +38 °, that is, the angle from the maximum air blowing position to the left air blowing limit position is 38 °, and the angle from the maximum air blowing position to the right air blowing limit position is 38 °, so that the total blade movement stroke of the first air outlet is an angle between two wind sweeping limit positions, that is, the left air blowing limit position to the right air blowing limit position, that is, the total motor movement stroke is 38 ° +38 ° =76 °.
In another specific implementation of the present application, taking the vertical direction of the first air outlet in table 1 as an example, the total blade movement stroke of the first air outlet is 80 ° +80 °, that is, the angle from the maximum air blowing position to the left air blowing limit position, that is, the angle from the maximum air blowing position to the upper air blowing limit position is 80 °, and the angle from the maximum air blowing position to the lower air blowing limit position is 80 °, so that the total blade movement stroke of the first air outlet is an angle between two air sweeping limit positions, that is, the upper air blowing limit position to the lower air blowing limit position, that is, the total motor movement stroke is 80 ° +80 ° =160 °. When the air outlet needs to be closed, the movement direction of the blades of the air outlet moves from the current blowing position to the maximum blowing position and then moves from the maximum blowing position to the closing position, and at this time, the total movement stroke of the motor is 80 degrees +180 degrees =260 degrees.
And step S302, determining the target movement steps of the motor according to the total movement stroke of the motor, the percentage information of the blade positions and the angle-step number relational expression.
In this embodiment of the present application, a motor motion step number calculation formula is used to determine a motor target motion step number according to the total motor motion stroke, the blade position percentage information, and the angle-step number relational expression, where the motor motion step number calculation formula is:
P=S÷α×k
wherein P is the target movement step number of the motor, S is the total movement stroke of the motor, alpha is an angle-step number relational expression, and k is the position percentage of the blade.
In the embodiment of the present application, the total motor movement step number is S ÷ α, which can be calculated according to the total motor point movement stroke S, for example, when the total motor movement stroke is 76 ° and α is 1 step =0.05625 °, the corresponding total motor movement step number is 76 °/+ 0.05625 ° =1351.1, and the total motor movement step number is 1351 or 1352 within the allowable error range.
In the embodiment of the application, after the target movement steps of the motor are obtained through calculation, the related information is sent to the motor at the air outlet, so that the air blowing direction of the air outlet is adjusted through the movement of the motor control blades, the purpose of automatically adjusting the air blowing direction of the air outlet is achieved, the automation degree is high, and the use experience of a user is improved.
For example, the air outlet of the vehicle air conditioner generally maintains its original blowing direction unless the user closes the air outlet, and the air outlet is not automatically closed when the air conditioner is closed. At this time, in order to ensure that the motor can accurately adjust the blowing direction of the air outlet, initial position information of the motor needs to be obtained, for example, when an automobile is powered on, the current position of the motor is obtained, the position information is also the initial position information of the motor, the initial step number of the motor is determined according to the initial position information of the motor, then the target movement step number of the motor is determined according to the initial step number of the motor and the total movement stroke of the motor, and then the blade is controlled to move through the corresponding step number of the motor movement according to the target movement step number of the motor so as to adjust the blowing direction of the air outlet.
In the embodiment of the application, after the motor moves by the corresponding steps, the position information of the motor and the movement steps of the motor are updated at the same time, so that when the blowing direction of the air outlet is adjusted, the latest position information and the total movement stroke of the motor can be acquired to determine the target movement steps of the motor.
In the embodiment of the present application, after determining the initial number of steps of the motor, the rotation direction of the motor needs to be determined to determine the target number of steps of the motor, specifically, please refer to fig. 4, where fig. 4 is a schematic flow chart of another method for determining the target number of steps of the motor provided in the embodiment of the present application, and the detailed description is as follows:
in step S401, a motor rotation direction is determined, where the motor rotation direction includes a clockwise rotation direction and a counterclockwise rotation direction.
In the embodiment of the present application, according to the moving direction of the blade when the motor rotates clockwise in the installation position in table 1, after the moving direction of the blade is determined, it is possible to determine whether the rotating direction of the motor is the clockwise rotating direction or the counterclockwise rotating direction.
Step S402, determining the increasing and decreasing direction of the step number according to the rotation direction of the motor, wherein the increasing and decreasing direction of the step number is whether the motor movement step number is increased or decreased.
In the embodiment of the present application, the number of motor movement steps increases when the motor rotation direction is the clockwise rotation direction, and decreases when the motor rotation direction is the counterclockwise rotation direction.
And step S403, determining the final motor movement step number according to the motor movement total stroke, the motor initial step number and the step number increasing and decreasing direction.
In this embodiment of the present application, the target motor movement step number is the sum of the initial motor step number and the motor movement step number calculated according to the total motor movement stroke and the blade position percentage information, that is, when the motor rotation direction is the clockwise rotation direction, the target motor movement step number is the sum of the initial motor step number and the motor movement step number calculated according to the total motor movement stroke and the blade position percentage information; and when the motor rotating direction is the anticlockwise rotating direction, the target motor moving step number is the difference between the initial motor step number and the motor moving step number calculated according to the total motor moving stroke and the blade position hundred percent information.
In the embodiment of the application, the motor target movement step number is determined by obtaining the initial movement step number of the motor, calculating the obtained motor movement step number based on the total movement stroke of the motor and the percentage information of the blade position, and finally determining the rotation direction of the motor, so that the motor can be accurately controlled to move the corresponding step number, the blades of the air outlet move to the position corresponding to the percentage information of the blade position, and the accuracy of the blade movement is improved.
According to the method and the device, the track formed by the fact that the user touches the air outlet animation interface on the vehicle-mounted terminal screen to adjust the air blowing direction of the air outlet is obtained; and determining the number of steps of the motor which needs to move when the air blowing direction of the air outlet of the automobile air conditioner is adjusted according to the blade position percentage information, flexibly changing the air blowing direction of one or more air outlets according to the touch action of a user on the air outlet animation on the vehicle-mounted terminal screen, and effectively improving the flexibility and convenience of the control of the automobile air conditioner.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by functions and internal logic of the process, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Based on the method for controlling the electric air outlet of the automobile air conditioner provided by the embodiment, the embodiment of the application further provides a system embodiment for realizing the embodiment of the method.
Referring to fig. 5, fig. 5 is a schematic view of an electric outlet control system of an automotive air conditioner according to an embodiment of the present disclosure. The units are included for performing the steps in the corresponding embodiment of fig. 1. Please specifically refer to the related description of the corresponding embodiment in fig. 1. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 5, the electric outlet control system 5 of the vehicle air conditioner includes:
a touch trajectory acquisition unit 51, configured to acquire a touch trajectory of a user, where the touch trajectory is a trajectory formed when the user touches an air outlet animation interface on a vehicle-mounted terminal screen to adjust an air blowing direction of an air outlet;
a blade position percentage information determining unit 52, configured to determine blade position percentage information of an air outlet of the vehicle air conditioner according to the touch trajectory;
and a moving step number determining unit 53, configured to determine, according to the percentage information of the blade positions, a target moving step number of the motor, where the target moving step number of the motor is a step number that the motor needs to move when adjusting an air blowing direction of the air outlet of the vehicle air conditioner.
In some embodiments of the present application, the moving step number determining unit 53 is specifically configured to:
determining the target moving step number of the motor according to the blade position percentage information and an angle-step number relational expression, wherein the angle-step number relational expression is a relational expression between the target moving step number of the motor and the blade moving angle of the air outlet;
and controlling the blades to move by moving corresponding steps of the motor according to the target moving steps of the motor so as to adjust the blowing direction of the air outlet.
In some embodiments of the present application, the blade position percentage information determining unit 52 is specifically configured to:
acquiring position information of the air outlet animation corresponding to the touch track on a screen of the vehicle-mounted terminal;
and determining the percentage information of the blade positions according to the position information, wherein the percentage information of the blade positions has a mapping relation with the positions of the air outlet animations on the screen of the vehicle-mounted terminal.
In other embodiments of the present application, the motion step number determining unit 53 is specifically configured to:
acquiring a total motor movement stroke of an air outlet corresponding to the touch track, wherein the total motor movement stroke is an angle between two wind sweeping limit positions or between a wind sweeping limit position and an air outlet closing position, and the wind sweeping limit is an angle between a maximum wind blowing position and an upper/lower wind blowing limit position or an angle between the maximum wind blowing position and a left/right wind blowing limit position;
and determining the target movement step number of the motor according to the total movement stroke of the motor, the percentage information of the blade positions and the angle-step number relational expression.
In other embodiments of the present application, the motion step number determining unit 53 is specifically configured to:
determining the target motion step number of the motor according to the total motion stroke of the motor, the percentage information of the blade position and the angle-step number relational expression by using a motor motion step number calculation formula, wherein the motor motion step number calculation formula is as follows:
P=S÷α×k
wherein P is the target movement step number of the motor, S is the total movement stroke of the motor, alpha is an angle-step number relational expression, and k is the position percentage of the blade.
In other embodiments of the present application, the moving step number determining unit 53 is specifically configured to:
determining the initial step number of the motor according to the initial position information of the motor;
determining the target movement step number of the motor according to the total movement stroke of the motor and the initial step number of the motor;
and controlling the blades to move by moving corresponding steps of the motor according to the target movement steps of the motor so as to adjust the air blowing direction of the air outlet.
In other embodiments of the present application, the moving step number determining unit 53 is specifically configured to:
determining a motor rotation direction, wherein the motor rotation direction comprises a clockwise rotation direction and a counterclockwise rotation direction;
determining a step number increasing and decreasing direction according to the rotation direction of the motor, wherein the step number increasing and decreasing direction is whether the motor movement step number is increased or decreased;
and determining the target movement step number of the motor according to the total movement stroke of the motor, the initial step number of the motor and the increase and decrease direction of the step number.
According to the method and the device, the track formed by the fact that the user touches the air outlet animation interface on the vehicle-mounted terminal screen to adjust the air blowing direction of the air outlet is obtained; and determining the number of steps of the motor which needs to move when the air blowing direction of the air outlet of the automobile air conditioner is adjusted according to the blade position percentage information, flexibly changing the air blowing direction of one or more air outlets according to the touch action of a user on the air outlet animation on the vehicle-mounted terminal screen, and effectively improving the flexibility and convenience of the control of the automobile air conditioner.
It should be noted that, because the above-mentioned information interaction between the modules, the execution process, and other contents are based on the same concept, specific functions, and technical effects brought by the method embodiment of the present application may be specifically referred to a part of the method embodiment, and are not described herein again.
Fig. 6 is a schematic view of an electric outlet control device of an automobile air conditioner according to an embodiment of the present application. As shown in fig. 6, the electric outlet control apparatus 6 of the vehicle air conditioner of this embodiment includes: a processor 60, a memory 61, and a computer program 62, such as an electric vent control program, stored in the memory 61 and executable on the processor 60. The processor 60 executes the computer program 62 to implement the steps of the above-mentioned embodiments of the method for controlling an electric outlet of an air conditioner of a vehicle, such as steps 101-103 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functionality of the various modules/units in the various system embodiments described above, such as the functionality of the units 51-53 shown in FIG. 5.
Illustratively, the computer program 62 may be divided into one or more modules/units, which are stored in the memory 61 and executed by the processor 60 to accomplish the present application. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions for describing the execution of the computer program 62 in the electric outlet control apparatus 6 for a vehicle air conditioner. For example, the computer program 62 may be divided into a touch trajectory acquiring unit 51, a blade position percentage information determining unit 52, and a moving step number determining unit 53, and specific functions of each unit are described in the embodiment corresponding to fig. 1, which is not described herein again.
The electric outlet control device of the vehicle air conditioner may include, but is not limited to, a processor 60 and a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of an electrically operated outlet control device 6 for a vehicle air conditioner, and does not constitute a limitation on the electrically operated outlet control device 6 for a vehicle air conditioner, and may include more or fewer components than those shown, or some components in combination, or different components, e.g., an electrically operated outlet control device for a vehicle air conditioner may also include input-output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the electric outlet control apparatus 6 of the automobile air conditioner, such as a hard disk or an internal memory of the electric outlet control apparatus 6 of the automobile air conditioner. The memory 61 may also be an external storage device of the electric outlet control device 6 of the vehicle air conditioner, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electric outlet control device 6 of the vehicle air conditioner. Further, the memory 61 may also include both an internal storage unit and an external storage device of the electric outlet control device 6 of the vehicle air conditioner. The memory 61 is used to store computer programs and other programs and data required for the electric outlet control apparatus of the vehicle air conditioner. The memory 61 may also be used to temporarily store data that has been output or is to be output.
The embodiment of the application also provides a computer readable storage medium, wherein a computer program is stored in the computer readable storage medium, and when the computer program is executed by a processor, the method for controlling the electric air outlet of the automobile air conditioner can be realized.
The embodiment of the application provides a computer program product, and when the computer program product runs on an electric air outlet control device of an automobile air conditioner, the electric air outlet control device of the automobile air conditioner can realize the electric air outlet control method of the automobile air conditioner when executing.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the system is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only used for distinguishing one functional unit from another, and are not used for limiting the protection scope of the present application. For the specific working processes of the units and modules in the system, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
In the above embodiments, the description of each embodiment has its own emphasis, and reference may be made to the related description of other embodiments for parts that are not described or recited in any embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for controlling an electric air outlet of an automobile air conditioner is characterized by comprising the following steps:
acquiring a touch track of a user, wherein the touch track is formed by touching an air outlet animation interface on a vehicle-mounted terminal screen by the user so as to adjust the air blowing direction of an air outlet;
determining the blade position percentage information of an air outlet of the automobile air conditioner according to the touch track;
and determining the target movement steps of the motor according to the percentage information of the positions of the blades, wherein the target movement steps of the motor are the steps required to move when the motor adjusts the blowing direction of the air outlet of the automobile air conditioner.
2. The method as claimed in claim 1, wherein the determining the target number of steps of the motor according to the percentage information of the blade positions comprises:
determining the target movement step number of the motor according to the blade position percentage information and an angle-step number relational expression, wherein the angle-step number relational expression is a relational expression of the movement step number of the motor and the movement angle of the blades of the air outlet;
and controlling the blades to move by moving corresponding steps through the motor according to the target movement steps of the motor so as to adjust the blowing direction of the air outlet.
3. The method for controlling an electric air outlet of an automobile air conditioner according to claim 1, wherein the determining of the percentage information of the blade position of the air outlet of the automobile air conditioner according to the touch trajectory comprises:
acquiring position information of an air outlet animation corresponding to the touch track on a screen of the vehicle-mounted terminal;
and determining the percentage information of the blade positions according to the position information, wherein the percentage information of the blade positions has a mapping relation with the positions of the air outlet animations on the screen of the vehicle-mounted terminal.
4. The method for controlling an electric outlet of an air conditioner for a vehicle according to claim 1, wherein the determining a target number of moving steps of a motor according to the percentage information of the blade positions and the angle-step relation comprises:
acquiring a total motor movement stroke of an air outlet corresponding to the touch track, wherein the total motor movement stroke is an angle between two wind sweeping limit positions or between the wind sweeping limit positions and an air outlet closing position, and the wind sweeping limit is an angle between a maximum wind blowing position and an upper/lower wind blowing limit position or an angle between the maximum wind blowing position and a left/right wind blowing limit position;
and determining the target movement step number of the motor according to the total movement stroke of the motor, the percentage information of the blade position and the angle-step number relational expression.
5. The method for controlling an electric air outlet of an automobile air conditioner according to claim 4, wherein the determining the target moving step number of the motor according to the total moving stroke of the motor, the percentage information of the position of the blade and the angle-step number relational expression comprises:
determining the target motor motion step number according to the motor motion total stroke, the blade position percentage information and the angle-step number relational expression by using a motor motion step number calculation formula, wherein the motor motion step number calculation formula is as follows:
P=S÷α×k
wherein P is the target movement step number of the motor, S is the total movement stroke of the motor, alpha is an angle-step number relational expression, and k is the position percentage of the blade.
6. The method for controlling an electric outlet of an automobile air conditioner according to claim 5, wherein the controlling the movement of the blades by the corresponding number of steps of the motor movement according to the target number of steps of the motor movement to adjust the blowing direction of the outlet comprises:
acquiring initial position information of a motor;
determining the initial step number of the motor according to the initial position information of the motor;
determining the target movement step number of the motor according to the total movement stroke of the motor and the initial step number of the motor;
and controlling the blades to move by moving corresponding steps through the motor according to the target movement steps of the motor so as to adjust the blowing direction of the air outlet.
7. The method for controlling the electric air outlet of the vehicle air conditioner according to claim 6, wherein the determining the target number of the moving steps of the motor according to the total moving stroke of the motor and the initial number of the steps of the motor comprises:
determining a motor rotation direction, wherein the motor rotation direction comprises a clockwise rotation direction and a counterclockwise rotation direction;
determining a step number increasing and decreasing direction according to the rotation direction of the motor, wherein the step number increasing and decreasing direction is whether the motor movement step number is increased or decreased;
and determining the target movement steps of the motor according to the total movement stroke of the motor, the initial steps of the motor and the increase and decrease direction of the steps.
8. An electric air outlet control system of an automobile air conditioner, characterized in that the system comprises:
the touch track acquisition unit is used for acquiring a touch track of a user, wherein the touch track is formed by touching an air outlet animation interface on a vehicle-mounted terminal screen by the user so as to adjust the air blowing direction of an air outlet;
the blade position percentage information determining unit is used for determining blade position percentage information of an air outlet of the automobile air conditioner according to the touch track;
and the movement step number determining unit is used for determining the target movement step number of the motor according to the percentage information of the blade positions, wherein the target movement step number of the motor is the step number of the motor required to move when the air blowing direction of the air outlet of the automobile air conditioner is adjusted.
9. An electric outlet control apparatus for a vehicle air conditioner, comprising a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the processor implements the electric outlet control method for a vehicle air conditioner according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the electric outlet control method of a vehicle air conditioner according to any one of claims 1 to 7.
CN202210992456.5A 2022-08-18 2022-08-18 Electric air outlet control method, system and equipment for automobile air conditioner and storage medium Pending CN115284833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210992456.5A CN115284833A (en) 2022-08-18 2022-08-18 Electric air outlet control method, system and equipment for automobile air conditioner and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210992456.5A CN115284833A (en) 2022-08-18 2022-08-18 Electric air outlet control method, system and equipment for automobile air conditioner and storage medium

Publications (1)

Publication Number Publication Date
CN115284833A true CN115284833A (en) 2022-11-04

Family

ID=83830368

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210992456.5A Pending CN115284833A (en) 2022-08-18 2022-08-18 Electric air outlet control method, system and equipment for automobile air conditioner and storage medium

Country Status (1)

Country Link
CN (1) CN115284833A (en)

Similar Documents

Publication Publication Date Title
CN110500705B (en) Control method of air conditioner and air conditioner
CN111216514A (en) Method, device and system for automatically adjusting temperature in vehicle
CN113687629B (en) Circular arc straight line fitting method, system, equipment and storage medium for laser CAM processing
KR20170139433A (en) Utilization of multi-touch smartphone display as track pad in motor vehicle
CN204674332U (en) Based on the vehicle-mounted automatic air conditioner control system of wireless technology
CN104898556B (en) Determined to be processed the point vector envelope method of spiral camber profile by forming tool
CN104182577A (en) Method for designing four-bar linkage hinge of gas spring of trunk lid
CN113635920A (en) Weight self-adaptive transverse and longitudinal coupling tracking control method and system
WO2024036980A1 (en) Method and apparatus for controlling air conditioner, air conditioner, and storage medium
CN115284833A (en) Electric air outlet control method, system and equipment for automobile air conditioner and storage medium
CN105573294A (en) New energy automobile electronic control unit ECU based on Internet
CN112944624B (en) Method for air conditioner control and air conditioner
CN108459583A (en) A kind of air conditioning for automobiles scaling method and system
CN113895518B (en) Method and device for adjusting vehicle steering ratio and storage medium
CN115405185B (en) Vehicle body posture self-adaptive vehicle door control method, system, vehicle and storage medium
CN102619419B (en) Manufacturing method of principal arm of car door stopper
CN111767981B (en) Approximate calculation method of Mish activation function
CN112922891B (en) Fan control method, fan, air supply system and storage medium
CN114594899A (en) Map display adjusting method and device
CN114383300A (en) Method and device for controlling air conditioner, air conditioner and storage medium
CN115059983A (en) Air supply control method, system, equipment and computer readable storage medium
CN107290998A (en) A kind of method that nominal data based on UDS is write with a brush dipped in Chinese ink
CN112781181A (en) Energy-saving control method and device for air conditioner group
CN109849692B (en) Method and device for switching control modes of electric vehicle and terminal equipment
CN112146507B (en) Control method, device and equipment for dynamic air exhaust tube of cooling tower and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination