Sewing machine panel key voice broadcast system and method, control chip and panel

By implementing entry and audio data management in the main control chip of the sewing machine control panel, audio files are directly obtained and played from the storage module, solving the problems of complex list maintenance and large storage resource occupancy in the existing technology, and achieving efficient and stable voice broadcasting performance.

CN120042005APending Publication Date: 2025-05-27ZHEJIANG ZOBOW MECHANICAL & ELECTRICAL TECH
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202510262167.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The existing sewing machine panel voice broadcast system has problems such as complex list maintenance, difficult data consistency, cumbersome voice entries generation and occupies a large amount of storage resources.

Method used

By implementing the management of entries and audio data in the main control chip, the storage module, the entry management module, the audio analysis module and the playback control circuit are used to directly obtain audio files from the storage module and parse and play, avoiding the list correspondence between multiple chips and the storage module.

Benefits of technology

It simplifies the management and maintenance of the voice broadcast system, improves the stability and accuracy of the system, reduces the use of storage resources, and improves the voice broadcast performance of the sewing machine control panel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120042005A_ABST
    Figure CN120042005A_ABST
Patent Text Reader

Abstract

The invention provides a sewing machine panel key voice broadcast system and method, a control chip and a panel. The system comprises a storage module, an entry management module, an audio analysis module and a play control circuit. A plurality of preset audio files are stored in the storage module; the entry management module is used for detecting key input information of a control panel of the sewing machine and acquiring a corresponding audio file from the storage module according to the key input information and a pre-configured entry mapping relation; the audio analysis module is used for analyzing the audio file acquired by the entry management module to acquire a PWM pulse audio signal and outputting the PWM pulse audio signal to the playing control circuit; and the playing control circuit filters and amplifies the received PWM pulse audio signal and then outputs an audio analog signal to a playing device. The voice broadcast process of the sewing machine control panel can be effectively optimized, and the voice broadcast performance of the sewing machine control panel is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of industrial sewing machines, and relates to industrial sewing machine panels, and in particular to a sewing machine panel button voice broadcast system, method, control chip and panel. Background Art

[0002] In the field of sewing machine control panel design, the realization of voice broadcast function plays a vital role in improving user experience and operation convenience. The current panel voice broadcast solution is mainly based on common voice chips on the market, such as wt588 and other voice decoding chips, and is implemented with external flash.

[0003] Specifically, the flash stores a wealth of voice entry data, which covers various key information during the operation of the sewing machine, such as selection prompts for different stitches, speed adjustment gear instructions, and fault alarms, so as to provide users with detailed and accurate operation instructions. At the same time, in order to effectively manage and call these voice entries, a corresponding list needs to be maintained inside the voice chip to ensure that the corresponding entry can be quickly located when the voice needs to be played.

[0004] During the operation of the entire system, the main chip, as the core control unit, also needs to maintain the corresponding list when using the voice broadcast function. When the user operates the sewing machine to generate specific needs or the system detects a certain state change, the main chip is responsible for determining the voice entry that needs to be played based on the current situation, and accurately notifies the voice chip of the relevant information through serial communication. In this way, a close correspondence is formed between the main chip, the voice chip, and the voice flash.

[0005] However, this existing voice broadcast solution has some prominent problems. First, two sets of lists need to be maintained, which undoubtedly increases the complexity and management cost of the system, and is prone to data inconsistency, affecting the accuracy and stability of voice broadcast. Secondly, the storage process of voice entries is relatively cumbersome, requiring the use of a PC and specific tools to generate them, which has certain requirements on the technical level of the operator, and is prone to data errors due to human operation or tool problems. Finally, the voice entry data takes up a large amount of space and consumes a large amount of flash storage resources, which limits the number of voice entries that can be stored to a certain extent, and is not conducive to the further expansion and enrichment of the voice broadcast function. Summary of the invention

[0006] The present application provides a sewing machine panel button voice broadcast system, method, control chip and panel, which are used to optimize the voice broadcast process of the sewing machine control panel and improve the voice broadcast performance of the sewing machine control panel.

[0007] In a first aspect, the present application provides a voice broadcast system for sewing machine panel buttons, which is applied to a control chip of a sewing machine control panel. The voice broadcast system for sewing machine panel buttons includes: a storage module, a dictionary management module, an audio parsing module, and a playback control circuit; the storage module stores a plurality of preset audio files; the dictionary management module is respectively connected to the storage module and the audio parsing module, and is configured to detect button input information of the sewing machine control panel, and obtain a corresponding audio file from the storage module according to the button input information and a pre-configured dictionary mapping relationship; the audio parsing module is respectively connected to the audio parsing module and the playback control circuit, parses the audio file obtained by the dictionary management module to obtain a PWM pulse audio signal, and outputs the PWM pulse audio signal to the playback control circuit; the playback control circuit is connected to a playback device, filters and amplifies the received PWM pulse audio signal, and outputs an audio analog signal to the playback device.

[0008] In an implementation manner of the first aspect, the dictionary management module includes: a dictionary mapping relationship unit, configured to pre-configure a dictionary mapping relationship between button input information and audio files; a button detection unit, configured to detect button input information of the sewing machine control panel when a certain button on the sewing machine control panel is triggered, and obtain the name of the audio file based on the dictionary mapping relationship; an audio matching unit, configured to obtain a corresponding audio file from the storage module based on the obtained name of the audio file.

[0009] In an implementation manner of the first aspect, the name of the audio file stored in the storage module is configured to detect the corresponding button input information of the sewing machine control panel; or the name of the audio file stored in the storage module is configured to correspond to the audio playback content, and the name of the audio file corresponds to the button input information.

[0010] In an implementation manner of the first aspect, the audio parsing module includes: an initialization configuration unit, an audio data transmission unit, and an MQS unit; the initialization configuration unit is configured to configure the sampling rate, bit width, and number of channels of the audio, as well as the pins and clock of the MQS unit; the audio data transmission unit is configured to transmit the audio file to the MQS unit; the MQS unit is configured to convert the digital audio signal of the audio file into two PWM pulse audio signals.

[0011] In an implementation of the first aspect, the playback control circuit includes: a filtering circuit, connected to the audio analysis module, for filtering the two PWM pulse audio signals output by the audio analysis module and outputting a valid audio analog signal; a signal amplifying chip, connected to the filtering circuit and the playback device, for amplifying the valid audio analog signal output by the filtering circuit and outputting the audio analog signal to the playback device.

[0012] In an implementation of the first aspect, the filtering circuit includes: a first filtering sub-circuit and a second filtering sub-circuit, which respectively filter the two PWM pulse audio signals; the first filtering sub-circuit and the second filtering sub-circuit are respectively connected through a stabilizing resistor to form a circuit connected to the input end of the signal amplification chip.

[0013] In an implementation of the first aspect, the signal amplifying chip is connected to an enabling circuit and a power supply circuit; the enabling circuit receives an enabling signal from the control chip, and controls the operation of the signal amplifying chip based on the enabling signal; wherein, when key input information of a sewing machine control panel is detected, the enabling signal is in an enabling state; the enabling circuit comprises a first resistor and a transistor connected to each other, wherein a second resistor is connected between the base and the emitter of the transistor, and the collector of the transistor is connected to the enabling end of the signal amplifying chip; the power supply circuit comprises a diode connected to a power supply and two parallel capacitors connected to the diode.

[0014] In the second aspect, the present application provides a panel button voice broadcast method, which is applied to the panel button voice broadcast system as described above, and the method includes: detecting the button input information of the sewing machine control panel, and obtaining the corresponding audio file from the storage module according to the button input information and the pre-configured entry mapping relationship; parsing the obtained audio file to obtain a PWM pulse audio signal, and outputting the PWM pulse audio signal to a playback control circuit; the playback control circuit filters and amplifies the received PWM pulse audio signal and then outputs an audio analog signal to the playback device.

[0015] In a third aspect, the present application provides a control chip for a sewing machine control panel, including the sewing machine panel button voice broadcast system as described above.

[0016] In a fourth aspect, the present application provides a sewing machine control panel, which uses the control chip of the sewing machine control panel as described above to perform voice broadcast of sewing machine panel buttons.

[0017] As described above, the sewing machine panel button voice broadcast system, method, control chip and panel described in the present application have the following beneficial effects:

[0018] This application realizes the management of entries and audio data through the software and hardware circuits of the main control chip, no longer relying on the list correspondence between multiple chips and storage modules, facilitating upgrade and maintenance, and can effectively optimize the voice broadcast process of the sewing machine control panel and improve the voice broadcast performance of the sewing machine control panel. Description of the Drawings

[0019] Figure 1 It shows the principle block diagram of the sewing machine panel button voice broadcast system described in the embodiment of this application.

[0020] Figure 2 It shows the principle block diagram of the entry management module in the sewing machine panel button voice broadcast system described in the embodiment of this application.

[0021] Figure 3 It shows the principle block diagram of the audio parsing module in the sewing machine panel button voice broadcast system described in the embodiment of this application.

[0022] Figure 4 It shows the principle block diagram of the playback control circuit in the sewing machine panel button voice broadcast system described in the embodiment of this application.

[0023] Figure 5 It shows the circuit diagram of the playback control circuit in the sewing machine panel button voice broadcast system described in the embodiment of this application.

[0024] Figure 6 It shows the principle flow chart of the sewing machine panel button voice broadcast method described in the embodiment of this application.

[0025] Description of Component Labels

[0026] 100 Sewing machine panel button voice broadcast system

[0027] 110 Storage module

[0028] 120 Entry management module

[0029] 121 Entry mapping relationship unit

[0030] 122 Button detection unit

[0031] 123 Audio matching unit

[0032] 130 Audio parsing module

[0033] 131 Initialization configuration unit

[0034] 132 Audio data transmission unit

[0035] 133 MQS unit

[0036] 140 Playback control circuit

[0037] 141 Filter circuit

[0038] 142 Signal amplification chip

[0039] 200 Playback device

[0040] Steps S100 to S300 Specific implementation manners

[0041] The following uses specific specific examples to illustrate the implementation manners of the present application. Those skilled in the art can easily understand other advantages and effects of the present application from the content disclosed in this specification. The present application can also be implemented or applied through other different specific implementation manners. Various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that, without conflict, the following embodiments and the features in the embodiments can be combined with each other.

[0042] It should be noted that the diagrams provided in the following embodiments only illustrate the basic concept of the present application in a schematic manner. Therefore, only the components related to the present application are shown in the diagrams, rather than being drawn according to the number, shape, and size of the components in actual implementation. The types, quantities, and proportions of the components in actual implementation can be arbitrarily changed, and the component layout type may also be more complex.

[0043] In the embodiments of the present application, audio entry management and playback are realized through software embedding entry management and audio parsing of the main control chip, in cooperation with the hardware audio filtering and amplification circuits. The technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings in the embodiments of the present application.

[0044] Please refer to Figure 1 , which shows the principle block diagram of the sewing machine panel button voice broadcast system 100 described in the embodiments of the present application. As Figure 1 shown, the present embodiment provides a sewing machine panel button voice broadcast system 100, which is applied to the control chip of the sewing machine control panel. The sewing machine panel button voice broadcast system 100 specifically includes: a storage module 110, an entry management module 120, an audio parsing module 130, and a playback control circuit 140.

[0045] The sewing machine control panel applied in the embodiments of the present application is an important part of the sewing machine and is responsible for controlling various functions and operations of the sewing machine. The buttons on the control panel described in this embodiment include, but are not limited to, buttons for realizing functions such as sewing mode selection, stitch width and length adjustment, thread cutter switch, power switch, parameter adjustment, etc.

[0046] 1) Sewing mode selection: Select different sewing modes, such as straight stitch, curve stitch, automatic sewing, etc., to meet different sewing needs.

[0047] 2) Stitch width and length adjustment: The width and length of the stitches can be adjusted through knobs or buttons to adapt to different sewing materials and process requirements.

[0048] 3) Thread cutter switch: Used to cut the sewing thread, facilitating thread change or ending sewing during the sewing process.

[0049] 4) Power switch: Controls the power on and off of the sewing machine to ensure safe use.

[0050] 5) Parameter adjustment: Some advanced sewing machine control panels allow users to adjust parameters such as sewing speed and tension to obtain better sewing effects.

[0051] For example, set the P key on the sewing machine control panel: It represents "Menu" or "Parameter Adjustment", and is used to enter the setting menu of the sewing machine or adjust sewing parameters; set the S key on the sewing machine control panel: It represents "Store" or "Confirm Settings", and is used to save the adjusted sewing parameters or confirm the current settings. In this embodiment, on the sewing machine control panel, clear labels or icons are provided for each key to facilitate users to identify the functions of each key.

[0052] In this embodiment, corresponding voice announcements are made according to the key inputs on the sewing machine control panel.

[0053] In this embodiment, the storage module 110 stores a number of preset audio files. Among them, there is a corresponding one-to-one mapping relationship between the audio files and the key inputs on the sewing machine control panel.

[0054] In this embodiment, the storage module 110 in the control chip of the sewing machine control panel is an integrated circuit for storing data and instructions. The storage module 110 is set inside the control chip. The storage module 110 is a random access memory (RAM), such as a static random access memory (SRAM) or a dynamic random access memory (DRAM). The storage module can also be a read-only memory (ROM), such as an erasable programmable read-only memory (EPROM) or a flash memory (Flash Memory).

[0055] In this embodiment, the audio files to be played are pre-stored in the storage module 110. Specifically, in a specific implementation manner of this application, the names of the audio files stored in the storage module 110 are configured to detect the corresponding key input information of the sewing machine control panel.

[0056] In this embodiment, a folder or directory can be created in the storage module 110 to store audio files classified by function, such as "power", "menu", "settings", etc., which is convenient for management and search.

[0057] In this embodiment, ensure that the names of the audio files are clear and easy to read, and correspond to the button functions of the sewing machine control panel. For example, "power_on.mp3" corresponds to the power button, and "stitch_width.mp3" corresponds to the stitch width adjustment button. Suppose there is a sewing machine with the following buttons on its control panel: power button, menu button, start / stop button, thread cutter switch, stitch width adjustment, stitch length adjustment; at the same time, there are the following audio files in the storage module 110, which are used to prompt the user for different button operations:

[0058] 1) power_on.mp3 - corresponding to the power button;

[0059] 2) menu.mp3 - corresponding to the menu button;

[0060] 3) start_stop.mp3 - corresponding to the start / stop button;

[0061] 4) thread_cutter.mp3 - corresponding to the thread cutter switch;

[0062] 5) stitch_width.mp3 - corresponding to the stitch width adjustment;

[0063] 6) stitch_length.mp3 - corresponding to the stitch length adjustment;

[0064] In this embodiment, a mapping table (or dictionary) of buttons and audio file names is created. When a button is pressed, the system finds and plays the corresponding audio file according to the mapping table.

[0065] In other embodiments of the present application, the names of the audio files stored in the storage module 110 can be configured to correspond to the audio playback content, and the names of the audio files correspond to the button input information.

[0066] In this embodiment, through the above method, the audio files in the storage module 110 can be effectively associated with the button inputs of the sewing machine control panel, so as to facilitate the implementation of the audio prompt playback function.

[0067] In this embodiment, the entry management module 120 is respectively connected to the storage module 110 and the audio parsing module 130, and is used to detect the button input information of the sewing machine control panel, and obtain the corresponding audio file from the storage module 110 according to the button input information and the pre-configured entry mapping relationship.

[0068] Figure 2 It shows a schematic block diagram of the entry management module 120 in the sewing machine panel key voice broadcast system 100 described in the embodiments of the present application. As Figure 2 shown, in a specific embodiment of the present application, the entry management module 120 includes: an entry mapping relationship unit 121, a key detection unit 122, and an audio matching unit 123.

[0069] In this embodiment, the entry mapping relationship unit 121 is used to pre-configure the entry mapping relationship between the key input information and the audio file; the key detection unit 122 is used to detect the key input information of the sewing machine control panel when a certain key on the sewing machine control panel is triggered, and obtain the name of the audio file based on the entry mapping relationship; the audio matching unit 123 is used to obtain the corresponding audio file from the storage module 110 based on the obtained name of the audio file.

[0070] The main function of the entry mapping relationship unit 121 is to pre-configure and store the mapping relationship between the key input information on the sewing machine control panel and the corresponding audio file in the storage module 110. When a key is pressed, the system can quickly find and play the audio file corresponding to the key, so as to realize the function of voice prompt or guidance. Among them, in this embodiment, the entry mapping relationship unit 121 uses a structured data format (such as JSON, XML or database table) to store the mapping relationship between the key input information and the audio file path. Ensure that each key has a unique corresponding audio file, and the path of the audio file is correct.

[0071] In specific implementation, this embodiment can provide an intuitive user interface or configuration tool, allowing users or developers to easily add, delete, or modify the mapping relationship between the key and the audio file. The configuration interface can be integrated in the setting menu of the sewing machine, or provided as a separate configuration software.

[0072] This embodiment also includes real-time updating and synchronization of the mapping relationship between each key input information and the corresponding audio file in the storage module 110, ensuring that the entry mapping relationship unit 121 can update the mapping relationship in real time and take effect without restarting the system. This embodiment provides a synchronization mechanism to ensure data consistency between the sewing machine control system and the entry mapping relationship unit 121.

[0073] In addition, during the mapping relationship configuration process of this embodiment, possible errors (such as non-existent audio files, incorrect paths, etc.) are detected and prompted. This embodiment also records the key operations and error information during the configuration process for subsequent troubleshooting and repair.

[0074] In this embodiment, the main function of the button detection unit 122 is to monitor the button status on the sewing machine control panel in real time. When a certain button is triggered, it can quickly identify the input information of the button and obtain the name of the audio file corresponding to the button by querying the entry mapping relationship. This process is the first step in implementing the audio prompt function and is also the key to ensuring that the system can accurately respond to user operations.

[0075] In this embodiment, when detecting the button input on the sewing machine control panel, the pressing event of the button on the control panel is detected, which is implemented by polling or interrupt mode. The identifier of the currently pressed button is obtained. Obtain the audio file according to the button: Use the predefined mapping relationship (dictionary or array) to find the corresponding audio file name according to the button identifier.

[0076] For example, in this embodiment, the ButtonDetectionUnit class is responsible for receiving the entry mapping relationship as an initialization parameter and providing the detect_button_press method to query the corresponding audio file name according to the button identifier. When the "Power" button is triggered (i.e., button_identifier is 'KEY_POWER'), this method will return the corresponding audio file name 'power_on.mp3'. If the corresponding audio file name cannot be queried, a default value 'default_audio.mp3' will be returned. This design enables the button detection unit 122 to flexibly adapt to different entry mapping relationships and button trigger situations.

[0077] To improve the acquisition speed of audio files, in this embodiment, the audio matching unit 123 can adopt a caching mechanism to cache the recently used audio files in the memory. In addition, in this embodiment, the audio matching unit 123 can process multiple audio file requests in parallel to improve the overall response speed of the system. When the specified audio file does not exist or cannot be read, the audio matching unit 123 should be able to return an error message so that the system can perform corresponding processing or prompt.

[0078] For example, the AudioMatchingUnit class is used to obtain the data of the audio file from the storage module 110 according to the audio file name. First, construct the complete path of the file, then check whether the file exists. If it exists, read the file content and return it; if the file does not exist, raise a FileNotFoundError exception. In this way, the system can perform corresponding error handling or prompt the user according to this exception.

[0079] In this embodiment, the audio parsing module 130 is respectively connected to the audio parsing module 130 and the playback control circuit 140, parses the audio file obtained by the entry management module 120 to obtain a PWM pulse audio signal, and outputs the PWM pulse audio signal to the playback control circuit 140.

[0080] Figure 3 It shows the principle block diagram of the audio parsing module 130 in the sewing machine panel key voice broadcast system 100 described in the embodiments of the present application. As Figure 3 shown, in a specific embodiment of the present application, the audio parsing module 130 includes: an initialization configuration unit 131, an audio data transmission unit 132, and an MQS unit 133.

[0081] In this embodiment, the initialization configuration unit 131 is used to configure the sampling rate, bit width, and number of channels of the audio, as well as the pins and clock of the MQS unit 133; the audio data transmission unit 132 is used to transmit the audio file to the MQS unit 133; the MQS unit 133 is used to convert the digital audio signal of the audio file into two PWM pulse audio signals.

[0082] The main function of the initialization configuration unit 131 is to configure parameters such as the sampling rate, bit width, and number of channels of the audio when the system starts or is reset, and at the same time allocate pins and set the clock for the MQS unit. These configurations are the basis for ensuring audio quality and the stable operation of the system, and also the premise for realizing subsequent audio processing and playback functions.

[0083] Among them, an example of audio parameter configuration is as follows:

[0084] 1) Sampling rate: According to the characteristics of the audio source and playback requirements, select an appropriate sampling rate (such as 44.1 kHz, 48 kHz, etc.). The sampling rate determines the sampling frequency of the audio signal, affecting the sound quality and file size.

[0085] 2) Bit width: Select an appropriate audio bit width (such as 16 bits, 24 bits, etc.). The larger the bit width, the higher the dynamic range and signal-to-noise ratio of the audio, but the larger the data volume.

[0086] 3) Number of channels: According to the application scenario and requirements, configure mono or multi-channel (such as stereo, surround sound, etc.). The number of channels affects the sense of space and immersion of the audio.

[0087] An example of MQS unit pin configuration is as follows:

[0088] 1) Pin assignment: Assign appropriate pins for the sending and receiving functions of the MQS unit. Pin assignment should consider the electrical characteristics of the pins, signal integrity, and compatibility with other components.

[0089] 2) Pin multiplexing: If pin resources are scarce, pin multiplexing technology can be considered. That is, in some cases, a pin is configured as one of multiple functions. However, when multiplexing pins, it is necessary to ensure that there is no mutual interference and that the functions can be switched correctly.

[0090] An example of the MQS unit clock setting is as follows:

[0091] 1) Clock source selection: Select a stable clock source for the MQS unit, such as an internal clock, an external crystal oscillator, or a clock signal, etc. The stability of the clock source directly affects the accuracy and synchronization of data transmission.

[0092] 2) Clock frequency configuration: Set an appropriate clock frequency according to the requirements of the MQS unit and the communication protocol. The clock frequency should match the data transmission rate to ensure reliable data transmission.

[0093] In addition, in this embodiment, configuration storage and update are also included.

[0094] 1) Configuration storage: Store the configuration parameters in a non-volatile memory (such as EEPROM, Flash, etc.) so that the configuration can be restored when the system is reset or restarted.

[0095] Configuration update: This embodiment provides a mechanism to update the configuration parameters to support system upgrade and optimization. This can be achieved through a programming interface, a configuration file, or a user interface.

[0096] The main function of the audio data transmission unit 132 is to act as a bridge between the audio file and the MQS unit, ensuring that audio data can be smoothly and error-free transmitted from the storage medium to the MQS unit. This includes data reading, buffering, format conversion (if necessary), and sending to the MQS unit through a specified communication protocol or interface. Among them, the audio data transmission unit 132 supports a variety of common audio file formats (such as MP3, WAV, FLAC, etc.), and reads and parses audio files through a built-in decoding library or an external decoder. To improve transmission efficiency and real-time performance, in this embodiment, the audio data transmission unit 132 can adopt a streaming processing method, that is, reading and transmitting while reading, without waiting for the entire file to be read before transmission.

[0097] In this embodiment, the audio data transmission unit 132 matches the buffer with the transmission rate.

[0098] The audio data transmission unit 132 sets a buffer of a certain size to smooth the rate fluctuations during the data transmission process, ensuring that the data can be continuously and stably transmitted to the MQS unit. In addition, the audio data transmission unit 132 dynamically adjusts the transmission rate of the audio data according to the processing capacity and requirements of the MQS unit to avoid data overloading or underloading.

[0099] If the MQS unit does not support the format of the original audio file, the audio data transmission unit 132 needs to have a format conversion function to convert the audio data into a format recognizable by the MQS unit. On the premise of ensuring the sound quality, the audio data transmission unit 132 can also perform compression processing on the audio data to reduce the data transmission volume and storage space occupation.

[0100] During the data transmission process, the audio data transmission unit 132 adds an error detection mechanism (such as checksum, cyclic redundancy check, etc.) to detect and report transmission errors. When a transmission error is detected, the audio data transmission unit 132 retransmits the error packet according to a preset retransmission strategy (such as automatic retransmission, manual intervention, etc.).

[0101] In this embodiment, state monitoring of the audio data transmission unit 132 is also included to understand the working state of the audio data transmission unit 132 in real time (such as transmission rate, buffer occupancy, error statistics, etc.).

[0102] For example, in this embodiment, the audio file is transmitted to the MQS unit 133 through the AudioDataTransferUnit structure. The AudioDataTransferUnit structure includes an audio codec, a data buffer, and a communication interface with the MQS unit. The initialize function is used to initialize these components, and the transfer_audio_data function is responsible for reading the audio file, decoding, buffering, and sending it to the MQS unit through the communication interface.

[0103] In the sewing machine audio processing system, the MQS (Medium Quality Sound) unit receives digital audio signals from an audio decoder or a digital audio source and converts them into two PWM pulse audio signals. These two signals correspond to the left and right channels respectively, and are used to drive two speakers on the sewing machine to provide stereo audio output.

[0104] In this embodiment, the MQS unit 133 should provide a digital audio input interface compatible with an audio decoder or a digital audio source, such as I2S (Inter-IC Sound), SPDIF (Sony / Philips Digital Interface Format), etc. This interface is responsible for receiving the digital audio data stream, including the PCM (Pulse Code Modulation) data of the audio samples.

[0105] The MQS unit 133 internally contains digital-to-PWM conversion logic. The MQS unit 133 can be implemented through a digital-to-analog converter (DAC) or a dedicated PWM generator. The DAC converts the digital audio samples into analog voltage signals, and then these analog signals are used to modulate the pulse width of the PWM signal to generate a PWM waveform corresponding to the original audio signal. The PWM signal is a technique that represents an analog signal by changing the pulse width. In the MQS unit 133, each audio sample is converted into a PWM signal with a specific pulse width. The frequencies of these PWM signals should be high enough to accurately reproduce the frequency range of the original audio signal while avoiding audible noise or distortion.

[0106] The following is a simplified implementation example to illustrate how the MQS unit 133 converts a digital audio signal into two PWM pulse audio signals:

[0107] 1) Initialization:

[0108] Initialize the MQS unit 133, including configuring the digital audio input interface, setting the PWM frequency and duty cycle range, etc.

[0109] 2) Data reception: Receive the digital audio data stream from the audio decoder or the digital audio source.

[0110] 3) Data processing: Decode and format the digital audio data to extract the audio samples of the left and right channels.

[0111] 4) PWM conversion: For each audio sample, use the DAC to convert it into an analog voltage signal. Then, adjust the pulse width of the PWM signal according to the magnitude of the analog voltage signal to generate a PWM waveform corresponding to the original audio signal.

[0112] 5) Output: Send the generated PWM signals of the left and right channels to the playback control circuit 140 for amplification and playback.

[0113] Through the above steps, the MQS unit 133 converts the digital audio signal into two PWM pulse audio signals, providing high-quality audio output for the sewing machine.

[0114] In this embodiment, the playback control circuit 140 is connected to the playback device 200, filters and amplifies the received PWM pulse audio signal, and then outputs an audio analog signal to the playback device 200.

[0115] In this embodiment, the functions of the playback control circuit 140 include:

[0116] 1) Receiving the PWM pulse audio signal: receiving the PWM pulse signal containing audio information from the MQS unit 133.

[0117] 2) Filtering process: removing high-frequency noise and unnecessary harmonic components in the PWM signal to restore the original audio waveform.

[0118] 3) Amplification process: amplifying the filtered audio signal to a sufficient power level to drive the playback device 200 (such as a speaker) to emit sound.

[0119] 4) Outputting the audio analog signal: converting the amplified audio signal into an analog form and outputting it to the playback device 200 for playback.

[0120] Figure 4 It shows a schematic block diagram of the playback control circuit 140 in the sewing machine panel key voice broadcast system 100 described in the embodiment of the present application. As Figure 4 shown, in a specific embodiment of the present application, the playback control circuit 140 includes: a filter circuit 141 and a signal amplification chip 142.

[0121] In this embodiment, the circuit principle of the playback control circuit 140 is to build a band-pass filter circuit 141 through capacitors and resistors, then measure the output (PWM) signal of the control chip and the effective audio (analog) signal, and then adjust the capacitance and resistance values to filter out the invalid high-frequency signal and invalid low-frequency signal components in the output (PWM) signal of the control chip to form an effective audio (analog) signal, and then amplify the effective audio signal through the signal amplification chip 142 and output it to the power amplifier (speaker). By filtering out high-frequency and low-frequency components, the power consumption and audio background noise are effectively reduced.

[0122] In this embodiment, the filtering circuit 141 is connected to the audio parsing module 130, and is used to filter the two PWM pulse audio signals output by the audio parsing module 130 to output an effective audio analog signal. The filtering circuit 141 uses a low-pass filter (LPF) to remove the high-frequency components in the PWM signal. The cut-off frequency of the LPF should be properly selected to retain the effective frequency components of the audio signal while filtering out the high-frequency noise. The filtering circuit 141 can choose to use an active filter or a passive filter, specifically depending on the system requirements and performance requirements. Active filters usually provide better filtering effects but may require an additional power supply.

[0123] Figure 5 It shows the circuit diagram of the playback control circuit 140 in the sewing machine panel button voice broadcast system 100 described in the embodiment of the present application. Specifically, as Figure 5 shown, in a specific implementation manner of the present application, the filtering circuit 141 includes: a first filtering sub-circuit and a second filtering sub-circuit, which respectively filter the two PWM pulse audio signals; the first filtering sub-circuit and the second filtering sub-circuit are respectively connected through a stabilizing resistor and then combined into one path and connected to the input end of the signal amplification chip 142.

[0124] Among them, as Figure 5 shown, the first filtering sub-circuit includes a resistor R88, a capacitor C118, and a capacitor C127. One end of the resistor R88 is connected to the output end of one of the PWM pulse audio signals output by the audio parsing module 130, and receives one PWM pulse audio signal BOOT MODE0 from the audio parsing module 130. The other end of the resistor R88 is simultaneously connected to one end of the capacitor C118 and one end of the capacitor C127. The other end of the capacitor C118 is connected to the signal amplification chip 142, and the other end of the capacitor C127 is grounded. Among them, a stabilizing resistor R188 is connected between the other end of the capacitor C118 and the signal amplification chip 142.

[0125] As Figure 5 shown, the second filtering sub-circuit has the same structure as the first filtering sub-circuit, and is connected to the output end of the other PWM pulse audio signal output by the audio parsing module 130, and receives the other PWM pulse audio signal BOOT MODE1 from the audio parsing module 130.

[0126] After the second filtering sub-circuit and the first filtering sub-circuit pass through their respective corresponding stabilizing resistors, they are combined into one path and connected to the input end IN- of the signal amplification chip 142.

[0127] The filtered audio signal is usually weak and cannot directly drive the playback device 200. Therefore, an amplification circuit is needed to amplify the signal to a sufficient power level. In this embodiment, the signal amplification chip 142 is connected to the filtering circuit 141 and the playback device 200, and is used to amplify the valid audio analog signal output by the filtering circuit 141 and output the audio analog signal to the playback device 200.

[0128] The signal amplification chip 142 converts the amplified audio signal into an analog form and sends it to the playback device 200 through the output interface for playback. Among them, the playback device 200 is, for example, a speaker, a power amplifier (speaker J13), etc.

[0129] As Figure 5 shown, in a specific embodiment of the present application, the signal amplification chip 142 is connected with an enable circuit and a power supply circuit. Among them, the enable circuit receives the enable signal BUSY from the control chip and controls the operation of the signal amplification chip 142 based on the enable signal BUSY; among them, when the key input information of the sewing machine control panel is detected, the enable signal BUSY is in the enabled state; the enable circuit includes a connected first resistor R181 and a triode Q4, where a second resistor R182 is connected between the base and the emitter of the triode Q4, and the collector of the triode is connected to the enable terminal SD of the signal amplification chip 142; the power supply circuit includes a diode D14 connected to the power supply and two parallel capacitors connected to the diode D14: capacitor C41 and C39.

[0130] In this embodiment, the power supply circuit is used to ensure a stable power supply and protect the circuit from overload or short circuit.

[0131] In other embodiments, an integrated amplifier (such as an operational amplifier) or a discrete component amplifier can also be used to amplify the valid audio analog signal output by the filtering circuit 141 and output the audio analog signal to the playback device 200, for example Figure 5 the speaker J13 in.

[0132] In addition, in this embodiment, the playback control circuit 140 may further include a test circuit for testing the playback device 200 by inputting a test audio signal DAC_R and a test audio signal DAC_L to the playback control circuit 140. Among them, the test circuit includes a resistor R188, a resistor R216, a resistor R197, and a resistor R193.

[0133] This embodiment provides a method for voice announcement of sewing machine panel keys. Please refer to Figure 6, which shows the principle flowchart of the sewing machine panel key voice broadcast method described in the embodiments of the present application. As Figure 6 shown, the sewing machine panel key voice broadcast method described in the embodiments of the present application is applied to the above-mentioned sewing machine panel key voice broadcast system 100, and the method specifically includes the following steps:

[0134] S100, detecting the key input information of the sewing machine control panel, and obtaining the corresponding audio file from the storage module according to the key input information and the pre-configured entry mapping relationship;

[0135] S200, parsing the obtained audio file to obtain a PWM pulse audio signal, and outputting the PWM pulse audio signal to the playback control circuit;

[0136] S300, the playback control circuit performs filtering and amplification processing on the received PWM pulse audio signal and outputs an audio analog signal to the playback device.

[0137] The sewing machine panel key voice broadcast system 100 described in the embodiments of the present application can implement the sewing machine panel key voice broadcast method described in the present application, but the implementation device of the sewing machine panel key voice broadcast method described in the present application includes but is not limited to the structure of the sewing machine panel key voice broadcast system 100 listed in this embodiment. Any structural deformation and replacement of the prior art made according to the principle of the present application are included in the protection scope of the present application.

[0138] In several embodiments provided by the present application, it should be understood that the disclosed circuit device or method can be implemented in other ways. For example, the circuit device embodiments described above are only illustrative. For example, the division of modules / units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple modules or units can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed mutual coupling or direct coupling or communication connection can be through some interfaces, and the indirect coupling or communication connection of devices or modules or units can be in electrical, mechanical or other forms.

[0139] The modules / units described as separate components may or may not be physically separated. The components shown as modules / units may or may not be physical modules, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the modules / units can be selected according to actual needs to achieve the purpose of the embodiments of the present application. For example, in each embodiment of the present application, the various functional modules / units can be integrated in a processing module, or each module / unit can exist physically alone, or two or more modules / units can be integrated in one module / unit.

[0140] Those of ordinary skill in the art should also be further aware that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0141] The embodiment of the present application also provides a control chip for a sewing machine control panel, including the sewing machine panel button voice broadcast system 100 as described above. The control chip of the sewing machine control panel is one of the core components of the sewing machine control system, which is responsible for processing various input signals and controlling various functions of the sewing machine. In this embodiment, the control chips for implementing various functions of the sewing machine can all be applied to this application, and the control chip adopts, for example, a 1052 chip.

[0142] The embodiment of the present application realizes the management of entries and audio data through the software and hardware circuits of the main control chip, no longer relying on the list correspondence between multiple chips and storage modules, which is convenient for upgrading and maintenance, can effectively optimize the voice broadcast process of the sewing machine control panel, and improve the voice broadcast performance of the sewing machine control panel.

[0143] The embodiment of the present application also provides a sewing machine control panel, and the sewing machine control panel uses the control chip of the sewing machine control panel as described above to perform voice broadcast for the sewing machine panel buttons. The sewing machine control panel integrates various functions, such as sewing speed adjustment, stitch selection, thread tension adjustment, sewing mode switching, etc. Users can flexibly adjust various parameters according to different sewing requirements. The sewing machine control panel also has functions such as automatic thread cutting and automatic return, further improving the convenience and efficiency of operation.

[0144] In addition, in this embodiment, the sewing machine control panel can also real-time display the working state of the sewing machine, such as the current sewing speed, stitch length, thread tension size, etc. Users can timely understand the operation situation of the sewing machine for accurate adjustment. For example, when the fabric thickness changes, users can timely adjust the thread tension through the information prompt on the control panel to ensure the sewing quality.

[0145] In this embodiment, the sewing machine control panel can also perform fault alarm. When a fault or abnormal situation occurs in the sewing machine, the control panel will promptly send out an alarm signal and display the corresponding fault code or prompt message. This helps the user quickly locate the problem and take corresponding measures to handle it. For example, when the bobbin thread of the sewing machine runs out, a bobbin thread alarm prompt will appear on the control panel to remind the user to replace the bobbin thread.

[0146] In this embodiment, the control chip of the sewing machine control panel described above is used to perform voice broadcast of the sewing machine panel keys. The management of entries and audio data is realized through the software and hardware circuits of the main control chip. There is no need to rely on the list correspondence between multiple chips and storage modules, which is convenient for upgrading and maintenance. It can effectively optimize the voice broadcast process of the sewing machine control panel and improve the voice broadcast performance of the sewing machine control panel.

[0147] The above embodiments are only illustrative of the principles and effects of the present application, and are not used to limit the present application. Any person familiar with this technology can modify or change the above embodiments without departing from the spirit and scope of the present application. Therefore, all equivalent modifications or changes completed by those with ordinary knowledge in the technical field without departing from the spirit and technical ideas disclosed in the present application should still be covered by the claims of the present application.

Claims

1. A sewing machine panel button voice broadcast system, applied to the control chip of the sewing machine control panel, characterized in that: The sewing machine panel button voice broadcast system comprises: a storage module, an entry management module, an audio analysis module and a playback control circuit; A storage module stores a plurality of preset audio files; An entry management module, connected to the storage module and the audio analysis module respectively, for detecting key input information of the sewing machine control panel, and obtaining a corresponding audio file from the storage module according to the key input information and a pre-configured entry mapping relationship; An audio analysis module, connected to the audio analysis module and the playback control circuit respectively, analyzes the audio file obtained by the entry management module to obtain a PWM pulse audio signal, and outputs the PWM pulse audio signal to the playback control circuit; The playing control circuit is connected to the playing device, and outputs an audio analog signal to the playing device after filtering and amplifying the received PWM pulse audio signal.

2. The sewing machine panel button voice broadcast system according to claim 1, characterized in that: The entry management module includes: A term mapping relationship unit, used to pre-configure the mapping relationship between key input information and audio files; A key detection unit, used for detecting key input information of the sewing machine control panel when a key of the sewing machine control panel is triggered, and obtaining the name of the audio file based on the entry mapping relationship; An audio matching unit is used to obtain a corresponding audio file from the storage module based on the obtained name of the audio file.

3. The sewing machine panel button voice broadcast system according to claim 2, characterized in that: The name of the audio file stored in the storage module is configured to detect corresponding key input information of the sewing machine control panel; Alternatively, the name of the audio file stored in the storage module is configured to correspond to the audio playback content, and the name of the audio file corresponds to the key input information.

4. The sewing machine panel button voice broadcast system according to claim 1, characterized in that: The audio analysis module includes: an initialization configuration unit, an audio data transmission unit and an MQS unit; The initialization configuration unit is used to configure the sampling rate, bit width, channel of the audio, and the pin and clock of the MQS unit; The audio data transmission unit is used to transmit the audio file to the MQS unit; The MQS unit is used to convert the digital audio signal of the audio file into two-channel PWM pulse audio signals.

5. The sewing machine panel button voice broadcast system according to claim 1, characterized in that: The playback control circuit comprises: A filter circuit, connected to the audio analysis module, for filtering the two PWM pulse audio signals output by the audio analysis module and outputting a valid audio analog signal; The signal amplifying chip is connected to the filtering circuit and the playing device, and is used for amplifying the effective audio analog signal output by the filtering circuit, and outputting the audio analog signal to the playing device.

6. The sewing machine panel button voice broadcast system according to claim 5, characterized in that: The filtering circuit includes: a first filtering subcircuit and a second filtering subcircuit, which filter the two PWM pulse audio signals respectively; the first filtering subcircuit and the second filtering subcircuit are respectively connected through a stabilizing resistor to form a circuit connected to the input end of the signal amplifying chip.

7. The sewing machine panel button voice broadcast system according to claim 5, characterized in that: The signal amplification chip is connected to an enabling circuit and a power supply circuit; The enabling circuit receives an enabling signal from the control chip, and controls the signal amplifying chip to work based on the enabling signal; wherein, when the key input information of the sewing machine control panel is detected, the enabling signal is in an enabling state; the enabling circuit comprises a first resistor and a transistor connected to each other, wherein a second resistor is connected between the base and the emitter of the transistor, and the collector of the transistor is connected to the enabling terminal of the signal amplifying chip; The power supply circuit includes a diode connected to a power source and two parallel capacitors connected to the diode.

8. A method for voice broadcasting of buttons on a sewing machine panel, characterized in that: Applied to the sewing machine panel button voice broadcast system according to any one of claims 1 to 7, the method comprising: Detecting key input information of the sewing machine control panel, and acquiring corresponding audio files from the storage module according to the key input information and the pre-configured entry mapping relationship; Analyze the acquired audio file to obtain a PWM pulse audio signal, and output the PWM pulse audio signal to a playback control circuit; The playback control circuit performs filtering and amplification processing on the received PWM pulse audio signal and then outputs an audio analog signal to the playback device.

9. A control chip for a sewing machine control panel, characterized in that: include: A sewing machine panel button voice broadcast system as claimed in any one of claims 1 to 7.

10. A sewing machine control panel, characterized in that: The sewing machine control panel uses the control chip of the sewing machine control panel as claimed in claim 9 to perform voice broadcast of sewing machine panel buttons.

Citation Information

Patent Citations

  • Industrial sewing machine operating panel with voice prompt function

    CN103498305A

  • Voice broadcasting method and device based on DAC (Digital-to-Analog Converter)

    CN113486207A

  • Voice broadcasting circuit

    CN201788697U