Coke oven vehicle equipment voice broadcast system and method
By developing a deeply bound voice broadcasting system in coke oven equipment, the problem of lagging audio signal development of coke oven equipment is solved, low-cost and efficient voice prompt function is realized, and the intelligence level of the equipment is improved.
Patent Information
- Application Number
- CN202510234640.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-28
- Publication Date
- 2025-06-17
AI Technical Summary
The development of audio signals and information of coke oven equipment is relatively lagging behind, and it fails to meet the requirements of Industry 4.0 for intelligent production, resulting in huge room for development of audible technology of coke oven equipment.
It provides a voice broadcasting system for coke oven vehicle equipment, and realizes low-cost, rapid debugging and efficient voice prompt functions by deeply binding the existing coke oven equipment system. The system includes a voice file generation module, a PLC control module, an industrial control module and a hardware connection module. It uses voice generation software, WINCC software and C language code, combined with USB speakers to realize the generation and playback of voice files.
It improves the intelligence level of coke oven equipment, realizes low-cost and efficient voice broadcasting functions, simplifies the debugging process, avoids compatibility issues of independent systems, and has high response timeliness and low cost.
Smart Images

Figure CN120164449A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of industrial automation technology. Specifically, it particularly relates to a voice broadcast system and method for coke oven vehicle equipment. Background Art
[0002] In modern coke oven equipment, visualization technology has been very mature, including the upper computer screen of individual equipment and the digital twin screen of the entire coke oven. However, the development of audio signals and information of coke oven equipment lags relatively behind, only staying at the level of alarms and warnings, and fails to meet the requirements of intelligent production in Industry 4.0. Therefore, there is a huge room for development in the audibilization technology of coke oven equipment. Summary of the Invention
[0003] In view of the above-mentioned technical problems, a voice broadcast system and method for coke oven vehicle equipment are provided to fill the gap in the audibilization technology of coke oven equipment. The system realizes low-cost, rapid debugging, and efficient voice prompt functions by deeply binding to the existing coke oven equipment system, and improves the intelligent level of coke oven equipment.
[0004] The technical means adopted by the present invention are as follows:
[0005] A voice broadcast system for coke oven vehicle equipment, comprising:
[0006] A voice file generation module, configured to convert text into a voice file and store it in an industrial control computer;
[0007] A PLC control module, configured to generate a logic variable according to a trigger condition to activate voice broadcast;
[0008] An industrial control computer module, configured to receive the logic variable of the PLC control module and control the playback of the voice file;
[0009] A hardware connection module, including a USB speaker, for playing the voice file.
[0010] Furthermore, the voice file generation module uses voice generation software to convert text into a voice file and records the file duration.
[0011] Furthermore, the PLC control module activates voice broadcast by establishing a voice playback function block and a logic variable.
[0012] Furthermore, the industrial control computer module establishes variable mapping through WINCC software and writes C language code to implement the playback of the voice file.
[0013] Furthermore, the hardware connection module includes a USB speaker, which is connected to the USB interface of the industrial control computer.
[0014] The present invention also provides a voice broadcast method for coke oven vehicle equipment implemented based on the above-mentioned voice broadcast system for coke oven vehicle equipment, including the following steps:
[0015] Use voice generation software to convert text into a voice file and store it in the industrial control computer.
[0016] Establish a voice playback function block in the PLC system program and generate a logic variable according to the trigger condition.
[0017] Establish corresponding variables in the industrial control computer software WINCC to complete variable signal mapping.
[0018] Create a voice playback page in the WINCC screen to achieve synchronization of variable activation and voice broadcast.
[0019] Write MP3 voice playback code using the C language to achieve the playback of voice files.
[0020] Connect a USB speaker to the USB interface of the industrial control computer to complete the hardware connection.
[0021] Further, in the voice file generation step, use TTSMaker software to convert text into a voice file and record the file duration.
[0022] Further, in the PLC control step, activate the voice broadcast by establishing a voice playback function block and a logic variable.
[0023] Further, in the industrial control computer control step, establish variable mapping through WINCC software and write C language code to achieve the playback of voice files.
[0024] Further, in the hardware connection step, use a USB speaker to connect to the USB interface of the industrial control computer.
[0025] Compared with the prior art, the present invention has the following advantages:
[0026] 1. Specificity: The system is specially designed for coke oven equipment and is deeply integrated with existing equipment, avoiding compatibility problems of independent systems.
[0027] 2. Simple debugging: All logic programs are integrated in the upper computer WINCC, which is convenient for debugging and modification.
[0028] 3. High response timeliness: Programmed based on the WINCC and S-1500PLC environment, the response time is synchronized with the PLC hardware to ensure the synchronization of actions and broadcasts.
[0029] 4. Low cost: Only need to add an external speaker, and the cost is less than one hundred yuan, which has a huge advantage compared with other systems.
[0030] Based on the above reasons, the present invention can be widely promoted in the fields of industrial automation and the like. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.
[0032] Figure 1 It is a flowchart of the operation of the system of the present invention.
[0033] Figure 2 It is a recorded audio file provided by an embodiment of the present invention.
[0034] Figure 3 It is a diagram for sorting the order of audio files provided by an embodiment of the present invention.
[0035] Figure 4 It is a comparison diagram between the TIA Portal DB variable table and the WINCC screen provided by an embodiment of the present invention.
[0036] Figure 5 It is a WINCC mapped variable table provided by an embodiment of the present invention.
[0037] Figure 6 It is a WINCC voice playback screen provided by an embodiment of the present invention.
[0038] Figure 7 It is a coded C action code in the WINCC environment provided by an embodiment of the present invention.
[0039] Figure 8 It is a hardware design diagram provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0040] In order to enable those skilled in the art to better understand the solution of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0041] It should be noted that the terms "first", "second", etc. in the description, claims and above-mentioned drawings of the present invention are used to distinguish similar objects, and do not necessarily describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances, so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0042] The objective of the present invention is to develop a voice prompt system that is deeply bound to the existing coke oven equipment system, is quick and simple to debug, and has a low cost. Figure 1 This is the overall design scheme of the system of the present invention. This scheme takes the PLC of a single vehicle as the control core, and the external audio and the upper industrial control computer equipment are both connected to the PLC and controlled by the PLC control module. Among them, the content of the control is to generate a logic variable according to the trigger condition, the logic variable is mapped to the industrial control computer to generate a WINCC variable, the WINCC variable activates the MP3 startup code of the industrial control computer to play the MP3 audio file, and finally the final output state is expressed by the WINCC screen.
[0043] Based on this, the present invention provides a voice broadcast system for coke oven vehicle equipment, including:
[0044] A voice file generation module, which is used to convert text into a voice file and store it in the industrial control computer;
[0045] A PLC control module, which is used to generate a logic variable according to the trigger condition to activate the voice broadcast;
[0046] An industrial control computer module, which is used to receive the logic variable of the PLC control module and control the playback of the voice file;
[0047] A hardware connection module, including a USB speaker, which is used to play the voice file.
[0048] When specifically implemented, as a preferred implementation manner of the present invention, the voice file generation module uses voice generation software (such as TTSMaker) to convert text into a voice file and record the file duration. In this embodiment, such as Figure 2As shown, use the speech generation software (TTSMaker PC version) to convert text into recorded speech. Each audio file is a dedicated voice prompt. The figure shows the recording of the "Door Closing Alignment Completed" file. At the same time, record the duration of the recorded voice file for programming needs. Finally, store all the generated voice files on the industrial control computer of the coke oven equipment for use, such as Figure 3 as shown.
[0049] In specific implementation, as a preferred implementation manner of the present invention, the PLC control module activates voice broadcast by establishing a voice playback function block (FC block) and logical variables. In this embodiment, the PLC control module establishes a voice playback FC block and edits logical variables for activating different voices according to trigger conditions, such as Figure 4 (left half part) is the sorted voice activation signal, and the address is DB3.DBX2.0~DB3.DBX3.3, a total of 12 signals. At the same time, establish a voice step sequence variable. In Figure 4 , the current voice step sequence is 1, that is, the first step, and the activation variable is the coking push for alignment (address 2.0). It can be seen that "Pushing Position Alignment" on the right picture turns green.
[0050] In specific implementation, as a preferred implementation manner of the present invention, the industrial control computer module establishes variable mapping through WINCC software and realizes the playback of voice files. In this embodiment, first, the industrial control computer module establishes 12 corresponding variables through WINCC software, and the address is set to be the same as the activation variable in the PLC control module, that is, DB3.DBX2.0~DB3.DBX3.3, so as to complete variable signal mapping, such as Figure 5 . Secondly, create a voice playback page on the industrial control computer screen, such as Figure 6 . Logically connect each display block in the figure with the variables in Figure 5 to realize that when a certain variable in Figure 5 is activated to "1", the corresponding display block in Figure 6 becomes "green" to indicate activation. Finally, the industrial control computer module generates an instruction for MP3 voice playback through WINCC software, such as Figure 7 . The instruction for MP3 voice playback includes "Initialize MP3 decoder", "Set SDL audio device parameters", "Open audio device", "Start audio playback", "Read and decode MP3 data", "Clean up resources". The effect is to play the corresponding voice file according to the mapped variables received in WINCC, realizing voice broadcast synchronized with the device actions.
[0051] In specific implementation, as a preferred implementation manner of the present invention, the hardware connection module includes a USB speaker connected to the USB interface of the industrial control computer. In this embodiment, as Figure 8 As shown, after completing the preparation of the above voice file and logical variables, connect the USB speaker to the USB interface of the industrial control computer to receive the sound signal and play the voice.
[0052] The embodiment of the present invention also provides a method for voice broadcasting of coke oven vehicle equipment implemented based on the above voice broadcasting system for coke oven vehicle equipment, including the following steps:
[0053] Use voice generation software to convert text into a voice file and store it in the industrial control computer;
[0054] Establish a voice playback function block in the PLC system program and generate logical variables according to the trigger conditions;
[0055] Establish corresponding variables in the industrial control computer software WINCC to complete variable signal mapping;
[0056] Create a voice playback page in the WINCC screen to achieve synchronization of variable activation and voice broadcasting;
[0057] Write MP3 voice playback code using C language to achieve the playback of voice files;
[0058] Connect the USB speaker to the USB interface of the industrial control computer to complete the hardware connection.
[0059] For the embodiment of the present invention, since it corresponds to the above embodiment, the description is relatively simple. For relevant similarities, please refer to the description in the above embodiment, and details are not repeated here.
[0060] Specifically, as a preferred implementation manner of the present invention, in the voice file generation step, use TTSMaker software to convert text into a voice file and record the file duration.
[0061] For the embodiment of the present invention, since it corresponds to the above embodiment, the description is relatively simple. For relevant similarities, please refer to the description in the above embodiment, and details are not repeated here.
[0062] Specifically, as a preferred implementation manner of the present invention, in the PLC control step, activate voice broadcasting by establishing a voice playback function block (FC block) and logical variables.
[0063] For the embodiment of the present invention, since it corresponds to the above embodiment, the description is relatively simple. For relevant similarities, please refer to the description in the above embodiment, and details are not repeated here.
[0064] In specific implementation, as a preferred implementation manner of the present invention, in the step of controlling the industrial computer, a variable mapping is established through WINCC software, and C language code is written to implement the playback of voice files.
[0065] For the embodiments of the present invention, since they correspond to the above embodiments, the description is relatively simple. For relevant similarities, please refer to the description in the above embodiments, and details are not repeated here.
[0066] In specific implementation, as a preferred implementation manner of the present invention, in the step of hardware connection, a USB speaker is connected to the USB interface of the industrial computer.
[0067] For the embodiments of the present invention, since they correspond to the above embodiments, the description is relatively simple. For relevant similarities, please refer to the description in the above embodiments, and details are not repeated here.
[0068] The embodiments of the present application also disclose a computer-readable storage medium, in which a computer instruction set is stored. When the computer instruction set is executed by a processor, it implements the coke oven vehicle equipment voice broadcast method provided in any of the above embodiments.
[0069] In several embodiments provided by the present application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units can be a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components 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 coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of units or modules can be in an electrical or other form.
[0070] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or distributed to multiple units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0071] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit exists physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0072] When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, read-only memories (ROMs), random access memories (RAMs), mobile hard disks, magnetic disks, or optical discs that can store program codes.
[0073] Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A voice broadcast system for coke oven vehicle equipment, characterized in that: include: A voice file generation module is used to convert text into voice files and store them in the industrial computer; A PLC control module, used to generate logic variables according to trigger conditions to activate voice broadcasting; The industrial computer module is used to receive the logic variables of the PLC control module and control the playback of the voice file; Hardware connection module, including USB speakers, for playing voice files.
2. A coke oven vehicle equipment voice broadcast system according to claim 1, characterized in that: The voice file generation module uses voice generation software to convert text into a voice file and records the file duration.
3. A coke oven vehicle equipment voice broadcast system according to claim 1, characterized in that: The PLC control module realizes the activation of voice broadcast by establishing a voice broadcast function block and logic variables.
4. A coke oven vehicle equipment voice broadcast system according to claim 1, characterized in that: The industrial computer module establishes variable mapping through WINCC software and writes C language code to play the voice file.
5. A coke oven vehicle equipment voice broadcast system according to claim 1, characterized in that: The hardware connection module includes a USB speaker connected to the USB interface of the industrial computer.
6. A method for voice broadcasting of coke oven vehicle equipment implemented based on the voice broadcasting system for coke oven vehicle equipment according to any one of claims 1 to 5, characterized in that: The following steps are involved: Use speech generation software to convert text into speech files and store them in industrial computers; Establish a voice playback function block in the PLC system program and generate logic variables according to the trigger conditions; Establish corresponding variables in the industrial computer software WINCC and complete variable signal mapping; Create a voice playback page on the WINCC screen to synchronize variable activation with voice broadcast; Use C language to write MP3 voice playback code to play voice files; Connect the USB speaker to the USB port of the industrial computer to complete the hardware connection.
7. A coke oven vehicle equipment voice broadcast method according to claim 6, characterized in that: In the voice file generation step, TTSMaker software is used to convert text into a voice file and the file duration is recorded.
8. A coke oven vehicle equipment voice broadcast method according to claim 6, characterized in that: In the PLC control step, the activation of the voice broadcast is achieved by establishing a voice broadcast function block and a logic variable.
9. A coke oven vehicle equipment voice broadcast method according to claim 6, characterized in that: In the industrial computer control step, variable mapping is established through WINCC software, and C language code is written to realize the playback of voice files.
10. A coke oven vehicle equipment voice broadcast method according to claim 6, characterized in that: In the hardware connection step, a USB speaker is used to connect to the USB port of the industrial computer.