Marine main engine oil mist concentration detection simulation method, device and equipment and storage medium
By providing the selection of actual trigger modes and simulated trigger modes in the oil mist concentration detection simulation system, the problem of insufficient mode selection in the existing technology is solved, and a more flexible and intuitive learning experience of oil mist concentration detection is achieved, which improves learning efficiency and safety.
Patent Information
- Application Number
- CN202411613745.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2025-03-11
AI Technical Summary
The existing technology lacks flexible mode selection in the oil mist concentration detection simulation process, which leads to students being unable to make mode selection according to actual learning needs, limiting the in-depth understanding of changes in oil mist concentration and its influencing factors.
A ship host oil mist concentration detection simulation method is provided. By displaying the actual trigger mode and the controls that simulate the trigger mode, the user allows the user to select the trigger mode, obtain and display the gas concentration data, and perform preset alarm measures when the data exceeds the threshold.
By providing flexible mode selection, students' learning experience of oil mist concentration detection is enhanced, the intuitiveness and practicality of operations are improved, and students understand the importance of safety monitoring and emergency response methods are helped, and the safety and learning efficiency of practical training are improved.
Smart Images

Figure CN119600859A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of oil mist concentration detection simulation, and in particular to a method, device, equipment and storage medium for detecting and simulating the oil mist concentration of a ship main engine. Background Art
[0002] As the shipbuilding industry pays more attention to safe operation and environmental protection, the demand for training in oil mist concentration monitoring is increasing. In this context, the development of a simulation teaching and training system for oil mist concentration detection for students is particularly important. Existing technologies usually lack flexible mode selection in the simulation process of oil mist concentration detection, which makes students face some technical problems in the learning process.
[0003] The current oil mist concentration detection training system is mainly based on a single monitoring mode, which fails to meet the needs of students in different learning scenarios. This lack of flexibility makes it impossible for students to choose a mode according to their actual learning needs, thus limiting their in-depth understanding of the changes in oil mist concentration and its influencing factors. This limitation not only affects students' grasp of the principles of oil mist concentration monitoring, but also reduces their participation and learning effect in the simulation operation.
[0004] In addition, the existing training system also has shortcomings in emergency response training. Students fail to experience different alarm response scenarios, which makes them lack understanding of the importance of oil mist concentration monitoring and its treatment methods in actual operation.
[0005] Therefore, in the prior art, there is a technical problem of lack of flexible mode selection in the oil mist concentration detection simulation process. Summary of the invention
[0006] The purpose of the present invention is to overcome the above-mentioned technical deficiencies and provide a method, device, equipment and storage medium for simulating the detection of oil mist concentration of a ship main engine to solve the technical problem of lack of flexible mode selection in the process of oil mist concentration detection simulation in the related art.
[0007] In order to achieve the above technical objectives, the present invention adopts the following technical solutions:
[0008] In a first aspect, the present invention provides a method for simulating the detection of oil mist concentration of a ship main engine, the method comprising:
[0009] Display a first control and a second control; wherein the first control is a control representing a first trigger mode, and the second control is a control representing a second trigger mode; wherein the first trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is actually triggered, and the second trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is simulated triggered;
[0010] Determining a trigger mode selected by a user through a first operation of the user; wherein the first operation is an operation on the first control or the second control;
[0011] Based on the trigger mode selected by the user, at least gas concentration data is obtained and displayed;
[0012] When the gas concentration data exceeds a threshold value, a preset alarm measure is executed;
[0013] When it is detected that the user performs the third operation, the currently displayed data is cleared to return to the standby state.
[0014] In a second aspect, the present invention provides a device for simulating the detection of oil mist concentration of a ship main engine, the device comprising:
[0015] A display module, which is used to display a first control and a second control; wherein the first control is a control representing a first trigger mode, and the second control is a control representing a second trigger mode; wherein the first trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is actually triggered, and the second trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is simulated triggered;
[0016] A determination module, configured to determine a trigger mode selected by a user through a first operation of the user; wherein the first operation is an operation on the first control or the second control;
[0017] An acquisition module, which is used to acquire at least gas concentration data based on a trigger mode selected by a user and display the data;
[0018] An execution module, which is used to execute preset alarm measures when the gas concentration data exceeds a threshold value;
[0019] The clearing module is used to clear the currently displayed data to return to the standby state when it is detected that the user performs the third operation.
[0020] In a third aspect, the present invention provides an electronic device comprising: a memory, and one or more processors communicatively connected to the memory; the memory stores instructions executable by the one or more processors, and the instructions are executed by the one or more processors so that the one or more processors implement the above-mentioned method.
[0021] In a fourth aspect, the present invention provides a computer-readable storage medium, wherein the computer program is stored in the computer-readable storage medium, and the computer program implements the above method when executed by a processor.
[0022] Beneficial effects:
[0023] The present invention enables users to flexibly choose and participate in the learning of oil mist concentration detection by providing actual trigger mode and simulation trigger mode. After the user selects the mode, the system acquires and displays the gas concentration data in real time, which enhances the intuitiveness and practicality of the operation. When the concentration data exceeds the threshold, the system can promptly execute the preset alarm measures to help users understand the importance of safety monitoring and emergency response methods. By clearing the displayed data and returning to standby mode, the system ensures that users can conduct multiple experiments in a clean and controllable environment. This design improves the safety and learning efficiency of practical training, enabling students to better master the principles and applications of oil mist concentration detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 It is a flow chart of a method for simulating oil mist concentration detection of a ship main engine provided by an embodiment of the present invention;
[0025] Figure 2 It is a flow chart of a method for simulating oil mist concentration detection of a ship main engine provided by an embodiment of the present invention;
[0026] Figure 3 It is a block diagram of a ship main engine oil mist concentration detection simulation device provided by an embodiment of the present invention;
[0027] Figure 4 It is a block diagram of an electronic device used in an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0029] like Figure 1 As shown, this embodiment provides a method for simulating the detection of oil mist concentration of a ship main engine, and the method may include:
[0030] Step S102: Display a first control and a second control; wherein the first control is a control representing a first trigger mode, and the second control is a control representing a second trigger mode; wherein the first trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is actually triggered, and the second trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is simulated triggered.
[0031] In this embodiment, the ship main engine oil mist concentration detection simulation method can be executed by a ship main engine oil mist concentration detection simulation system.
[0032] In this embodiment, the ship main engine oil mist concentration detection simulation system can be a teaching and training device, which can help students understand the principle and application of oil mist concentration monitoring through real operation experience. The system can provide trigger mode selection, allowing students to switch between actual trigger mode and simulated trigger mode to adapt to different learning needs and scenarios.
[0033] Specifically, the ship main engine oil mist concentration detection simulation system may include:
[0034] The controller is the core of the whole system, used to coordinate and manage the work of each component. It receives the operation input by the user and controls the response process of the system according to different modes (actual trigger mode or simulated trigger mode). The controller determines the current gas concentration by reading the data of the sensing gun or calling the preset simulated data, and triggers the corresponding alarm measures (such as sound and light alarm) or clears the display data to restore the standby state.
[0035] The sensing gun is used to detect the gas concentration in the actual trigger mode. It senses the oil mist gas released by the spray device by inserting it into a specified position (for example, it can be a preset insertion port) and generates gas concentration data. The sensing gun transmits the collected data to the controller, enabling the system to trigger a warning or alarm state based on the actual gas concentration situation.
[0036] The spray device is used to generate gas with particle concentration in the actual trigger mode to simulate the oil mist environment of the ship's main engine. After receiving the command from the controller, the spray device releases a certain concentration of oil mist gas for detection by the sensing gun. By adjusting the intensity and release time of the spray device, the system can simulate oil mist environments of different concentrations to help users experience and understand the changing process of oil mist concentration.
[0037] The display module provides a user interface for displaying controls and data. The display module displays a first control and a second control, which correspond to the selection of the actual trigger mode and the simulated trigger mode, respectively. When displaying gas concentration data, the display module can intuitively reflect the current concentration state and display alarm information when it exceeds the standard. In addition, the display module also provides controls for alarm confirmation and reset, so that users can complete the management of the alarm state.
[0038] The sound and light alarm is connected to the controller and is used to sound and light alarms when the gas concentration exceeds the preset threshold, reminding users that there is a dangerous oil mist concentration. The sound and light alarm can alert users through sound and visual signals, enhance the intuitive understanding of the system response, and ensure that students can pay attention and take measures in time.
[0039] The storage device is used to store preset gas concentration data and detection status data in the simulation trigger mode. The storage device saves multiple data sets to help simulate different concentration conditions. When the user selects the simulation trigger mode, the controller calls the corresponding concentration data from the storage device to display the gas concentration change and alarm status on the display module, providing a safe practice mode.
[0040] The indicator module can be composed of indicator lights to display the working status of the system, including normal, warning, alarm and fault status. When the system enters different states, the corresponding indicator lights up to help users understand the system status in real time. For example, in the alarm state, the red indicator light flashes to remind students that the current concentration exceeds the standard.
[0041] More specifically, the sensing gun can be connected to the controller via a cable, and the gas concentration data collected by the sensing gun can be transmitted to the controller in real time. The controller is electrically connected to the spray device, and can send instructions to the spray device to control the start, stop and spray intensity of the spray.
[0042] The controller can be electrically connected to a display module (eg, a display screen), and the collected concentration data and status information can be sent to the display module for real-time display.
[0043] The controller can be electrically connected to the sound and light alarm. When it is detected that the gas concentration exceeds the standard, a start signal can be sent to the sound and light alarm.
[0044] The above-mentioned controller, spray device and storage device can be encapsulated in a cabinet or box. The controller can be a single-chip microcomputer, MCU or DSP, etc. The cabinet or box can provide an insertion hole for inserting the sensing gun. When the sensing gun is inserted into the cabinet or box, the controller can control the spray device to spray gas, and the controller can control the sensing gun to sense the gas concentration data of the gas. After acquiring the gas concentration data, the controller can display it through a display module (for example, an interactive display screen). When the gas concentration data exceeds the threshold, the controller can control the sound and light alarm to execute an alarm. The sound and light alarm can be set on the upper part of the cabinet or box. The indication module and the display module can be set on the surface of the box or cabinet.
[0045] In this embodiment, the first control and the second control may be a button. A user (eg, a student) switches between the actual trigger mode and the simulated trigger mode by short pressing or long pressing.
[0046] In this embodiment, the first control and the second control may be two separate buttons, each displaying corresponding character information, such as "actual trigger" and "simulated trigger".
[0047] Step S102: determining a trigger mode selected by the user through a first operation of the user; wherein the first operation is an operation on the first control or the second control.
[0048] In this embodiment, after receiving the user's selection, the controller will update the system status. The system prepares the corresponding operation process according to the selected trigger mode.
[0049] Step S104: Based on the trigger mode selected by the user, at least gas concentration data is acquired and displayed.
[0050] In this embodiment, the user can select the actual trigger mode or the simulated trigger mode.
[0051] In this embodiment, the gas concentration data can be acquired and displayed. The sensing gun state data and the gas concentration data can also be acquired and displayed.
[0052] Specifically, after the user selects the actual trigger mode, the system can check whether the sensing gun is correctly inserted into the designated insertion port. If not, the system will issue a prompt asking the user to insert the sensing gun. Once it is detected that the sensing gun is correctly connected, the system can send an instruction to the spray device to start the spray operation and spray gas with a certain particle concentration to simulate the real environment. The controller can send a start instruction to the sensing gun to collect relevant data. After the sensing gun receives the start instruction, the sensing gun can start to absorb the gas released by the spray device and transmit the gas sample to the detection unit for analysis through the internal suction device. The detection unit measures the concentration of the gas in real time and sends the concentration data and the working status of the sensing gun (for example, normal, faulty, etc.) to the controller.
[0053] Specifically, when the user selects the simulation trigger mode, the system retrieves the gas concentration data and the sensing gun status data from the preset storage device instead of measuring through the actual spray device. The controller generates the corresponding gas concentration value based on the preset data and obtains the corresponding sensing gun status (such as "normal operation" or "fault") at the same time to ensure that the simulated environment is consistent with the preset scenario.
[0054] In this embodiment, the controller transmits the real-time acquired gas concentration data and sensing gun status data to a display module (for example, a display panel, which can be set on the surface of the box). The display module can display the currently detected gas concentration in the form of numerical values or charts, so that the user can clearly understand the current working status. The working status of the sensing gun can also be displayed in the display module in text form, such as "normal", "fault" or "not connected", to help users quickly identify the working status of the device.
[0055] Gas concentration data can be updated in real time in both actual trigger mode and simulated trigger mode. In actual trigger mode, the system continuously monitors the data of the sensor gun and dynamically displays the latest gas concentration value and status information in the display module. In simulated trigger mode, the display module dynamically updates the display content based on the retrieved data. For example, the system can set a time series based on the preset concentration value to simulate the gradual change of gas concentration and display it on the user interface. In addition, users can also select different preset data sets through the controls provided in the display module to quickly switch to display concentration data and corresponding sensor gun status in different scenarios.
[0056] Step S106: When the gas concentration data exceeds a threshold, a preset alarm measure is executed.
[0057] In this embodiment, the threshold value may be a value pre-set by a user in the controller.
[0058] In this embodiment, the alarm measure may be that the controller sends a command to the sound and light alarm, so that the sound and light alarm sends an alarm to prompt the user.
[0059] In this embodiment, the alarm measure may also be that the controller updates the content displayed by the display module (e.g., display screen), for example, displaying prompt information that the concentration data exceeds the standard, specifically, a text prompt such as "Concentration exceeds the standard" or "Alarm status", to help users clearly identify the current situation.
[0060] Step S108: When it is detected that the user performs the third operation, the currently displayed data is cleared to return to the standby state.
[0061] In this embodiment, the controller may continuously monitor the user's input to determine when the user performs the third operation.
[0062] In this embodiment, the third operation may be an operation in which the user presses a "clear" or "reset" button on the display module, indicating that the user wishes to end the current operation and return to the initial state.
[0063] In this embodiment, when the user is detected to perform the third operation, the system will clear the currently displayed gas concentration data. On the display module, the displayed concentration value will be reset to "0" or "undetected". At the same time, the status information of the sensing gun (such as "normal operation", "fault" or "standby") will also be cleared, and the display module will no longer display the relevant status information.
[0064] In this embodiment, the controller can also send a reset command to the sensing gun and the spray device to ensure that all devices are in a safe initial state before subsequent operations, and a new round of training operations will not be affected by previous data.
[0065] The simulation method for detecting oil mist concentration of ship main engine provides actual trigger mode and simulated trigger mode, so that users can flexibly choose and participate in the learning of oil mist concentration detection. After the user selects the mode, the system acquires and displays gas concentration data in real time, which enhances the intuitiveness and practicality of the operation. When the concentration data exceeds the threshold, the system can promptly execute the preset alarm measures to help users understand the importance of safety monitoring and emergency response methods. By clearing the displayed data and returning to standby mode, the system ensures that users can conduct multiple experiments in a clean and controllable environment. This design improves the safety and learning efficiency of practical training, enabling students to better master the principles and applications of oil mist concentration detection.
[0066] like Figure 2 As shown, in some embodiments, the step of obtaining at least gas concentration data based on the trigger mode selected by the user and displaying the data includes:
[0067] Step S1062: When the user selects the first trigger mode, detecting whether a sensing gun is inserted into the target area.
[0068] In this embodiment, an inductive sensor (eg, a mechanical switch or an electronic sensor) may be installed at the sensing gun insertion port to detect whether the sensing gun is correctly inserted. The sensor may monitor in real time whether there is a sensing gun in the socket.
[0069] The inductive sensor sends a status signal (inserted or not inserted) to the controller. The controller receives the signal through the data bus and makes a judgment. The controller determines whether the sensing gun has been inserted based on the signal status of the sensor. If the sensor detects the sensing gun, the controller will record the status as "inserted"; if not, it will record it as "not inserted".
[0070] Step S1064: When the sensing gun is not detected, a corresponding prompt is issued.
[0071] In this embodiment, after receiving the signal that the sensing gun is not inserted, the controller executes the corresponding conditional judgment logic. The controller triggers the prompt mechanism, sounds an alarm or displays a message on the screen through the display module (for example, "No sensing gun is detected, please insert the sensing gun") to remind the user to operate.
[0072] Step S1066: When the sensing gun is detected, a command is issued to a preset spray device to control the spray device to perform a spray operation on the sensing gun.
[0073] In this embodiment, when the insertion of the sensing gun is confirmed, the controller will send a command signal to the spray device to instruct it to start the spray operation. After receiving the control signal, the spray device starts to spray gas in the direction of the sensing gun according to preset parameters (e.g., spray concentration, time). The controller can monitor the working status of the spray device in real time and ensure that the spray process meets the set standards.
[0074] Step S1068: Obtain gas concentration data from at least the sensing gun and display it.
[0075] In this embodiment, in addition to obtaining gas concentration data from the sensing gun and displaying it, gas concentration data and state data of the sensing gun can also be obtained from the sensing gun and displayed.
[0076] In this embodiment, the sensing gun starts to absorb gas samples through the internal suction device while the spray device sprays gas. The detection unit of the sensing gun analyzes the inhaled gas, measures the particle concentration in the gas, and generates gas concentration data. The detection unit sends the gas concentration data and the sensing gun status information (for example, working status, fault status, etc.) to the controller through an electrical signal. After receiving the data, the controller updates the display module in real time and dynamically displays the latest gas concentration value and sensing gun status information so that the user can intuitively view the current monitoring results.
[0077] This implementation method significantly improves the operational accuracy and user experience of the oil mist concentration detection simulation system by acquiring and displaying gas concentration data in steps. When the user selects the first trigger mode, the system first checks whether the sensing gun is correctly inserted to ensure the effectiveness of data collection; if the sensing gun is not detected, the system will issue a prompt in time to avoid data loss due to improper operation. After confirming that the sensing gun has been inserted, the system controls the spray device to release gas, allowing the user to monitor the changes in spray concentration in real time. This structured step not only improves the safety and flexibility of the teaching process, but also helps students better understand the key elements of oil mist concentration monitoring, and enhances students' practical training effects and emergency response capabilities.
[0078] In some embodiments, the step of obtaining gas concentration data from at least the sensing gun and displaying the data may include:
[0079] Step S10682: Obtain gas concentration data and sensing gun status data from the sensing gun and display them.
[0080] In this embodiment, the status data of the sensing gun includes working status data, connection status data, power status data, sensor status data and the like.
[0081] Specifically, the working status data may further include normal working state, standby state and fault state. Normal working state means that the sensing gun is operating normally and can accurately detect the gas concentration. Standby state means that the sensing gun is in a non-working state and no gas detection is performed. Fault state means that the sensing gun is faulty and cannot operate normally and needs to be inspected or repaired.
[0082] The connection status data may further include connected and unconnected. Connected means that the sensing gun is correctly inserted and connected to the system, ready for detection. Unconnected means that the sensing gun is not correctly inserted and the system cannot perform gas detection.
[0083] The power status data may further include power normal and power failure. Power normal means that the power supply of the sensing gun is normal and detection can be performed. Power failure indicates that there is a problem with the power supply of the sensing gun and it cannot operate normally.
[0084] The sensor status data may further include sensor normal and sensor failure. Sensor normal means that the sensor in the sensing gun functions normally and can accurately measure the gas concentration. Sensor failure means that the sensor fails, affecting the detection accuracy or failing to work.
[0085] In this embodiment, the monitoring accuracy of the oil mist concentration detection simulation system is significantly improved by obtaining and displaying gas concentration data and sensing gun status data from the sensing gun. This process enables users to understand the current gas concentration level and the working status of the sensing gun (such as normal or faulty) in real time, so as to better judge the safety of the operating environment. The real-time display of gas concentration data and status information not only helps students intuitively understand the changes in oil mist concentration, but also enhances their attention to the operation of the equipment and improves their emergency response capabilities. In addition, the display of concentration data and status data can promote students' understanding of the relationship between the various components of the system, laying a solid foundation for their future practical operations.
[0086] In some embodiments, the step of obtaining at least gas concentration data based on the trigger mode selected by the user and displaying the data comprises:
[0087] Step S10622: When the user selects the second trigger mode, the preset gas concentration data and the state data of the sensing gun are retrieved from the storage device and displayed.
[0088] In this embodiment, the storage device may be a solid state drive (SSD), a hard disk drive (HDD), or a memory card.
[0089] In this embodiment, by retrieving and displaying the preset gas concentration data and sensing gun status data from the storage device when the user selects the second trigger mode, the flexibility and teaching effect of the oil mist concentration detection simulation system are significantly improved. This mode allows users to simulate different gas concentration scenarios in a safe environment without actual spraying, which not only reduces the risk during the training process, but also enables users to practice repeatedly in a variety of preset scenarios. By displaying the retrieved data in real time, users can intuitively observe the changes in gas concentration and the status of the sensing gun, enhance their understanding of the system response, and thus better master the operational skills of oil mist concentration monitoring. In addition, the design of this method helps students establish emergency response awareness for different oil mist concentration situations, providing a more solid foundation for future practical operations.
[0090] In some embodiments, the step of executing a preset alarm measure when the gas concentration data exceeds a threshold value includes:
[0091] Step S1082: When the gas concentration data exceeds a threshold value, a start instruction is issued to a preset sound and light alarm or a prompt device to execute preset alarm measures.
[0092] In this embodiment, the system continuously monitors the real-time gas concentration data and compares it with the preset safety threshold. When the gas concentration reaches or exceeds the threshold, the controller immediately triggers the alarm mechanism. After the controller recognizes that the concentration exceeds the standard, it will generate a start instruction to instruct the system to start the sound and light alarm and prompt device. The instruction can be sent directly to the sound and light alarm and prompt device via a data bus or an electrical signal. After receiving the start instruction, the sound and light alarm immediately emits a loud alarm sound (such as a siren or buzzer) and lights up a red warning light at the same time to attract the attention of the operator.
[0093] In this embodiment, the prompt device may be an indicator light, and multiple indicator lights may be provided. For example, one indicator light may correspond to one sensing gun. When the gas concentration data of a sensing gun exceeds a threshold, the corresponding indicator light may light up.
[0094] It is understandable that a threshold value may also be set for the status data of the sensing gun, and when the status data of the sensing gun reaches the threshold value, the corresponding indicator light may light up.
[0095] Specifically, the system sets up multiple indicator lights, each of which corresponds to a specific sensing gun. The color and state of the indicator light (such as always on, flashing) can be used to indicate different working states or alarm conditions. For example, the indicator light can be marked as green (normal), yellow (warning), red (alarm), etc., so that the user can quickly identify the status of each sensing gun. During the monitoring process, the system can obtain the gas concentration data of each sensing gun in real time. When the gas concentration of a sensing gun exceeds the preset safety threshold, the system will trigger the corresponding indicator light to light up, which can be red, to remind the user that the status of the sensing gun is in an alarm state. In addition to the gas concentration, the system also monitors the status data of each sensing gun. The system can set thresholds for the status data of the sensing gun. For example, if the sensing gun fails or is not connected, the relevant indicator light may light up yellow or red to prompt the user to check.
[0096] The status of the indicator light can also change dynamically. For example, when the gas concentration returns to a safe range, the red indicator light will turn off and the green indicator light will turn on, indicating that the sensor gun has returned to normal. For status data, when the sensor gun returns to normal working state, the indicator light can also change from fault state to normal state, enhancing the user's understanding of the device status.
[0097] In some implementations, the step of clearing currently displayed data to return to the standby state when detecting that the user performs the third operation includes:
[0098] Step S1102: based on the user's third operation, clear the currently displayed gas concentration data and sensing gun status data.
[0099] In this embodiment, the system continuously monitors the user's input to determine when the user performs the third operation (e.g., pressing the "clear" or "reset" button). Once the user's third operation is detected, the controller will issue a clear instruction to instruct the system to clear the currently displayed gas concentration data and sensing gun status data. The system immediately clears the gas concentration value (e.g., numerical value, chart) and the sensing gun status information (e.g., "normal", "fault") displayed on the screen through the interface of the display module, and resets it to the default state (e.g., "undetected" or "0").
[0100] Step S1104: Reset the preset display module to the initial standby interface and display the standby state.
[0101] After the data is cleared, the controller will issue a command to reset the display module, requiring it to return to the initial standby interface.
[0102] The display module switches the display content and returns to the initial standby interface. The initial standby interface can be a static interface, for example, a "standby state" prompt or other relevant information can be displayed to ensure that the user can clearly identify that the system is in standby state.
[0103] Step S1106: Send a reset instruction to the preset sensing gun and the preset spray device.
[0104] After clearing the data and resetting the display module, the controller can generate a reset command to prepare to restore the system's sensing gun and spray device to an initial state.
[0105] The controller can send a reset command to the sensing gun and the spray device via a data bus or an electrical signal. The purpose of the command is to stop the operation of the spray device and ensure that the sensing gun is in an inactive state.
[0106] After receiving the reset command, the spray device will stop spraying to prevent accidental spraying of gas in standby mode. The sensor gun will be reset to standby mode and stop data collection to ensure that it will not be affected by the previous state before conducting a new experiment or simulation.
[0107] In this embodiment, by clearing the currently displayed gas concentration data and sensing gun status data and resetting the display module to the initial standby interface, the operational fluency and user experience of the oil mist concentration detection simulation system are significantly improved. When the user performs the third operation, the system can quickly return to the standby state, avoiding data confusion or misleading, and helping users to clearly understand the current operating environment. At the same time, a reset command is issued to the sensing gun and the spray device to ensure that the system is in a safe state after each simulation operation, reducing potential risks. This mechanism not only improves the safety of the system, but also enhances the students' active participation and learning efficiency in practical training, enabling them to conduct subsequent experiments and operations in a neat and controllable environment.
[0108] In some embodiments, between the steps of acquiring and displaying at least gas concentration data based on the trigger mode selected by the user and clearing the currently displayed data to return to the standby state when detecting that the user performs a third operation, the method further includes:
[0109] Displaying a third control; wherein the third control is a control representing a relay test;
[0110] In this implementation, the third control may be a button.
[0111] When the user operates the third control, the relay test mode is entered to display the status switching options of the early warning, alarm and fault relays.
[0112] In an embodiment, the relay test mode can be a mode that enables a user to simulate and test various relay functions in an oil mist concentration detection system. Specifically, after entering this mode, the system can provide an interactive interface that allows the user to operate and observe different relay states. The interface will display an introduction to the functions of each relay, including the definitions of early warning relays, alarm relays, and fault relays and their roles in the system. This helps users understand the importance of each relay in actual work. In this mode, users can select individual relays for testing, and the interface provides corresponding state switching options (e.g., activate or deactivate).
[0113] The state switching option may be a control that enables the user to enable or disable the relay.
[0114] Specifically, for the state switching option of the warning relay, the user can choose to activate or deactivate the warning relay. When the warning relay is activated, the system will simulate the monitoring of low-concentration oil mist and prompt the user to pay attention through an indicator light or sound. The indicator light can be yellow, indicating that the system is in a warning state.
[0115] For the state switching option of the alarm relay. The user can choose to activate or deactivate the alarm relay. When the alarm relay is activated, the system can simulate the situation where the gas concentration reaches a dangerous level and prompt the user through the flashing red indicator light and a loud alarm sound. At this time, the user can observe that the indicator light is on, which enhances the understanding of the alarm status.
[0116] For the state switching option of the fault relay. The user can also choose to activate or deactivate the fault relay. When the fault relay is activated, the system will simulate the situation that the sensing gun or other components of the system have a fault, and remind the user through the indicator light (can be blue or yellow) and the corresponding prompt sound. This option helps users learn how to identify and deal with equipment failures.
[0117] Based on the user's operation on the state switching option, the preset prompting device is controlled to perform the corresponding prompting.
[0118] In this embodiment, the prompting device may be an indicator light. The system may control the indicator light to light up or turn off to provide feedback on the current relay status. For example, when a fault relay is activated, the system may light up a blue indicator light and play a fault prompt tone to remind the user to perform a device inspection.
[0119] This implementation significantly enhances the functionality and user interaction experience of the oil mist concentration detection simulation system by introducing a third control for relay testing. When the user operates the third control to enter the relay test mode, the system displays the status switching options for the warning, alarm, and fault relays, allowing users to intuitively understand the working principles and response mechanisms of various types of relays. Through simple status switching operations, users can observe the changes in the indicator lights and hear the corresponding prompt sounds in real time, further enhancing their understanding and application of relay functions. This process not only enhances the fun and sense of participation in the training, but also helps students master the key components of the oil mist monitoring system in a safe environment, thereby improving their emergency response capabilities and practical operation skills.
[0120] According to an embodiment of the present invention, a simulation device for detecting oil mist concentration of a ship main engine is provided. Figure 3 , the device may include.
[0121] A display module, which is used to display a first control and a second control; wherein the first control is a control representing a first trigger mode, and the second control is a control representing a second trigger mode; wherein the first trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is actually triggered, and the second trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is simulated triggered;
[0122] A determination module, configured to determine a trigger mode selected by a user through a first operation of the user; wherein the first operation is an operation on the first control or the second control;
[0123] An acquisition module, which is used to acquire at least gas concentration data based on a trigger mode selected by a user and display the data;
[0124] An execution module, which is used to execute preset alarm measures when the gas concentration data exceeds a threshold value;
[0125] The clearing module is used to clear the currently displayed data to return to the standby state when it is detected that the user performs the third operation.
[0126] According to an embodiment of the present invention, an electronic device is provided. Figure 4 The electronic device in this embodiment may include one or more of the following components: a processor, a network interface, a memory, a non-volatile memory, and one or more applications, wherein the one or more applications may be stored in the non-volatile memory and configured to be executed by one or more processors, and the one or more programs are configured to execute the method described in the aforementioned method embodiment.
[0127] According to an embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a computer, the computer executes the method described in any of the above embodiments.
[0128] According to an embodiment of the present invention, a computer program product including instructions is also provided. When the instructions are executed by a computer, the computer executes a method in any one of the above embodiments.
[0129] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0130] Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment will not be described in detail here.
[0131] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0132] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0133] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for simulating the detection of oil mist concentration of a ship main engine, characterized in that: The method comprises: Display a first control and a second control; wherein the first control is a control representing a first trigger mode, and the second control is a control representing a second trigger mode; wherein the first trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is actually triggered, and the second trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is simulated triggered; Determining a trigger mode selected by a user through a first operation of the user; wherein the first operation is an operation on the first control or the second control; Based on the trigger mode selected by the user, at least gas concentration data is obtained and displayed; When the gas concentration data exceeds a threshold value, a preset alarm measure is executed; When it is detected that the user performs the third operation, the currently displayed data is cleared to return to the standby state.
2. The method according to claim 1, characterized in that The step of obtaining at least gas concentration data based on the trigger mode selected by the user and displaying the data comprises: In case the user selects the first trigger mode, detecting whether the sensing gun is inserted into the target area; If the sensing gun is not detected, a corresponding prompt is issued; In the case where the sensing gun is detected, a command is issued to a preset spray device to control the spray device to perform a spray operation toward the sensing gun; At least gas concentration data is acquired from the sensing gun and displayed.
3. The method according to claim 2, characterized in that The step of obtaining gas concentration data from at least the sensing gun and displaying the data comprises: Gas concentration data and status data of the sensing gun are obtained from the sensing gun and displayed.
4. The method according to claim 1, characterized in that: The step of obtaining at least gas concentration data based on the trigger mode selected by the user and displaying the data comprises: When the user selects the second trigger mode, the preset gas concentration data and the state data of the sensing gun are retrieved from the storage device and displayed.
5. A method for simulating the detection of oil mist concentration of a ship main engine according to claim 1, characterized in that: The step of executing a preset alarm measure when the gas concentration data exceeds a threshold value comprises: When the gas concentration data exceeds a threshold value, a start instruction is sent to a preset sound and light alarm or a prompt device sends a start instruction to execute preset alarm measures.
6. A method for simulating the detection of oil mist concentration of a ship main engine according to claim 1, characterized in that: The step of clearing the currently displayed data to return to the standby state when detecting that the user performs the third operation includes: Based on a third operation of the user, clearing the currently displayed gas concentration data and sensing gun status data; Reset the preset display module to the initial standby interface and display the standby state; Send a reset command to the preset sensing gun and the preset spray device.
7. A method for simulating the detection of oil mist concentration of a ship main engine according to claim 1, characterized in that: Between the steps of acquiring at least gas concentration data based on the trigger mode selected by the user and displaying the data and clearing the currently displayed data to return to the standby state when detecting that the user performs a third operation, the method further includes: Displaying a third control; wherein the third control is a control representing a relay test; When the user operates the third control, the relay test mode is entered to display the state switching options of the early warning, alarm and fault relays; Based on the user's operation on the state switching option, the preset prompting device is controlled to perform the corresponding prompting.
8. A ship main engine oil mist concentration detection simulation device, characterized in that: The device comprises: A display module, which is used to display a first control and a second control; wherein the first control is a control representing a first trigger mode, and the second control is a control representing a second trigger mode; wherein the first trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is actually triggered, and the second trigger mode is a mode representing that the ship main engine oil mist concentration detection simulation system is simulated triggered; A determination module, configured to determine a trigger mode selected by a user through a first operation of the user; wherein the first operation is an operation on the first control or the second control; An acquisition module, which is used to acquire at least gas concentration data based on a trigger mode selected by a user and display the data; An execution module, which is used to execute preset alarm measures when the gas concentration data exceeds a threshold value; The clearing module is used to clear the currently displayed data to return to the standby state when it is detected that the user performs the third operation.
9. An electronic device, characterized in that: include: a memory, and one or more processors communicatively coupled to the memory; Instructions executable by the one or more processors are stored in the memory. The instructions are executed by the one or more processors to enable the one or more processors to implement the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.