A control device, control method and medium thereof for a suspended-horn atmosphere lamp

By controlling the speaker's lifting position and the ambient light's illumination status in real time, the problem of independent control of the floating speaker and ambient light is solved, realizing synchronous feedback between mechanical movement and lighting effects, enhancing the continuity of human-computer interaction and user experience, and ensuring the system's reliability and responsiveness.

CN121671499BActive Publication Date: 2026-04-21SHANGHAI JUNNUO ELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI JUNNUO ELECTRONICS CO LTD
Filing Date
2026-02-10
Publication Date
2026-04-21

AI Technical Summary

Technical Problem

In existing technologies, the lifting and lowering of the floating speaker and the lighting logic of the ambient light are controlled independently, resulting in a disconnect between sound, light, and machine states. This weakens the continuity and sense of ritual in human-computer interaction and limits the experiential value in high-end scenarios.

Method used

The ambient light module's illumination state is controlled by the real-time lifting and lowering position of the speaker assembly. Combined with the LIN communication interface, motor drive circuit, and position detection module, deep linkage control between the speaker's lifting and lowering position and the ambient light's illumination state is achieved. Precise control is achieved using an H-bridge driver chip and a constant current LED driver chip, combined with a linear Hall sensor and a permanent magnet for non-contact, high-precision position detection.

Benefits of technology

It enables real-time, continuous linkage control of ambient lighting and speaker components, enhancing the sense of ritual and technological aesthetics in user operation, improving the consistency and immersion of user experience, and ensuring the accuracy of control effects and the reliability of the system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121671499B_ABST
    Figure CN121671499B_ABST
Patent Text Reader

Abstract

This application discloses a control device, control method, and medium for an ambient light with a suspended horn, relating to the field of intelligent lighting technology. The control device includes a horn assembly that can be raised and lowered within a housing, a motor that drives the horn assembly to rise and fall, and an ambient light module mounted on the housing. The control device further includes: a main control unit that receives external control commands via a LIN communication interface and generates motor control signals based on the control commands, outputting them to a motor drive circuit to drive the motor to rotate forward and backward; a position detection module that senses the continuous position information of the horn assembly during its lifting stroke and converts the continuous position information into an analog electrical signal; and a main control unit that adjusts the drive signal based on the analog electrical signal, causing the brightness and / or color temperature of the ambient light module to change synchronously with the rising and falling position of the horn assembly. This application achieves deep linkage control between the horn's rising and falling position and the ambient light's illumination state, improving the control effect of the horn and the ambient light.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of intelligent lighting technology, and in particular to a control device, control method and medium for an ambient light with a suspended horn. Background Technology

[0002] With the increasing demand for intelligent and personalized car cabins, audio systems that combine acoustic functionality with visual aesthetics are gradually becoming a highlight of high-end models. Among them, floating, retractable speakers are favored by the market due to their unique mechanical dynamic effects. Meanwhile, ambient lighting, as an important element in creating an emotional cabin experience, is often integrated around the audio system to enhance the sense of technology and immersion.

[0003] However, in existing technologies, the raising and lowering of the floating horn and the illumination logic of the ambient lighting generally employ independent control strategies: the ambient lighting is typically turned on and off solely based on the vehicle's overall lighting mode or manual switching by the user, without sensing the horn's current physical location. For example, when the horn is hidden, the ambient lighting may remain constantly on; conversely, the lighting shows no gradual change during the horn's raising. This disconnect between sound, light, and mechanism not only weakens the continuity and sense of ritual in human-computer interaction but also limits the product's experiential value in high-end scenarios.

[0004] Therefore, there is an urgent need for a control mechanism that can deeply link the speaker's lifting position with the ambient light's illumination state in order to improve the control effect of the speaker and ambient light. Summary of the Invention

[0005] In order to overcome the shortcomings of the prior art, this application provides a control mechanism that can deeply link the raising and lowering position of the speaker with the illumination state of the ambient light, so as to improve the control effect of the speaker and the ambient light. The application provides a control device, control method and medium for an ambient light with a floating speaker.

[0006] Firstly, the objective of this invention is achieved through the following technical solution:

[0007] A control device for an ambient light with a floating horn includes: a housing, a horn assembly that can be raised and lowered within the housing, a motor for driving the horn assembly to rise and fall, and an ambient light module disposed on the housing.

[0008] The illumination state of the ambient light module is controlled by the real-time lifting and lowering position of the speaker assembly;

[0009] The control device also includes a main control unit, a LIN communication interface, a motor drive circuit, and a position detection module;

[0010] The main control unit receives external control commands through the LIN communication interface and generates motor control signals according to the control commands, which are then output to the motor drive circuit to drive the motor to rotate in both directions.

[0011] The position detection module senses the continuous position information of the horn assembly during its lifting stroke and converts the continuous position information into an analog electrical signal;

[0012] The main control unit dynamically adjusts the drive signal output to the ambient light module according to the analog electrical signal, so that the brightness and / or color temperature of the ambient light module changes synchronously with the rising and falling position of the speaker assembly.

[0013] By adopting the above technical solution, this invention achieves a real-time, continuous linkage control mechanism between the ambient light illumination state and the horn assembly's lifting position. By smoothly changing the brightness and / or color temperature of the ambient light during the horn's lifting process, it enhances the user's sense of ritual and technological aesthetics, achieving a consistent and immersive user experience. By continuously reflecting the horn's travel position using analog electrical signals, it avoids the sudden changes or lags in light caused by traditional on / off control, achieving precise mapping between the horn position and the ambient light's luminous effect. Simultaneously, the LIN communication interface receives vehicle commands, and combined with integrated motor and LED drive circuits, multi-modal collaboration can be achieved without an additional controller, improving the control effect of the control device.

[0014] In a preferred embodiment, this application further includes a power input module, which includes an external power supply terminal, a LIN communication terminal, a first switching transistor, and a second switching transistor.

[0015] The external power supply terminal and the LIN communication terminal are respectively connected to the system main power node;

[0016] The source of the first switching transistor is connected to the external power supply terminal, and the drain is connected to the system main power node; the source of the second switching transistor is connected to the LIN communication terminal, and the drain is connected to the system main power node.

[0017] When the external power supply voltage is valid, the first switch is turned on and the second switch is turned off, and the device is powered by the external power supply. When the external power supply fails, the first switch is turned off and the second switch is turned on, and the device is powered by the LIN_IN line.

[0018] By adopting the above technical solution, a dual power supply switching circuit is provided. When the external main power supply is normal, the external power supply is used first, and when the external power supply fails, it automatically switches to power from the LIN communication line.

[0019] In a preferred embodiment of this application: the motor drive circuit uses an H-bridge driver chip, with the enable terminal and the two direction input terminals respectively connected to the GPIO1, GPIO2 and GPIO3 pins of the main control unit;

[0020] The two output terminals of the H-bridge driver chip are respectively connected to the two poles of the DC motor.

[0021] GPIO1, GPIO2, and GPIO3 control the operating state of the H-bridge driver chip through three-wire combinational logic.

[0022] When GPIO1 is low, the motor stops.

[0023] When GPIO1 is high, GPIO3 is high, and GPIO2 is low, the motor rotates forward to raise the horn;

[0024] When GPIO1 is high, GPIO3 is low, and GPIO2 is high, the motor reverses to lower the speaker;

[0025] When GPIO1 is high and GPIO2 and GPIO3 are both high or both low, the motor enters dynamic braking state.

[0026] By adopting the above technical solution, using an H-bridge driver chip in conjunction with three-wire GPIO logic control, four working states of the motor—forward rotation, reverse rotation, stop, and dynamic braking—can be accurately realized through simple high and low level combinations. Among them, the dynamic braking function can quickly suppress inertial overshoot when the horn assembly reaches the target position, thereby improving the lifting and positioning accuracy.

[0027] In a preferred embodiment of this application: the ambient light module includes a constant current LED driver chip, and three input control terminals respectively receive independent pulse width modulation signals output from the main control unit;

[0028] Each LED output channel is equipped with a soft-start capacitor;

[0029] The main control unit dynamically adjusts the duty cycle of each PWM signal according to the real-time lifting position of the speaker assembly, so that at least two LED light sources with different color temperatures can be mixed and emit light in a preset ratio to achieve a continuous gradual change in color temperature from warm to cool tones.

[0030] By adopting the above technical solution, the constant current LED driver chip receives multiple independent PWM signals output by the main control unit, and combined with a soft-start capacitor, achieves smooth mixing and flicker-free dimming of LED light sources with different color temperatures. The main control unit adjusts the duty cycle of each channel in real time according to the speaker's lifting position, so that the color temperature changes continuously and gradually from warm white to cool white, creating a visual sense of flow that is consistent with the rhythm of mechanical movement.

[0031] In a preferred embodiment of this application: the position detection module includes a linear Hall sensor fixed to the housing and a permanent magnet fixed to the speaker assembly;

[0032] The permanent magnet moves relative to the linear Hall sensor as the horn assembly rises and falls, causing the linear Hall sensor to output a voltage signal that is monotonic with the current position of the horn assembly;

[0033] The main control unit is equipped with an analog-to-digital conversion interface for acquiring the voltage signal and calculating the relative height percentage of the speaker assembly.

[0034] By adopting the above technical solution, a non-contact position detection system is constructed using a linear Hall sensor and a permanent magnet. The permanent magnet changes its magnetic field strength as the horn assembly rises and falls, causing the Hall sensor to output a voltage signal that is monotonically related to height. The main control unit can accurately calculate the relative height percentage through ADC sampling, offering advantages such as fast response, no wear, and resistance to dust interference.

[0035] Secondly, the objective of this invention is achieved through the following technical solution:

[0036] A control method for an ambient light with a floating speaker, the method comprising:

[0037] Receive external control commands transmitted via the LIN communication interface;

[0038] The external control command generates a motor control signal and outputs it to the motor drive circuit to drive the motor to rotate forward or reverse, thereby causing the horn assembly to move up and down within the housing.

[0039] The position detection module senses the continuous position information of the horn assembly during its lifting stroke and converts the continuous position information into an analog electrical signal.

[0040] The main control unit samples and analyzes the analog electrical signal to obtain the current lifting position of the speaker assembly;

[0041] Based on the current lifting position, adjust the drive signal output to the ambient light module so that the brightness and / or color temperature of the ambient light module changes synchronously with the lifting position of the speaker assembly.

[0042] By adopting the above technical solution, and through closed-loop linkage control between the speaker's lifting action and the ambient light display status, an integrated "motion-light" interactive logic is achieved. The main control unit dynamically adjusts the lighting parameters based on real-time location information, making the ambient light no longer a static decoration, but a visual extension of its mechanical state.

[0043] In a preferred embodiment of this application, the method further includes:

[0044] Acquire audio output signals from in-vehicle infotainment systems, voice interaction systems, or advanced driver assistance systems (ADAS), as well as current operating status information of floating speaker modules integrated into the car's roof or A-pillar area;

[0045] Obtain vehicle operating status information, and determine the current audio rhythm characteristics, volume intensity level, and cabin scene mode based on the audio output signal, the current operating status information of the floating speaker module, and the vehicle operating status information;

[0046] Based on the audio rhythm characteristics, the volume intensity level, the cockpit scene mode, and the preset color response strategy, an ambient light control parameter mapping table is generated to adjust the color, brightness, and dynamic flashing frequency of the ambient lights arranged around the floating speaker module.

[0047] Obtain the ambient light dynamic response reference range, which represents the threshold of ambient light response sensitivity, and apply safety constraints to the ambient light dynamic response reference range based on the vehicle operating status information to obtain the restricted dynamic response range;

[0048] Based on the limited dynamic response range and the ambient light control parameter mapping table, an intelligent control model for ambient lights is generated.

[0049] The real-time processed audio feature data is input into the ambient light intelligent control model to dynamically adjust the display status of the ambient light.

[0050] By adopting the above technical solution, based on the basic lifting-lighting linkage, a smart ambient lighting control model is further constructed by integrating multi-source in-vehicle audio signals, vehicle operating status, and cabin scene modes, based on audio characteristics and driving scenarios. By introducing a safety constraint mechanism, it is ensured that the dynamic lighting effects do not interfere with the driver during driving, balancing entertainment and safety.

[0051] In a preferred embodiment of this application, the step of determining the current audio rhythm characteristics, volume intensity level, and cabin scene mode based on the audio output signal, the current operating status information of the floating speaker module, and the vehicle operating status information specifically includes:

[0052] The spectral distribution, instantaneous sound pressure level, and audio source type of the audio output signal are obtained, as well as the suspension height, power supply status, and sound field directivity parameters of the suspended speaker module are obtained.

[0053] Based on the spectral distribution, instantaneous sound pressure value, and the influence of the suspension height on the sound field propagation path, the effective auditory rhythm period is calculated as the audio rhythm feature;

[0054] The volume intensity level is determined based on the instantaneous sound pressure level, the type of audio source, and the power supply status, combined with the compensation coefficient of ambient light intensity on the brightness perceived by the human eye.

[0055] Based on the driving mode, vehicle speed range, and audio source type, a corresponding cabin scene mode is matched. The cabin scene modes include focused driving mode, leisure and entertainment mode, welcome mode, and fatigue reminder mode.

[0056] By employing the above technical solutions, and comprehensively analyzing audio spectrum, sound pressure level, source type, and vehicle status, the system accurately extracts audio rhythm features and volume intensity levels, and matches them with corresponding cabin scene modes. This invention's multi-dimensional perception mechanism avoids misjudgments caused by single audio signals (such as navigation prompts being mistaken for music beats), thus improving the accuracy of scene recognition.

[0057] In a preferred embodiment of this application, the step of generating the ambient light control parameter mapping table includes:

[0058] The corresponding color response strategy is invoked based on the cockpit scene mode;

[0059] Based on the spectral distribution of the audio output signal, the frequency band interval to which the main energy frequency band belongs is determined, and the frequency band interval includes the low frequency interval, the mid frequency interval, and the high frequency interval;

[0060] The initial ambient light color scheme is matched according to the frequency band range, where the low frequency range corresponds to warm colors, the mid frequency range corresponds to neutral colors, and the high frequency range corresponds to cool colors.

[0061] The basic flashing frequency of the ambient light is determined based on the effective auditory rhythm cycle, and the basic brightness value of the ambient light is determined based on the volume intensity level.

[0062] Based on the occupant position distribution, display parameters adapted to the cabin scene mode are applied to the ambient lighting in the driver's seat, passenger seat and rear seat areas respectively, generating the ambient lighting control parameter mapping table.

[0063] By employing the aforementioned technical solution, different color schemes are mapped to different frequency bands, and the flashing frequency and brightness are determined by combining the rhythm cycle and volume intensity. This allows the ambient lighting to objectively respond to the physical characteristics of the audio content, avoiding the uncertainty caused by subjective emotional judgment. Simultaneously, zoned differentiated control is implemented based on the distribution of occupants, ensuring that the lighting in the driver's area meets safety regulations, while rear passengers can enjoy richer dynamic effects.

[0064] Thirdly, the objective of this invention is achieved through the following technical solution:

[0065] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the above-described control method for an ambient light with a floating speaker.

[0066] In summary, this application includes at least one of the following beneficial technical effects:

[0067] 1. By linking the lifting position of the suspended speaker with the ambient lighting status in real time, synchronous feedback between mechanical movement and lighting effects is achieved, enhancing the sense of ritual in human-computer interaction. Combined with non-contact, high-precision position detection and redundant power supply design, system reliability and responsiveness are ensured.

[0068] 2. Further integrate in-vehicle audio, vehicle status, and cabin scene to construct an intelligent light environment control model under safety constraints; ultimately, under the premise of ensuring driving safety, achieve an immersive cabin atmosphere experience with zoned, dynamic, and context-adaptive features. Attached Figure Description

[0069] Figure 1 This is a schematic diagram of the structure of a control device for an ambient light with a floating horn, according to one embodiment of this application.

[0070] Figure 2 This is a control circuit diagram of a control device for an ambient light with a floating horn, according to one embodiment of this application.

[0071] Figure 3 This is a flowchart of a control method for an ambient light with a floating horn, according to one embodiment of this application;

[0072] Figure 4 This is another flowchart of a control method for an ambient light with a floating horn in one embodiment of this application. Detailed Implementation

[0073] The present application will be further described in detail below with reference to the accompanying drawings.

[0074] In one embodiment, such as Figure 1 As shown, this application discloses a control device for ambient lighting with a floating horn, applicable to the roof or A-pillar area of ​​a smart car cabin. The control device includes a housing, a horn assembly that can be raised and lowered within the housing, a motor for driving the horn assembly to rise and fall, and an ambient lighting module disposed on the edge area or outer surface of the housing; the illumination state of the ambient lighting module is controlled by the horn assembly (…). Figure 1 The real-time lifting position (not shown); this embodiment uses a DC motor.

[0075] For example, such as Figure 1As shown, the DC motor output shaft is directly connected to the worm gear, which meshes with the worm wheel for transmission. The worm gear pair has a large reduction ratio, converting the motor's high-speed rotation into low-speed, high-torque output; it also features a reverse self-locking function, meaning that in the event of power failure or malfunction, the worm wheel cannot drive the worm gear to reverse, thus ensuring the stability of the horn assembly in any position. A precision lead screw is coaxially fixed to the center of the worm wheel, extending along the length of the housing. A nut slider is mounted on the lead screw, with an internal thread that engages with the external thread of the lead screw to convert rotational motion into linear motion. When the worm wheel drives the lead screw to rotate, the nut slider moves axially along the lead screw. The nut slider is fixedly connected to the horn bracket via a connector to support the horn unit. Furthermore, mechanical retaining rings are provided at both ends of the lead screw. Figure 1 (Not shown), as travel limit protection.

[0076] The control device for the ambient light with a floating horn also includes a main control unit, a LIN communication interface, a motor drive circuit, and a position detection module. The main control unit receives external control commands through the LIN communication interface and generates motor control signals based on the control commands, which are then output to the motor drive circuit to drive the motor to rotate in both directions. The position detection module senses the continuous position information of the horn assembly during its lifting stroke and converts the continuous position information into an analog electrical signal. The main control unit dynamically adjusts the drive signal output to the ambient light module based on the analog electrical signal, so that the brightness and / or color temperature of the ambient light module changes synchronously with the lifting position of the horn assembly.

[0077] like Figure 2 As shown, with Figure 2 Taking the circuit diagram shown as an example, Figure 2 VBAT and VDD are power supply terminals, and GND is circuit ground. The control device also includes a power input module, which includes an external power supply terminal VIN, a LIN communication terminal LIN_IN, a first switching transistor T2 (P-channel MOSFET), and a second switching transistor T9 (P-channel MOSFET). The LIN communication terminal LIN_IN is connected to the LIN communication interface. The external power supply terminal and the LIN communication terminal are respectively connected to the system main power node VBAT. T1 and T4 are motor connectors. P1 is a connector. T3 and T5~T13 are test points. R21, R22, and R23 are resistors. FB2 and FB3 are ferrite beads. DV1 and DV2 are transient suppression diodes. C1, C2, C3, C4, C5, C6, C7, C16, C17, and C18 are capacitors. J2 is a pin header.

[0078] The source of the first switching transistor T2 is connected to the external power supply terminal VIN, the drain is connected to the system main power node VBAT, and the gate is connected to VIN through a pull-up resistor; the source of the second switching transistor T9 is connected to the LIN communication terminal LIN_IN, the drain is connected to the system main power node VBAT, and the gate is connected to VIN through a pull-up resistor.

[0079] When the external power supply terminal VIN voltage is valid, the first switch T2 is turned on and the second switch T9 is turned off, and the device is powered by the external power supply terminal VIN; when the external power supply terminal fails, the first switch T2 is turned off and the second switch T9 is turned on, and the device draws power from the LIN_IN line.

[0080] like Figure 2 As shown, with Figure 2 Taking the circuit diagram shown as an example, the main control unit uses an IND83209 MCU with a built-in hardware LIN transceiver. The LED0~LED2 pins of the main control MCU are the LED driver PWM output terminals. The motor drive circuit uses an A4950K H-bridge driver chip, with the enable terminal and the two direction input terminals connected to the GPIO1, GPIO2, and GPIO3 pins of the main control unit, respectively. C1 and C2 are decoupling capacitors. The LED0, LED1, and LED2 pins of the main control MCU are the built-in LED driver pins of the MCU. SWC, SWD, and D are the debugging interface pins.

[0081] The two outputs (OUT1 and OUT2 pins) of the H-bridge driver chip are connected to the two poles of the DC motor respectively; GPIO1, GPIO2, and GPIO3 control the operating state of the H-bridge driver chip through three-wire combinational logic (EN+IN1+IN2):

[0082] When GPIO1 is low, the motor stops.

[0083] When GPIO1 is high, GPIO3 is high, and GPIO2 is low, the motor rotates forward to raise the horn;

[0084] When GPIO1 is high, GPIO3 is low, and GPIO2 is high, the motor reverses to lower the speaker;

[0085] When GPIO1 is high and GPIO2 and GPIO3 are both high or both low, the motor enters dynamic braking state.

[0086] like Figure 2 As shown, with Figure 2Taking the circuit diagram shown as an example, the ambient light module includes a three-channel constant current LED driver chip and multi-color LEDs (LED0, LED1, LED2), with A1, A2, and A3 being driver diodes; the three input control terminals respectively receive independent pulse width modulation signals output from the main control unit; each channel is independently controlled and supports multi-color mixing, such as RGB or warm white + cool white. Each LED output channel is equipped with a soft-start capacitor (C14 / C15 / C16). The main control unit dynamically adjusts the duty cycle of each PWM signal according to the real-time lifting position of the speaker assembly, so that at least two LED light sources with different color temperatures are mixed and emit light in a preset ratio, achieving a continuous gradient of color temperature from warm to cool tones. In this embodiment, the ambient light module includes two light sources: warm white LEDs and cool white LEDs. For example, warm white light dominates (high duty cycle) at low positions, and cool white light is enhanced at high positions, achieving a continuous gradient of color temperature from approximately 2700K to 6500K, and the brightness increases linearly with height, thus strictly synchronizing with the mechanical movement process. The LED brightness = PWM duty cycle × maximum current. For example, when the current position of the speaker assembly is 30% of the height of the entire lifting stroke, the LED brightness = 30%, and when the height reaches 100%, the LED is fully lit.

[0087] The position detection module includes a linear Hall sensor fixed to one side of the inner wall of the housing along the lifting direction, and a permanent magnet fixed to the horn assembly or the nut slider. The permanent magnet moves relative to the linear Hall sensor as the horn assembly rises and falls, causing the linear Hall sensor to output a voltage signal that is monotonically related to the current position of the horn assembly. That is, when the horn assembly rises and falls, the permanent magnet translates along the sensor's sensitive axis, causing the output voltage to change linearly with the displacement. The main control unit is equipped with an analog-to-digital conversion interface (such as an ADC module) to acquire the voltage signal and calculate the relative height percentage of the horn assembly.

[0088] The implementation principle of a control device for an ambient light with a floating horn in this application embodiment is as follows:

[0089] The main control unit connects to the vehicle's network via a LIN communication interface, and monitors LIN data frames from the body controller in real time. Upon receiving external control commands such as "raise," "lower," or "position to X%," the main control unit parses the target position and generates corresponding three-wire motor control signals (EN, IN1, IN2), which are then output to the H-bridge driver chip. The H-bridge driver chip drives the DC motor to rotate forward, reverse, brake, or stop based on the signal combination, thereby driving the worm gear-screw nut mechanism to precisely move the horn assembly along the vertical direction of the housing.

[0090] During the horn's raising and lowering process, the permanent magnet fixed to the nut slider moves accordingly, and its magnetic field strength forms a continuously changing spatial distribution at the linear Hall sensor. The Hall sensor converts the current physical displacement into an analog voltage signal within the range of 0 to 3.3V. The analog voltage signal has a monotonically linear relationship with the current height of the horn; for example, 0V corresponds to the 0% hidden position, and 3.3V corresponds to the 100% raised position. The analog voltage signal is sent to the ADC module of the main control unit for sampling. After digital filtering and calibration, the real-time relative height percentage of the horn assembly is calculated.

[0091] The main control unit has a pre-stored "height-luminous efficacy" mapping strategy: the low position (0%~30%) is dominated by warm white light, the high position (70%~100%) is dominated by cool white light, and the middle segment achieves a smooth transition; at the same time, the overall brightness is proportional to the height. Based on the current height value, the main control unit calculates the PWM duty cycle required for the warm white and cool white LED channels respectively, and outputs independent modulation signals through the LED0 and LED1 pins. The three-channel constant current LED driver chip generates a stable current according to the independent modulation signals, driving the multi-color LEDs to mix and emit light proportionally, realizing a continuous gradual change in color temperature from about 2700K to 6500K and brightness from 0% to 100%, with the visual effect strictly synchronized with the speaker movement process.

[0092] In another embodiment, such as Figure 3 As shown, this application also discloses a control method for an ambient light with a floating horn. This control method is applied to a control device for an ambient light with a floating horn as described above. The control method for an ambient light with a floating horn specifically includes the following steps:

[0093] S1: Receive external control commands transmitted via the LIN communication interface.

[0094] In this embodiment, the external control command refers to the data frame sent by the vehicle body controller (BCM) or other on-board main control unit via the LIN bus, which is used to indicate the target state of the horn assembly, such as "raised to the highest position", "lowered to the hidden position" or "paused at the current position".

[0095] S2: Generates motor control signals according to external control commands and outputs them to the motor drive circuit to drive the drive motor to rotate forward or reverse, thereby causing the horn assembly to move up and down within the housing.

[0096] In this embodiment, the motor control signal refers to the combination of digital logic signals output by the main control unit, used to control the operating mode of the motor drive circuit, thereby determining the rotation direction and start / stop state of the DC motor. The motor drive circuit is a power interface circuit capable of receiving logic levels and driving the motor bidirectionally, and can be implemented based on an H-bridge topology.

[0097] Specifically, the main control unit determines the direction of motion based on the difference between the parsed target position and the current actual position: if the target position is higher than the current position, it outputs a "forward rotation enable" signal combination; otherwise, it outputs a "reverse rotation enable" signal combination.

[0098] S3: The position detection module senses the continuous position information of the horn assembly during the lifting stroke and converts the continuous position information into an analog electrical signal.

[0099] In this embodiment, the position detection module refers to a non-contact displacement sensing unit; the continuous position information emphasizes non-discrete switching quantities, but covers any intermediate position within the entire travel range.

[0100] Specifically, the position detection module includes a magnetic field sensing element fixed to the stationary part of the housing, and a magnetic source that moves synchronously with the speaker assembly. When the speaker assembly rises or falls, the relative distance or alignment between the magnetic source and the magnetic field sensing element changes, causing the magnetic field strength to vary within a linear range.

[0101] S4: The main control unit samples and analyzes the analog electrical signal to obtain the current lifting position of the speaker assembly.

[0102] In this embodiment, sampling analysis refers to the main control unit using a built-in analog-to-digital converter (ADC) to digitize the analog voltage from the position detection module, and mapping the digital value to a standardized height percentage using preset calibration parameters. The current lifting position is expressed as a relative proportion from 0% to 100%.

[0103] Specifically, the main control unit initiates an ADC conversion at a fixed period of approximately 10ms, reading the analog voltage value output by the position detection module. Assuming an ADC resolution of 12 bits (0–4095) and a reference voltage of 3.3V, 3.1V corresponds to approximately 3840. The system pre-stores two calibration parameters: 0% position corresponds to an ADC value of 250 (0.2V), and 100% position corresponds to an ADC value of 3840 (3.1V). Using the linear interpolation formula: Current height percentage = (Current ADC value − 250) / (3840 − 250) × 100%, the precise position of the speaker assembly can be calculated in real time. For example, when the ADC reading is 2000, the calculated height is approximately 48.7%.

[0104] S5: Adjust the drive signal output to the ambient light module according to the current lifting position, so that the brightness and / or color temperature of the ambient light module changes synchronously with the lifting position of the speaker assembly.

[0105] In this embodiment, adjusting the drive signal refers to the main control unit dynamically adjusting the pulse width modulation (PWM) signal parameters output to the ambient light module based on the current position, including duty cycle, frequency, and the proportional relationship between multiple channels. Synchronous change emphasizes that the rate of change of the light state is coordinated with the speed of the speaker movement.

[0106] For example, the main control unit has a pre-set set of light effect mapping rules: brightness is proportional to height, and color temperature gradually changes from warm to cool. For instance, when the height is 0%–30%, only warm white LEDs are lit, with a duty cycle of height × 100%; from 30%–70%, the warm white duty cycle linearly decreases from 100% to 0%, while the cool white duty cycle increases from 0% to 100%; from 70%–100%, only cool white LEDs are lit, with a duty cycle of height × 100%. Based on this, the main control unit generates two independent PWM signals (frequency 1.5kHz to avoid flickering perceptible to the human eye) and outputs them to the ambient light driver circuit. The driver circuit converts the PWM signals into a constant current to drive the LEDs to emit light. Thus, as the speaker rises from the bottom to the top, the light gradually changes from a dim yellow to a bright cool white, creating an immersive visual feedback that is highly synchronized with the mechanical movement.

[0107] In one embodiment, such as Figure 4 As shown, a control method for an ambient light with a floating speaker also includes:

[0108] S10: Acquire audio output signals from the in-vehicle infotainment system, voice interaction system, or advanced driver assistance system (ADAS), as well as current operating status information of the floating speaker module integrated into the car's roof or A-pillar area.

[0109] In this embodiment, the audio output signal refers to the raw digital or analog audio stream generated by the vehicle host, voice assistant, or ADAS prompt tone (such as lane departure warning), which includes sound content and timing characteristics; the current operating status information of the floating speaker module includes its mechanical status (such as lifting height), electrical status (such as whether it is powered on) and functional status (such as whether it is in the active channel), which is used to determine whether the current sound field is effectively established.

[0110] Specifically, the main control unit receives PCM format audio streams from the infotainment system via the vehicle's CAN or Ethernet interface; at the same time, it reads the real-time height of the floating speaker assembly it controls, the motor enable flag (high level indicates operation), and the power supply voltage through its internal ADC or status register.

[0111] S20: Obtain vehicle operating status information, and determine the current audio rhythm characteristics, volume intensity level, and cabin scene mode based on the audio output signal, the current operating status information of the floating speaker module, and the vehicle operating status information.

[0112] In this embodiment, vehicle operating status information specifically refers to four key parameters provided by the vehicle network: vehicle speed (unit: km / h), driving mode (such as economy, sport, and autonomous driving), ambient light intensity (unit: lux, collected by in-vehicle photosensitive sensors), and occupant position distribution, which can be detected by seat pressure sensors or millimeter-wave radar to detect whether there are people in the driver's seat, front passenger seat, and rear seats.

[0113] For example, the main control unit obtains the current vehicle speed from the CAN bus as 45 km / h, the driving mode as "city commuting," the ambient light intensity as 800 lux (daytime indoors), and the passenger positions as the driver and front passenger seats occupied, with the rear seats empty. Combined with the currently playing popular music (RMS sound pressure level 0.72), the system comprehensively judges that the current scenario is a low-speed, two-person, well-lit daily commuting scenario, and accordingly identifies the cabin scene mode as "leisure and entertainment mode." Simultaneously, through audio envelope analysis, the average rhythm period is extracted as 430ms (approximately 2.3Hz), defined as "medium-fast rhythm"; the volume intensity, due to the high RMS value and strong ambient light (reduced human eye sensitivity to brightness), is classified as "medium-high volume level."

[0114] Specifically, step S20 includes:

[0115] S201: Obtain the spectral distribution, instantaneous sound pressure level, and audio source type of the audio output signal; obtain the suspension height, power supply status, and sound field directivity parameters of the suspended speaker module.

[0116] In this embodiment, the spectral distribution refers to the energy distribution of the audio signal in the frequency domain, which can be obtained through short-time Fourier transform (STFT); the instantaneous sound pressure level is represented by RMS (root mean square) to indicate the current sound intensity; the audio source type identifies which module, such as the infotainment system, voice assistant, ADAS alarm, or telephone call, generated the audio. The sound field directivity parameter reflects the influence of the suspended speaker on the direction of sound wave radiation at the current height, and is usually determined by a pre-stored height-directivity mapping table.

[0117] Specifically, the main control unit performs a 128-point FFT analysis on the input PCM audio stream every 50ms to obtain the energy distribution within the 0–20kHz range, divided into 1 / 3 octave bands; simultaneously, it calculates the RMS value of the samples within this window as the instantaneous sound pressure level. By parsing the audio routing ID in the CAN bus, it identifies that the current audio originates from "Bluetooth music playback". At the same time, the system reads the status of the floating speaker component it controls: the floating height is 78% (feedback from the position detection module), the power supply status is "normal operation" (VBAT=12.1V), and according to the lookup table pre-stored in Flash, it finds that at a height of 78%, the main lobe tilt angle of the sound field is +15° (towards the occupant's ear), which is defined as the optimized directivity mode.

[0118] S202: Calculate the effective auditory rhythm period based on the influence of spectral distribution, instantaneous sound pressure value, and suspension height on the sound field propagation path, and use it as an audio rhythm feature.

[0119] In this embodiment, the effective auditory rhythm period is not the original audio beat, but a corrected rhythm value that takes into account the physical sound field attenuation and the weighting of human auditory perception. Since the suspension height affects the ratio of the direct path to the reflection path of the sound wave, thus changing the rhythm clarity, it is necessary to compensate for the rhythm energy in conjunction with the height.

[0120] Specifically, the energy envelope of the low-frequency band (60–250Hz) is first extracted from the spectral distribution, and the original rhythm period is identified as 420ms (approximately 2.38Hz) using a peak detection algorithm. However, considering the current suspension height of 78%, good sound field directivity, high proportion of direct sound, and relatively small rhythm attenuation, a height compensation factor k=0.95 is introduced (k∈[0.9, 1.0] when height>70%). The final effective auditory rhythm period is calculated as: T_effective = T_original × k = 420ms × 0.95 ≈ 400ms, i.e., the effective rhythm frequency is 2.5Hz.

[0121] S203: Determine the volume intensity level based on the instantaneous sound pressure level, the type of audio source, and the power supply status, combined with the compensation coefficient of ambient light intensity on the brightness perceived by the human eye.

[0122] In this embodiment, the volume intensity level is a quantitative classification of the intensity of auditory stimuli, such as low, medium, and high. However, when it is finally mapped to the light brightness, the influence of ambient light on the visual sensitivity of the human eye must be considered. Under strong light, the light brightness needs to be increased to achieve the same perceptual effect, which is called "brightness compensation".

[0123] For example, the current instantaneous sound pressure level RMS is 0.75, the audio source is "Bluetooth music," and the power supply is normal, initially indicating a "high volume" setting. Simultaneously, the in-vehicle light sensor detects an ambient light intensity of 1200 lux. Referring to the preset compensation table, the brightness compensation coefficient α = 1.3, meaning a 30% increase in brightness is needed to maintain visual perception consistency. The system combines the original volume level "high" with the compensation coefficient, ultimately determining the perceived volume intensity level for lighting control to be "enhanced high," corresponding to 85% of the base brightness benchmark. If it is an ADAS alarm sound, it will be forcibly increased to the "highest" level even if the RMS is low.

[0124] S204: Matches the corresponding cabin scene mode based on the driving mode, vehicle speed range, and audio source type. The cabin scene modes include focused driving mode, leisure and entertainment mode, welcome mode, and fatigue reminder mode.

[0125] In this embodiment, the cockpit scene mode is a high-level semantic classification based on vehicle state and user behavior context, used to invoke different audio-visual interaction strategies. The triggering conditions for the cockpit scene mode include:

[0126] Focused Driving Mode: Highway (>80km / h) + Driving Mode: Sport / Standard + Non-Entertainment Audio;

[0127] Leisure and entertainment mode: Low speed (<60km / h) + entertainment audio + multiple occupants;

[0128] Welcome mode: Vehicle speed = 0 + door unlock + power-on initialization;

[0129] Fatigue alert mode: ADAS detects frequent lane departures + continuous low-activity audio.

[0130] For example, the current information obtained is: driving mode is "Comfort", vehicle speed is 52 km / h (within the 30–60 km / h range), and audio source is "Bluetooth music". The system matches the rule base and determines that all conditions for "Leisure and Entertainment Mode" are met. Therefore, the color response strategy corresponding to this mode is activated: dynamic flashing is allowed, multi-color mixing is supported, occupant zone control is enabled, and some safety restrictions are lifted.

[0131] S30: Based on audio rhythm characteristics, volume intensity level, cabin scene mode, and preset color response strategy, generate an ambient light control parameter mapping table for adjusting the color, brightness, and dynamic flashing frequency of the ambient lights arranged around the floating speaker modules.

[0132] In this embodiment, the color response strategy is a set of rules stored in the main control unit's flash memory, categorized by cockpit scene mode, defining the mapping relationship between different audio features and lighting parameters. The ambient light control parameter mapping table is a set of time-series parameters temporarily constructed for the current audio segment, containing fields such as color (color temperature or RGB value), base brightness percentage, and flicker frequency (Hz) updated every 100ms.

[0133] Specifically, the steps for generating the ambient lighting control parameter mapping table include:

[0134] S301: Invoke the corresponding color response strategy based on the cockpit scene mode.

[0135] In this embodiment, each cockpit scene mode in the color response strategy corresponds to a set of independent lighting behavior specifications, including the allowed color range, maximum flicker frequency, brightness limit, and whether dynamic effects are enabled.

[0136] For example, if the current mode is identified as "Leisure and Entertainment Mode," the color response strategy stipulates that: full color gamut (2700K–6500K color temperature or RGB mixture) is allowed, the basic flicker frequency is capped at 3Hz, the brightness range is 50%–100%, multi-zone independent control is supported, and the "rhythm follow" function is enabled. If the current mode is "Focus Driving Mode," the strategy will restrict it to static cool white light only, no flicker, and brightness ≤60%, reflecting the principle of safety first.

[0137] S302: Based on the spectral distribution of the audio output signal, determine the frequency band interval to which the main energy frequency band belongs. The frequency band interval includes the low frequency interval, the mid frequency interval, and the high frequency interval.

[0138] In this embodiment, the spectral distribution is obtained by Short-Time Fourier Transform (STFT) and divided into three standard frequency bands according to the characteristics of human hearing: the low-frequency band (20–250 Hz) corresponds to rhythmic elements such as drums and bass; the mid-frequency band (250–2000 Hz) covers vocals and the main melody; and the high-frequency band (2000–20000 Hz) contains details such as cymbals and string overtones. The dominant energy frequency band is determined by comparing the total energy proportion of each frequency band.

[0139] Specifically, the system performs FFT analysis on the current 100ms audio frame and calculates that: low frequency energy accounts for 45%, mid frequency for 35%, and high frequency for 20%. Since the low frequency energy is the highest and exceeds the threshold (>40%), the main energy frequency band is determined to belong to the "low frequency range".

[0140] S303: Matches the initial ambient light color scheme based on frequency band range, with warm colors corresponding to the low-frequency range, neutral colors corresponding to the mid-frequency range, and cool colors corresponding to the high-frequency range.

[0141] In this embodiment, the dominant color tone refers to the dominant luminous color of the ambient light in the current audio segment, represented by color temperature (unit: K) or RGB hexadecimal value. Matching is achieved through a preset mapping table.

[0142] For example, since S302 determines that the main energy is in the low-frequency range, the system looks up the table and finds that the initial main color is warm orange (color temperature 3000K, RGB=#FFA500); if it is in the mid-frequency range, then it matches neutral white (4500K, #FFFFFF); if it is in the high-frequency range, then it matches ice blue (6500K, #00BFFF).

[0143] S304: Determine the basic flashing frequency of the ambient light based on the effective auditory rhythm cycle, and determine the basic brightness value of the ambient light based on the volume intensity level.

[0144] In this embodiment, the base flashing frequency is not directly equal to the audio rhythm frequency, but is a scaled-down light pulsation rate to avoid discomfort caused by excessively fast flashing; the base brightness value is the reference intensity of the light output, which is obtained by linear or non-linear mapping of the volume intensity level, and can be superimposed with ambient light compensation.

[0145] For example, S202 has calculated the effective auditory rhythm period to be 400ms (i.e., 2.5Hz). Based on the scaling factor of 0.8 in the "Leisure and Entertainment Mode" strategy, the base flashing frequency is determined to be: F_lamp = 2.5Hz × 0.8 = 2.0Hz. Simultaneously, S203 determines the perceived volume intensity level to be "Enhanced High," corresponding to a base brightness value of 85%. Therefore, the ambient light will pulsate at a frequency of 2.0Hz around 85% brightness, creating a breathing light effect synchronized with the music rhythm.

[0146] S305: Based on the distribution of occupant positions, apply display parameters adapted to the cabin scene mode to the ambient lighting in the driver's seat, passenger seat and rear seat areas, and generate an ambient lighting control parameter mapping table.

[0147] In this embodiment, the occupant location distribution is provided by seat pressure sensors or millimeter-wave radar, indicating whether there are passengers in the driver's seat, front passenger seat, and rear seats. Separate applications mean that different areas can be independently set in terms of color, brightness, and flashing status.

[0148] Specifically, the current occupant distribution detection result shows that the driver and front passenger seats are occupied, while the rear seats are empty. Based on the "Leisure and Entertainment Mode" strategy, the system applies full audio-visual synchronization (warm orange, 85% brightness, 2.0Hz flashing) to the driver's area; the front passenger area, being unoccupied, is allowed the same effect; while the rear seats, being empty, have all ambient lighting channels forcibly turned off. Finally, the system organizes the above parameters into a structured mapping table based on time slices (e.g., every 100ms), containing the following fields:

[0149] Timestamp;

[0150] Driver's seat: Color temperature = 3000K, brightness = 85%, frequency = 2.0Hz;

[0151] Passenger seat: Color temperature = 3000K, brightness = 85%, frequency = 2.0Hz;

[0152] Rear row: Color temperature = 0K (off), brightness = 0%, frequency = 0Hz;

[0153] This is the final generated ambient light control parameter mapping table.

[0154] For example, in the leisure and entertainment mode, the system invokes the corresponding strategy: medium-fast tempo, flashing frequency = tempo frequency × 0.9; medium-high volume, base brightness 80%; color is automatically selected based on the spectral centroid. Assuming spectral analysis shows that mid-to-high frequency energy is dominant, the main color is set to cool white (6500K). The system generates a dynamic mapping table accordingly, for example: 0–100ms: color temperature 6500K, brightness 80%, flashing frequency 2.1Hz; 100–200ms: color temperature 6200K, brightness 85%, flashing frequency 2.0Hz, ...

[0155] The ambient lighting control parameter mapping table serves as the basis for subsequent lighting driving.

[0156] S40: Obtain the ambient light dynamic response reference range, which represents the threshold of ambient light response sensitivity, and apply safety constraints to the ambient light dynamic response reference range based on vehicle operating status information to obtain the restricted dynamic response range.

[0157] In this embodiment, the "dynamic response reference range of ambient lighting" refers to the limits of light variation allowed under conditions without safety restrictions, such as a flicker frequency of 0.5–10Hz and a brightness of 10%–100%. The "safety constraints" are limiting rules dynamically generated based on four vehicle operating status information, designed to prevent strong dynamic light effects from interfering with driving or causing passenger discomfort.

[0158] Specifically, the system's default dynamic response reference range is: flicker frequency 0.5–8Hz, brightness 20%–100%. However, based on the current vehicle operating status—vehicle speed 45km / h (below the highway threshold), driving mode commuting, ambient light 800 lux (not nighttime), and occupant distribution of two front-seat passengers—the system determines that strict restrictions are unnecessary, and only enables mild constraints: the maximum flicker frequency is limited to 3Hz (to avoid discomfort caused by high-frequency flicker), and the minimum brightness is maintained at 20% to ensure visibility. If a certain period in the current mapping table requires 5Hz flicker, it will be cropped to 3Hz. The final output "restricted dynamic response range" is: frequency 0.5–3Hz, brightness 20%–100%.

[0159] S50: Generate an intelligent control model for ambient lighting based on the limited dynamic response range and the ambient lighting control parameter mapping table.

[0160] In this embodiment, the ambient light intelligent control model refers to a lightweight real-time processing module whose function is to safely prune, smooth, filter, and allocate channels for the ideal parameters in the mapping table, and output the final control command that conforms to the limited range.

[0161] Specifically, the main control unit iterates through the mapping table generated by S30 and performs the following operations on the parameters of each time slice: if the flicker frequency is >3Hz, it is forced to be set to 3Hz; if the brightness is <20%, it is increased to 20%; at the same time, the brightness change rate between adjacent frames is limited to no more than 15% / 100ms to prevent visual jumps. The processed parameter sequence constitutes the output of the ambient light intelligent control model, ready to be used to drive the LED.

[0162] S60: Inputs the real-time processed audio feature data into the ambient light intelligent control model to dynamically adjust the display status of the ambient light.

[0163] In this embodiment, the real-time processed audio feature data refers to the lightweight descriptor after short-time framing, noise reduction, and feature extraction, including rhythm period, RMS sound pressure level, and main frequency band energy percentage, with an update cycle of 50–200ms. Dynamic adjustment emphasizes that the lighting state evolves continuously and smoothly with the audio content, while always remaining within safe constraints.

[0164] Specifically, during music playback, the system extracts features from new audio frames every 100ms and inputs them into the generated intelligent control model. For example, when the drum beat intensifies, causing the RMS value to suddenly increase to 0.85, the model immediately increases the brightness to 88%; when the tempo speeds up to 3.0Hz, the model limits it to the 3.0Hz upper limit and triggers a pulse flash; simultaneously, since the occupants are only in the front seats, the system only activates the ambient lighting in the driver and passenger areas, while the rear lights remain off. The entire process is completed under multiple state constraints such as vehicle speed, lighting, and occupant distribution, achieving a safe, personalized, and immersive intelligent sound and light linkage experience.

[0165] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0166] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0167] S1: Receive external control commands transmitted through the LIN communication interface;

[0168] S2: Generates motor control signals according to external control commands and outputs them to the motor drive circuit to drive the drive motor to rotate forward or reverse, thereby driving the horn assembly to rise and fall within the housing;

[0169] S3: The position detection module senses the continuous position information of the horn assembly during the lifting stroke and converts the continuous position information into an analog electrical signal;

[0170] S4: The main control unit samples and analyzes the analog electrical signal to obtain the current lifting position of the speaker assembly;

[0171] S5: Adjust the drive signal output to the ambient light module according to the current lifting position, so that the brightness and / or color temperature of the ambient light module changes synchronously with the lifting position of the speaker assembly.

[0172] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, storage, databases, or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0173] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0174] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A control device for an ambient light with a suspended horn, characterized in that, include: The housing, a speaker assembly that can be raised and lowered within the housing, a motor for driving the speaker assembly to rise and fall, and an ambient light module disposed on the housing, characterized in that: The illumination state of the ambient light module is controlled by the real-time lifting and lowering position of the speaker assembly; The control device also includes a main control unit, a LIN communication interface, a motor drive circuit, and a position detection module; The main control unit receives external control commands through the LIN communication interface and generates motor control signals according to the control commands, which are then output to the motor drive circuit to drive the motor to rotate in both directions. The position detection module senses the continuous position information of the horn assembly during its lifting stroke and converts the continuous position information into an analog electrical signal; The main control unit dynamically adjusts the drive signal output to the ambient light module according to the analog electrical signal, so that the brightness and / or color temperature of the ambient light module changes synchronously with the rising and falling position of the speaker assembly.

2. The control device for an ambient light with a suspended horn according to claim 1, characterized in that, It also includes a power input module, which includes an external power supply terminal, a LIN communication terminal, a first switching transistor, and a second switching transistor. The external power supply terminal and the LIN communication terminal are respectively connected to the system main power node; The source of the first switching transistor is connected to the external power supply terminal, and the drain is connected to the system main power node; the source of the second switching transistor is connected to the LIN communication terminal, and the drain is connected to the system main power node. When the external power supply voltage is valid, the first switch is turned on and the second switch is turned off, and the device is powered by the external power supply. When the external power supply fails, the first switch is turned off and the second switch is turned on, and the device is powered by the LIN_IN line.

3. The control device for an ambient light with a suspended horn according to claim 1, characterized in that, The motor drive circuit uses an H-bridge driver chip, with the enable terminal and two direction input terminals connected to the GPIO1, GPIO2 and GPIO3 pins of the main control unit, respectively. The two output terminals of the H-bridge driver chip are respectively connected to the two poles of the DC motor. GPIO1, GPIO2, and GPIO3 control the operating state of the H-bridge driver chip through three-wire combinational logic. When GPIO1 is low, the motor stops. When GPIO1 is high, GPIO3 is high, and GPIO2 is low, the motor rotates forward to raise the horn; When GPIO1 is high, GPIO3 is low, and GPIO2 is high, the motor reverses to lower the speaker; When GPIO1 is high and GPIO2 and GPIO3 are both high or both low, the motor enters dynamic braking state.

4. The control device for an ambient light with a suspended horn according to claim 1, characterized in that, The ambient lighting module includes a constant current LED driver chip, and three input control terminals respectively receive independent pulse width modulation signals output from the main control unit; Each LED output channel is equipped with a soft-start capacitor; The main control unit dynamically adjusts the duty cycle of each PWM signal according to the real-time lifting position of the speaker assembly, so that at least two LED light sources with different color temperatures can mix and emit light in a preset ratio, thereby achieving a continuous gradual change in color temperature from warm to cool tones.

5. The control device for an ambient light with a suspended horn according to claim 1, characterized in that, The position detection module includes a linear Hall sensor fixed to the housing and a permanent magnet fixed to the speaker assembly; The permanent magnet moves relative to the linear Hall sensor as the horn assembly rises and falls, causing the linear Hall sensor to output a voltage signal that is monotonic with the current position of the horn assembly; The main control unit is equipped with an analog-to-digital conversion interface for acquiring the voltage signal and calculating the relative height percentage of the speaker assembly.

6. A control method for an ambient light with a suspended horn, characterized in that, The method includes: Receive external control commands transmitted via the LIN communication interface; The external control command generates a motor control signal and outputs it to the motor drive circuit to drive the motor to rotate forward or reverse, thereby causing the horn assembly to move up and down within the housing. The position detection module senses the continuous position information of the horn assembly during its lifting stroke and converts the continuous position information into an analog electrical signal. The main control unit samples and analyzes the analog electrical signal to obtain the current lifting position of the speaker assembly; Based on the current lifting position, adjust the drive signal output to the ambient light module so that the brightness and / or color temperature of the ambient light module changes synchronously with the lifting position of the speaker assembly.

7. The control method for an ambient light with a suspended horn according to claim 6, characterized in that, The method further includes: Acquire audio output signals from in-vehicle infotainment systems, voice interaction systems, or advanced driver assistance systems (ADAS), as well as current operating status information of floating speaker modules integrated into the car's roof or A-pillar area; Obtain vehicle operating status information, and determine the current audio rhythm characteristics, volume intensity level, and cabin scene mode based on the audio output signal, the current operating status information of the floating speaker module, and the vehicle operating status information; Based on the audio rhythm characteristics, the volume intensity level, the cockpit scene mode, and the preset color response strategy, an ambient light control parameter mapping table is generated to adjust the color, brightness, and dynamic flashing frequency of the ambient lights arranged around the floating speaker module. Obtain the ambient light dynamic response reference range, which represents the threshold of ambient light response sensitivity, and apply safety constraints to the ambient light dynamic response reference range based on the vehicle operating status information to obtain the restricted dynamic response range; Based on the limited dynamic response range and the ambient light control parameter mapping table, an intelligent control model for ambient lights is generated. The real-time processed audio feature data is input into the ambient light intelligent control model to dynamically adjust the display status of the ambient light.

8. The control method for an ambient light with a suspended horn according to claim 7, characterized in that, The step of determining the current audio rhythm characteristics, volume intensity level, and cabin scene mode based on the audio output signal, the current operating status information of the floating speaker module, and the vehicle operating status information specifically includes: The spectral distribution, instantaneous sound pressure level, and audio source type of the audio output signal are obtained, as are the suspension height, power supply status, and sound field directivity parameters of the suspended speaker module. Based on the spectral distribution, instantaneous sound pressure value, and the influence of the suspension height on the sound field propagation path, the effective auditory rhythm period is calculated as the audio rhythm feature; The volume intensity level is determined based on the instantaneous sound pressure level, the type of audio source, and the power supply status, combined with the compensation coefficient of ambient light intensity on the brightness perceived by the human eye. Based on the driving mode, vehicle speed range, and audio source type, a corresponding cabin scene mode is matched. The cabin scene modes include focused driving mode, leisure and entertainment mode, welcome mode, and fatigue reminder mode.

9. A control method for an ambient light with a suspended horn according to claim 8, characterized in that, The steps for generating the ambient lighting control parameter mapping table include: The corresponding color response strategy is invoked based on the cockpit scene mode; Based on the spectral distribution of the audio output signal, the frequency band interval to which the main energy frequency band belongs is determined, and the frequency band interval includes the low frequency interval, the mid frequency interval, and the high frequency interval; The initial ambient light color scheme is matched according to the frequency band range, where the low frequency range corresponds to warm colors, the mid frequency range corresponds to neutral colors, and the high frequency range corresponds to cool colors. The basic flashing frequency of the ambient light is determined based on the effective auditory rhythm cycle, and the basic brightness value of the ambient light is determined based on the volume intensity level. Based on the occupant position distribution, display parameters adapted to the cabin scene mode are applied to the ambient lighting in the driver's seat, passenger seat and rear seat areas respectively, generating the ambient lighting control parameter mapping table.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the control method for an ambient light with a floating horn as described in any one of claims 6 to 9.

Citation Information

Patent Citations

  • Vehicle and vehicle control method

    CN116620172A

  • Loudspeaker, control method and device, medium and vehicle

    CN119071701A