SOUND-CONTROLLED GAS CONTROL SYSTEM, METHOD AND DEVICE
20260029129 ยท 2026-01-29
Inventors
Cpc classification
F24C3/006
MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
International classification
Abstract
The present invention discloses a sound-controlled gas control system, used to adjust the height change of the generated flame. The system includes an audio module, a transformation analysis module, a driving module and at least one proportional valve. The audio module is suitable for preprocessing discrete audio data and generating complex-number data according to the result of the preprocessing. The transformation analysis module is suitable for performing a Fourier transformation according to the complex-number data to generate a plurality of frequency domain data and performing spectrum analysis on the frequency domain data to generate pulse width modulation data. The driving module is suitable for receiving the pulse width modulation data and converting to an opening control signal according to the pulse width modulation data. The proportional valve has a gas valve and is suitable for adjusting an opening and closing state of the gas valve according to the opening control signal.
Claims
1. A sound-controlled gas control system for adjusting the height change of generated flame, comprising: an audio module, suitable for preprocessing discrete audio data and generating complex-number data according to the result of the preprocessing; a transformation analysis module, suitable for performing a Fourier transformation according to the complex-number data to generate a plurality of frequency domain data and performing spectrum analysis on the frequency domain data to generate pulse width modulation data; a driving module, suitable for receiving the pulse width modulation data and converting to an opening control signal according to the pulse width modulation data; and at least one proportional valve, including a gas valve and suitable for adjusting an opening and closing state of the gas valve according to the opening control signal.
2. The sound-controlled gas control system according to claim 1, wherein the preprocessing comprises following steps: performing a framing procedure on the audio data to generate nth frame data; performing a windowing process on the nth frame data if n is not equal to the last frame; and performing a zero-padding operation on the last frame data and then performing the windowing process on the last frame data if n is equal to the last frame.
3. The sound-controlled gas control system according to claim 1, wherein the spectrum analysis comprises following steps: extracting an amplitude value and a phase value of at least one specific frequency segment in the frequency domain data, and generating control information according to the amplitude value and the phase value; and generating the pulse width modulation data according to the control information and by using a timer.
4. The sound-controlled gas control system according to claim 3, wherein the specific frequency segment is below 150 Hz.
5. The sound-controlled gas control system according to claim 4, wherein the at least one specific frequency segment includes a plurality of the specific frequency segments, the at least one proportional valve includes a plurality of the proportional valves, and the transformation analysis module controls the opening and closing states of the gas valves of the different proportional valves according to the pulse width modulation data respectively corresponding to the specific frequency segments.
6. The sound-controlled gas control system according to claim 5, wherein the specific frequency segments are extracted from the frequency domain data in equal proportion division.
7. The sound-controlled gas control system according to claim 1, wherein the audio module is suitable for receiving a digital audio signal and generating the audio data according to the digital audio signal, the sound-controlled gas control system further includes an audio amplifier suitable for playing music according to the digital audio signal, and the rhythm change of the music is synchronized with the height change of the flame.
8. A sound-controlled gas control method, comprising following steps: preprocessing discrete audio data and generating complex-number data according to the result of the preprocessing; performing a Fourier transformation according to the complex-number data to generate a plurality of frequency domain data; performing spectrum analysis on the frequency domain data to generate pulse width modulation data; converting to an opening control signal according to the pulse width modulation data; and adjusting an opening and closing state of a gas valve of a proportional valve according to the opening control signal.
9. The sound-controlled gas control method according to claim 8, wherein the preprocessing comprises following steps: performing a framing procedure on the audio data to generate nth frame data; performing a windowing process on the nth frame data if n is not equal to the last frame; and performing a zero-padding operation on the last frame data and then performing the windowing process on the last frame data if n is equal to the last frame; or the spectrum analysis comprises following steps: extracting an amplitude value and a phase value of at least one specific frequency segment in the frequency domain data, and generating control information according to the amplitude value and the phase value; and generating the pulse width modulation data according to the control information and by using a timer.
10. A sound-controlled gas control device, wherein the sound-controlled gas control device is used as a carrier for executing the sound-controlled gas control system according to claim 1.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this specification. The drawings illustrate examples of the disclosure and, together with the description, serve to explain the principles of the disclosure.
[0021]
[0022]
[0023]
[0024]
[0025]
[0026]
[0027]
DETAILED DESCRIPTION OF THE EMBODIMENTS
[0028] In the following detailed description of the preferred embodiments, reference is made to the accompanying drawings which form a part hereof, and in which are shown by way of illustration specific embodiments in which the disclosure may be practiced. In this regard, directional terminology, such as top, bottom, front, back, etc., is used with reference to the orientation of the Figure(s) being described. The components of the disclosure can be positioned in a number of different orientations. As such, directional terminology is used for purposes of illustration and is in no way limiting. On the other hand, the drawings are only schematic, and the sizes of components may be exaggerated for clarity. It is to be understood that other embodiments may be utilized, and structural changes may be made without departing from the scope of the disclosure. Also, it is to be understood that the phraseology and terminology used herein are for the purpose of description and should not be regarded as limiting. The use of including, comprising, or having and variations thereof herein is meant to encompass the items listed thereafter and equivalents thereof as well as additional items. Unless limited otherwise, the terms connected, coupled, and mounted and variations thereof herein are used broadly and encompass direct and indirect connections, couplings, and mountings.
[0029] Similarly, the terms facing, faces and variations thereof herein are used broadly and encompass direct and indirect facing, and adjacent to and variations thereof herein are used broadly and encompass directly and indirectly adjacent to. Therefore, the description of A component facing B component herein may contain the situations that A component directly faces B component, or one or more additional components are between A component and B component. Also, the description of A component adjacent to B component herein may contain the situations that A component component is directly adjacent to B component or one or more additional components are between A component and B component. Accordingly, the drawings and descriptions will be regarded as illustrative in nature and not as restrictive.
[0030] In the first embodiment, referring to
[0031] The audio module 1 is adapted to receive a digital audio signal and generate audio data according to the digital audio signal, and then to preprocess the discrete audio data and generate complex-number data according to the result of the preprocessing. The transformation analysis module 2 is adapted to perform a Fourier transformation on the complex-number data to generate a plurality of frequency domain data and perform spectrum analysis on the frequency domain data to generate pulse width modulation data. The driving module 3 is suitable for receiving the pulse width modulation data and converting to an opening control signal according to the pulse width modulation data. The opening control signal includes, but is not limited to, a current or voltage signal. The proportional valve 4 has a gas valve, and the proportional valve 4 is suitable for adjusting the opening and closing state of the gas valve according to the opening control signal, and the opening and closing state includes an opening and closing ratio and an opening and closing speed.
[0032] Specifically, the collection method for the audio data includes, but is not limited to, a Bluetooth connection terminal, such as a mobile phone, tablet, computer, smart speaker, etc. It should be noted that the digital signal transmission is used between the Bluetooth connection terminal and the audio module 1, which makes the processing fast and the distortion low. In addition, compared with the connection of a wire or wireless network, the Bluetooth connection method can achieve short-distance communication, and has low cost and low power consumption.
[0033] The preprocessing includes following steps: performing a framing process on the audio data to generate the nth frame data; performing a windowing process on the nth frame data if n is not equal to the last frame; and performing a zero-padding operation on the last frame data and then perform the windowing process on the last frame data if n is equal to the last frame. The windowing process can effectively reduce spectrum leakage.
[0034] The spectrum analysis includes following steps: extracting an amplitude value and a phase value of at least one specific frequency segment in the frequency domain data and generating control information according to the amplitude value and the phase value; and generating the pulse width modulation data according to the control information and by using a timer.
[0035] It should be noted that the above specific frequency segment is below 150 Hz, which is recorded as a low-frequency segment. For example, the low-frequency segment, below 150 Hz, combined with actual usage, plays a supporting role in the music structure, can express the low-frequency content of the music, make the audience feel a weak and effective dynamic feeling, and make people's senses resonate with the music and the flames.
[0036] In addition, the setting of the frequency segment can be partially based on the frequency range of interest selected by human needs.
[0037] The interface of the proportional valve 4 in the gas system is connected to the gas storage tank by a pipeline, and the pipeline adopts a hose or a metal pipe. The proportional valve 4 is a device for controlling the mixing ratio of gas and air. The proportional valve 4 changes the mixing ratio of the gas and the air by controlling the opening degree of the proportional valve 4.
[0038] Secondly, the opening and closing ratio and opening and closing speed of the proportional valve 4 are controlled by the amplitude change and frequency change of the audio data in the selected frequency segment, so as to achieve the changing effect of the height and speed of the flame. A specific frequency segment corresponds to a proportional valve 4, so that the control signal of each frequency segment is output to control a proportional valve 4. The number of the specific frequency segments can be set to multiple, and the number of the corresponding proportional valves 4 is also set to multiple. By setting multiple the specific frequency segments and multiple the proportional valves 4, a richer flame effect can be achieved.
[0039] The opening speed and closing speed are set to every x seconds. Every x seconds, the proportional valve 4 adjusts the corresponding opening and closing ratio once according to the real-time audio data received, and also the Fourier transformation is performed once every x seconds.
[0040] A plurality of specific frequency segments are extracted from the frequency domain data in equal width division or equal proportion division. It is preferred to use the equal proportion division, such as 0-16 Hz, 16-32 Hz, 32-64 Hz, and so on, which means that the frequency segment width of the low frequency segment is narrower, while the frequency segment width of the high frequency segment is wider. This method is more suitable for audio and sound analysis because it is closer to the human ear's perception of frequency. Correspondingly, each flame will change and jump in each frequency segment.
[0041] Refer to
[0042] The setting of x seconds can be determined according to the rhythm of the music. When the rhythm is fast, the value of x is small, and the flame will become faster following the replacement frequency of the proportional valve 4; when the rhythm is slow, the value of x is large, and the flame will become slower following the replacement frequency of the proportional valve 4. Therefore, when the music switches, the system will adjust the corresponding opening and closing speed in real time according to the rhythm of the music.
[0043] The transformation analysis module 2 controls the opening and closing states of the gas valves of different proportional valves 4 according to the pulse width modulation data respectively corresponding to the specific frequency segments.
[0044] The above audio amplifier 5 is suitable for playing music according to a digital audio signal, wherein the rhythm of the music changes in sync with the height of the flame.
[0045] In the second embodiment, referring to
[0050] Furthermore, the preprocessing in S1 includes the following steps: [0051] S11: performing a framing procedure on the audio data to generate nth frame data; and [0052] S12: performing a windowing process on the nth frame data if n is not equal to the last frame, and performing a zero-padding operation on the last frame data and then performing the windowing process on the last frame data if n is equal to the last frame.
[0053] Furthermore, the spectrum analysis in S3 includes the following steps: [0054] S31: extracting an amplitude value and a phase value of at least one specific frequency segment in the frequency domain data, and generating control information according to the amplitude value and the phase value; and [0055] S32: generating the pulse width modulation data according to the control information and by using a timer.
[0056] In the third embodiment, referring to
[0057] The audio module 1 and the transformation analysis module 2 are both electrically connected to the on-chip system 7, and the driving module 3 includes the drive circuit 8.
[0058] The power switch 6 is electrically connected to the audio amplifier 5, the on-chip system 7, and the drive circuit 8, and serves as a power supply. The solid line in the figure indicates the electrical connection relationship.
[0059] The start-stop switch 9 is electrically connected to the on-chip system 7 for starting and stopping the rhythmic function of the flame. The on-chip system 7 is used to receive the digital audio signal and generate the audio data according to the digital audio signal, and then to preprocess the discrete audio data and generate the complex-number data according to the result of the preprocessing. Then, the transformation analysis module 2 is used to perform Fourier transformation according to the complex-number data to generate a plurality of frequency domain data and perform the spectrum analysis on the frequency domain data to generate the pulse width modulation data.
[0060] The output terminals of the on-chip system 7 are respectively electrically connected to the audio amplifier 5 and the drive circuit 8. The output terminal of the on-chip system 7 is electrically connected to the drive circuit 8. The drive circuit 8 is used to receive the pulse width modulation data and convert to an opening control signal according to the pulse width modulation data. The drive circuit 8 is electrically connected to the proportional valve 4. The proportional valve 4 is used to adjust the opening and closing state of the gas valve according to the opening control signal. The audio amplifier 5 is used to play music according to the digital audio signal, and the rhythm change of the music is synchronized with the height change of the flame. The dashed lines in the figures represent the signal connection relationships.
[0061] In the fourth embodiment, referring to
[0062] The on-chip system 7 in this embodiment is used to receive the digital audio signal and generate the audio data according to the digital audio signal, and then to preprocess the discrete audio data and generate the complex-number data according to the result of the preprocessing. The microcontroller unit 10 is adapted to perform the Fourier transformation on the complex-number data to generate the plurality of frequency domain data and perform the spectrum analysis on the frequency domain data to generate the pulse width modulation data.
[0063] In the case where the on-chip system 7 cannot directly control the proportional valve 4, the operation method is as follows: the power switch 6 is electrically connected to the microcontroller unit 10, the on-chip system 7 is electrically connected to the driving module 3 through the microcontroller unit 10 for signal communication, and the microcontroller unit 10 controls the proportional valve 4 through the drive circuit 8, thereby ensuring the realization of the sound-controlled gas effect.
[0064] The foregoing description of the preferred embodiments of the disclosure has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the disclosure to the precise form or to exemplary embodiments disclosed. Accordingly, the foregoing description should be regarded as illustrative rather than restrictive. Obviously, many modifications and variations will be apparent to practitioners skilled in this art. The embodiments are chosen and described in order to best explain the principles of the disclosure and its best mode practical application, thereby enabling persons skilled in the art in the art to understand the disclosure for various embodiments and with various modifications as are suited to the particular use or implementation contemplated. It is intended that the scope of the disclosure be defined by the claims appended hereto and their equivalents in which all terms are meant in their broadest reasonable sense unless otherwise indicated. Therefore, the term the disclosure, the present disclosure or the like does not necessarily limit the claim scope to a specific embodiment, and the reference to particularly preferred exemplary embodiments of the disclosure does not imply a limitation on the disclosure, and no such limitation is to be inferred. The disclosure is limited only by the spirit and scope of the appended claims. Moreover, these claims may refer to use first, second, etc. following with noun or element. Such terms should be understood as a nomenclature and should not be construed as giving the limitation on the number of the elements modified by such nomenclature unless specific number has been given. The abstract of the disclosure is provided to comply with the rules requiring an abstract, which will allow a searcher to quickly ascertain the subject matter of the technical disclosure of any patent issued from this disclosure. It is submitted with the understanding that it will not be used to interpret or limit the scope or meaning of the claims. Any advantages and benefits described may not apply to all embodiments of the disclosure. It should be appreciated that variations may be made in the embodiments described by persons skilled in the art without departing from the scope of the disclosure as defined by the following claims. Moreover, no element and component in the present disclosure is intended to be dedicated to the public regardless of whether the element or component is explicitly recited in the following claims.
[0065] Having described at least one of the embodiments of the claimed invention with reference to the accompanying drawings, it will be apparent to those skills that the invention is not limited to those precise embodiments, and that various modifications and variations can be made in the presently disclosed system without departing from the scope or spirit of the invention.