CN114423121A - Vehicle-mounted intelligent sensing lamp control method and system - Google Patents
Vehicle-mounted intelligent sensing lamp control method and system Download PDFInfo
- Publication number
- CN114423121A CN114423121A CN202111592322.6A CN202111592322A CN114423121A CN 114423121 A CN114423121 A CN 114423121A CN 202111592322 A CN202111592322 A CN 202111592322A CN 114423121 A CN114423121 A CN 114423121A
- Authority
- CN
- China
- Prior art keywords
- lamp
- vehicle
- sensing
- parameters
- lamp control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000006698 induction Effects 0.000 claims abstract description 34
- 230000008447 perception Effects 0.000 claims abstract description 21
- 230000036760 body temperature Effects 0.000 claims description 23
- 238000001514 detection method Methods 0.000 claims description 16
- LFQSCWFLJHTTHZ-UHFFFAOYSA-N Ethanol Chemical compound CCO LFQSCWFLJHTTHZ-UHFFFAOYSA-N 0.000 claims description 7
- 239000003990 capacitor Substances 0.000 description 47
- 238000010586 diagram Methods 0.000 description 11
- 239000002609 medium Substances 0.000 description 9
- 230000006870 function Effects 0.000 description 6
- HEZMWWAKWCSUCB-PHDIDXHHSA-N (3R,4R)-3,4-dihydroxycyclohexa-1,5-diene-1-carboxylic acid Chemical compound O[C@@H]1C=CC(C(O)=O)=C[C@H]1O HEZMWWAKWCSUCB-PHDIDXHHSA-N 0.000 description 5
- 239000013078 crystal Substances 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000003993 interaction Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 239000003086 colorant Substances 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 239000000428 dust Substances 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000009529 body temperature measurement Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000007613 environmental effect Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 239000012120 mounting media Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 231100000331 toxic Toxicity 0.000 description 1
- 230000002588 toxic effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/115—Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
The embodiment of the application discloses a vehicle-mounted intelligent sensing lamp control method and a system; the method comprises the following steps: acquiring perception information related to lamp control, wherein the perception information comprises human body induction parameters and environment induction parameters; controlling a first lamp body to light based on a first lamp control rule according to the human body induction parameters; controlling a second lamp body to light based on a second lamp control rule according to the environment induction parameters; when a control instruction is detected, the third lamp body is lightened, and the color and the brightness of the third lamp body are adjusted; the embodiment of the application realizes intelligent perception, intelligently controls the vehicle-mounted atmosphere lamp according to the environment, and improves the entertainment experience of a user in the vehicle.
Description
Technical Field
The embodiment of the application relates to the technical field of automotive electronics, in particular to a vehicle-mounted intelligent sensing lamp control method and system.
Background
With the continuous development of the automobile industry, the requirements of consumers on vehicle-mounted entertainment experience are higher and higher, the atmosphere lamp becomes an indispensable part of the automobile, and the atmosphere lamp is used as a decorative illuminating lamp widely applied and is more and more preassembled in various automobile types. The traditional vehicle-mounted sensing system senses the information of the vehicle body, lacks sensing on the internal and external environments of the vehicle, and is mechanical and unintelligent. Meanwhile, the lamp in the vehicle is manually turned on and off by the vehicle owner, and is not intelligent enough.
Disclosure of Invention
The embodiment of the application provides a vehicle-mounted intelligent sensing lamp control method and system, intelligent sensing is achieved, a vehicle-mounted atmosphere lamp is intelligently controlled according to the environment, and the entertainment experience of a user in a vehicle is improved.
In a first aspect, an embodiment of the present application provides a vehicle-mounted intelligent sensing lamp control method, including the following steps:
acquiring perception information related to lamp control, wherein the perception information comprises human body induction parameters and environment induction parameters;
controlling a first lamp body to light based on a first lamp control rule according to the human body induction parameters;
controlling a second lamp body to light based on a second lamp control rule according to the environment induction parameters;
and if the control instruction is detected, the third lamp body is lightened, and the color and the brightness of the third lamp body are adjusted.
Further, the obtaining of perception information related to lamp control, where the perception information includes human body sensing parameters and environment sensing parameters, includes:
detecting whether a user exists through a human body sensor, and if the user exists, detecting the body temperature through a body temperature sensor to obtain human body induction parameters;
the temperature and humidity parameters of the environment are detected through a temperature and humidity sensor, and the air quality parameters are detected through a control sensor, so that the environment sensing parameters are obtained.
Further, according to the human response parameter, control first lamp body and light based on first lamp accuse rule, include:
when detecting that the user enters the vehicle, controlling a first color atmosphere lamp to be lightened;
when the body temperature of the user is detected to be within the first body temperature range, controlling the second color atmosphere lamp to be turned on;
and controlling the third color atmosphere lamp to be lightened when the body temperature of the user is detected to be in the second body temperature range.
Further, the method also comprises the following steps:
and if the mobile phone Bluetooth information of the user is acquired, controlling the fourth color atmosphere lamp to be turned on.
Further, according to the environmental sensing parameter, control the second lamp body and light based on the second lamp accuse rule, include:
after the temperature and humidity parameters of the environment are detected by the temperature and humidity sensor, controlling the fifth color atmosphere lamp to be turned on, and displaying the temperature and humidity parameters on the display screen in the vehicle;
and after the air quality parameters are detected by the air sensor, controlling the sixth color atmosphere lamp to be lightened, and displaying the air quality parameters on a display screen in the vehicle.
Further, the detecting the control instruction includes: voice control instructions and gesture control instructions.
In a second aspect, an embodiment of the present application further provides a vehicle-mounted intelligent sensing lamp control system, including: the device comprises a control module and a sensing module;
the sensing module is used for acquiring sensing information related to lamp control, wherein the sensing information comprises human body sensing parameters and environment sensing parameters;
the control module is used for controlling the first lamp body to light up based on a first lamp control rule according to the human body induction parameters; controlling a second lamp body to light based on a second lamp control rule according to the environment induction parameters; and if the control instruction is detected, the third lamp body is lightened, and the color and the brightness of the third lamp body are adjusted.
Further, the sensing module comprises a temperature and humidity sensor, an alcohol sensor, an air quality detection sensor, a gesture recognition sensor and a voice recognition sensor.
In a third aspect, an embodiment of the present application further provides a computer device, including: a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the vehicle-mounted intelligent perception lamp control method.
In a fourth aspect, embodiments of the present application further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used to perform an in-vehicle smart sensor light control method as described above.
According to the embodiment of the application, the perception information related to lamp control is obtained, wherein the perception information comprises human body induction parameters and environment induction parameters; controlling a first lamp body to light based on a first lamp control rule according to the human body induction parameters; controlling a second lamp body to light based on a second lamp control rule according to the environment induction parameters; when a control instruction is detected, the third lamp body is lightened, and the color and the brightness of the third lamp body are adjusted; realize intelligent perception, come intelligent control vehicle-mounted atmosphere lamp according to the environment, improve the user and experience in the amusement of car.
Drawings
Fig. 1 is a flowchart of a vehicle-mounted intelligent sensing lamp control method provided in an embodiment of the present application;
fig. 2 is a software architecture diagram of a vehicle-mounted intelligent sensing lamp control method according to an embodiment of the present application;
fig. 3 is a flowchart of a main program of a vehicle-mounted intelligent sensing light control method according to an embodiment of the present application;
fig. 4 is a circuit diagram of a DCDC module of a vehicle-mounted intelligent sensing lamp control system according to an embodiment of the present application;
fig. 5 is a circuit diagram of an LDO module of an on-vehicle intelligent sensing lamp control system according to an embodiment of the present application;
fig. 6 is a circuit diagram of an MCU controller of a vehicle-mounted intelligent sensing lamp control system according to an embodiment of the present application;
fig. 7 is a circuit diagram of a USB to serial port module of a vehicle-mounted intelligent sensing lamp control system according to an embodiment of the present application;
fig. 8 is a first RGB lamp driving circuit diagram of a vehicle-mounted intelligent sensing lamp control system according to an embodiment of the present application;
fig. 9 is a second RGB lamp driving circuit diagram of a vehicle-mounted intelligent sensing lamp control system according to an embodiment of the present application;
fig. 10 is an RGB lamp circuit diagram of a vehicle-mounted intelligent sensing lamp control system according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, specific embodiments of the present application will be described in detail with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some but not all of the relevant portions of the present application are shown in the drawings. Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
With the continuous development of the automobile industry, the requirements of consumers on vehicle-mounted entertainment experience are higher and higher, the atmosphere lamp becomes an indispensable part of the automobile, and the atmosphere lamp is used as a decorative illuminating lamp widely applied and is more and more preassembled in various automobile types. Therefore, the atmosphere lamp is applied to sensing information inside and outside the automobile and interaction with personnel in the automobile, and the obtaining of vehicle-mounted information and the entertainment experience of the personnel in the automobile including passengers can be greatly enhanced. The traditional vehicle-mounted sensing system senses the information of the vehicle body, lacks sensing on the internal and external environments of the vehicle, and is mechanical and unintelligent. The car owner of the embodiment of the application has accurate grasp to the information of humiture, air etc. in the car to and can show the amusement experience that promotes in the car through interactive mode control atmosphere lamp such as pronunciation gesture.
The vehicle-mounted intelligent sensing lamp control method provided by the embodiment can be executed by a vehicle-mounted intelligent sensing lamp control system, and the vehicle-mounted intelligent sensing lamp control system can be realized in a software and/or hardware mode and is integrated in vehicle-mounted intelligent sensing lamp control equipment. The vehicle-mounted intelligent sensing lamp control equipment can be equipment such as a computer.
Fig. 1 is a flowchart of a vehicle-mounted intelligent sensing lamp control method according to an embodiment of the present application. Referring to fig. 1, the method comprises the steps of:
specifically, whether a user exists is detected through a human body sensor, and if the user exists, body temperature detection is carried out through a body temperature sensor to obtain human body induction parameters; the temperature and humidity parameters of the environment are detected through a temperature and humidity sensor, and the air quality parameters are detected through a control sensor, so that the environment sensing parameters are obtained.
specifically, when the user is detected to enter the vehicle, the first color atmosphere lamp is controlled to be turned on; when the body temperature of the user is detected to be within the first body temperature range, controlling the second color atmosphere lamp to be turned on; and controlling the third color atmosphere lamp to be lightened when the body temperature of the user is detected to be in the second body temperature range. Optionally, if the mobile phone bluetooth information of the user is acquired, the fourth color atmosphere lamp is controlled to be turned on.
Illustratively, the atmosphere lamp colors are set to 1-20 color numbers, with different numbers corresponding to different color presets.
For example, when a driver or a passenger enters the vehicle, the human body sensor on the seat senses that a person is sitting on the seat, and lights the atmosphere lamp with the color of 1. After the existence of people is detected, the body temperature sensor of each seat is started to monitor the body temperature of people in the vehicle, and an atmosphere lamp with the color of 2 is turned on when the body temperature is below 37.3 ℃ to indicate that the body temperature is normal. An atmosphere lamp with a color of 3 was lit at a body temperature above 37.3 ℃. Optionally, when the vehicle owner enters the vehicle, the vehicle owner mobile phone bluetooth is automatically connected, and the atmosphere lamp with the color of 4 is lightened.
specifically, after the temperature and humidity parameters of the environment are detected by the temperature and humidity sensor, the fifth color atmosphere lamp is controlled to be turned on, and the temperature and humidity parameters are displayed on the display screen in the vehicle; and after the air quality parameters are detected by the air sensor, controlling the sixth color atmosphere lamp to be lightened, and displaying the air quality parameters on a display screen in the vehicle.
Illustratively, a temperature and humidity sensor detects the temperature and humidity of the environment inside and outside the vehicle, and after the detection is finished, an atmosphere lamp with the color of 5 is lightened, and relevant temperature and humidity information is displayed on a display screen. The air sensor comprises a dust sensor, an alcohol sensor and a combustible gas sensor, detects air quality, alcohol and toxic and harmful gas, lights an atmosphere lamp with the color of 6 after detection is finished, and displays related air quality information on a display screen.
And 140, if a control instruction is detected, lighting the third lamp body and adjusting the color and the brightness of the third lamp body.
Specifically, the detecting the control instruction includes: voice control instructions and gesture control instructions; the voice and the gesture are recognized through the gesture recognition module and the voice recognition module, and control is achieved.
Exemplarily, an owner can control an atmosphere lamp with the color of 7-20 through voice, and the brightness of the atmosphere lamp is 0% -100%; the car owner can control the atmosphere lamp with the color of 7-20 through gesture operation, and the brightness of the atmosphere lamp is 0% -100%.
The atmosphere lamp color is set to be 1-20 color numbers, different numbers are preset corresponding to different colors, the information of the 20 color numbers is as shown in the following table, and the default brightness is 50%.
Illustratively, the software architecture diagram is shown in fig. 2, the whole software runs on a FreeRTOS real-time operating system and is divided into 5 tasks (tasks), wherein PAJ _ task is a gesture recognition scanning task, BME _ task is a temperature and humidity detection task, LD3_ task is a voice recognition detection task, ADC _ task is an air quality detection and harmful gas detection task, and RGB _ task is an RGB atmosphere lamp control task.
Exemplarily, as shown in fig. 3, a flowchart of a main program is shown, where after the MCU is powered on, hardware initialization is performed, hardware configuration successfully starts to create a start task, and after five main tasks are successfully created in the start task, the hardware configuration ends, and at the same time, the five main tasks start to be executed circularly: the method comprises the steps of gesture recognition scanning and analysis, temperature and humidity detection and display, voice recognition detection and analysis, air quality detection and harmful gas detection and display, and RGB-LED color mixing control.
In the RGB-LED color mixing control task, the main loop judges whether the detection values of the current alcohol sensor and the PM2.5 sensor exceed a threshold value, the threshold value can be set in advance by the user, and the default threshold value is 35. If the alarm exceeds the preset threshold, executing red light flashing alarm; otherwise, the current mode is continuously judged and the color mode or the temperature mode is executed.
The color mode can be entered directly by a gesture operation. Under the gesture control color mode, the gesture recognition module can recognize four gestures of upward sliding, downward sliding, left sliding and right sliding, wherein the upward sliding gesture corresponds to an atmosphere lamp brightness increasing instruction, the downward sliding gesture corresponds to an atmosphere lamp brightness decreasing instruction, and the switching is designed to be 1% -100%. The left and right slide gestures correspond to color switching and are designed to be 20 color switching.
The voice control color mode can be directly entered through a voice awakening word 'atmosphere lamp classmate', and the voice system can recognize six commands of 'brightness increasing', 'brightness decreasing', 'previous color', 'next color', 'light on' and 'light off' and execute the commands.
And under the temperature mode, judging the current temperature value read from the temperature module, and obtaining the corresponding color value through conversion to light. White at 25 ℃, redder at higher temperature and bluer at lower temperature, and the temperature measurement range is 0-40 ℃, wherein the RGB color corresponding to 0 ℃ is (255, 1, 1), the RGB color corresponding to 25 ℃ is (255, 255, 255), and the RGB information corresponding to 40 ℃ is (1, 1, 255). The rest are in linear distribution.
Obtaining sensing information related to lamp control, wherein the sensing information comprises human body sensing parameters and environment sensing parameters; controlling a first lamp body to light based on a first lamp control rule according to the human body induction parameters; controlling a second lamp body to light based on a second lamp control rule according to the environment induction parameters; when a control instruction is detected, the third lamp body is lightened, and the color and the brightness of the third lamp body are adjusted; realize intelligent perception, come intelligent control vehicle-mounted atmosphere lamp according to the environment, improve the user and experience in the amusement of car.
On the basis of the above embodiment, the vehicle-mounted intelligent sensing lamp control system provided by the embodiment of the application specifically includes: the device comprises a control module and a sensing module.
The sensing module is used for acquiring sensing information related to lamp control, wherein the sensing information comprises human body sensing parameters and environment sensing parameters; the control module is used for controlling the first lamp body to light up based on a first lamp control rule according to the human body induction parameters; controlling a second lamp body to light based on a second lamp control rule according to the environment induction parameters; and if the control instruction is detected, the third lamp body is lightened, and the color and the brightness of the third lamp body are adjusted.
Optionally, the sensing module includes a temperature and humidity sensor, an alcohol sensor, an air quality detection sensor, a gesture recognition sensor and a voice recognition sensor.
Optionally, the control module adopts an MCU controller, the sensor module collects temperature and humidity, air quality, voice gesture information and the like and sends the information to the MCU through a data interface, and the MCU outputs and controls the color of the corresponding atmosphere lamp through PWM after analysis and calculation.
The system of the embodiment of the application adopts the MCU controller with IIC, SPI, ADC and PWM interfaces to develop, realizes the intelligent man-machine interaction based on the environment sensing function of temperature and humidity sensors, dust sensors, combustible gas sensors and the like, and uses the MCU controller to output three paths of PWM signals to directly control the RGB-LED atmosphere lamp based on the gesture recognition module and the voice recognition module.
Referring to fig. 4, the sensor module and the MCU controller are powered by the power module, which includes a DCDC module, and a MT2492 power chip is used, which is a synchronous buck chip, and can convert the 12V power of the car into 5V power to power some sensor modules in the LDO module circuit and the system. Referring to fig. 5, an AMS1117-3.3 power supply chip is adopted for the LDO module circuit, and a 5V power supply is converted into a 3.3V power supply to supply power to the MCU controller and a part of the sensor modules.
Referring to fig. 6, the MCU controller adopts a minimum system of STM32, is an STM32030F4P6 chip, and includes peripheral circuits such as an 8M crystal oscillator circuit, a reset circuit, and a JTAG download circuit; referring to fig. 7, the module further includes a USB to serial port module, which uses a CH340C chip to complete the communication function between the MCU controller and the upper computer; the MCU controller is also provided with an LCD interface for connecting an LCD display, so that better human-computer interaction experience is realized.
Wherein, the sensor module contains temperature and humidity sensor, alcohol sensor, air quality detection sensor, gesture recognition sensor and speech recognition sensor.
Referring to fig. 8 and 9, the driving circuit of the RGB lamp is shown, and fig. 10 shows an RGB lamp circuit.
In some embodiments, the power circuit includes a DCDC circuit and an LDO circuit, the DCDC circuit connected to the LDO circuit, the LDO circuit connected to the control circuit, the sensor module, the RGB lamp driver circuit, and the RGB lamp circuit.
In some embodiments, referring to fig. 4, the DCDC circuit includes a first power chip U1, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first capacitor C1, a second capacitor C2, a third capacitor C3, and a first inductor L1; the first pin of the first power supply chip is connected with the first end of the first capacitor, the second pin is connected with the first end of the first resistor and the grounding end, the third pin is connected with the second end of the first resistor and the first end of the second resistor, the fourth pin is connected with the first end of the third resistor and the first end of the fourth resistor, the fifth pin is connected with the second end of the fourth resistor and the power input end, the sixth pin is connected with the second end of the first capacitor and the first end of the first inductor, the second end of the second resistor is connected with the first end of the first inductor, the first end of the second capacitor, the first end of the third capacitor and the power output end, and the second end of the third resistor, the second end of the second capacitor and the second end of the third capacitor are connected with the grounding end.
In some embodiments, referring to fig. 5, the LDO circuit includes a second power chip VR1, a second inductor FB1, a fourth capacitor C4, a fifth capacitor C5, a sixth capacitor C6, and a seventh capacitor C7; the first pin of the second power supply chip is connected with the first end of the fourth capacitor, the first end of the fifth capacitor and the first end of the second inductor, the second pin is connected with the second end of the fourth capacitor, the second end of the fifth capacitor, the first end of the sixth capacitor, the first end of the seventh capacitor and a grounding end, the third pin is connected with the second end of the sixth capacitor, the second end of the seventh capacitor and a power supply output end, and the second end of the second inductor is connected with a power supply input end.
In some embodiments, referring to fig. 6, the control circuit includes an MCU chip U2, a first crystal oscillator X1, an eighth capacitor C8, and a ninth capacitor C9, a twenty-third pin of the MCU chip is connected to a first end of the first crystal oscillator and a first end of the eighth capacitor, a twenty-fourth pin of the MCU chip is connected to a second end of the first crystal oscillator and a first end of the ninth capacitor, and a first end of the eighth capacitor and a first end of the ninth capacitor are connected to a ground terminal.
In some embodiments, please refer to fig. 7, which further includes a USB to serial port module, which uses a CH340C chip to complete the communication function between the MCU controller and the upper computer; the USB-to-serial port module comprises a serial port chip U3, a tenth capacitor C10, an eleventh capacitor C11 and a twelfth capacitor C12; a first pin of the serial port chip is connected with a ground terminal, a fourth pin is connected with a first end of a twelfth capacitor, and a sixteenth pin is connected with a first end of a tenth capacitor, a first end of an eleventh capacitor and a power supply terminal; and the second end of the twelfth capacitor is connected with the ground terminal.
In some embodiments, referring to fig. 8, the RGB lamp driving circuit includes a first RGB lamp driving circuit and a second RGB lamp driving circuit, the first RGB lamp driving circuit includes a first amplifier, a fifth resistor R5, a sixth resistor R6, a seventh resistor R7, an eighth resistor R8, a ninth resistor R9, a twelfth capacitor C12, and a thirteenth capacitor C13; the positive input end of the first amplifier is connected with the first end of the fifth resistor and the first end of the sixth resistor, the negative input end of the first amplifier is connected with the first end of the seventh resistor and the first end of the eighth resistor, the power supply end of the first amplifier is connected with the power supply input end of the twelfth resistor, the grounding end of the first amplifier is connected with the grounding end of the second end of the eighth resistor, and the output end of the first amplifier is connected with the first end of the ninth resistor and the second end of the fifth resistor; the second end of the sixth resistor is connected with the grounding end, and the second end of the seventh resistor is connected with the voltage output end; the second end of the twelfth resistor is connected with the grounding end; and the second end of the ninth resistor is connected with the first end of the thirteenth capacitor and the MCU chip.
Referring to fig. 9, the second RGB lamp driving circuit includes a first transistor Q1, a tenth resistor R10, an eleventh resistor R11, and a twelfth resistor R12; a collector of the first triode is connected with a first end of the tenth resistor, a base of the first triode is connected with a first end of the eleventh resistor and a first end of the twelfth resistor, and an emitter of the first triode is connected with a second end of the twelfth resistor and a ground end; the second end of the eleventh resistor is connected with the MCU chip, and the second end of the tenth resistor is connected with the RGB lamp circuit; it is understood that the second driving circuit includes three circuits, one for outputting the R control signal to the RGB lamp circuit, one for outputting the G control signal to the RGB lamp circuit, and one for outputting the B control signal to the RGB lamp circuit.
In some embodiments, referring to fig. 10, the RGB lamp circuit includes a chip LED1, a fourteenth capacitor C14, a fifteenth capacitor C15, a sixteenth capacitor C16, a seventeenth capacitor C17 and a third inductor FB 2; the lamp chip is connected with the second driving circuit and receives R, G, B control signals of the second driving circuit; the first end of the fourteenth capacitor, the fifteenth capacitor, the sixteenth capacitor and the seventeenth capacitor are connected in parallel, the first end of the fourteenth capacitor is connected to the pin of the lamp chip, the other end of the fourteenth capacitor is connected to the first end of the third inductor, and the second end of the third inductor is connected to the power supply end.
Optionally, the temperature and humidity sensor module is a GY-39 module, and includes a BME280 environment sensor, and the module can read and output temperature and humidity data inside the BME280 to a UART interface or an IIC interface of the MCU controller.
Optionally, the air quality sensor module adopts a GP2Y1010AU0F model, and outputs a voltage value by detecting air quality, and the voltage value is acquired and processed by an ADC interface of the MCU controller.
Optionally, the voice recognition sensor module is of an LD3320 model, and transmits the recognized voice information to the MCU controller through the SPI interface.
Optionally, the gesture recognition sensor module is model PAJ7620, and recognized gesture information is sent to the MCU controller through the IIC bus.
After the sensor collects signals, the signals are converted into digital signals through the ADC module, the digital signals are input into the MCU controller to be subjected to data processing, and the MCU controller sends three paths of PWM signals to drive the RGB atmosphere lamp. Wherein the ambience light may be mounted at a plurality of locations in the vehicle.
The vehicle-mounted intelligent sensing lamp control system provided by the embodiment of the application can be used for executing the vehicle-mounted intelligent sensing lamp control method provided by the embodiment, and has corresponding functions and beneficial effects.
The embodiment of the application further provides a computer device, and the computer device can integrate the vehicle-mounted intelligent sensing lamp control system provided by the embodiment of the application. Fig. 11 is a schematic structural diagram of a computer device according to an embodiment of the present application. Referring to fig. 11, the computer apparatus includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 for storing 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 are enabled to implement the vehicle-mounted intelligent perception lamp control method provided by the above embodiment. The input device 43, the output device 44, the memory 42 and the processor 41 may be connected by a bus or other means, and fig. 11 illustrates the connection by a bus as an example.
The processor 41 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 41, that is, the vehicle-mounted intelligent sensing lamp control method is realized.
The computer equipment can be used for executing the vehicle-mounted intelligent sensing lamp control method provided by the embodiment, and has corresponding functions and beneficial effects.
The present application also provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform an in-vehicle intelligent sensing light control method, where the in-vehicle intelligent sensing light control method includes: the method comprises the steps of obtaining perception information related to lamp control, wherein the perception information comprises human body induction parameters and environment induction parameters; controlling a first lamp body to light based on a first lamp control rule according to the human body induction parameters; controlling a second lamp body to light based on a second lamp control rule according to the environment induction parameters; and if the control instruction is detected, the third lamp body is lightened, and the color and the brightness of the third lamp body are adjusted.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer device memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer apparatus in which the program is executed, or may be located in a different second computer apparatus connected to the first computer apparatus through a network (such as the internet). The second computer device may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer devices that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium containing the computer-executable instructions provided in the embodiments of the present application is not limited to the vehicle-mounted intelligent sensing lamp control method described above, and may also perform related operations in the vehicle-mounted intelligent sensing lamp control method provided in any embodiment of the present application.
The vehicle-mounted intelligent sensing lamp control device, the storage medium and the computer device provided in the above embodiments may execute the vehicle-mounted intelligent sensing lamp control method provided in any embodiment of the present application, and reference may be made to the vehicle-mounted intelligent sensing lamp control method provided in any embodiment of the present application without detailed technical details described in the above embodiments.
The foregoing is considered as illustrative of the preferred embodiments of the invention and the technical principles employed. The present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.
Claims (10)
1. A vehicle-mounted intelligent sensing lamp control method is characterized by comprising the following steps:
acquiring perception information related to lamp control, wherein the perception information comprises human body induction parameters and environment induction parameters;
controlling a first lamp body to light based on a first lamp control rule according to the human body induction parameters;
controlling a second lamp body to light based on a second lamp control rule according to the environment induction parameters;
and if the control instruction is detected, the third lamp body is lightened, and the color and the brightness of the third lamp body are adjusted.
2. The vehicle-mounted intelligent sensing lamp control method according to claim 1, wherein the obtaining of the sensing information related to lamp control, wherein the sensing information includes human body sensing parameters and environment sensing parameters, comprises:
detecting whether a user exists through a human body sensor, and if the user exists, detecting the body temperature through a body temperature sensor to obtain human body induction parameters;
the temperature and humidity parameters of the environment are detected through a temperature and humidity sensor, and the air quality parameters are detected through a control sensor, so that the environment sensing parameters are obtained.
3. The vehicle-mounted intelligent sensing lamp control method according to claim 2, wherein the controlling the first lamp body to light based on the first lamp control rule according to the human body sensing parameter comprises:
when detecting that the user enters the vehicle, controlling a first color atmosphere lamp to be lightened;
when the body temperature of the user is detected to be within the first body temperature range, controlling the second color atmosphere lamp to be turned on;
and controlling the third color atmosphere lamp to be lightened when the body temperature of the user is detected to be in the second body temperature range.
4. The vehicle-mounted intelligent sensing lamp control method according to claim 3, further comprising:
and if the mobile phone Bluetooth information of the user is acquired, controlling the fourth color atmosphere lamp to be turned on.
5. The vehicle-mounted intelligent sensing lamp control method according to claim 2, wherein the controlling a second lamp body to light based on a second lamp control rule according to the environment sensing parameter comprises:
after the temperature and humidity parameters of the environment are detected by the temperature and humidity sensor, controlling the fifth color atmosphere lamp to be turned on, and displaying the temperature and humidity parameters on the display screen in the vehicle;
and after the air quality parameters are detected by the air sensor, controlling the sixth color atmosphere lamp to be lightened, and displaying the air quality parameters on a display screen in the vehicle.
6. The vehicle-mounted intelligent sensing lamp control method according to claim 1, wherein the detecting of the control instruction comprises: voice control instructions and gesture control instructions.
7. The utility model provides a vehicle-mounted intelligent perception lamp control system which characterized in that includes: the device comprises a control module and a sensing module;
the sensing module is used for acquiring sensing information related to lamp control, wherein the sensing information comprises human body sensing parameters and environment sensing parameters;
the control module is used for controlling the first lamp body to light up based on a first lamp control rule according to the human body induction parameters; controlling a second lamp body to light based on a second lamp control rule according to the environment induction parameters; and if the control instruction is detected, the third lamp body is lightened, and the color and the brightness of the third lamp body are adjusted.
8. The vehicle-mounted intelligent sensing lamp control system according to claim 7, wherein the sensing module comprises a temperature and humidity sensor, an alcohol sensor, an air quality detection sensor, a gesture recognition sensor and a voice recognition sensor.
9. A computer device, comprising: a memory and one or more processors;
the memory for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors are enabled to implement the vehicle-mounted intelligent perception lamp control method according to any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing an in-vehicle smart aware light control method according to any one of claims 1 to 7 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111592322.6A CN114423121A (en) | 2021-12-23 | 2021-12-23 | Vehicle-mounted intelligent sensing lamp control method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111592322.6A CN114423121A (en) | 2021-12-23 | 2021-12-23 | Vehicle-mounted intelligent sensing lamp control method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114423121A true CN114423121A (en) | 2022-04-29 |
Family
ID=81267054
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111592322.6A Pending CN114423121A (en) | 2021-12-23 | 2021-12-23 | Vehicle-mounted intelligent sensing lamp control method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114423121A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203571583U (en) * | 2013-10-30 | 2014-04-30 | 东风汽车公司 | Atmosphere lamp in vehicle |
CN104656717A (en) * | 2014-12-26 | 2015-05-27 | 芜湖市汽车产业技术研究院有限公司 | System and method for adjusting in-car light environment |
CN106163020A (en) * | 2016-09-29 | 2016-11-23 | 中山市德马汽车零部件有限公司 | Automobile atmosphere lamp intelligent control method and control system |
CN108924988A (en) * | 2018-05-23 | 2018-11-30 | 威马智慧出行科技(上海)有限公司 | atmosphere lamp control method and intelligent automobile |
CN110559536A (en) * | 2019-09-10 | 2019-12-13 | 广东工业大学 | intelligent atmosphere lamp, atmosphere lamp mode adjusting method and related assembly |
CN112954870A (en) * | 2021-03-31 | 2021-06-11 | 成都航天模塑股份有限公司 | Intelligent cabin integrated control system and control method |
US20210362664A1 (en) * | 2018-09-04 | 2021-11-25 | Byd Company Limited | Vehicle |
-
2021
- 2021-12-23 CN CN202111592322.6A patent/CN114423121A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203571583U (en) * | 2013-10-30 | 2014-04-30 | 东风汽车公司 | Atmosphere lamp in vehicle |
CN104656717A (en) * | 2014-12-26 | 2015-05-27 | 芜湖市汽车产业技术研究院有限公司 | System and method for adjusting in-car light environment |
CN106163020A (en) * | 2016-09-29 | 2016-11-23 | 中山市德马汽车零部件有限公司 | Automobile atmosphere lamp intelligent control method and control system |
CN108924988A (en) * | 2018-05-23 | 2018-11-30 | 威马智慧出行科技(上海)有限公司 | atmosphere lamp control method and intelligent automobile |
US20210362664A1 (en) * | 2018-09-04 | 2021-11-25 | Byd Company Limited | Vehicle |
CN110559536A (en) * | 2019-09-10 | 2019-12-13 | 广东工业大学 | intelligent atmosphere lamp, atmosphere lamp mode adjusting method and related assembly |
CN112954870A (en) * | 2021-03-31 | 2021-06-11 | 成都航天模塑股份有限公司 | Intelligent cabin integrated control system and control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10409382B2 (en) | Smart tutorial for gesture control system | |
CN104015722A (en) | Vehicle driving auxiliary system supporting comfort degree adjusting | |
CN112954870A (en) | Intelligent cabin integrated control system and control method | |
CN111986627A (en) | Backlight brightness adjusting method, device and equipment of vehicle-mounted double-linked screen and storage medium | |
CN107272490A (en) | Automobile and family intelligent control system | |
CN108650763A (en) | The luminous component brightness adjusting method and device of vehicle intelligent controller, equipment | |
WO2022062491A1 (en) | Vehicle-mounted smart hardware control method based on smart cockpit, and smart cockpit | |
CN113859112B (en) | In-cabin charging interaction method, device, medium, equipment and program product | |
US20190077261A1 (en) | Central control panel for vehicles and method of controlling same | |
CN213108907U (en) | Air conditioner control switch control system with atmosphere lamp follow-up function and automobile | |
CN114423121A (en) | Vehicle-mounted intelligent sensing lamp control method and system | |
CN112644375B (en) | Mood perception-based in-vehicle atmosphere lamp adjusting method, system, medium and terminal | |
CN216775072U (en) | Vehicle-mounted intelligent sensing atmosphere lamp control system | |
CN210000225U (en) | automobile intelligent atmosphere lamp | |
CN210402638U (en) | Vehicle-mounted safety monitoring system based on Internet of vehicles technology | |
CN209581598U (en) | A kind of bluetooth wireless connection and the vehicle steering wheel with function display screen and display lamp | |
EP3126934A1 (en) | Systems and methods for the detection of implicit gestures | |
CN116542048A (en) | Vehicle function module debugging method, device and system based on virtual reality | |
CN113709954B (en) | Control method and device of atmosphere lamp, electronic equipment and storage medium | |
CN205485557U (en) | Electrical automation control platform | |
CN209845396U (en) | Intelligent test control system for built-in infrared ray of automobile headlamp | |
CN112737910A (en) | Vehicle control system and method based on gesture recognition | |
CN220545172U (en) | Multi-mode controlled automobile lamp display control system | |
CN220368830U (en) | Multifunctional controlled interior decorative lamp in automobile | |
CN112339658A (en) | Method, device and system for controlling atmosphere of vehicle and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |