Smart headrest
Patent Information
- Application Number
- CN202521356008.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-27
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2035-06-27
AI Technical Summary
但是,这些智能头枕产品在实际应用过程中通常只能在特定场景下运行固定的功能模块为用户提供相应功能服务,即使可以同时利用多个功能模块可以为用户提供叠加的功能服务,但同时运行的多个功能模块各自也是相互独立产生作用的
[0030] In some embodiments, the nursing function module further includes a hot compress function module; the hot compress function module is used to provide a headrest hot compress service in conjunction with music in response to the pulse width modulation signal output by the microcontroller.
Smart Images

Figure CN224698953U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home product technology, and in particular to a smart headrest. Background Technology
[0002] With the rapid development of smart home and health care technologies, smart headrest products have been accepted and used by more and more families.
[0003] In related technologies, some smart headrest products integrate multiple functions such as physical massage, music playback, and even heat therapy. However, in practical applications, these smart headrest products typically only operate fixed functional modules in specific scenarios to provide corresponding services to users. Even if multiple functional modules can be used simultaneously to provide overlapping services, each module operates independently. In other words, these smart headrest products are merely simple stacking of functional modules, with each module still responding to user needs from a single perspective. This makes it difficult to meet users' diverse health care needs when using smart headrests. Utility Model Content
[0004] The main objective of this application is to propose a smart headrest that aims to provide multi-dimensional collaborative intervention for users' health care using smart headrest products, thereby meeting users' diversified health care needs when using smart headrests.
[0005] To achieve the above objectives, a first aspect of this application provides an intelligent headrest, which includes: a microcontroller, a music module, and a nursing function module, wherein the music module and the nursing function module are respectively connected to the microcontroller; the microcontroller is used to control the music module to play music and to control the nursing function module to provide headrest nursing services.
[0006] The smart headrest also includes:
[0007] The acquisition module is connected to both the music module and the microcontroller, and is used to acquire music signals when the music module plays music, and upload the acquired music signals to the microcontroller.
[0008] The microcontroller is also used to control the operation of the nursing function module in response to the music signal, so that the nursing function module can provide headrest nursing function service in conjunction with the music.
[0009] In some embodiments, the microcontroller includes:
[0010] An analog-to-digital converter, used to convert the music signal into a digital signal;
[0011] An audio calculator, connected to the analog-to-digital converter, is used to receive the digital signal and calculate the audio components;
[0012] A pulse width modulation signal generator, which is connected to the audio calculator, is used to receive the audio components and generate a pulse width modulation signal;
[0013] The microcontroller is used to output the pulse width modulation signal to control the operation of the nursing function module, so that the nursing function module can provide headrest nursing function service in conjunction with music.
[0014] In some embodiments, the microcontroller further includes:
[0015] An audio signal amplifier, which is connected to both the acquisition module and the analog-to-digital converter, is used to amplify the music signal.
[0016] The analog-to-digital converter is also used to convert the amplified music signal output by the audio signal amplifier into a digital signal.
[0017] In some embodiments, the microcontroller further includes:
[0018] A filter, which is connected to the audio signal amplifier and the analog-to-digital converter respectively, is used to perform anti-aliasing filtering on the amplified music signal;
[0019] The analog-to-digital converter is also used to convert the anti-aliasing filtered music signal output by the filter into a digital signal.
[0020] In some embodiments, the microcontroller further includes:
[0021] A power amplifier is connected to both the pulse width modulation signal generator and the nursing function module, and is used to amplify the power of the pulse width modulation signal.
[0022] The microcontroller is used to control the operation of the nursing function module by outputting a pulse width modulation signal after power amplification through the power amplifier, so that the nursing function module can provide headrest nursing function service in conjunction with music.
[0023] In some embodiments, the microcontroller further includes:
[0024] A communication module, which is connected to the microcontroller, is used to establish a communication connection with the smart terminal and upload the audio signal sent by the smart terminal to the microcontroller;
[0025] The microcontroller is also used to control the music module to play music in response to the audio signal.
[0026] In some embodiments, the communication module is further configured to upload the nursing function control signal sent by the smart terminal to the microcontroller;
[0027] The microcontroller is also used to control the operation of the nursing function module in response to the nursing function control signal to perform headrest nursing function service.
[0028] In some embodiments, the nursing function module includes an electrotherapy function module; the electrotherapy function module is used to provide a head pillow electrotherapy service in conjunction with music in response to the pulse width modulation signal output by the microcontroller.
[0029] In some embodiments, the nursing function module further includes a massage function module; the massage function module is used to provide a headrest massage service in conjunction with music in response to the pulse width modulation signal output by the microcontroller.
[0030] In some embodiments, the nursing function module further includes a hot compress function module; the hot compress function module is used to provide a headrest hot compress service in conjunction with music in response to the pulse width modulation signal output by the microcontroller.
[0031] The smart headrest proposed in this application includes a microcontroller, a music module, and a nursing function module. The music module and the nursing function module are respectively connected to the microcontroller. The microcontroller is used to control the music module to play music and to control the nursing function module to perform headrest nursing function services. The smart headrest also includes a data acquisition module, which is connected to both the music module and the microcontroller. The data acquisition module is used to acquire music signals when the music module plays music and to upload the acquired music signals to the microcontroller. The microcontroller is also used to control the operation of the nursing function module in response to the music signals, so that the nursing function module performs headrest nursing function services in conjunction with the music.
[0032] Therefore, compared to related technologies where only stacked functional modules can operate independently, the smart headrest provided in this application embodiment can control the music model to play music while simultaneously transmitting the collected music signal from the acquisition module to the microcontroller. The microcontroller then responds to the music signal to control the nursing function module to provide headrest care services in conjunction with the music. In other words, the smart headrest provided in this application embodiment can convert the music signal collected by the acquisition module into a synchronous current to control the synchronous operation of the nursing function module. Thus, when the user uses the smart headrest for health care, the headrest care services provided by the nursing function module dynamically change in conjunction with the music, achieving the goal of superimposing psychological adjustment on top of physical stimulation. This enables two-way, multi-dimensional, synergistic intervention of the user's physiological and psychological needs, meeting the diversified health care needs of users using the smart headrest. Attached Figure Description
[0033] Figure 1 This is a schematic diagram of the structure of the smart headrest provided in some embodiments of this application;
[0034] Figure 2 A schematic diagram of the acquisition module and power amplifier circuit involved in some embodiments of the smart headrest provided in this application;
[0035] Figure 3 A partial circuit diagram of the electrotherapy function module involved in some embodiments of the smart headrest provided in this application;
[0036] Figure 4 The diagram shows the algorithm module structure of the microprocessor involved in some embodiments of the smart headrest provided in this application. Detailed Implementation
[0037] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0038] It should be noted that although functional modules are divided in the device schematic diagram and a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first," "second," etc., in the specification, claims, and the aforementioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0039] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0040] First, the overall concept of the embodiments of this application will be explained.
[0041] With the rapid development of smart home and health care technologies, smart headrest products have been accepted and used by more and more families.
[0042] In related technologies, some massage headrests only support physical vibration and cannot achieve precise acupoint stimulation. Furthermore, some smart headrests that integrate music playback and massage functions have these functions separate, lacking intelligent coordination. This is because while some smart headrest products integrate multiple functions such as physical massage, music playback, and even heat therapy, in practical applications, these products typically only operate fixed functional modules in specific scenarios to provide corresponding services to users. For example, when the user triggers the music playback function, the music module starts playing music; when the user triggers the massage function, the vibration module starts providing a physical massage. Even if the various functional modules of a smart headrest product can be activated simultaneously to provide overlapping services, each operating module operates independently. For instance, when a smart headrest product responds to user input by simultaneously activating the music module to play music and the vibration module to provide a physical massage, the music module and the vibration module operate independently, with no connection between them. The only connection they might have is that they use the same power supply circuit.
[0043] In addition, some smart headrest products in related technologies can achieve electrotherapy functions, but the electrotherapy parameters they rely on are fixed and cannot be dynamically adjusted according to the user's physiological state.
[0044] In summary, some smart headrest products in the relevant technologies are simply stacked together with various functional modules. Each functional module is still activated and operated only in response to user needs from a single dimension, which makes it difficult to meet users' diverse health care needs when using smart headrests.
[0045] To address this, this application proposes an intelligent headrest, including a microcontroller, a music module, and a nursing function module. The music module and the nursing function module are respectively connected to the microcontroller. The microcontroller controls the music module to play music and controls the nursing function module to provide headrest nursing services. The intelligent headrest also includes a data acquisition module, which is connected to both the music module and the microcontroller. This module acquires music signals when the music module plays music and uploads the acquired music signals to the microcontroller. The microcontroller also controls the nursing function module to operate in response to the music signals, enabling the nursing function module to provide headrest nursing services in conjunction with the music.
[0046] Therefore, compared to related technologies where only stacked functional modules can operate independently, the smart headrest provided in this application embodiment can control the music model to play music while simultaneously transmitting the collected music signal from the acquisition module to the microcontroller. The microcontroller then responds to the music signal to control the nursing function module to provide headrest care services in conjunction with the music. In other words, the smart headrest provided in this application embodiment can convert the music signal collected by the acquisition module into a synchronous current to control the synchronous operation of the nursing function module. Thus, when the user uses the smart headrest for health care, the headrest care services provided by the nursing function module dynamically change in conjunction with the music, achieving the goal of superimposing psychological adjustment on top of physical stimulation. This enables two-way, multi-dimensional, synergistic intervention of the user's physiological and psychological needs, meeting the diversified health care needs of users using the smart headrest.
[0047] Next, based on the overall concept of the embodiments of this application described above, various specific embodiments of the smart headrest proposed in the embodiments of this application are presented.
[0048] It should be noted that in the following description of the specific embodiments of the smart headrest and system proposed in this application, it should be understood that the orientation descriptions, such as up and down, are based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0049] Furthermore, in the following description, "multiple" refers to two or more. The use of "first" and "second" is merely for distinguishing technical features and should not be construed as indicating or implying relative importance, the number of technical features indicated, or their sequential order. Moreover, in the following description, unless otherwise explicitly defined, terms such as "setup," "installation," and "connection" should be interpreted broadly, and those skilled in the art can reasonably determine their specific meaning in this application based on the specific content of the technical solution.
[0050] Please refer to Figure 1 , Figure 1 The diagram shows the structure of the smart headrest provided in some embodiments of this application.
[0051] In some embodiments, such as Figure 1 As shown in the embodiment of this application, the smart headrest includes: a microcontroller unit (MCU), a music module, and a nursing function module, wherein the music module and the nursing function module are respectively connected to the microcontroller; the microcontroller is used to control the music module to play music and to control the nursing function module to perform headrest nursing function services.
[0052] The smart headrest also includes:
[0053] The acquisition module is connected to both the music module and the microcontroller, and is used to acquire music signals when the music module plays music, and upload the acquired music signals to the microcontroller.
[0054] The microcontroller is also used to control the operation of the nursing function module in response to the music signal, so that the nursing function module can provide headrest nursing function service in conjunction with the music.
[0055] It should be noted that the music module can be a combination of a power amplifier and a speaker. The speaker can be the built-in speaker of the smart headrest, with a frequency response range of 20Hz-20kHz. The audio signal played by the music module can come from local sources or from other smart terminals (such as mobile phones, tablets, etc.).
[0056] The nursing function module can be one or more functional modules integrated into the smart headrest to provide corresponding health care for the user. For example, the nursing function module may include an electrotherapy instrument, a mechanical / non-mechanical massage module, and a heating module integrated into the smart headrest. Among these, the mechanical massage module may include a kneading module, a percussion module, a massage module, and acupressure module, while the non-mechanical massage module may include a vibration massage module and a pneumatic massage module. In addition, the heating module may include a carbon fiber heating module, a positive temperature coefficient PTC ceramic heating module, and a resistance wire heating module.
[0057] In addition, the acquisition module may include a microphone (MIC).
[0058] In this embodiment, the microcontroller, music module, nursing function module, and data acquisition module of the smart headrest can be mounted on the mainboard unit of the smart headrest. The smart headrest can control the music module to play music via the microcontroller, and it can also control the nursing function module to provide headrest care services (such as massage, electrotherapy, and / or heat therapy). More importantly, while the music module is playing music, the smart headrest can simultaneously acquire the music signal played by the music module via the data acquisition module, upload the acquired music signal to the microcontroller, and then control the nursing function module to operate in response to the music signal, enabling the nursing function module to provide headrest care services in conjunction with the music.
[0059] It should be noted that when the acquisition module collects sound (sound waves → analog electrical signals) from the music signal played by the music module, the acquisition module (e.g., a microphone) converts the sound waves (pressure changes) in the air into weak analog electrical signals (voltage changes). This analog electrical signal is the original analog audio signal, i.e., the music signal acquired and uploaded to the microprocessor by the acquisition module. This music signal is a continuous, time-domain waveform, typically with a frequency range of 20Hz-20kHz (the range audible to the human ear), and its amplitude is proportional to the intensity (loudness) of the sound. Figure 2 As shown, the smart headrest can use a microphone (MIC) to collect external sound or music based on the acquisition module and power amplifier circuit. Then, the music signal collected by the microphone is further processed by the microprocessor to control the nursing function module to provide headrest nursing services in conjunction with the music.
[0060] Compared to related technologies where only stacked functional modules can operate independently, the smart headrest provided in this application embodiment can control a music model to play music while simultaneously transmitting music signals collected by a data acquisition module to the microcontroller. The microcontroller then responds to these music signals to control the nursing function module to provide music-integrated headrest care services. In other words, the smart headrest provided in this application embodiment can convert music signals collected by the data acquisition module into a synchronous current to control the synchronous operation of the nursing function module. Thus, when a user uses the smart headrest for health care, the headrest care services provided by the nursing function module dynamically change in sync with the music, achieving the goal of superimposing psychological adjustment on top of physical stimulation. This provides a two-way, multi-dimensional, synergistic intervention for both physiological and psychological needs, meeting the diverse health care requirements of users using the smart headrest.
[0061] In some embodiments, the smart headrest may further include: a communication module connected to the microcontroller, configured to establish a communication connection with a smart terminal and upload audio signals sent by the smart terminal to the microcontroller; the microcontroller is further configured to control the music module to play music in response to the audio signals.
[0062] It should be noted that the communication module can be a wireless communication module such as Bluetooth or Wi-Fi. However, depending on the design requirements of different applications, in some feasible implementations, the communication module can also be designed as a wired communication module. Furthermore, the smart terminal can be a mobile phone, tablet computer, personal computer (PC), wearable smartwatch, or other mobile or non-mobile smart terminal device.
[0063] During operation, the smart headrest establishes a communication connection with a smart terminal via its communication module. Then, based on this connection, it receives audio signals (such as Bluetooth audio signals) sent by the smart terminal and uploads these signals to the microcontroller. The microcontroller can then control the music module to output these audio signals for music playback.
[0064] Subsequently, when the user further uses the smart headrest for health care, the smart headrest can collect music signals of different frequencies generated by the speaker of the music module through the acquisition module, and the microcontroller processes the music signal to output a pulse width modulation signal with the corresponding frequency and duty cycle to the care function module in response to the music signal. Thus, the care function module responds to the pulse width modulation signal to provide headrest care services in conjunction with the music.
[0065] In some embodiments, after the smart headrest establishes a communication connection with a smart terminal through a communication module, and the communication module transmits the audio signal sent by the smart terminal to the microcontroller, the microcontroller can also directly process the audio signal to generate a pulse width modulation signal with a corresponding frequency and duty cycle while controlling the music module to play the audio signal. The pulse width modulation signal is then sent to the nursing function module, which responds to the pulse width modulation signal to provide headrest nursing function services in conjunction with the music.
[0066] In some embodiments, the communication module is further configured to upload the nursing function control signal sent by the smart terminal to the microcontroller; the microcontroller is further configured to control the operation of the nursing function module in response to the nursing function control signal to perform headrest nursing function service.
[0067] After the smart headrest establishes a communication connection with the smart terminal through the communication module, the communication module can also receive nursing function control signals sent by the smart terminal based on the communication connection. In this case, the communication module uploads the nursing function control signal to the microcontroller. Then, the microcontroller directly responds to the nursing function control signal to generate a pulse width modulation signal with a corresponding frequency and duty cycle, and sends the pulse width modulation signal to the nursing function module. The nursing function module responds to the pulse width modulation signal to provide headrest nursing function services that are linked with music.
[0068] In this embodiment, the smart headrest can connect to a smart terminal via a communication module. Different control flows can then be used to control the operation of the nursing function module. For example, the acquisition module can collect music signals and respond to these signals to control the nursing function module to provide music-integrated headrest care services. Alternatively, audio signals sent from the smart terminal can directly control the nursing function module to provide music-integrated headrest care services. Furthermore, nursing function control signals sent from the smart terminal can directly control the nursing function module to provide music-integrated headrest care services. This enhances the flexibility of users' health care using the smart headrest, further satisfying their diverse health care needs.
[0069] In some embodiments, the nursing function module in the smart headrest may include: an electrotherapy function module; the electrotherapy function module is used to provide headrest electrotherapy services in conjunction with music in response to the pulse width modulation signal output by the microcontroller.
[0070] It should be noted that the electrotherapy function module can be the aforementioned electrotherapy device that can be integrated into the smart headrest. For example... Figure 3 As shown, the electrotherapy function module can control the electrotherapy output through 3-channel pulse width modulation (PWM) signals.
[0071] During operation, the smart headrest can generate a square wave digital signal (i.e., pulse width modulation PWM signal) with corresponding frequency and duty cycle in response to music signals through a microcontroller, and output the signal to the electrotherapy function module.
[0072] After receiving the pulse width modulation (PWM) signal from the microcontroller, the electrotherapy module immediately responds to the signal to provide a music-integrated head pillow electrotherapy service. For example, the module can output PWM pulses through wires to electrode pads attached to the user's skin. In this way, the pulsed current can pass through the user's skin and tissues, stimulating sensory nerves (producing tingling sensations, blocking pain), motor nerves (causing muscle contraction), or affecting local blood circulation / tissue repair.
[0073] In this embodiment, the smart headrest, in response to music signals, outputs pulse width modulation (PWM) signals to the electrotherapy module via a microcontroller. The electrotherapy module then responds to these PWM signals to provide music-integrated electrotherapy services. This allows for very precise control of the average current intensity applied to the body (i.e., the intensity felt by the user) by adjusting the duty cycle. Furthermore, the microcontroller enables flexible control of complex pulse patterns (including variations in frequency and duty cycle sequences) based on easy digital control. In addition, applying pulsed current to the user's body through the electrotherapy module reduces the risk of tissue polarization damage and burns. This is because pulsed current is inherently safer than direct current, and both the peak and average current output by the electrotherapy module to the user's body can be controlled by the microcontroller. Furthermore, traditional electrotherapy is difficult for the human body to adapt to due to its fixed frequency. However, smart headrests can dynamically adjust the electrotherapy based on changes in music, avoiding the problem of users' tolerance to fixed-frequency electrotherapy. That is, the smart headrest uses a microcontroller to respond to music signals to control the electrotherapy function module to provide headrest electrotherapy services linked to music. Based on the fact that the frequency, amplitude and waveform of the electrotherapy signal change continuously with the music signal, the electrical stimulation acting on the user's body is more dynamic and reduces the influence of adaptation.
[0074] In some embodiments, the care function module in the smart headrest may further include: a massage function module; the massage function module is used to provide a headrest massage service in conjunction with music in response to the pulse width modulation signal output by the microcontroller.
[0075] It should be noted that the massage function module can be any of the aforementioned mechanical / non-mechanical massage modules that can be integrated into a smart headrest. The massage function module can be combined with the electrotherapy function module to provide acupressure pulse massage to the user's acupoints.
[0076] During operation, the smart headrest can generate a square wave digital signal (i.e., pulse width modulation (PWM) signal) with a corresponding frequency and duty cycle in response to music signals via a microcontroller. This signal can be output separately to the massage function module, or simultaneously to both the electrotherapy and massage function modules. Upon receiving the PWM signal from the microcontroller, the massage function module immediately responds to provide a music-integrated headrest massage service.
[0077] In this embodiment, when the smart headrest plays music, the acquisition module collects music signals of different frequencies generated by the speaker of the music module, and then uploads the collected music signals to the microcontroller. The microcontroller responds to the music signals and outputs pulse width modulation signals to the massage function module and / or the electrotherapy function module, thereby achieving the effect of dynamic massage and / or electrotherapy.
[0078] In some embodiments, the care function module in the smart headrest may further include: a heat therapy function module; the heat therapy function module is used to provide a headrest heat therapy service in conjunction with music in response to the pulse width modulation signal output by the microcontroller.
[0079] It should be noted that the heating module can be the heating module that can be integrated into the smart headrest, as mentioned above. The heating module can be combined with the massage module and the electrotherapy module to achieve electrical pulse massage and heating of the user's acupoints.
[0080] The smart headrest is a multifunctional headrest integrating stereo playback, acupoint electro-pulse massage, and heating. When the user uses this multifunctional headrest for health care, the headrest can control the music module via a microcontroller to play stereo music data. During this process, the acquisition module collects music signals of different frequencies. After the music signals are processed by the microcontroller, the microcontroller outputs pulse width modulation signals to the massage module, electrotherapy module, and heat therapy module. This controls the massage module, electrotherapy module, and heat therapy module to work together to provide headrest care services in sync with the music. Specifically, the electrotherapy module responds to the pulse width modulation signal output by the microcontroller to provide electrotherapy services in sync with the music; the massage module responds to the pulse width modulation signal to provide massage services in sync with the music; and the heat therapy module responds to the pulse width modulation signal to provide heat therapy services in sync with the music.
[0081] In some embodiments, during operation, the smart headrest can also generate a square wave digital signal (i.e., pulse width modulation PWM signal) with a corresponding frequency and duty cycle in response to music signals via a microcontroller, and output the signal separately to the heat therapy function module. In this case, the smart headrest can provide a headrest heat therapy service in conjunction with music by responding to the pulse width modulation PWM signal through the heat therapy function module.
[0082] Please refer to Figure 4 , Figure 4 The diagram shows the algorithm module structure of the microprocessor involved in some embodiments of the smart headrest provided in this application.
[0083] In some embodiments, such as Figure 4 As shown, the microcontroller in the smart headrest may include:
[0084] An analog-to-digital converter, used to convert the music signal into a digital signal;
[0085] An audio calculator, connected to the analog-to-digital converter, is used to receive the digital signal and calculate the audio components;
[0086] A pulse width modulation signal generator, which is connected to the audio calculator, is used to receive the audio components and generate a pulse width modulation signal;
[0087] The microcontroller is used to output the pulse width modulation signal to control the operation of the nursing function module, so that the nursing function module can provide headrest nursing function service in conjunction with music.
[0088] During operation, the microcontroller responds to music signals of different frequencies uploaded by the acquisition module to control the operation of the nursing function module. The microcontroller first converts the music signal into a digital signal using an analog-to-digital converter (ADC). Then, it receives the digital signal output from the ADC via an audio calculator and calculates the audio components. Finally, based on the audio components output from the audio calculator, a pulse-width modulation (PWM) signal generator receives the PWM signal and generates a square wave digital signal with the corresponding frequency and duty cycle. The microcontroller then outputs this PWM signal to the nursing function module to control its operation, enabling the module to provide music-integrated headrest care services.
[0089] In some embodiments, the analog-to-digital converter (ADC) converting an audio signal into a digital signal may include a sampling, quantization, and output process. During the sampling process, the ADC may use a fixed sampling frequency Fs (e.g., 8kHz, 16kHz, 44.1kHz, 48kHz, etc.) to measure the analog audio signal (i.e., the music signal) at discrete time points. Then, during the quantization process, the ADC converts the analog voltage value of each sample point into a discrete digital value (binary number). The quantization accuracy is determined by the bit width of the ADC (e.g., 8-bit, 12-bit, 16-bit, 24-bit); a higher bit width results in a larger dynamic range and preserves more signal detail. Furthermore, during the output process, the ADC may output a digitized time-domain discrete signal x[n], which is a sequence of numbers arranged in chronological order, representing a discrete approximation of the waveform of the original analog audio signal, where n is the sample point index.
[0090] In some embodiments, when calculating audio components, the audio calculator can sequentially perform Fourier transform (time domain to frequency domain), frequency domain processing, and inverse Fourier transform (frequency domain to time domain) on the digital signal output by the analog-to-digital converter to calculate a certain frequency value of the audio component. In this way, the pulse width modulation signal generator can output a pulse width modulation signal of corresponding intensity current waveform based on the magnitude of this value. Therefore, based on the different frequencies and amplitudes of the output signal, the effects of dynamic adjustment of hot compresses, massages, and electrotherapy can be achieved in conjunction with music.
[0091] In this process, since the digital signal x[n] output by the analog-to-digital converter is a time-domain signal (its amplitude changes with time), the purpose of the audio calculator to perform a Fourier transform on the digital signal is to convert the signal from the time domain to the frequency domain. This step is the core of the entire process because the Fourier transform reveals the intensity and phase information of each discrete frequency component (f_k) of the original audio signal within the range of Fs / 2 (the horizontal axis is frequency, and the vertical axis is amplitude or the square of the amplitude, i.e., the power spectrum). For example, when the audio calculator performs a Fourier transform on the digital signal, it takes a segment of discrete time-domain signal x[n] (called a frame, with a length of N points, such as 256,512,1024 points), applies the Fourier transform (FFT) algorithm to this segment of N points of data, and outputs a complex array X[k]. Where k = 0, 1, 2, ..., N-1, k corresponds to the discrete frequency f_k = k * Fs / N, |X[k]| (the modulus of the complex number X[k]) represents the amplitude (energy intensity) of the frequency point f_k, and arg(X[k]) (the argument of the complex number X[k]) represents the phase of the frequency point f_k.
[0092] In addition, frequency domain processing can include common processes such as those shown below:
[0093] Spectrum analysis: Displaying or observing the frequency components of a signal (visualization); Filtering: Achieving frequency domain filtering by modifying the value of X[k]; Equalizer: Boosting or attenuating the amplitude of a specific frequency band (modifying |X[k]|); Noise reduction: Identifying and suppressing frequency bands considered to be noise (reducing the corresponding |X[k]|); Audio effects processing: Such as frequency shifting (creating robot voices), formant modification (voice changing), etc.; Feature extraction: Used for speech recognition, music information retrieval, etc.
[0094] The output of frequency domain processing is a modified (or unmodified) frequency domain complex array Y[k].
[0095] Furthermore, the purpose of the inverse Fourier transform (frequency domain to time domain) is to restore the processed signal (still in the frequency domain) back to the time domain for subsequent playback or further processing. The inverse Fourier transform can be performed by applying the Inverse Fast Fourier Transform (IFFT) algorithm to the modified frequency domain complex array Y[k]. The output of the inverse Fourier transform can be a complex array y[n]. Typically, only the real part of this array is taken as the processed time-domain discrete signal y_real[n], because theoretically, the imaginary part of y[n] should be 0, and the numerical error is very small and can be ignored. y_real[n] is the digital sequence of the audio waveform after frequency domain processing.
[0096] In some embodiments, the pulse width modulation (PWM) signal generator can generate a PWM signal (digital time-domain signal -> PWM signal). PWM is a technique based on simulating the amplitude of a raw analog audio signal using the pulse width (the proportion of the high-level duration to the entire cycle – duty cycle) of a square wave at a fixed frequency. A larger duty cycle results in a higher equivalent average output voltage. The PWM modulation process can be as follows:
[0097] Signal Normalization and Bias: The audio signal y_real[n] is a bipolar signal (positive and negative), while the PWM modulator is typically designed to accept a unipolar input signal (0 to full scale, e.g., 0 to 3.3V). To linearly map the amplitude range of y_real[n] to the maximum value M of the PWM counter (e.g., 0->0, Max_Audio->M), a DC bias (e.g., +Max_Audio) is usually applied to the original audio signal to make it all positive before scaling. A high-speed counter (carrier) is used, which cycles between 0 and M (typically tens to hundreds of kHz, e.g., 250kHz). At the beginning of each counting cycle, the normalized current audio sample value (or interpolated value) s[n] (within the range [0,M]) is compared with the current value count of the counter.
[0098] If count < s[n], the PWM output is at a high level (1); and if count ≥ s[n], the PWM output is at a low level (0).
[0099] Output: A square wave signal (pulse width modulation PWM signal) with a fixed frequency (equal to the counter frequency Fpwm) is obtained, wherein the pulse width of each cycle (duty cycle D = s[n] / M) is proportional to the current audio sampling value s[n]. The larger s[n] is, the larger the duty cycle is.
[0100] In some embodiments, the microcontroller in the smart headrest may further comprise: an audio signal amplifier, which is respectively connected to the acquisition module and the analog-to-digital converter, and is used for amplifying the music signal; the analog-to-digital converter is further used for converting the amplified music signal output by the audio signal amplifier into a digital signal.
[0101] It should be noted that the audio signal amplifier may be a low-noise operational amplifier.
[0102] Considering that the music signal collected by the acquisition module (e.g., a microphone) and output to the microcontroller is usually relatively weak, the microcontroller can perform pre-amplification processing on the music signal through the audio amplifier, so that the voltage range of the music signal reaches the optimal input range of the subsequent analog-to-digital converter (Analog-to-Digital Converter, ADC). Then, the microcontroller converts the amplified music signal output by the audio signal amplifier into a digital signal through the analog-to-digital converter ADC.
[0103] In some embodiments, the microcontroller in the smart headrest may further comprise: a filter, which is respectively connected to the audio signal amplifier and the analog-to-digital converter, and is used for performing anti-aliasing filtering on the amplified music signal; the analog-to-digital converter is further used for converting the anti-aliasing filtered music signal output by the filter into a digital signal.
[0104] It should be noted that the filter may be an anti-aliasing filter, specifically a low-pass filter (LowPass Filter, LPF).
[0105] In order to avoid aliasing distortion during the music signal collection by the acquisition module, before converting the amplified music signal output by the audio signal amplifier into a digital signal through the analog-to-digital converter ADC, the microcontroller may further perform anti-aliasing filtering on the amplified music signal through the filter, that is, filter out frequency components higher than the Nyquist frequency in the music signal. In this way, the microcontroller then converts the anti-aliasing filtered music signal output by the filter into a digital signal through the analog-to-digital converter ADC.
[0106] It should be noted that the Nyquist frequency can be half the sampling frequency Fs used by the analog-to-digital converter (ADC), i.e., Fs / 2. For example, if the sampling frequency Fs used by the ADC is 44.1kHz (CD quality), then the Nyquist frequency is 22.05kHz. In this case, the anti-aliasing filter needs to effectively attenuate all signal components in the music signal above 22.05kHz.
[0107] In some embodiments, the microcontroller in the smart headrest may further include: a power amplifier, which is connected to the pulse width modulation signal generator and the nursing function module respectively, for amplifying the pulse width modulation signal; the microcontroller is used to control the operation of the nursing function module by outputting the amplified pulse width modulation signal through the power amplifier, so that the nursing function module performs headrest nursing function services in conjunction with music.
[0108] Considering that the power of the pulse-width modulation (PWM) signal generated by the microcontroller may be relatively low, and therefore may not be able to directly drive the nursing function modules, the smart headrest also uses a power amplifier (such as power amplifiers U4, U5, and U8) to amplify the power of the PWM signal after it is generated by the microcontroller. For example, the power amplifier precisely and rapidly switches the power transistors according to the state (high / low) of the PWM signal input from the PWM signal generator, thereby amplifying the current driving capability of the PWM signal to amplify its power to the peak voltage / current amplitude required by the nursing function modules (massage function module, electrotherapy function module, and heat therapy function module).
[0109] Afterwards, the pulse width modulation signal, after being amplified, is output to the nursing function module, thereby controlling the operation of the nursing function module and enabling it to provide headrest nursing services in conjunction with music.
[0110] In this embodiment, the microcontroller in the smart headrest sequentially performs audio signal pre-amplification, filtering, analog-to-digital conversion, audio component calculation, generation of a corresponding PWM signal, and PWM signal power amplification based on the analog audio signal (i.e., music signal) acquired by the acquisition module. Finally, it uses the amplified PWM signal to control the operation of the nursing function module. Thus, after the analog audio signal undergoes a series of processes such as low-pass filtering to generate the amplified PWM signal, the PWM waveform of the high-speed switch is smoothed. That is, the average voltage (or current) waveform of the amplified PWM signal can reproduce the original analog audio signal waveform and, having been amplified, the original analog audio signal waveform. Therefore, the smart headrest outputs this PWM signal to the nursing function module through the microcontroller to control its operation, achieving the effect of real-time dynamic adjustment of massage, electrotherapy, and / or heat therapy in conjunction with music changes for health care.
[0111] The embodiments described in this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. As those skilled in the art will know, with the evolution of technology and the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.
[0112] Those skilled in the art will understand that the device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0113] The embodiments of the present utility model have been described in detail above with reference to the accompanying drawings. However, the present utility model is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present utility model.
Claims
1. A smart headrest, characterized in that, The smart headrest includes a microcontroller, a music module, and a nursing function module, wherein the music module and the nursing function module are respectively connected to the microcontroller; the microcontroller is used to control the music module to play music and to control the nursing function module to provide headrest nursing services. The smart headrest also includes: The acquisition module is connected to both the music module and the microcontroller, and is used to acquire music signals when the music module plays music, and upload the acquired music signals to the microcontroller. The microcontroller is also used to control the operation of the nursing function module in response to the music signal, so that the nursing function module can provide headrest nursing function service in conjunction with the music.
2. The smart headrest according to claim 1, characterized in that, The microcontroller includes: An analog-to-digital converter, used to convert the music signal into a digital signal; An audio calculator, connected to the analog-to-digital converter, is used to receive the digital signal and calculate the audio components; A pulse width modulation signal generator, which is connected to the audio calculator, is used to receive the audio components and generate a pulse width modulation signal; The microcontroller is used to output the pulse width modulation signal to control the operation of the nursing function module, so that the nursing function module can provide headrest nursing function service in conjunction with music.
3. The smart headrest according to claim 2, characterized in that, The microcontroller also includes: An audio signal amplifier, which is connected to both the acquisition module and the analog-to-digital converter, is used to amplify the music signal. The analog-to-digital converter is also used to convert the amplified music signal output by the audio signal amplifier into a digital signal.
4. The smart headrest according to claim 3, characterized in that, The microcontroller also includes: A filter, which is connected to the audio signal amplifier and the analog-to-digital converter respectively, is used to perform anti-aliasing filtering on the amplified music signal; The analog-to-digital converter is also used to convert the anti-aliasing filtered music signal output by the filter into a digital signal.
5. The smart headrest according to claim 2, characterized in that, The microcontroller also includes: A power amplifier is connected to both the pulse width modulation signal generator and the nursing function module, and is used to amplify the power of the pulse width modulation signal. The microcontroller is used to control the operation of the nursing function module by outputting a pulse width modulation signal after power amplification through the power amplifier, so that the nursing function module can provide headrest nursing function service in conjunction with music.
6. The smart headrest according to claim 1, characterized in that, The smart headrest also includes: A communication module, which is connected to the microcontroller, is used to establish a communication connection with the smart terminal and upload the audio signal sent by the smart terminal to the microcontroller; The microcontroller is also used to control the music module to play music in response to the audio signal.
7. The smart headrest according to claim 6, characterized in that, The communication module is also used to upload the nursing function control signals sent by the smart terminal to the microcontroller; The microcontroller is also used to control the operation of the nursing function module in response to the nursing function control signal to perform headrest nursing function service.
8. The smart headrest according to any one of claims 1 to 7, characterized in that, The nursing function module includes an electrotherapy function module; the electrotherapy function module is used to provide head pillow electrotherapy service in conjunction with music in response to the pulse width modulation signal output by the microcontroller.
9. The intelligent headrest according to claim 8, characterized in that, The nursing function module also includes a massage function module; the massage function module is used to provide a head massage service in conjunction with music in response to the pulse width modulation signal output by the microcontroller.
10. The smart headrest according to claim 9, characterized in that, The nursing function module also includes a hot compress function module; the hot compress function module is used to provide a head pillow hot compress service in response to the pulse width modulation signal output by the microcontroller and linked with music.