Sunlight intensity acquisition method, intelligent equipment, vehicle and vehicle-mounted air conditioner

By calculating the solar azimuth and altitude angle of the smart device, combining the ambient brightness and temperature, the basic value of the sunlight intensity is corrected, and the problem that the vehicle cannot obtain effective sunlight intensity is solved, achieving more accurate sunlight intensity acquisition and on-board air conditioning control is achieved, improving driving comfort.

CN119704993APending Publication Date: 2025-03-28NIO TECH ANHUI CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510045697.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-10
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

When a vehicle cannot obtain effective sunlight intensity from a sunlight sensor, how to obtain effective sunlight intensity based on information such as ambient temperature, ambient brightness and real-time location to solve the problem that the vehicle air conditioner cannot be effectively adjusted.

Method used

By obtaining the solar azimuth angle and solar altitude angle corresponding to the real-time position of the smart device, combining the ambient brightness and temperature, the basic value of the sunlight intensity is calculated, and the basic value is corrected based on the relative sun azimuth angle, the relative sun altitude angle and the current time to obtain the accurate sunlight intensity.

Benefits of technology

Without adding sunlight sensors, it is possible to obtain sunlight intensity that reflects the real situation, reduce product costs, improve the control effect of on-board air conditioners, and improve the comfort of drivers and passengers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119704993A_ABST
    Figure CN119704993A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of vehicle control, in particular to a sunlight intensity acquisition method, intelligent equipment, a vehicle and a vehicle-mounted air conditioner, and aims to solve the technical problem of how to acquire effective sunlight intensity based on information such as environment temperature, environment brightness and real-time position when the vehicle cannot acquire the effective sunlight intensity from a sunlight sensor. In order to achieve the purpose, the method comprises the steps of obtaining a relative solar azimuth angle and a relative solar altitude angle based on a real-time position; acquiring a sunlight intensity basic value based on the ambient brightness and the ambient temperature; and correcting the sunlight intensity basic value based on the relative solar azimuth angle, the relative solar altitude angle and the current time. By means of the method, under the condition that the vehicle cost does not need to be increased, the sunlight intensity capable of reflecting the real condition can be obtained according to the real-time position, the environment brightness, the environment temperature and other information, the sunlight intensity is used for automatic control over the vehicle-mounted air conditioner, the control effect of the vehicle-mounted air conditioner can be improved, and the comfort of a driver and passengers can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to a method for obtaining sunlight intensity, an intelligent device, a vehicle and a vehicle air conditioner. Background Art

[0002] The vehicle's automatic air conditioning usually automatically adjusts the air temperature according to information such as the ambient temperature outside the vehicle, the temperature inside the vehicle, and the intensity of sunlight, thereby ensuring the comfort of the passengers inside the vehicle. The ambient temperature and the temperature inside the vehicle can be accurately obtained through temperature sensors deployed on the outside of the vehicle body and in the cabin; while the detection of sunlight intensity has a strong directional characteristic, and the relative position between the sunlight sensor and the sun will directly affect the accuracy of the sunlight intensity detection value.

[0003] At present, the sunlight sensor of a vehicle is usually installed on the instrument panel, the upper part of the rearview mirror, or the upper part of the front windshield, and its detection range is often limited to the direction of the front of the vehicle. When the front of the vehicle is facing the sun, the sunlight intensity can be collected normally, but when the front of the vehicle is facing away from the sun, the real sunlight intensity cannot be collected, causing the vehicle air conditioner to be unable to meet the comfort needs of the driver and passengers well. Considering that information such as ambient temperature, ambient brightness, and real-time location are all directly related to sunlight intensity, when the vehicle cannot obtain effective sunlight intensity from the sunlight sensor, how to obtain effective sunlight intensity based on information such as ambient temperature, ambient brightness, and real-time location has become an urgent problem to be solved.

[0004] Accordingly, the art needs a new sunlight intensity acquisition solution to solve the above problems. Summary of the invention

[0005] In order to overcome the above-mentioned defects, the present application is proposed to solve or at least partially solve the technical problem of how to obtain the effective sunlight intensity based on information such as ambient temperature, ambient brightness, and real-time location when the vehicle cannot obtain the effective sunlight intensity from the sunlight sensor.

[0006] In a first aspect, a method for obtaining sunlight intensity is provided. When a smart device cannot obtain effective sunlight intensity from a sunlight sensor, the method comprises: Obtaining the solar azimuth and solar altitude angle corresponding to the real-time position of the smart device; Acquire a relative solar azimuth angle between the positive direction of the smart device and the solar azimuth angle, and a relative solar altitude angle between the elevation angle of the smart device and the solar altitude angle; Get the ambient brightness and ambient temperature; Based on the ambient brightness and the ambient temperature, obtaining a basic value of sunlight intensity; Based on the relative solar azimuth angle, the relative solar altitude angle and the current time, the sunlight intensity base value is corrected to obtain the sunlight intensity.

[0007] In a technical solution of the above-mentioned method for obtaining sunlight intensity, “correcting the sunlight intensity base value based on the relative solar azimuth angle, the relative solar altitude angle and the current time” includes: Based on the relative solar azimuth angle and the relative solar altitude angle, obtaining a first correction coefficient; Based on the current time, obtaining a second correction coefficient; The sunlight intensity base value is corrected based on the first correction coefficient and the second correction coefficient.

[0008] In a technical solution of the above-mentioned sunlight intensity acquisition method, the first correction coefficient is stored in a first correction coefficient comparison table, and the second correction coefficient is stored in a second correction coefficient comparison table. The method further includes: Based on the real-time position, the first correction coefficient and the second correction coefficient of the geographical area corresponding to the real-time position are obtained.

[0009] In a technical solution of the above-mentioned method for obtaining sunlight intensity, the method further includes: Based on the geographical area and the current time, the second correction coefficient corresponding to the season of the geographical area is obtained.

[0010] In a technical solution of the above-mentioned method for obtaining sunlight intensity, the method further includes: Determining whether the relative solar azimuth angle is within an effective horizontal detection range of the sunlight sensor; In response to the relative solar azimuth exceeding the effective horizontal detection range, it is determined that the smart device cannot obtain the effective sunlight intensity from the sunlight sensor.

[0011] In a technical solution of the above-mentioned sunlight intensity acquisition method, when the smart device is able to acquire the effective sunlight intensity from the sunlight sensor, the method further includes: Determining whether the relative solar azimuth angle is within an effective horizontal detection range of the sunlight sensor; In response to the relative solar azimuth angle exceeding the effective horizontal detection range, and the continuous duration of the relative solar azimuth angle exceeding the effective horizontal detection range is less than or equal to a first preset duration, obtaining sunlight intensity based on a first effective sunlight intensity, the relative solar azimuth angle, and the relative solar altitude angle, wherein the first effective sunlight intensity is the effective sunlight intensity corresponding to the historical time closest to the current time; In response to the relative solar azimuth angle exceeding the effective horizontal detection range, and the continuous duration of the relative solar azimuth angle exceeding the effective horizontal detection range is greater than the first preset duration, it is determined that the smart device cannot obtain the effective sunlight intensity from the sunlight sensor.

[0012] In a technical solution of the above-mentioned method for obtaining sunlight intensity, “obtaining sunlight intensity based on the first effective sunlight intensity, the relative solar azimuth angle and the relative solar altitude angle” includes: Based on the relative solar azimuth angle and the relative solar altitude angle, obtaining a first correction coefficient; The first effective sunlight intensity is corrected based on the first correction coefficient to obtain the sunlight intensity.

[0013] In a second aspect, a smart device is provided, the smart device comprising at least one processor; and a memory communicatively connected to the at least one processor; Wherein, a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method described in any one of the technical solutions of the above-mentioned sunlight intensity acquisition method is implemented.

[0014] In a third aspect, a vehicle is provided, the vehicle comprising the above-mentioned smart device.

[0015] In a fourth aspect, a vehicle air conditioner is provided, the vehicle air conditioner being installed on the above-mentioned vehicle, and the vehicle air conditioner being configured to perform the following operations: Get sunlight intensity; The operation of the vehicle air conditioner is controlled based on the sunlight intensity.

[0016] One or more of the above-mentioned technical solutions of the present application have at least one or more of the following beneficial effects: when the vehicle cannot obtain effective sunlight intensity from the sunlight sensor, without adding a sunlight sensor, it is possible to obtain sunlight intensity that can reflect the actual situation based on information such as real-time position, ambient brightness and ambient temperature, thereby reducing product costs; using the sunlight intensity for automatic control of the vehicle air conditioner can improve the control effect of the vehicle air conditioner and enhance the comfort of the driver and passengers. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The disclosure of the present application will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present application.

[0018] Figure 1 It is a flowchart of the main steps of a method for obtaining sunlight intensity according to an embodiment of the present application.

[0019] Figure 2 It is a schematic diagram of a temperature-brightness-sunlight intensity basic value comparison table according to an embodiment of the present application.

[0020] Figure 3 It is a detailed flowchart diagram of step S105 according to an embodiment of the present application.

[0021] Figure 4 It is a schematic diagram of a first correction coefficient comparison table according to an embodiment of the present application.

[0022] Figure 5 It is a flowchart of the main steps of a method for obtaining sunlight intensity according to another embodiment of the present application.

[0023] Figure 6 It is a comparison diagram of the corrected sunlight intensity, the toward-facing sunlight intensity and the away-facing sunlight intensity according to an embodiment of the present application.

[0024] Figure 7 It is a schematic diagram of the main structure of a smart device according to an embodiment of the present application. DETAILED DESCRIPTION

[0025] Some embodiments of the present application are described below with reference to the accompanying drawings. Those skilled in the art should understand that these embodiments are only used to explain the technical principles of the present application and are not intended to limit the protection scope of the present application.

[0026] In the description of the present application, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, memory, and may also include software parts, such as program code, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware or a combination of the two. Computer-readable storage media include any suitable medium that can store program code, such as a disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, etc. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B" and may include only A, only B, or A and B. The singular terms "one" and "the" may also include plural forms.

[0027] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart of the main steps of a method for obtaining sunlight intensity according to an embodiment of the present application. Figure 1As shown, when the smart device cannot directly obtain the effective sunlight intensity from the sunlight sensor, the sunlight intensity at the real-time location of the smart device can be indirectly obtained by calculation based on the current environmental data such as brightness and temperature. The sunlight intensity acquisition method in the embodiment of the present application includes: Step S101: Obtain the solar azimuth and solar altitude angle corresponding to the real-time position of the smart device; Step S102: obtaining a relative solar azimuth angle between the positive direction of the smart device and the solar azimuth angle, and a relative solar altitude angle between the elevation angle of the smart device and the solar altitude angle; Step S103: Acquire ambient brightness and ambient temperature; Step S104: obtaining a basic value of sunlight intensity based on ambient brightness and ambient temperature; Step S105: Based on the relative solar azimuth angle, the relative solar altitude angle and the current time, correct the sunlight intensity base value to obtain the sunlight intensity.

[0028] It should be noted that the "smart device cannot obtain effective sunlight intensity from the sunlight sensor" mentioned in the present application includes the scenario where the smart device is equipped with a sunlight sensor, but because the direction of the sun is not within the effective detection range of the sunlight sensor, the sunlight intensity collected by the sunlight sensor cannot correctly reflect the current actual sunlight intensity; it also includes the scenario where the smart device is not equipped with a sunlight sensor but still hopes to obtain real-time sunlight intensity.

[0029] In the embodiment of the present application, the smart device is a vehicle, a sunlight sensor is installed on the rearview mirror of the vehicle, and the front of the vehicle is defined as the positive direction of the vehicle (the positive direction of the smart device). Relative to the positive direction, the effective horizontal detection range of the sunlight sensor is (-90°, 90°).

[0030] In step S101, the vehicle can obtain the real-time location information of the vehicle through the Beidou satellite positioning device, GPS satellite positioning device, etc. The real-time location information includes the current time, and the longitude and latitude of the vehicle at the current time. After obtaining the real-time location information, the solar azimuth and solar altitude angle corresponding to the real-time location information can be calculated.

[0031] As an example, after determining the solar declination angle δ and the solar hour angle Ω according to information such as the current time and longitude, the solar altitude angle and the solar azimuth angle can be calculated according to Formula 1 and Formula 2. H= arcs in(si nφ*si nδ+ cosφ*cosδ*cosΩ) (Equation 1) Cos A=(si nH-s i nφ-si nδ) / (cosH*cosφ) (Formula 2) Among them, H is the solar altitude angle, A is the solar azimuth angle, and φ is the latitude.

[0032] It should be noted that the method of calculating the solar azimuth and solar altitude angle based on the current time, longitude, latitude and other information in the above example is a well-known technology in the art. For the detailed calculation process, please refer to the relevant technical literature and will not be repeated here.

[0033] In step S102, the vehicle azimuth (azimuth of the smart device) and the body elevation (elevation angle of the smart device) corresponding to the positive direction of the vehicle (front direction) can be obtained through the vehicle-mounted inertial measurement unit (IMU, Inertia lMeasurement Unit), where the definition method of the vehicle azimuth is the same as the definition method of the solar azimuth.

[0034] At this time, the difference between the vehicle azimuth and the solar azimuth is the relative solar azimuth. After obtaining the relative solar azimuth, the angle between the vehicle elevation angle and the solar direction angle, i.e. the relative solar altitude angle, is obtained according to Formula 3. CosE= cosG*si nH–si nG*cosH*cosD (Formula 3) Among them, E is the relative solar altitude angle, G is the vehicle body elevation angle, and D is the relative solar azimuth angle.

[0035] In the embodiment of the present application, after the vehicle is powered on and started, the relative solar azimuth angle and the relative solar altitude angle can be obtained according to the methods described in the above steps S101 and S102.

[0036] Determine whether the relative solar azimuth is within the effective horizontal detection range of the sunlight sensor. When the relative solar azimuth is within the range of (-90°, 90°), the sun is within the effective horizontal detection range, the vehicle is traveling in the direction of the sun (the front of the vehicle) (the positive direction is on the same side as the sun), and the processor in the vehicle can obtain the effective sunlight intensity from the sunlight sensor.

[0037] When the value of the relative solar azimuth angle is within the range of [-180°, -90°] or [90°, 180°], the vehicle's driving direction (the direction of the front of the vehicle) is away from the sun (the positive direction and the sun are located on both sides of the front of the vehicle). Although the sunlight sensor can still detect the sunlight intensity, the sunlight intensity cannot reflect the actual sunlight intensity of the sun. At this time, it is determined that the vehicle cannot obtain effective sunlight intensity from the sunlight sensor, and the effective sunlight intensity can be obtained according to the method described in steps S103 to S105.

[0038] In step S103, the ambient temperature and ambient brightness outside the vehicle are acquired through the vehicle-mounted temperature sensor and the brightness sensor.

[0039] Considering that factors such as season (spring, summer, autumn, winter) and weather conditions (cloudy, overcast, sunny, etc.) are directly related to sunlight intensity, and ambient temperature and ambient brightness can reflect the current season, weather, etc.; and when the effective detection range of the sunlight sensor changes direction, for example, from facing the sun to facing away from the sun, the data output by the sunlight sensor changes dramatically, while the ambient temperature and ambient brightness are less affected by this change in direction. At this time, the ambient temperature and ambient brightness can still reflect the actual sunlight intensity after the position change.

[0040] In step S104, the sunlight intensity basic value corresponding to the ambient temperature and the ambient brightness may be searched in a pre-stored temperature-brightness-sunlight intensity basic value comparison table.

[0041] like Figure 2 As shown, in the temperature-brightness-sunlight intensity basic value comparison table, the horizontal coordinate x represents the brightness value (for example, the unit is Lux), and the vertical coordinate y represents the temperature value (for example, the unit is Celsius). The intersection of the horizontal coordinate and the vertical coordinate is the sunlight intensity basic value corresponding to the ambient brightness and ambient temperature.

[0042] It should be noted that Figure 2 This is a comparison table of the basic values ​​of temperature, brightness and sunlight intensity after desensitization. The 0 in the table does not necessarily mean that the actual value of the position is 0. Figure 2 The composition of the temperature-brightness-sunlight intensity basic value comparison table after desensitization is schematically illustrated.

[0043] In step S105, considering that the relative position between the sun and the vehicle (relative solar azimuth and relative solar altitude) and the different times of the day are all related to the sunlight intensity, after obtaining the basic value of sunlight intensity, the basic value of sunlight intensity can also be corrected according to the relative solar azimuth, relative solar altitude and current time to obtain a more accurate sunlight intensity.

[0044] Continue reading Figure 3 , combined with the attached Figure 3 The detailed process flow of step S105 will be described. Figure 2 It is a detailed flowchart diagram of step S105 according to an embodiment of the present application.

[0045] In step S1051, a first correction coefficient is obtained according to the relative solar azimuth angle and the relative solar altitude angle through a first correction coefficient comparison table.

[0046] like Figure 4As shown in the first correction coefficient comparison table, the horizontal coordinate x represents the relative solar azimuth D, the vertical coordinate y represents the relative solar altitude E, and the intersection of the horizontal coordinate and the vertical coordinate is the first correction coefficient corresponding to the relative solar azimuth and the relative solar altitude.

[0047] As an example, in the first correction coefficient comparison table, when the relative solar azimuth angle E is within the range of (-90°, 90°), the vehicle head is facing the sun, the sunlight sensor can obtain the effective sunlight intensity, and the value of the first correction coefficient in this range is 1 (indicating that no compensation is required). For other areas, considering that the solar altitude angle is directly related to the sunlight intensity, the larger the relative solar altitude angle, the larger the value of the first correction coefficient.

[0048] It should be noted that Figure 4 This is the first correction coefficient comparison table after desensitization. The part in the table that is 0 does not necessarily mean that the actual value of the position must be 0. Figure 4 The structure of the first correction coefficient comparison table is schematically described.

[0049] In step S1052, the second correction coefficient is obtained according to the current time through the second correction coefficient comparison table. Specifically, in the second correction coefficient comparison table, the time of each day is divided into multiple time ranges, and different time ranges correspond to different second correction coefficient values.

[0050] For example, the weak sunlight from 5:00 to 7:00 corresponds to the second correction coefficient value 1, the moderate sunlight from 7:01 to 10:00 corresponds to the second correction coefficient value 2, and the strongest sunlight from 10:01 to 14:00 corresponds to the second correction coefficient value 3. At this time, the second correction coefficient value 3 is greater than the second correction coefficient value 2, and the second correction coefficient value 2 is greater than the second correction coefficient value 1.

[0051] In step S1053, based on the first correction coefficient and the second correction coefficient, the sunlight intensity base value is corrected by formula 4 to obtain the sunlight intensity. Formula 4 is as follows: S=S1*m1*t1 (Formula 4) Among them, S is the sunlight intensity, S1 is the basic value of sunlight intensity, m1 is the first correction coefficient, and t1 is the second correction coefficient.

[0052] In order to calculate the sunlight intensity more accurately, different first correction coefficient comparison tables and second correction coefficient comparison tables can be established for different preset geographical areas. After the current geographical area of ​​the vehicle is determined according to the real-time position, the first correction coefficient and the second correction coefficient comparison table corresponding to the geographical area can be used to obtain the first correction coefficient and the second correction coefficient corresponding to the geographical area.

[0053] As an example, sunlight intensity has a strong correlation with geographical latitude, so different geographical regions can be divided according to latitude.

[0054] At the same time, the sunrise and sunset times in different seasons are quite different, so a second correction coefficient comparison table corresponding to the season corresponding to the geographical area can also be established. Based on the geographical area and the current time, after determining the second correction coefficient comparison table applicable to the current time, the second correction coefficient corresponding to the season of the geographical area can be obtained, making the calculated value of sunlight intensity more accurate.

[0055] In another embodiment, after the vehicle is started, the vehicle travels in a direction (the direction of the front of the vehicle) toward the sun, and the processor in the vehicle can obtain the effective sunlight intensity from the sunlight sensor.

[0056] When the vehicle turns and the front of the vehicle faces away from the sun (relative solar azimuth angle exceeds the range of (-90°, 90°)), the sunlight sensor cannot collect effective sunlight intensity. Considering that the change of sunlight intensity is a slow process and the change of sunlight intensity in a short period of time is small, the latest effective sunlight intensity obtained by the sunlight sensor can still be used at this time, and corrected based on the real-time position of the vehicle to obtain accurate sunlight intensity.

[0057] like Figure 5 As shown, during driving, the vehicle continuously determines whether the relative solar azimuth angle is within the effective horizontal detection range of the sunlight sensor, that is, determines whether the relative solar azimuth angle exceeds the range of (-90°, 90°).

[0058] In response to the relative solar azimuth exceeding the effective horizontal detection range of the sunlight sensor, and the continuous duration Tc of the relative solar azimuth exceeding the effective horizontal detection range is less than or equal to a first preset duration, the sunlight intensity is obtained based on the first effective sunlight intensity, the relative solar azimuth and the relative solar altitude angle.

[0059] The first effective sunlight intensity is the effective sunlight intensity corresponding to the historical time closest to the current time before the relative solar azimuth exceeds the effective horizontal detection range of the sunlight sensor, that is, the effective sunlight intensity output by the sunlight sensor at the historical time. The historical time closest to the current time can be the time of the last effective sampling point or a period of time corresponding to multiple sampling points. In this case, the first effective sunlight intensity is the average value of multiple effective sunlight intensities.

[0060] As an example, when the vehicle turns, the moment when the sunlight sensor cannot collect effective sunlight intensity is t, the moment before t when the last sampling point collects effective sunlight intensity is t0, the first preset time is T, and tn is any current time between t and (t+T). At this time, corresponding to the historical time t0 closest to the current time tn, the effective sunlight intensity output by the sunlight sensor is (the first effective sunlight intensity).

[0061] After determining the first effective sunlight intensity, based on the relative solar azimuth and relative solar altitude, Figure 4 The first correction coefficient comparison table shown is used to obtain the first correction coefficient.

[0062] Finally, based on the first correction coefficient, the first effective sunlight intensity is corrected according to Formula 5 to obtain the sunlight intensity, which is shown as follows: S=S2*m2 (Formula 5) Among them, S is the sunlight intensity, S2 is the first effective sunlight intensity, and m2 is the first correction coefficient.

[0063] As an example, the first preset time can be set to 30 minutes, that is, within the first 30 minutes (less than or equal to) when the relative solar azimuth exceeds the effective horizontal detection range of the sunlight sensor, the vehicle will calculate the sunlight intensity based on Formula 5. After exceeding 30 minutes, the sunlight intensity will be calculated based on Formula 4.

[0064] Continue reading Figure 6 , Figure 6 It is a comparison diagram of the corrected sunlight intensity, the toward-facing sunlight intensity and the away-facing sunlight intensity according to an embodiment of the present application.

[0065] from Figure 6 It can be seen that the back sunlight intensity (invalid sunlight intensity) obtained by the back sunlight sensor of the vehicle at the same time and the same position is very low, and has a large difference in value from the facing sunlight intensity (effective sunlight intensity) obtained by the facing sunlight sensor. The sunlight intensity obtained by the back sunlight sensor cannot reflect the real sunlight intensity. However, the corrected sunlight intensity obtained by the sunlight intensity acquisition method of the present application has little difference from the facing sunlight intensity (effective sunlight intensity), and can already reflect the real sunlight intensity.

[0066] When the vehicle cannot obtain effective sunlight intensity from the sunlight sensor, the corrected sunlight intensity is used for automatic control of the vehicle air conditioner, which can improve the control effect of the vehicle air conditioner and enhance the comfort of the driver and passengers.

[0067] In another embodiment, if the vehicle is not equipped with a sunlight sensor, but it is equipped with on-board equipment such as a satellite positioning device, an inertial measurement unit, a light intensity sensor, an in-vehicle temperature sensor and an out-of-vehicle temperature sensor, it can obtain data such as the current time, real-time location, ambient brightness and ambient temperature. After setting the positive direction of the vehicle, the sunlight intensity can also be obtained according to the sunlight intensity acquisition method described in any of the above embodiments.

[0068] It should be noted that the temperature-brightness-sunlight intensity basic value comparison table, the first correction coefficient comparison table and the second correction coefficient comparison table can be obtained based on big data or road test calibration.

[0069] As an example, a sunlight sensor for calibration is specially installed on the top of the road test vehicle, and the hemisphere above the top of the vehicle is the effective detection area, that is, the effective horizontal detection range of the calibrated sunlight sensor is 360°.

[0070] When the road test vehicle is driving, the calibrated sunlight sensor is used to obtain sunlight intensity data. At the same time, relevant data is obtained through the vehicle's own inertial measurement unit, sunlight sensor, brightness sensor and temperature sensor. By analyzing the sunlight intensity data of the calibrated sunlight sensor and related data, a temperature-brightness-sunlight intensity basic value comparison table, a first correction coefficient comparison table and a second correction coefficient comparison table can be obtained.

[0071] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effect of the present application, different steps do not have to be executed in such an order. They can be executed simultaneously (in parallel) or in other orders. These adjusted schemes are equivalent to the technical schemes described in this application, and therefore will also fall within the scope of protection of this application.

[0072] It is understood by those skilled in the art that all or part of the processes in the method for implementing the above-mentioned embodiment of the present application can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, etc. that can carry the computer program code.

[0073] Another aspect of the present application also provides a smart device.

[0074] In an embodiment of a smart device according to the present application, the smart device may include at least one processor; and a memory connected to the at least one processor in communication; wherein a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the method for obtaining sunlight intensity described in any of the above embodiments is implemented. Figure 7 , Figure 7 exemplarily shows that the smart device 7 includes a memory 71 and a processor 72, and the memory 71 and the processor 72 are connected to each other through a bus. The smart device 7 described in the present application may be a vehicle, a mobile robot, etc.

[0075] In some embodiments of the present application, the smart device may further include at least one sensor, which is used to sense information, such as a sunlight sensor, a temperature sensor, a light brightness sensor, etc. The sensor is communicatively connected to any type of processor mentioned in the present application.

[0076] In some embodiments of the present application, the smart device may further include at least one actuator, which is used to respond to processor commands, such as a vehicle air conditioner. The actuator is communicatively connected to any type of processor mentioned in the present application.

[0077] Another aspect of the present application provides a vehicle air conditioner. The vehicle can obtain sunlight intensity based on the sunlight intensity obtaining method described in any of the above embodiments, and the controller of the vehicle air conditioner can obtain the sunlight intensity and control the operation of the vehicle air conditioner based on the sunlight intensity.

[0078] When a vehicle enters a tunnel, basement, or other area, or enters a rainy or shadowy area, the vehicle cannot accurately obtain changes in sunlight intensity. If the vehicle air conditioner still controls the cooling of the air conditioner based on the previous sunlight intensity, the vehicle air conditioner may perform excessive temperature compensation, making the passengers feel cold. In this case, the sunlight intensity that is more in line with the current environment can be obtained through the sunlight intensity acquisition method of the embodiment of the present application, and it can be used for vehicle air conditioning control to continue to provide users with a suitable in-car temperature, thereby improving the user experience.

[0079] So far, the technical solution of the present application has been described in conjunction with an embodiment shown in the accompanying drawings, but it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments. Without departing from the principles of the present application, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present application.

Claims

1. A method for obtaining sunlight intensity, characterized in that: When the smart device cannot obtain effective sunlight intensity from the sunlight sensor, the method includes: Obtaining the solar azimuth and solar altitude angle corresponding to the real-time position of the smart device; Acquire a relative solar azimuth angle between the azimuth angle of the smart device and the solar azimuth angle, and a relative solar altitude angle between the elevation angle of the smart device and the solar altitude angle; Get the ambient brightness and ambient temperature; Based on the ambient brightness and the ambient temperature, obtaining a basic value of sunlight intensity; Based on the relative solar azimuth angle, the relative solar altitude angle and the current time, the sunlight intensity base value is corrected to obtain the sunlight intensity.

2. The method for obtaining sunlight intensity according to claim 1, characterized in that: “Based on the relative solar azimuth angle, the relative solar altitude angle and the current time, correcting the sunlight intensity base value” includes: Based on the relative solar azimuth angle and the relative solar altitude angle, obtaining a first correction coefficient; Based on the current time, obtaining a second correction coefficient; The sunlight intensity base value is corrected based on the first correction coefficient and the second correction coefficient.

3. The method for obtaining sunlight intensity according to claim 2, characterized in that: The first correction coefficient is stored in a first correction coefficient comparison table, and the second correction coefficient is stored in a second correction coefficient comparison table. The method further includes: Based on the real-time position, the first correction coefficient and the second correction coefficient of the geographical area corresponding to the real-time position are obtained.

4. The method for obtaining sunlight intensity according to claim 3, characterized in that: The method further comprises: Based on the geographical area and the current time, the second correction coefficient corresponding to the season of the geographical area is obtained.

5. The method for obtaining sunlight intensity according to any one of claims 1 to 4, characterized in that: The method further comprises: Determining whether the relative solar azimuth angle is within an effective horizontal detection range of the sunlight sensor; In response to the relative solar azimuth exceeding the effective horizontal detection range, it is determined that the smart device cannot obtain the effective sunlight intensity from the sunlight sensor.

6. The method for obtaining sunlight intensity according to claim 1, characterized in that: When the smart device is able to obtain the effective sunlight intensity from the sunlight sensor, the method further includes: Determining whether the relative solar azimuth angle is within an effective horizontal detection range of the sunlight sensor; In response to the relative solar azimuth angle exceeding the effective horizontal detection range, and the continuous duration of the relative solar azimuth angle exceeding the effective horizontal detection range is less than or equal to a first preset duration, obtaining sunlight intensity based on a first effective sunlight intensity, the relative solar azimuth angle, and the relative solar altitude angle, wherein the first effective sunlight intensity is the effective sunlight intensity corresponding to the historical time closest to the current time; In response to the relative solar azimuth angle exceeding the effective horizontal detection range, and the continuous duration of the relative solar azimuth angle exceeding the effective horizontal detection range is greater than the first preset duration, it is determined that the smart device cannot obtain the effective sunlight intensity from the sunlight sensor.

7. The method for obtaining sunlight intensity according to claim 6, characterized in that: “Acquiring sunlight intensity based on the first effective sunlight intensity, the relative solar azimuth angle and the relative solar altitude angle” includes: Based on the relative solar azimuth angle and the relative solar altitude angle, obtaining a first correction coefficient; The first effective sunlight intensity is corrected based on the first correction coefficient to obtain the sunlight intensity.

8. A smart device, characterized in that: include: at least one processor; and, a memory communicatively coupled to the at least one processor; Wherein, a computer program is stored in the memory, and when the computer program is executed by the at least one processor, the sunlight intensity acquisition method described in any one of claims 1 to 7 is implemented.

9. A vehicle, characterized in that: The vehicle comprises the smart device according to claim 8.

10. A vehicle air conditioner, characterized in that: The vehicle air conditioner is installed on the vehicle according to claim 9, and the vehicle air conditioner is configured to perform the following operations: Get sunlight intensity; The operation of the vehicle air conditioner is controlled based on the sunlight intensity.

Citation Information

Cited By

  • Driving sunscreen cooling control method based on sun illumination tracking

    CN121200722A