CN116461289A - Vehicle-mounted air conditioner control method, vehicle-mounted air conditioner and computer readable storage medium - Google Patents

Vehicle-mounted air conditioner control method, vehicle-mounted air conditioner and computer readable storage medium Download PDF

Info

Publication number
CN116461289A
CN116461289A CN202310441019.9A CN202310441019A CN116461289A CN 116461289 A CN116461289 A CN 116461289A CN 202310441019 A CN202310441019 A CN 202310441019A CN 116461289 A CN116461289 A CN 116461289A
Authority
CN
China
Prior art keywords
vehicle
air conditioner
acceleration
value
mounted air
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
CN202310441019.9A
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202310441019.9A priority Critical patent/CN116461289A/en
Publication of CN116461289A publication Critical patent/CN116461289A/en
Pending legal-status Critical Current

Links

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/00507Details, e.g. mounting arrangements, desaeration devices
    • B60H1/00585Means for monitoring, testing or servicing the air-conditioning
    • 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/00735Control systems or circuits characterised by their input, i.e. by the detection, measurement or calculation of particular conditions, e.g. signal treatment, dynamic models
    • B60H1/00764Control systems or circuits characterised by their input, i.e. by the detection, measurement or calculation of particular conditions, e.g. signal treatment, dynamic models the input being a vehicle driving condition, e.g. speed
    • 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/00735Control systems or circuits characterised by their input, i.e. by the detection, measurement or calculation of particular conditions, e.g. signal treatment, dynamic models
    • B60H1/00792Arrangement of detectors
    • 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/00985Control systems or circuits characterised by display or indicating devices, e.g. voice simulators
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60QARRANGEMENT OF SIGNALLING OR LIGHTING DEVICES, THE MOUNTING OR SUPPORTING THEREOF OR CIRCUITS THEREFOR, FOR VEHICLES IN GENERAL
    • B60Q9/00Arrangement or adaptation of signal devices not provided for in one of main groups B60Q1/00 - B60Q7/00, e.g. haptic signalling
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • B60R16/0232Circuits relating to the driving or the functioning of the vehicle for measuring vehicle parameters and indicating critical, abnormal or dangerous conditions
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/80Technologies aiming to reduce greenhouse gasses emissions common to all road transportation technologies
    • Y02T10/88Optimized components or subsystems, e.g. lighting, actively controlled glasses

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Thermal Sciences (AREA)
  • Human Computer Interaction (AREA)
  • Automation & Control Theory (AREA)
  • Air-Conditioning For Vehicles (AREA)

Abstract

The invention provides a vehicle-mounted air conditioner control method, a vehicle-mounted air conditioner and a computer readable storage medium, wherein the vehicle-mounted air conditioner control method comprises the following steps: acquiring acceleration data of a first acceleration sensor and acceleration data of a second acceleration sensor; confirming a current relative displacement value between the inner machine and the outer machine according to the acceleration data of the first acceleration sensor and the acceleration data of the second acceleration sensor, and calculating a difference absolute value between the current relative displacement value and the initial relative displacement value; and sending a corresponding air conditioner fastening state signal according to the range where the absolute value of the difference is located and the current running state of the vehicle. The vehicle-mounted air conditioner control method can improve the accuracy of detecting the fixed state of the vehicle-mounted air conditioner.

Description

Vehicle-mounted air conditioner control method, vehicle-mounted air conditioner and computer readable storage medium
Technical Field
The invention relates to the technical field of vehicle-mounted air conditioners, in particular to a vehicle-mounted air conditioner control method, a vehicle-mounted air conditioner applying the vehicle-mounted air conditioner control method and a computer readable storage medium applying the vehicle-mounted air conditioner control method.
Background
Vehicles provide great convenience for our outdoor activities. The air conditioner is inevitably required in the running and parking processes of the vehicle, part of the vehicle-mounted air conditioner is fixed at the top of the vehicle, and the vehicle-mounted air conditioner is easy to loose and fall off in the using process of the vehicle, so that the fixed state of the vehicle-mounted air conditioner needs to be detected in time.
The existing method is that whether the fastening piece of the fixed air conditioner is loosened is primarily judged by using sound decibels near the fastening piece, larger noise is generated when the fastening piece is loosened, the obtained sound decibels are larger than or equal to preset decibels, the distance from the top end of the fastening piece to the fixed position is further obtained through the photoelectric sensor, whether the fastening piece is loosened is further judged according to the obtained distance from the top end of the fastening piece to the fixed position, and the problem that the accuracy of judging results is affected due to interference of other noise near the fastening piece is solved. However, this method is primarily determined using the noise value, and the distance is determined when the noise value reaches a certain limit. Firstly, the noise value of the whole vehicle comes from each side in the running process, and the judging efficiency is low. Secondly, a large sound exceeding threshold value is a necessary condition for starting to execute distance judgment, and when the noise value is low and the parking air conditioner is loose, judgment cannot be performed, and the noise value is not high when the fastener is broken due to problems such as strength, fatigue and the like.
Therefore, there is a need to consider a better method of detecting the fixed state of the vehicle-mounted air conditioner.
Disclosure of Invention
A first object of the present invention is to provide a vehicle-mounted air conditioner control method that improves accuracy in detecting a fixed state of a vehicle-mounted air conditioner.
A second object of the present invention is to provide an in-vehicle air conditioner that improves accuracy in detecting a fixed state of the in-vehicle air conditioner.
A third object of the present invention is to provide a computer-readable storage medium that improves accuracy in detecting a fixed state of an in-vehicle air conditioner.
In order to achieve the first object, the present invention provides a vehicle-mounted air conditioner control method, including: acquiring acceleration data of a first acceleration sensor and acceleration data of a second acceleration sensor; confirming a current relative displacement value between the inner machine and the outer machine according to the acceleration data of the first acceleration sensor and the acceleration data of the second acceleration sensor, and calculating a difference absolute value between the current relative displacement value and the initial relative displacement value; and sending a corresponding air conditioner fastening state signal according to the range where the absolute value of the difference is located and the current running state of the vehicle.
According to the scheme, the first acceleration sensor is arranged on the inner machine of the vehicle-mounted air conditioner, the second acceleration sensor is arranged on the outer machine of the vehicle-mounted air conditioner, the current relative displacement value between the inner machine and the outer machine can be confirmed through acceleration data, and the absolute value of the difference value between the current relative displacement value and the initial relative displacement value is calculated, so that the relative displacement state of the inner machine and the outer machine is confirmed, and the fixed state of the vehicle-mounted air conditioner is confirmed. By detecting the fixed state of the vehicle-mounted air conditioner by using the acceleration sensor, the detection accuracy can be improved.
In a further aspect, the step of sending the corresponding air conditioner fastening state signal according to the range in which the absolute value of the difference is located and the current running state of the vehicle includes: when the absolute value of the difference value is in a first preset range of the current running state of the vehicle, confirming that the air conditioner is in a fastening state; when the absolute value of the difference value is in a second preset range of the current running state of the vehicle, confirming that the air conditioner is in a loose state, wherein the lower limit value of the second preset range is larger than the upper limit value of the first preset range; when the absolute value of the difference value is in a third preset range of the current running state of the vehicle, the air conditioner is confirmed to be in a falling state, and the lower limit value of the third preset range is larger than the upper limit value of the second preset range.
Therefore, the air conditioner fastening state is judged through the corresponding range value of the current running state of the vehicle, and the judgment accuracy can be improved.
In a further scheme, at least one of the inner machine and the outer machine is provided with an attitude sensor for acquiring attitude data of the vehicle-mounted air conditioner; when confirming that the air conditioner is in a falling state, the method further comprises: confirming displacement values and acceleration of the inner machine and/or the outer machine in the gravity direction according to the gesture data; and determining the falling state of the inner machine and/or the outer machine according to the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction.
Therefore, when the air conditioner is confirmed to be in a falling state, in order to further confirm whether the inner machine or the outer machine falls, the posture data of the air conditioner needs to be acquired to confirm the displacement value and the acceleration of the inner machine and the outer machine in the gravity direction, so that whether the inner machine or the outer machine falls is confirmed.
In a further scheme, the step of determining the falling state of the inner machine and/or the outer machine according to the displacement value and/or the acceleration of the inner machine and the outer machine in the gravity direction comprises the following steps: and when the displacement value of the inner machine in the gravity direction is larger than the first preset distance and the acceleration of the inner machine in the gravity direction is larger than the first preset acceleration, confirming that the inner machine falls.
From this, it can be considered that the internal machine falls when the displacement value of the internal machine in the gravity direction is greater than the first preset distance and the acceleration of the internal machine in the gravity direction is greater than the first preset acceleration.
In a further scheme, the step of determining the falling state of the inner machine and/or the outer machine according to the displacement value and/or the acceleration of the inner machine and the outer machine in the gravity direction comprises the following steps: and when the displacement value of the outer machine in the gravity direction is larger than a second preset distance and the acceleration of the outer machine in the gravity direction is larger than a second preset acceleration, confirming that the outer machine falls.
Therefore, when the displacement value of the outer machine in the gravity direction is larger than the second preset distance and the acceleration of the inner machine in the gravity direction is larger than the second preset acceleration, the outer machine can be regarded as falling.
In a further scheme, the step of determining the falling state of the inner machine and/or the outer machine according to the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction comprises the following steps: when the displacement value of the inner machine in the gravity direction is larger than a first preset distance, the acceleration of the inner machine in the gravity direction is larger than a first preset acceleration, the displacement value of the outer machine in the gravity direction is larger than a second preset distance, and the acceleration of the outer machine in the gravity direction is larger than a second preset acceleration, the inner machine and the outer machine are confirmed to fall down and the vehicle is in a turning state.
Therefore, when the inner machine and the outer machine fall down simultaneously, the accident of turning over is considered to be possible.
In a further scheme, after the step of confirming that the inner machine and the outer machine are both fallen and the vehicle is in a rollover state, the method further comprises the following steps: and carrying out awakening operation on a driver, and if no feedback information exists, carrying out alarm operation.
Therefore, after the inner machine and the outer machine are both fallen and the vehicle is in the rollover state, the driver can be awakened first, and if no feedback information exists, the alarm operation is performed, so that the rescue is facilitated.
In a further aspect, the step of calculating an absolute value of a difference between the current relative displacement value and the initial relative displacement value includes: and periodically accumulating the absolute difference values of the current relative displacement value and the last relative displacement value to obtain an accumulated difference value, and taking the accumulated difference value as the absolute difference value of the current relative displacement value and the initial relative displacement value.
Therefore, the accumulated difference value is obtained by periodically accumulating the absolute difference values of the current relative displacement value and the last relative displacement value, and the accumulated difference value is used as the absolute difference value of the current relative displacement value and the initial relative displacement value, so that the accuracy of data detection can be improved.
In order to achieve the second object of the present invention, the present invention provides a vehicle-mounted air conditioner including a processor and a memory storing a computer program which when executed by the processor implements the steps of the above-described vehicle-mounted air conditioner control method.
In order to achieve the third object of the present invention, the present invention provides a computer-readable storage medium having a computer program stored thereon, which when executed by a controller, implements the steps of the above-described vehicle-mounted air conditioner control method.
Drawings
Fig. 1 is a flowchart of an embodiment of a control method of an in-vehicle air conditioner of the present invention.
The invention is further described below with reference to the drawings and examples.
Detailed Description
The control method of the vehicle-mounted air conditioner is an application program applied to the vehicle-mounted air conditioner and is used for defrosting the vehicle-mounted air conditioner when heating. In this embodiment, the vehicle-mounted air conditioner includes an inner unit and an outer unit, the inner unit is installed inside the vehicle body, the outer unit is installed outside the vehicle body, and the inner unit and the outer unit are connected to form a refrigerant loop. The inner machine is provided with a first acceleration sensor, the outer machine is provided with a second acceleration sensor, the first acceleration sensor is used for detecting acceleration data of the inner machine, the second acceleration sensor is used for detecting acceleration data of the outer machine, at least one of the inner machine and the outer machine is provided with a gesture sensor, and the gesture sensor is used for acquiring gesture data of the vehicle-mounted air conditioner.
The vehicle-mounted air conditioner control method comprises the following steps:
as shown in fig. 1, in this embodiment, when the vehicle-mounted air conditioner control method is in operation, step S1 is first performed to obtain acceleration data of the first acceleration sensor and acceleration data of the second acceleration sensor. In order to detect the fixed state of the vehicle-mounted air conditioner, acceleration data of the inner machine and acceleration data of the outer machine are required to be acquired, the acceleration data of the inner machine are acquired through a first acceleration sensor, and the acceleration data of the outer machine are acquired through the outer machine.
After the acceleration data of the inner machine and the outer machine are obtained, step S2 is executed, the current relative displacement value between the inner machine and the outer machine is confirmed according to the acceleration data of the first acceleration sensor and the acceleration data of the second acceleration sensor, and the absolute value of the difference value between the current relative displacement value and the initial relative displacement value is calculated. The initial relative displacement value is obtained by first acquisition after the inner machine and the outer machine are installed and fixed. After the acceleration data of the inner machine and the outer machine are obtained, the acceleration degree is calculatedAnd (3) carrying out secondary integration to obtain displacement data of the first acceleration sensor in the X, Y and Z directions respectively: l11, L12, L13, and obtain displacement data of the second acceleration sensor in the X, Y, Z directions, respectively: the techniques for obtaining displacement data by twice integrating acceleration data are well known to those skilled in the art, and will not be described in detail herein. The relative displacement value between the first acceleration sensor and the second acceleration sensor is obtained by the following formula:the initial conditions of the two acceleration sensors are kept consistent, the initial relative displacement value is zero, namely the L value is zero, the acceleration data of the two acceleration sensors are kept consistent under the assumption that the relative positions of the two current acceleration sensors are unchanged, and the absolute value of the difference value between the current relative displacement value and the initial relative displacement value is zero. When the relative positions of the two acceleration sensors are changed, the absolute value of the difference between the current relative displacement value and the initial relative displacement value is no longer zero, so that the relative displacement of the inner machine and the outer machine can be determined.
Because the vehicle is driven and parked in a reciprocating cycle in the driving process, the internal machine or the external machine of the vehicle-mounted air conditioner inevitably generates some deformation in the moving process of the vehicle, and the parking air conditioner is loose even if the risk of falling occurs due to accumulation of multiple deformation, in this embodiment, the step of calculating the absolute value of the difference between the current relative displacement value and the initial relative displacement value includes: and periodically accumulating the absolute difference values of the current relative displacement value and the last relative displacement value to obtain an accumulated difference value, and taking the accumulated difference value as the absolute difference value of the current relative displacement value and the initial relative displacement value. When the absolute value of the difference between the current relative displacement value and the initial relative displacement value is obtained, the relative displacement values detected for multiple times are accumulated in a preset period, so that the accuracy of data detection can be improved. The preset period may be a set time period, or may be a period when the cumulative difference reaches the preset cumulative difference from zero. In another embodiment, when the current relative displacement value is obtained, multiple relative displacement value detections may be performed and multiple relative displacement values may be averaged to obtain the current relative displacement value.
After confirming the absolute value of the difference between the current relative displacement value and the initial relative displacement value of the inner machine and the outer machine, executing step S3, and sending a corresponding air conditioner fastening state signal according to the range where the absolute value of the difference is located and the current running state of the vehicle. When the absolute value of the difference is in different ranges, the relative displacement degree of the inner machine and the outer machine is different. In addition, the degree of the relative displacement is different in different running states of the vehicle, such as a driving state and a parking state, so that the corresponding air conditioner fastening state signal needs to be sent according to the range where the absolute value of the difference value is located and the current running state of the vehicle, so that the user can know and perform corresponding operation.
In this embodiment, the step of sending the corresponding air conditioner fastening state signal according to the range in which the absolute value of the difference is located and the current running state of the vehicle includes: when the absolute value of the difference value is in a first preset range of the current running state of the vehicle, confirming that the air conditioner is in a fastening state; when the absolute value of the difference value is in a second preset range of the current running state of the vehicle, confirming that the air conditioner is in a loose state, wherein the lower limit value of the second preset range is larger than the upper limit value of the first preset range; when the absolute value of the difference value is in a third preset range of the current running state of the vehicle, the air conditioner is confirmed to be in a falling state, and the lower limit value of the third preset range is larger than the upper limit value of the second preset range. The first preset range, the second preset range and the third preset range are preset according to experimental data. For example, when the current running state of the vehicle is a driving state, the first preset range is less than 10mm, the second preset range is greater than or equal to 10mm and less than 20mm, and the third preset range is greater than or equal to 20mm; the current running state of the vehicle is in a parking state, the first preset range is smaller than 3mm, the second preset range is larger than or equal to 3mm and smaller than 5mm, and the third preset range is larger than or equal to 5mm.
When the air conditioner is confirmed to be in a fastening state, the air conditioner can be confirmed to be in a loosening state without processing, and reminding information can be sent to provide a user for stable maintenance of the air conditioner. When the air conditioner is confirmed to be in the falling state, step S4 is executed, and the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction are confirmed according to the attitude data. When the air conditioner is in a fastening state, in order to further determine whether the inner machine or the outer machine falls, attitude data of the air conditioner is required to be acquired to determine displacement values and acceleration of the inner machine and/or the outer machine in the gravity direction for judgment. The attitude data can be obtained through an attitude sensor, and the angles of RX, RY and RZ directions on the attitude sensor can be represented by theta 1, theta 2 and theta 3, and a satellite coordinate system is adopted. The satellite coordinate system can be changed into a fixed coordinate system by using Euler transformation, so that displacement values and accelerations of the inner machine and the outer machine in the gravity direction can be obtained, and Euler transformation of the gesture data is a technology known to those skilled in the art, and is not repeated here.
After confirming the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction, executing step S5, and determining the falling state of the inner machine and/or the outer machine according to the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction. When the air conditioner is in a loose state, whether the inner machine or the outer machine falls down can be further confirmed through the displacement value and the acceleration of the inner machine and the outer machine in the gravity direction.
In this embodiment, the step of determining the falling state of the inner machine and/or the outer machine according to the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction includes: when the displacement value of the inner machine in the gravity direction is larger than a first preset distance and the acceleration of the inner machine in the gravity direction is larger than a first preset acceleration, confirming that the inner machine falls; when the displacement value of the outer machine in the gravity direction is larger than a second preset distance and the acceleration of the outer machine in the gravity direction is larger than a second preset acceleration, confirming that the outer machine falls; when the displacement value of the inner machine in the gravity direction is larger than a first preset distance, the acceleration of the inner machine in the gravity direction is larger than a first preset acceleration, the displacement value of the outer machine in the gravity direction is larger than a second preset distance, and the acceleration of the outer machine in the gravity direction is larger than a second preset acceleration, the inner machine and the outer machine are confirmed to fall down and the vehicle is in a turning state. The first preset distance, the first preset acceleration, the second preset distance and the second preset acceleration are preset according to experimental data, for example, the first preset distance and the second preset distance are 20mm, and the first preset acceleration and the second preset acceleration are 5m/s2. After the inner machine is confirmed to fall or the outer machine is confirmed to fall, a corresponding early warning signal can be sent so that a driver can know and overhaul.
In this embodiment, after the step of confirming that both the inner machine and the outer machine fall and the vehicle is in the rollover state, the method further includes: and carrying out awakening operation on a driver, and if no feedback information exists, carrying out alarm operation. When the inner machine and the outer machine fall down at the same time, the phenomenon that the car is overturned is considered to be possibly caused. Therefore, the method comprises the steps of firstly carrying out awakening operation on a driver, and then carrying out alarming operation if feedback information is not available, so that rescue is facilitated. When the wake-up operation is performed, a sharp sound can be played. When alarm operation is carried out, an alarm signal can be sent to the remote control terminal.
As can be seen from the above, the vehicle-mounted air conditioner control method of the present invention is provided with the first acceleration sensor in the inner machine of the vehicle-mounted air conditioner, and the second acceleration sensor in the outer machine of the vehicle-mounted air conditioner, so that the current relative displacement value between the inner machine and the outer machine can be confirmed through the acceleration data, and the absolute value of the difference between the current relative displacement value and the initial relative displacement value is calculated, thereby determining the relative displacement states of the inner machine and the outer machine, and further confirming the fixed state of the vehicle-mounted air conditioner. By detecting the fixed state of the vehicle-mounted air conditioner by using the acceleration sensor, the detection accuracy can be improved.
Vehicle-mounted air conditioner embodiment:
the vehicle-mounted air conditioner of the embodiment comprises a controller, and the steps in the embodiment of the control method of the vehicle-mounted air conditioner are realized when the controller executes a computer program.
For example, a computer program may be split into one or more modules, one or more modules stored in a memory and executed by a controller to perform the present invention. One or more of the modules may be a series of computer program instruction segments capable of performing particular functions for describing the execution of the computer program in a vehicle air conditioner.
Vehicle air conditioners may include, but are not limited to, controllers, memories. Those skilled in the art will appreciate that the in-vehicle air conditioner may include more or fewer components, or certain components may be combined, or different components, such as an in-vehicle air conditioner may also include input and output devices, network access devices, buses, and the like.
For example, the controller may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose controllers, digital signal controllers (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), off-the-shelf programmable gate arrays (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The general controller may be a microcontroller or the controller may be any conventional controller or the like. The controller is a control center of the vehicle-mounted air conditioner and is connected with various parts of the whole vehicle-mounted air conditioner by various interfaces and lines.
The memory may be used to store computer programs and/or modules, and the controller may implement various functions of the vehicle-mounted air conditioner by running or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. For example, the memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as a hard disk, memory, plug-in hard disk, smart Media Card (SMC), secure Digital (SD) Card, flash Card (Flash Card), at least one disk storage device, flash memory device, or other volatile solid-state storage device.
Computer-readable storage medium embodiments:
the module integrated with the vehicle-mounted air conditioner of the above embodiment may be stored in a computer-readable storage medium if implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, implementing all or part of the flow in the above-described vehicle-mounted air conditioner control method embodiment may also be accomplished by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of the above-described vehicle-mounted air conditioner control method embodiment when executed by the controller. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, executable files or in some intermediate form, etc. The storage medium may include: any entity or device capable of carrying computer program code, a recording medium, a U disk, a removable hard disk, a magnetic disk, an optical disk, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunications signal, a software distribution medium, and so forth. It should be noted that the content of the computer readable medium can be appropriately increased or decreased according to the requirements of the jurisdiction's jurisdiction and the patent practice, for example, in some jurisdictions, the computer readable medium does not include electrical carrier signals and telecommunication signals according to the jurisdiction and the patent practice.
It should be noted that the foregoing is only a preferred embodiment of the present invention, but the design concept of the present invention is not limited thereto, and any insubstantial modifications made to the present invention by using the concept fall within the scope of the present invention.

Claims (10)

1. A vehicle-mounted air conditioner control method is applied to a vehicle-mounted air conditioner and is characterized in that:
the inner machine of the vehicle-mounted air conditioner is provided with a first acceleration sensor, and the outer machine of the vehicle-mounted air conditioner is provided with a second acceleration sensor;
the method comprises the following steps:
acquiring acceleration data of the first acceleration sensor and acceleration data of the second acceleration sensor;
confirming a current relative displacement value between the inner machine and the outer machine according to the acceleration data of the first acceleration sensor and the acceleration data of the second acceleration sensor, and calculating a difference absolute value between the current relative displacement value and an initial relative displacement value;
and sending a corresponding air conditioner fastening state signal according to the range where the absolute value of the difference is located and the current running state of the vehicle.
2. The vehicle-mounted air conditioner control method according to claim 1, characterized in that:
the step of sending a corresponding air conditioner fastening state signal according to the range where the absolute value of the difference is located and the current running state of the vehicle comprises the following steps:
when the absolute value of the difference value is in a first preset range of the current running state of the vehicle, confirming that the air conditioner is in a fastening state;
when the absolute value of the difference value is in a second preset range of the current running state of the vehicle, confirming that the air conditioner is in a loosening state, wherein the lower limit value of the second preset range is larger than the upper limit value of the first preset range;
and when the absolute value of the difference value is in a third preset range of the current running state of the vehicle, confirming that the air conditioner is in a falling state, wherein the lower limit value of the third preset range is larger than the upper limit value of the second preset range.
3. The vehicle-mounted air conditioner control method according to claim 2, characterized in that:
at least one of the inner machine and the outer machine is provided with an attitude sensor for acquiring attitude data of the vehicle-mounted air conditioner;
after confirming that the air conditioner is in the state of falling off, the method further comprises:
confirming displacement values and acceleration of the inner machine and/or the outer machine in the gravity direction according to the gesture data;
and determining the falling state of the inner machine and/or the outer machine according to the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction.
4. The vehicle-mounted air conditioner control method according to claim 3, wherein:
the step of determining the falling state of the inner machine and/or the outer machine according to the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction comprises the following steps:
and when the displacement value of the inner machine in the gravity direction is larger than a first preset distance and the acceleration of the inner machine in the gravity direction is larger than a first preset acceleration, confirming that the inner machine falls.
5. The vehicle-mounted air conditioner control method according to claim 3, wherein:
the step of determining the falling state of the inner machine and/or the outer machine according to the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction comprises the following steps:
and when the displacement value of the outer machine in the gravity direction is larger than a second preset distance and the acceleration of the outer machine in the gravity direction is larger than a second preset acceleration, confirming that the outer machine falls.
6. The vehicle-mounted air conditioner control method according to claim 3, wherein:
the step of determining the falling state of the inner machine and/or the outer machine according to the displacement value and the acceleration of the inner machine and/or the outer machine in the gravity direction comprises the following steps:
when the displacement value of the inner machine in the gravity direction is larger than a first preset distance, the acceleration of the inner machine in the gravity direction is larger than a first preset acceleration, the displacement value of the outer machine in the gravity direction is larger than a second preset distance, and the acceleration of the outer machine in the gravity direction is larger than a second preset acceleration, the inner machine and the outer machine are confirmed to fall down and the vehicle is in a rollover state.
7. The vehicle-mounted air conditioner control method according to claim 6, wherein:
after confirming that the inner machine and the outer machine are both fallen and the vehicle is in the step of turning over, the method further comprises the following steps:
and carrying out awakening operation on a driver, and if no feedback information exists, carrying out alarm operation.
8. The vehicle-mounted air conditioner control method according to any one of claims 1 to 7, characterized in that:
the step of calculating the absolute value of the difference between the current relative displacement value and the initial relative displacement value comprises the following steps:
and periodically accumulating the absolute difference values of the current relative displacement value and the last relative displacement value to obtain an accumulated difference value, and taking the accumulated difference value as the absolute difference value of the current relative displacement value and the initial relative displacement value.
9. The utility model provides a vehicle-mounted air conditioner, includes treater and memory, its characterized in that: the memory stores a computer program which, when executed by the processor, implements the steps of the vehicle-mounted air conditioner control method according to any one of claims 1 to 8.
10. A computer-readable storage medium having stored thereon a computer program, characterized by: the computer program when executed by a controller realizes the steps of the vehicle-mounted air conditioner control method according to any one of claims 1 to 8.
CN202310441019.9A 2023-04-21 2023-04-21 Vehicle-mounted air conditioner control method, vehicle-mounted air conditioner and computer readable storage medium Pending CN116461289A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310441019.9A CN116461289A (en) 2023-04-21 2023-04-21 Vehicle-mounted air conditioner control method, vehicle-mounted air conditioner and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310441019.9A CN116461289A (en) 2023-04-21 2023-04-21 Vehicle-mounted air conditioner control method, vehicle-mounted air conditioner and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116461289A true CN116461289A (en) 2023-07-21

Family

ID=87174986

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310441019.9A Pending CN116461289A (en) 2023-04-21 2023-04-21 Vehicle-mounted air conditioner control method, vehicle-mounted air conditioner and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116461289A (en)

Similar Documents

Publication Publication Date Title
CN108872975B (en) Vehicle-mounted millimeter wave radar filtering estimation method and device for target tracking and storage medium
US9349229B2 (en) Data recording apparatus for a vehicle
US9234910B2 (en) Method and device for determining a state of motion of a vehicle comprising an acceleration sensor
US10521974B2 (en) Method and apparatus for monitoring an autonomous vehicle
US10023164B2 (en) Validating automotive safety functions
CN110654399B (en) System monitoring method and device
US20180203106A1 (en) System and method for automatic trailer detection
CN204375023U (en) Driving behavior analysis car-mounted terminal
CN108806019B (en) Driving record data processing method and device based on acceleration sensor
CN107054378A (en) The driver's system for prompting started to walk in time for vehicle
JP2003139792A (en) Method for updating sensor offset by using robust sensor offset learning algorithm
US20100168965A1 (en) Method and control device for triggering passenger protection means
CN1305711C (en) Device for collision detection with at least two pressure sensors
CN111114540B (en) Vehicle and safe driving method and device thereof
CN114734762A (en) Tire pressure monitoring method, controller, system and electronic equipment
CN116461289A (en) Vehicle-mounted air conditioner control method, vehicle-mounted air conditioner and computer readable storage medium
US20190084563A1 (en) Vehicle device
CA2951022C (en) Vehicle classification system and method
CN115214570B (en) Vehicle hierarchical braking control method and system combining distance and time factors
CN113022235B (en) Tire positioning method, device, equipment, storage medium and tire pressure monitoring method
CN111142720B (en) Vehicle-mounted machine screen rotation display method and device
CN117890910A (en) Detection system
CN110962864B (en) Driving assistance method, device, terminal and computer-readable storage medium
CN205377936U (en) CAN bus communication control system
US20190120936A1 (en) Using data from a radar sensor for machine learning based perception

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