Method, device, system and equipment for controlling spotlight in automobile, storage medium and product
By acquiring scene information inside the vehicle, generating control instructions for the spotlight, and using the spatial orientation adjustment mechanism to automatically adjust the illumination angle, the problem of poor intelligence of existing spotlights inside cars is solved, and the user's sense of interaction and experience is enhanced.
Patent Information
- Application Number
- CN202511078185.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-01
- Publication Date
- 2025-10-17
AI Technical Summary
Existing car interior spotlights have poor intelligence when used, and user perception and interaction are not strong.
By acquiring scene information inside the vehicle, including in-vehicle environment information and user behavior information, control instructions for the spotlight are generated, and the spatial orientation adjustment mechanism is used to automatically adjust the illumination angle of the spotlight to achieve intelligent lighting.
It enhances the user's sense of interaction and experience and realizes the intelligent control of the spotlight.
Smart Images

Figure CN120792672A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of in-vehicle light control, in particular to a car interior spotlight control method, device, system and equipment. BACKGROUND
[0002] The existing cabin lighting lamps / spotlights in the car interior are mostly light sources with fixed bases and irradiation directions, or need to manually adjust the irradiation angle, and can only realize basic lighting function. A few array spotlights with multiple different irradiation angles are configured to realize several fixed-point spotlight functions (such as cup holder, armrest box), but the array spotlight has poor intelligence when used, and the user's perception and interaction are not strong. SUMMARY
[0003] The purpose of the embodiments of the present application is to provide a car interior spotlight control method, device, system, equipment, storage medium and product, to solve the problem that the existing in-vehicle spotlight has poor intelligence when used, and the user's perception and interaction are not strong.
[0004] In a first aspect, the embodiments of the present application provide a car interior spotlight control method, which comprises: obtaining scene information in the vehicle interior; wherein the scene information comprises in-vehicle environment information and user behavior information; generating a control instruction of a spotlight according to the scene information; wherein the control instruction comprises an irradiation angle of the spotlight; adjusting the spatial orientation of the spotlight through a spatial orientation adjusting mechanism according to the control instruction, and controlling the spotlight to illuminate.
[0005] In the above implementation process, the embodiments of the present application obtain scene information in the vehicle interior; wherein the scene information comprises in-vehicle environment information and user behavior information; generate a control instruction of a spotlight according to the scene information; wherein the control instruction comprises an irradiation angle of the spotlight; adjust the spatial orientation of the spotlight through a spatial orientation adjusting mechanism according to the control instruction, and control the spotlight to illuminate; automatically adjust the irradiation angle of the spotlight according to the in-vehicle environment information and user information, realize intelligent lighting, and strengthen the interaction and experience with the user.
[0006] Further, the generating a control instruction of a spotlight according to the scene information comprises: determining that the user behavior information is preset behavior information, and obtaining a user action corresponding to the user behavior information; generating a control instruction of a spotlight based on the user action.
[0007] In the implementation process, if the user behavior information is preset behavior information, a control instruction is generated according to an action corresponding to the user behavior information to control the spotlight lighting, and the interaction with the user is enhanced.
[0008] Further, the generating of the control instruction of the spotlight according to the scene information comprises: determining that the in-vehicle environment information is preset function information, and acquiring a function position corresponding to the in-vehicle environment information; generating the control instruction of the spotlight based on the function position.
[0009] In the implementation process, if the in-vehicle environment information is preset function information, a control instruction is generated according to a position corresponding to the function information to control the spotlight lighting, and the experience of the user is enhanced.
[0010] Further, the generating of the control instruction of the spotlight according to the scene information comprises: obtaining a target coordinate of irradiation according to the scene information recognized by the camera, and correcting the target coordinate through sensor detection data; acquiring a spotlight coordinate; based on the target coordinate and the spotlight coordinate, calculating a horizontal angle and a pitch angle of irradiation of the spotlight by using a spatial geometry algorithm, and generating the control instruction of the spotlight.
[0011] In the implementation process, the horizontal angle and the pitch angle of irradiation of the spotlight are calculated through the target coordinate and the spotlight coordinate, the irradiation angle of the spotlight is automatically adjusted, and intelligent lighting is realized.
[0012] Further, the obtaining of the target coordinate of irradiation according to the scene information recognized by the camera comprises: obtaining the user behavior information according to the camera recognition; compensating a prediction error of the user behavior information through an AI large model data to acquire the target coordinate of irradiation.
[0013] In the implementation process, the accuracy of the finally acquired target coordinate of irradiation is ensured.
[0014] Further, the compensating of the prediction error of the user behavior information through the AI large model data to acquire the target coordinate of irradiation comprises: predicting a trajectory of the user behavior information based on a physical model to obtain an initial trajectory; iteratively correcting the initial trajectory through an output compensation parameter of a trained AI large model; adopting a kinematics formula, combining a real-time vehicle posture, and continuously calculating a landing point of the user behavior information until an ultimate landing point of the user behavior information is obtained; According to the final landing point, the irradiated target coordinate is obtained.
[0015] In the implementation process, the prediction error of the user behavior information is compensated by the AI large model data, so as to ensure the accuracy of the finally obtained irradiated target coordinate.
[0016] Further, the space orientation adjusting mechanism is used to adjust the space orientation of the spotlight according to the control instruction, and the spotlight is controlled to illuminate. According to the control instruction, the irradiation angle of the spotlight is adjusted by the space orientation adjusting mechanism, and the spotlight is controlled to cross-focus illumination; wherein the irradiation angle includes horizontal angle and pitch angle.
[0017] In the implementation process, the irradiation angle of the spotlight is controlled, and the spotlight is controlled to cross-focus illumination, so as to realize intelligent illumination.
[0018] Further, the scene information in the vehicle interior is obtained, including: The scene information in the vehicle interior is obtained by camera and / or sensor detection.
[0019] In the implementation process, the scene information in the vehicle interior is obtained with high precision.
[0020] Further, it also includes: Receiving a manual control instruction; According to the manual control instruction, the spotlight is controlled to illuminate.
[0021] In the implementation process, the interaction with the user is enhanced.
[0022] Further, it also includes: According to the ambient brightness in the vehicle, the illumination brightness of the spotlight is adjusted.
[0023] In the implementation process, the spotlight is intelligently adjusted.
[0024] In a second aspect, the embodiments of the present application provide an automobile interior spotlight control device, including: An information acquisition module is configured to acquire scene information in a vehicle interior; wherein the scene information includes in-vehicle environment information and user behavior information; An instruction generation module is configured to generate a control instruction of a spotlight according to the scene information; wherein the control instruction includes an irradiation angle of the spotlight; An illumination control module is configured to adjust the space orientation of the spotlight by a space orientation adjusting mechanism according to the control instruction, and control the spotlight to illuminate.
[0025] In a third aspect, the embodiments of the present application provide a car interior spotlight control system, comprising: a car machine controller, and a spotlight system connected with the car machine controller; the car machine controller comprises the car interior spotlight control device as described above, and the spotlight system comprises a spotlight and a spatial orientation adjusting mechanism, which is configured to drive the spotlight to rotate around a vertical axis and pitch according to a control instruction.
[0026] The spatial orientation adjusting mechanism comprises a first motor, a connecting rod, a second motor and a connecting plate. The first motor and the second motor are connected with the car machine controller; a rotating shaft of the first motor is connected with the connecting rod, the connecting rod is connected with the spotlight and drives the connecting rod and the spotlight to rotate around a vertical axis of the spotlight through the rotating shaft of the first motor; the connecting plate is arranged on the spotlight, the second motor is arranged on the connecting plate and a rotating shaft of the second motor is connected with the connecting rod, so as to drive the spotlight to pitch through the rotating shaft of the second motor.
[0027] Further, the car interior spotlight control system further comprises a lampshade and an upper cover, the lampshade is connected with the upper cover, the spotlight is arranged in the lampshade, the first motor is arranged at a bottom of the lampshade and penetrates through the bottom of the lampshade to connect the connecting rod arranged in the lampshade.
[0028] In a fourth aspect, the embodiments of the present application provide an electronic device, comprising: a processor, a memory and a bus, the processor is connected with the memory through the bus, the memory stores computer readable instructions, when the computer readable instructions are executed by the processor, the car interior spotlight control method as described above is implemented.
[0029] In a fifth aspect, the embodiments of the present application provide a computer readable storage medium, the computer readable storage medium stores a computer program, when the computer program is executed by a server, the car interior spotlight control method as described above is implemented.
[0030] In a sixth aspect, the embodiments of the present application provide a computer program product, the computer program product comprises instructions, when the instructions are executed by a computer, the computer implements the method as described above. BRIEF DESCRIPTION OF DRAWINGS
[0031] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly introduced as follows. It should be understood that the following drawings only show some of the embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those of ordinary skill in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.
[0032] Figure 1 A flowchart of an automobile interior spotlight control method provided by the embodiments of the present application is shown in FIG. 1. Figure 2 A structural diagram of an automobile interior spotlight control device provided by the embodiments of the present application is shown in FIG. 2. Figure 3 A spotlight system structural diagram of an automobile interior spotlight control system provided by the embodiments of the present application is shown in FIG. 3. Figure 4 A spotlight system structural diagram of an automobile interior spotlight control system provided by the embodiments of the present application is shown in FIG. 4. Figure 5 A spotlight system structural diagram of another automobile interior spotlight control system provided by the embodiments of the present application is shown in FIG. 5. Figure 6 A structural diagram of an electronic device provided by the embodiments of the present application is shown in FIG. 6. In the drawings, 11 is a first motor, 12 is a lampshade, 13 is an upper cover, 14 is a connecting rod, 15 is a second motor, 16 is a connecting plate, and 17 is a spotlight. DETAILED DESCRIPTION
[0033] The technical solutions in the embodiments of the present application will be described in detail below with reference to the drawings in the embodiments of the present application.
[0034] It should be noted that similar reference numerals and letters represent similar items in the following drawings, and therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. Meanwhile, in the description of the present application, the terms “first”, “second”, etc. are only used for distinguishing description, and cannot be understood as indicating or implying relative importance.
[0035] Please refer to Figure 1 , Figure 1 A flowchart of an automobile interior spotlight control method provided by the embodiments of the present application is shown in FIG. 1. The automobile interior spotlight control method comprises: 100, acquiring scene information in a vehicle interior; wherein the scene information comprises in-vehicle environment information and user behavior information.
[0036] Specifically, the scene information inside the vehicle is detected by the camera and / or sensor. It can be understood that the scene information can include in-vehicle environment information and user behavior information, and can also include in-vehicle brightness information, etc. The in-vehicle environment information and user behavior information are detected by the camera and / or sensor, and the in-vehicle brightness information is detected by the brightness sensor.
[0037] For example, the camera is responsible for capturing the action picture of the hand of the person in the vehicle approaching the functional part such as the storage box, cup holder, small table board, etc. The pressure sensor is used to sense whether the functional part is physically opened, and the two cooperate to complete the scene information collection.
[0038] Optionally, the camera collects the picture inside the vehicle at a fixed frame rate, and after image preprocessing, inputs the car machine vision algorithm model. The fixed frame rate can be 15-30 frames per second; the image preprocessing can be noise reduction, distortion correction, etc.
[0039] The car machine vision algorithm model detects the target, such as recognizing the hand and the outline of the functional part, and recognizes the behavior, such as analyzing the relative motion trajectory and distance of the hand and the functional part, to determine whether there is a "hand approaching the functional part" action. At the same time, if the sensor detects that the functional part is opened and triggers the logic, it further verifies the "hand approaching the functional part" action, and double verification ensures accuracy.
[0040] Optionally, the sensor can include an infrared sensor and a pressure sensor. The infrared sensor can be installed near the functional part or in a key position in the vehicle, used to detect the human body heat radiation around the functional part. By detecting the change of the human body heat radiation, the use state of the functional part can be determined, such as whether the seat is occupied by a person, whether the steering wheel is held, etc.
[0041] The pressure sensor can be installed in the seat, small table board, cup holder, storage box, etc., for detecting pressure changes. When the user contacts these functional parts and applies pressure, the pressure sensor will detect the change of the pressure and convert the pressure signal into an electrical signal.
[0042] For example, when the user puts water on the cup holder, the cup contacts the surface of the cup holder, and the pressure sensor installed on the cup holder detects the change of the pressure on the cup holder and converts the pressure signal into an electrical signal. For example, when the user places an object on the small table board, the object contacts the tabletop of the small table board, and the pressure sensor installed on the tabletop detects the change of the tabletop of the small table board and converts the pressure signal into an electrical signal.
[0043] 200. According to the scene information, a control instruction of the spotlight is generated; wherein the control instruction includes the irradiation angle of the spotlight.
[0044] Specifically, according to the acquired scene information in the vehicle, the position to which the spotlight needs to be irradiated is determined, and a control instruction of the spotlight is generated. Optionally, an irradiation angle of the spotlight is generated to control the irradiation position of the spotlight.
[0045] For example, according to the action of the camera capturing the hand of the person in the vehicle approaching the functional part such as the storage box or the cup holder, the small table board, or the preset sensor sensing that the functional part is opened, the vehicle machine control module controls the spotlight to adjust the irradiation angle and controls the spotlight to focus on the illumination.
[0046] For example, according to the camera detecting that the object is out of the handheld state and calculating the final landing point, the vehicle machine control module controls the spotlight to adjust the irradiation angle and controls the spotlight to focus on the illumination.
[0047] 300. Adjust the spatial orientation of the spotlight through the spatial orientation adjusting mechanism according to the control instruction, and control the spotlight to illuminate.
[0048] Specifically, the irradiation angle of the plurality of spotlights is adjusted through the spatial orientation adjusting mechanism according to the control instruction, and the plurality of spotlights are controlled to cross-focus on the illumination; wherein the irradiation angle includes a horizontal angle and a pitch angle, and the spatial orientation adjusting mechanism is configured to drive the spotlight to rotate around a vertical axis and a pitch according to the control instruction.
[0049] For example, the vehicle machine control module controls the arrayed spotlights to adjust the horizontal angle (0~360°) and the pitch angle (-45°~45°) through the spatial orientation adjusting mechanism, and controls the nearest two groups of spotlights to cross-focus on the illumination.
[0050] In the above, the embodiment of the application acquires the scene information in the vehicle; wherein the scene information includes the in-vehicle environment information and the user behavior information; according to the scene information, a control instruction of the spotlight is generated; wherein the control instruction includes the irradiation angle of the spotlight; according to the control instruction, the spatial orientation of the spotlight is adjusted through the spatial orientation adjusting mechanism, and the spotlight is controlled to illuminate; according to the in-vehicle environment information and the user information, the irradiation angle of the spotlight is automatically adjusted, the intelligent illumination is realized, and the interaction and experience with the user are strengthened.
[0051] In some embodiments, the control instruction of the spotlight is generated according to the scene information, including: 211. Determine that the user behavior information is preset behavior information, and acquire the user action corresponding to the user behavior information.
[0052] It can be understood that the preset behavior information is a series of user behavior patterns related to the vehicle interior scene and having identifiable features, and specific behavior information is set to trigger the irradiation of the spotlight; optionally, the preset behavior information can include operation and interaction behavior actions, such as opening a storage box, a cup holder, or a small table board, or picking up an item when the item falls on the floor.
[0053] 212、Based on the user action, a control instruction of the spotlight is generated.
[0054] Specifically, after obtaining the user action corresponding to the user behavior information, the position to which the spotlight needs to irradiate is determined, and a control instruction of the spotlight is generated. For example, when it is detected that the user opens a storage box, it is determined that the spotlight needs to irradiate the position of the storage box, and a control instruction of the spotlight irradiating the position of the storage box is generated.
[0055] In some embodiments, the control instruction of the spotlight is generated according to the scene information, including: 221、Determine that the vehicle interior environment information is preset function information, and obtain the function position corresponding to the vehicle interior environment information.
[0056] It can be understood that the preset function information is a set of data related to the internal function components of the vehicle, having specific identification and attributes, which can be a set of components in the vehicle that need to provide light when interacting with the user. Specific function information is set to trigger the irradiation of the spotlight; optionally, the preset function information can include function and entertainment function components, such as storage boxes, cup holders, or small table boards, or seat, air outlet, window control button, door handle, etc.
[0057] 222、Based on the function position, a control instruction of the spotlight is generated.
[0058] Specifically, after obtaining the function position corresponding to the vehicle interior environment information, the position to which the spotlight needs to irradiate is determined, and a control instruction of the spotlight is generated. For example, when the sensor detects a signal that the cup holder is opened, it is determined that the spotlight needs to irradiate the position of the cup holder, and a control instruction of the spotlight irradiating the position of the cup holder is generated.
[0059] In some embodiments, the control instruction of the spotlight is generated according to the scene information, including: 231、According to the scene information recognized by the camera, the target coordinate to be irradiated is obtained, and the target coordinate is corrected through the sensor detection data.
[0060] It can be understood that a three-dimensional coordinate system is established in the vehicle in advance, with the center point of the connecting line of the wheel centers of the left and right front wheels as the origin, the longitudinal direction of the vehicle body as the X-axis, the lateral direction of the vehicle body as the Y-axis, and the vertical direction of the vehicle body as the Z-axis. The installation position coordinates of each functional part and the spotlight are calibrated.
[0061] The camera is usually installed on the top of the vehicle, above the front windshield, or near the rearview mirror, etc., to ensure that it can cover most of the area inside the vehicle and clearly capture the scene inside the vehicle. After installing the camera, calibration is needed to determine the intrinsic parameters (such as focal length, principal point coordinates, etc.) and extrinsic parameters (such as rotation matrix, translation vector, etc.) of the camera. Calibration can be achieved by shooting a calibration board and using corresponding calibration algorithms. Through calibration, the image coordinate system captured by the camera can be correlated with the vehicle space coordinate system, thereby providing a basis for subsequent target coordinate calculation.
[0062] Specifically, the camera detects and extracts features of the target inside the vehicle. According to the extracted feature points and the calibration parameters of the camera, the target position in the image coordinate system is mapped to the vehicle space coordinate system, thereby obtaining the three-dimensional coordinates of the target.
[0063] For example, when the camera recognizes the action of the hand approaching the functional part, the coordinates of the corresponding functional part are mapped to the three-dimensional coordinate system; and the sensor data of the corresponding functional part detected by the sensor are used to correct the three-dimensional coordinate system position of the functional part synchronously.
[0064] Optionally, the sensor can also include a gyroscope and an accelerometer, which can be integrated in the inertial measurement unit of the vehicle, for detecting the attitude and motion state of the vehicle, such as the pitch angle, roll angle, yaw angle, and acceleration of the vehicle; these data can be used to correct the target coordinate deviation caused by the motion of the vehicle.
[0065] 232、Obtain the spotlight coordinates.
[0066] It can be understood that the coordinates of the spotlight are calibrated in advance, and the spotlight coordinates can be obtained directly.
[0067] 233、Based on the target coordinates and the spotlight coordinates, a spatial geometric algorithm is used to calculate the horizontal angle and the pitch angle of the spotlight irradiation, and a control instruction of the spotlight is generated.
[0068] Specifically, the vehicle controller calculates the horizontal angle (0-360°) and the pitch angle (±45°) that the spotlight needs to adjust using a spatial geometric algorithm such as trigonometric function, based on the target coordinates and the spotlight coordinates, and generates a control instruction to drive the actions of the first motor and the second motor connected to the spotlight, to complete the adjustment of the horizontal angle and the pitch angle.
[0069] Thus, the horizontal angle and the pitch angle of the spotlight irradiation are calculated through the target coordinates and the spotlight coordinates, the irradiation angle of the spotlight is automatically adjusted, and intelligent lighting is realized.
[0070] In some embodiments, the target coordinates irradiated according to the scene information identified by the camera include: 2311. The user behavior information is obtained according to the camera identification.
[0071] Specifically, the user behavior information is obtained by identifying the image collected by the camera and determining that the user behavior information in the image is the preset behavior information. It should be noted that there are many existing implementation means for identifying the image collected by the camera, and the embodiments of the present application do not make specific limitations thereto.
[0072] 2312. The prediction error of the user behavior information is compensated by the AI large model data to obtain the target coordinates irradiated.
[0073] Specifically, the trajectory of the user behavior information is predicted based on a physical model to obtain an initial trajectory; the initial trajectory is iteratively corrected by outputting a compensation parameter through the trained AI large model; the landing point of the user behavior information is continuously calculated until the final landing point of the user behavior information is obtained by using kinematic formulas combined with real-time vehicle posture; and the target coordinates irradiated are obtained according to the final landing point.
[0074] Illustratively, a basic model is established by using classical mechanics or domain-specific physical laws (such as kinematics, fluid mechanics) to generate an initial trajectory that conforms to physical constraints.
[0075] Illustratively, the AI large model is used to capture complex factors (such as user habits, environmental interference) that cannot be described by the physical model, and output compensation parameters to correct the initial trajectory, wherein the AI large model can use LSTM, Transformer and other time series models to handle the time series dependency of the trajectory, can use a graph neural network model to handle the influence of spatial relationships on user behavior (such as movement in social networks), and can use a multi-task learning model to simultaneously predict position, velocity, acceleration and other multi-dimensional compensation.
[0076] Illustratively, combined with multi-sensor (camera + IMU) fusion, combined with real-time vehicle posture (such as vehicle speed interference), the landing point of the user behavior information is continuously calculated until the final landing point of the user behavior information is obtained by using kinematic formulas (such as the kinematic formula for an object falling is dominated by gravity and air resistance).
[0077] Optionally, when the camera detects that the object is out of hand, a preliminary trajectory is predicted based on a physical model, such as a free fall model, an air resistance simplified model, etc.; but there are bumps, air flow or other interference in the vehicle, which will cause errors, at this time, the Al large model is called, the Al large model learns a large amount of vehicle user behavior data, outputs compensation parameters, and iteratively corrects the initial trajectory; wherein, the vehicle user behavior data can be the data of the falling of the object in the vehicle plus the interference factor, and the compensation parameter can be the correction acceleration, the wind speed influence, etc.
[0078] After the initial trajectory is compensated by the Al large model, the position of the object is continuously calculated by using the kinematics formula combined with the real-time vehicle posture until the coordinate of the moment when the object is predicted to contact the floor, that is, the final landing point, and the coordinate of the final landing point is the target coordinate of the irradiation; wherein, the real-time vehicle posture is the pitch and roll angle provided by the vehicle controller; and the kinematics formula is the free fall formula: , and the horizontal displacement formula: .
[0079] The vehicle controller quickly calculates the horizontal angle and the pitch angle of the spotlight according to the coordinate of the final landing point, and completes the focusing illumination.
[0080] Thus, the prediction error of the user behavior information is compensated by the Al large model data, and the accuracy of the target coordinate of the irradiation obtained finally is ensured.
[0081] In some embodiments, on the basis of the above-mentioned embodiments, the method of the embodiments of the application further comprises: receiving a manual control instruction; and controlling the spotlight to illuminate according to the manual control instruction.
[0082] Specifically, the manual control instruction can be physical key control, touch screen control, voice control, and specific gesture adjustment, etc.; and the illumination switch, illumination brightness, illumination angle, etc. of the spotlight are adjusted according to the manual control instruction.
[0083] In some embodiments, on the basis of the above-mentioned embodiments, the method of the embodiments of the application further comprises: adjusting the illumination brightness of the spotlight according to the ambient brightness in the vehicle.
[0084] Specifically, the corresponding relationship between the ambient brightness in the vehicle and the illumination brightness of the spotlight can be set, so as to automatically adjust the illumination brightness of the spotlight according to the ambient brightness.
[0085] Optionally, the illumination brightness of the spotlight can be corresponded to the user behavior information or the functional part information, different user behavior information and different functional part information correspond to different illumination brightness, which saves energy while ensuring the illumination effect.
[0086] The above steps are not executed in the order of the numbers described strictly, and should be understood as a whole scheme.
[0087] In a second aspect, based on the above embodiments, Figure 2 A structural schematic diagram of an automobile interior spotlight control device is provided in the embodiments of the present application. Referring to Figure 2 The automobile interior spotlight control device provided in the embodiments includes an information acquisition module 201, an instruction generation module 202, and a lighting control module 203.
[0088] The information acquisition module 201 is configured to acquire scene information in the vehicle interior, wherein the scene information includes in-vehicle environment information and user behavior information. The instruction generation module 202 is configured to generate a control instruction of the spotlight according to the scene information, wherein the control instruction includes an irradiation angle of the spotlight. The lighting control module 203 is configured to adjust a spatial orientation of the spotlight through a spatial orientation adjusting mechanism according to the control instruction, and control the spotlight to perform lighting.
[0089] In the above embodiments, scene information in the vehicle interior is acquired, wherein the scene information includes in-vehicle environment information and user behavior information. A control instruction of the spotlight is generated according to the scene information, wherein the control instruction includes an irradiation angle of the spotlight. A spatial orientation of the spotlight is adjusted through a spatial orientation adjusting mechanism according to the control instruction, and the spotlight is controlled to perform lighting. The irradiation angle of the spotlight is automatically adjusted according to the in-vehicle environment information and the user information, so as to realize intelligent lighting and strengthen the interaction and experience with the user.
[0090] The automobile interior spotlight control device provided in the embodiments of the present application can be used to execute the automobile interior spotlight control method provided in the above embodiments, and has corresponding functions and beneficial effects.
[0091] In a third aspect, based on the above embodiments, Figure 3 A structural schematic diagram of an automobile interior spotlight control system is provided in the embodiments of the present application. Referring to Figures 3-5 The automobile interior spotlight control system provided in the embodiments includes a car machine controller, and a spotlight system connected with the car machine controller. The car machine controller includes the automobile interior spotlight control device as described above, and the spotlight system includes a spotlight 17 and a spatial orientation adjusting mechanism. The spatial orientation adjusting mechanism is configured to drive the spotlight to rotate around a vertical axis and a pitch according to a control instruction.
[0092] Please refer to Figure 4 and Figure 5 The spatial orientation adjusting mechanism includes a first motor 11, a connecting rod 14, a second motor 15, and a connecting plate 16.
[0093] The first motor and the second motor are connected to the vehicle controller; a rotating shaft of the first motor is connected to the connecting rod, the connecting rod is connected to the spotlight, and the connecting rod and the spotlight are driven to move around a vertical axis of the spotlight by the rotating shaft of the first motor; the connecting plate is arranged on the spotlight, the second motor is arranged on the connecting plate, and a rotating shaft of the second motor is connected to the connecting rod, so that the spotlight is driven to perform a pitching rotation by the rotating shaft of the second motor.
[0094] In some embodiments, the lampshade is connected to the upper cover, the spotlight is arranged in the lampshade, the first motor is arranged at the bottom of the lampshade and penetrates through the bottom of the lampshade to be connected to the connecting rod arranged in the lampshade.
[0095] Optionally, the connecting plate is provided with an opening in the middle.
[0096] Optionally, the decorative cover upper cover is made of a light-transmitting material.
[0097] Optionally, the spotlight is an array spotlight.
[0098] Specifically, the first motor can drive the connecting rod and the spotlight to perform a 360° horizontal rotation by a rotating shaft, the spotlight has a connecting plate inside, the second motor is fixed on the connecting plate, a rotating shaft of the second motor is connected to the connecting rod, the spotlight can move by the rotating shaft of the second motor, the connecting rod and the spotlight are driven to perform a 360° rotation by the rotating shaft of the first motor, and the spotlight is driven to perform a ±45° pitching rotation by the rotating shaft of the second motor, so that the spotlight can perform a stepless electric adjustment of an irradiation angle within a certain space range.
[0099] For example, according to the action of capturing the hand of a person in the vehicle approaching the storage box by the camera or the action of the preset sensor sensing that the storage box is opened, the vehicle control module controls the first motor and / or the second motor of the array spotlight to adjust a horizontal angle (0~360°) and a pitching angle (-45°~45°), and controls the nearest two groups of spotlights to cross and focus on the illumination.
[0100] In a fourth aspect, the embodiments of the present application further provide an electronic device, which can integrate the automobile interior spotlight control device provided by the embodiments of the present application. Figure 6 is a structural schematic diagram of an electronic device provided by the embodiments of the present application. Referring to Figure 6The electronic device includes an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 is configured to store one or more programs; when the one or more programs are executed by the one or more processors 41, the one or more processors 41 implement the car interior spotlight control method provided in the above embodiments. The input device 43, the output device 44, the memory 42, and the processor 41 can be connected by a bus or other means, Figure 6 The bus connection is taken as an example.
[0101] The processor 41 executes various function applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 42, that is, implements the car interior spotlight control method described above.
[0102] The electronic device provided above can be used to execute the car interior spotlight control method provided in the above embodiments, and has the corresponding functions and beneficial effects.
[0103] In a fifth aspect, the embodiments of the present application also provide a computer-readable storage medium, which includes a stored computer program; wherein when the computer program is running, the computer-readable storage medium controls the device where the computer-readable storage medium is located to execute the car interior spotlight control method described above and achieve the same beneficial effects.
[0104] Of course, the storage medium provided by the embodiments of the present application includes computer executable instructions, which are not limited to the car interior spotlight control method described above, but can also execute the related operations in the car interior spotlight control method provided by any embodiment of the present application.
[0105] In a sixth aspect, the embodiments of the present application also provide a computer program product. The methods described in the embodiments of the present application can be implemented by software, hardware, firmware, or any combination thereof, in whole or in part. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer programs or instructions. When the computer program or instruction is loaded and executed on a computer, the flow or function described in the embodiments of the present application is executed in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, a network device, user equipment, core network equipment, OAM (Open Application Model), or other programmable devices.
[0106] The computer program or instructions can be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, e.g., from a website, computer, server, or datacenter to another website, computer, server, or datacenter via a wired or wireless transmission. The computer readable storage medium can be any available medium or data storage device that can be accessed by a computer. By way of example, and not limitation, such computer readable storage media can comprise a random access memory (RAM), a read-only memory (ROM), an optical disc, a hard disk, a solid state drive, etc. The computer readable storage medium can be a computer readable storage medium that is external to the computer or a combination of one or more of the computer readable storage media.
[0107] In several embodiments provided in the present application, it should be understood that the disclosed apparatus and method can also be implemented by other manners. The apparatus embodiments described above are merely illustrative, for example, the flowcharts and block diagrams in the drawings show the possible implementation architectures, functions and operations of the apparatus, method and computer program product according to the embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment or a part of code, which contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different orders from those noted in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and the combination of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system for implementing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0108] In addition, the functional modules in the embodiments of the present application can be integrated together to form a separate part, or each module can exist independently, or two or more modules can be integrated to form a separate part.
[0109] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for making an electronic device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0110] The above merely provides an example of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that similar reference numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0111] The above merely provides an example of the present application and is not intended to limit the protection scope of the present application. For those skilled in the art, the present application can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that similar reference numbers and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0112] It should be noted that, in the present document, the relationship terms such as first and second are merely used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between the entities or operations. Moreover, the terms "include", "contain" or any other variants thereof are intended to cover non-exclusive inclusion, so that the processes, methods, articles or devices including a series of elements not only include those elements, but also include other elements not explicitly listed or inherent to such processes, methods, articles or devices. Without more limitations, the element defined by the statement "including a" does not exclude the presence of another identical element in the process, method, article or device including the element.
Claims
1. A method for controlling an interior spotlight of an automobile, characterized in that: The method comprises: Acquiring scene information inside the vehicle; wherein the scene information includes in-vehicle environment information and user behavior information; Generate a control instruction for a spotlight according to the scene information; wherein the control instruction includes an illumination angle of the spotlight; The spatial orientation of the spotlight is adjusted by a spatial orientation adjustment mechanism according to the control instruction, and the spotlight is controlled to perform lighting.
2. The method for controlling an interior spotlight of an automobile according to claim 1, wherein: Generating a spotlight control instruction according to the scene information includes: Determining that the user behavior information is preset behavior information, and obtaining a user action corresponding to the user behavior information; Based on the user action, a control instruction for the spotlight is generated.
3. The method for controlling an interior spotlight of an automobile according to claim 1, wherein: Generating a spotlight control instruction according to the scene information includes: Determining that the in-vehicle environment information is preset functional component information, and obtaining a functional component position corresponding to the in-vehicle environment information; Based on the functional component position, a control instruction for the spotlight is generated.
4. The method for controlling an interior spotlight of an automobile according to claim 1, wherein: Generating a spotlight control instruction according to the scene information includes: The target coordinates are obtained based on the scene information recognized by the camera, and the target coordinates are corrected using the sensor data detected by the sensor; Get the spotlight coordinates; Based on the target coordinates and the spotlight coordinates, a spatial geometric algorithm is used to calculate the horizontal angle and the pitch angle of the spotlight, and a control instruction for the spotlight is generated.
5. The method for controlling an interior spotlight of an automobile according to claim 4, wherein: The step of obtaining the target coordinates of the illumination according to the scene information recognized by the camera includes: Obtaining the user behavior information based on camera recognition; The prediction error of the user behavior information is compensated by AI big model data to obtain the target coordinates of the irradiation.
6. The method for controlling an interior spotlight of an automobile according to claim 5, wherein: The method of compensating the prediction error of the user behavior information by using the AI large model data to obtain the irradiated target coordinates includes: Predicting the trajectory of the user behavior information based on the physical model to obtain an initial trajectory; The trained AI model outputs compensation parameters to iteratively correct the initial trajectory; Using kinematic formulas and combining them with the real-time vehicle posture, the landing point of the user behavior information is continuously calculated until the final landing point of the user behavior information is obtained; The irradiated target coordinates are obtained according to the final landing point.
7. The method for controlling an interior spotlight of an automobile according to claim 1, wherein: The step of adjusting the spatial orientation of the spotlight by a spatial orientation adjustment mechanism according to the control instruction to control the spotlight for lighting comprises: According to the control instruction, the illumination angles of the plurality of spotlights are adjusted through the spatial orientation adjustment mechanism, and the plurality of spotlights are controlled to perform cross-focus lighting; wherein the illumination angle includes a horizontal angle and a pitch angle.
8. The method for controlling an interior spotlight of an automobile according to claim 1, wherein: The obtaining of scene information inside the vehicle includes: The scene information inside the vehicle is obtained through camera and / or sensor detection.
9. The method for controlling an interior spotlight of an automobile according to claim 1, wherein: Also includes: Receive manual control instructions; The spotlight is controlled to illuminate according to the manual control instruction.
10. The method for controlling an interior spotlight of an automobile according to claim 1, wherein: Also includes: The illumination brightness of the spotlight is adjusted according to the ambient brightness in the vehicle.
11. A car interior spotlight control device, characterized in that: The device comprises: An information acquisition module is used to acquire scene information inside the vehicle; wherein the scene information includes in-vehicle environment information and user behavior information; An instruction generation module, configured to generate a control instruction for the spotlight according to the scene information; wherein the control instruction includes an illumination angle of the spotlight; The lighting control module is used to adjust the spatial orientation of the spotlight through a spatial orientation adjustment mechanism according to the control instruction, and control the spotlight to perform lighting.
12. A car interior spotlight control system, characterized in that: include: A vehicle controller and a spotlight system connected to the vehicle controller; The vehicle controller includes the vehicle interior spotlight control device as claimed in claim 11, and the spotlight system includes: a spotlight and a spatial orientation adjustment mechanism, and the spatial orientation adjustment mechanism is configured to drive the spotlight to rotate around the vertical axis and pitch according to control instructions.
13. The automotive interior spotlight control system according to claim 12, characterized in that: The spatial orientation adjustment mechanism includes a first motor, a connecting rod, a second motor and a connecting plate; The first motor and the second motor are connected to the vehicle controller; the rotating shaft of the first motor is connected to the connecting rod, the connecting rod is connected to the spotlight and the rotating shaft of the first motor drives the connecting rod and the spotlight to move around the vertical axis of the spotlight; the spotlight is provided with the connecting plate, the second motor is provided on the connecting plate and the rotating shaft of the second motor is connected to the connecting rod, and the rotating shaft of the second motor drives the spotlight to perform pitch and rotation movements.
14. The automotive interior spotlight control system according to claim 13, characterized in that: It also includes a lampshade and an upper cover, the lampshade is connected to the upper cover, the spotlight is arranged in the lampshade, the first motor is arranged at the bottom of the lampshade and the first motor passes through the bottom of the lampshade to connect to the connecting rod arranged in the lampshade.
15. An electronic device, characterized in that: include: A processor, a memory, and a bus, wherein the processor is connected to the memory via the bus, and the memory stores computer-readable instructions. When the computer-readable instructions are executed by the processor, they are used to implement the method for controlling an interior automotive spotlight according to any one of claims 1 to 10.
16. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a server, implements the method for controlling an interior automotive spotlight according to any one of claims 1 to 10.
17. A computer program product, characterized in that The computer program product comprises instructions, which, when executed by a computer, enable the computer to implement the method for controlling an interior automotive spotlight according to any one of claims 1 to 10.