A data acquisition system and method suitable for use with mining equipment
By combining a power module, a signal conversion module, and an embedded controller, the problems of insufficient space and safety hazards in the acquisition of sensor data in mining equipment are solved, multi-protocol compatibility and efficient data transmission are achieved, and the reliability and flexibility of the system are improved.
Patent Information
- Application Number
- CN202411943558.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-27
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2044-12-27
AI Technical Summary
In the existing technology, the sensor data acquisition method of mining equipment requires a large number of terminals to be introduced into the control box, which results in insufficient space, safety hazards, high maintenance frequency, and difficulty in compatibility with multiple sensor protocols.
The system employs a power module, a signal conversion module, a CAN bus repeater, and an embedded controller to aggregate and convert data from various sensors into industrial Ethernet format. It also optimizes power status monitoring and data processing through genetic algorithms and simulated annealing algorithms.
It improves the system's reliability and security, enhances its flexibility and applicability, extends the communication distance, improves data acquisition efficiency and coverage, supports multiple sensor protocols, and reduces maintenance costs and security risks.
Smart Images

Figure CN119814494B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of intelligent control technology, and in particular to a data acquisition method suitable for mining equipment. Background Technology
[0002] In recent years, with the continuous advancement of intelligent coal mine construction, many intelligent control algorithms, operating platforms, and controllers need to incorporate the status information of the working face equipment and environment. The remote centralized control center summarizes and analyzes this information to determine whether the current working face equipment is in a healthy state and whether the working face environment is in a safe state. Currently, the collection of equipment and environmental information mainly involves directly connecting sensor data to the equipment control box, passing it through an isolation fence, and then connecting it to the controller, where data processing and analysis are completed.
[0003] The advantage of this mode is that device information is directly connected to the controller without intermediate steps, resulting in high data accuracy and real-time performance. However, due to the increasing variety and number of peripheral components such as sensors, the disadvantages of this mode are becoming increasingly apparent.
[0004] The control box must have a sufficient number of input terminals to accommodate sensor connections; it must also have ample internal space to facilitate wiring by assembly and maintenance personnel; control boxes often contain power cables with voltage levels of 3300V, 1140V, and 200V, which poses a significant safety hazard to maintenance personnel; as the brain of the equipment, excessive connection of external sensors to the control box inevitably increases the frequency of maintenance and is detrimental to maintaining a dry and clean environment inside the control box. Summary of the Invention
[0005] The technical problem to be solved by the present invention is to provide a data acquisition method suitable for mining equipment, which realizes the sorting and summarization of sensor data with various different protocols, and finally publishes it to the outside world in the data format of industrial Ethernet.
[0006] To solve the above-mentioned technical problems, the technical solution of the present invention is as follows:
[0007] Firstly, a data acquisition system suitable for mining equipment includes:
[0008] The power supply module includes an AC127V to DC24V power supply module, a DC24V to DC12V power supply module, and an early warning module. The AC127V to DC24V power supply module and the DC24V to DC12V power supply module are used to power the controller, communication module, acquisition module, and repeater. The early warning module is used to monitor the output voltage, current, and temperature parameters of the power supply module and to determine whether the power supply status is normal based on preset thresholds.
[0009] The signal conversion module includes a 485 communication to CAN communication module, which converts data from the 485 communication protocol to data from the CAN protocol; a discrete digital signal acquisition module, which acquires discrete data and converts it into data from the CAN protocol; and a continuous analog signal acquisition module, which acquires analog signal data and converts it into data from the CAN protocol.
[0010] A CAN bus repeater is used to aggregate signals from various sensors, amplify the CAN signal, and send it to the next cable to extend the communication distance of the CAN bus.
[0011] An embedded controller is used to process all data within the CAN bus and output data in industrial Ethernet format according to the communication protocol.
[0012] Furthermore, the output voltage, current, and temperature parameters of the power module are monitored; based on preset thresholds, the power supply status is determined to be normal, including:
[0013] Initialize the voltage, current, and temperature sensors connected to the power module;
[0014] According to a preset frequency, the output voltage, current and temperature data of the power module are collected by the sensor;
[0015] The collected data is preprocessed to obtain preprocessed data;
[0016] The voltage, current, and temperature thresholds of the power module are encoded as genes in a genetic algorithm.
[0017] Generate an initial population containing multiple individuals, each representing a set of threshold settings;
[0018] Define an evaluation function to evaluate the performance of each threshold setting when detecting abnormal power conditions;
[0019] Based on the results of the evaluation function, the corresponding individuals are selected for crossover and mutation operations to generate a new population. The process of fitness evaluation, selection, crossover and mutation is repeated until the preset number of iterations is reached. The threshold obtained by the genetic algorithm optimization is then applied to real-time monitoring.
[0020] The real-time collected voltage, current, and temperature data are compared with the optimized thresholds to determine whether the power supply is in normal condition.
[0021] Furthermore, analog data is acquired and converted into CAN protocol data, including:
[0022] Randomly generate an initial parameter configuration as the current solution;
[0023] Randomly generate new parameter configurations as candidate solutions within the neighborhood of the current solution;
[0024] Based on the defined optimization objective, the performance of the current solution and candidate solutions is evaluated. If the performance of the candidate solution meets the Metropolis criterion, the candidate solution is accepted as the new current solution. The current temperature is reduced according to the set temperature decrease rate until the preset number of iterations is reached. The parameter configuration obtained by the simulated annealing algorithm is applied to the continuous analog quantity acquisition module.
[0025] The optimized parameters are used to acquire analog data, and the acquired analog data is converted into CAN protocol format.
[0026] Furthermore, the signals from various sensors are aggregated, the CAN signal is amplified, and then sent to the next cable to extend the communication distance of the CAN bus, including:
[0027] Initialize the CAN bus repeater, setting the corresponding baud rate and frame type; configure the repeater's filtering rules;
[0028] It continuously receives CAN signals from various sensors and preprocesses the received signals.
[0029] The preprocessed signal is amplified and then sent to the next cable segment.
[0030] Furthermore, it processes all data within the CAN bus and outputs data in industrial Ethernet format according to the communication protocol, including:
[0031] Acquire the transmitted data on the CAN bus and set up a buffer for the transmitted data;
[0032] According to the CAN protocol specification, the received data frame is parsed to extract the valid data payload and related metadata, including the frame ID and timestamp.
[0033] Based on the correspondence between the CAN protocol and the industrial Ethernet protocol, define the data conversion mapping rules; according to the mapping rules, convert the CAN data into the data format and structure required by the industrial Ethernet protocol;
[0034] The converted data is encapsulated into a frame structure that conforms to the industrial Ethernet protocol standard. Based on the target network configuration, the transmission parameters are set, including source / destination MAC address, IP address and port number.
[0035] The encapsulated Ethernet data frame is placed into the transmission queue and awaits transmission.
[0036] Data frames are sent to the industrial Ethernet via a network interface card.
[0037] Furthermore, the formula for calculating the evaluation function is as follows:
[0038]
[0039] Where T represents a specific set of threshold settings; TP(T) is the number of actual anomalies detected at a given threshold T; TN(T) is the number of actual normalities detected at a given threshold T; FP(T) is the number of actual normalities detected at a given threshold T; FN(T) is the number of actual anomalies detected at a given threshold T; α, β, and γ are weighting coefficients; μ represents the mean of the Gaussian function, indicating the desired threshold center; and σ represents the standard deviation of the Gaussian function.
[0040] Secondly, a data acquisition method suitable for mining equipment includes:
[0041] The early warning module monitors the output voltage, current and temperature parameters of the power module in real time, and determines whether the power supply status is normal by using preset thresholds.
[0042] 485 communication data is converted into CAN communication data. Discrete digital data and continuous analog data are both collected and converted into CAN protocol data.
[0043] The CAN bus repeater aggregates and amplifies the signals from various sensors and transmits them to the next cable, thereby extending the communication distance of the CAN bus.
[0044] An embedded controller is used to process all data within the CAN bus and output data conforming to the industrial Ethernet format.
[0045] Furthermore, the early warning module monitors the output voltage, current, and temperature parameters of the power module in real time, and determines whether the power supply status is normal based on preset thresholds, including:
[0046] Initialize the voltage, current, and temperature sensors connected to the power module;
[0047] The power module's output voltage, current, and temperature data are collected by sensors at a preset frequency.
[0048] Preprocess the collected data;
[0049] Genetic algorithms are used to optimize the threshold values for voltage, current, and temperature of the power module.
[0050] Define an evaluation function to evaluate the performance of each set of thresholds in power state anomaly detection;
[0051] The real-time collected data is compared with the optimized threshold to determine whether the power supply status is normal.
[0052] Thirdly, a computing device, comprising:
[0053] One or more processors;
[0054] A storage device for storing one or more programs that, when executed by one or more processors, cause the one or more processors to implement the method.
[0055] Fourthly, a computer-readable storage medium storing a program that, when executed by a processor, implements the method.
[0056] The above-described solutions of the present invention include at least the following beneficial effects.
[0057] With AC127V to DC24V and DC24V to DC12V power modules, the system provides a stable and reliable power supply to the controller, communication module, acquisition module, and repeater, ensuring continuous and stable operation of the entire data acquisition system in harsh mining environments. The early warning module monitors the power module's output voltage, current, and temperature parameters in real time and determines the power supply status based on preset thresholds. This early warning mechanism helps to promptly identify potential problems with the power module, preventing data acquisition interruptions or equipment damage due to power failures, thus improving system reliability and safety. The signal conversion module supports 485 communication to CAN communication, as well as the acquisition and conversion of discrete digital and continuous analog signals into CAN protocol data. This design allows the system to be compatible with various types of sensors and communication protocols, greatly enhancing its flexibility and applicability.
[0058] CAN bus repeaters can aggregate signals from various sensors, amplify the CAN signal, and send it to the next cable, effectively extending the communication distance of the CAN bus. This means that in the complex layout of mining equipment, the system can achieve data transmission over longer distances, improving data acquisition efficiency and coverage. The embedded controller can process all data within the CAN bus and output data in industrial Ethernet format according to the communication protocol. This efficient data processing capability enables the system to quickly respond to data acquisition needs and promptly transmit the acquired data to a host computer or cloud for further analysis and processing. Attached Figure Description
[0059] Figure 1 This is a schematic diagram of a data acquisition system suitable for mining equipment provided by an embodiment of the present invention.
[0060] Figure 2 This is a schematic diagram of the internal structure of a data acquisition system for mining equipment provided in an embodiment of the present invention. Detailed Implementation
[0061] Exemplary embodiments of the present disclosure will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
[0062] like Figure 1 As shown, an embodiment of the present invention proposes a data acquisition system suitable for mining equipment, comprising:
[0063] The power supply module includes an AC127V to DC24V power supply module, a DC24V to DC12V power supply module, and an early warning module. The AC127V to DC24V power supply module and the DC24V to DC12V power supply module are used to power the controller, communication module, acquisition module, and repeater. The early warning module is used to monitor the output voltage, current, and temperature parameters of the power supply module and to determine whether the power supply status is normal based on preset thresholds.
[0064] The signal conversion module includes a 485 communication to CAN communication module, which converts data from the 485 communication protocol to data from the CAN protocol; a discrete digital signal acquisition module, which acquires discrete data and converts it into data from the CAN protocol; and a continuous analog signal acquisition module, which acquires analog signal data and converts it into data from the CAN protocol.
[0065] A CAN bus repeater is used to aggregate signals from various sensors, amplify the CAN signal, and send it to the next cable to extend the communication distance of the CAN bus.
[0066] An embedded controller is used to process all data within the CAN bus and output data in industrial Ethernet format according to the communication protocol.
[0067] In this embodiment of the invention, the system utilizes AC127V to DC24V and DC24V to DC12V power modules to provide stable and reliable power to the controller, communication module, acquisition module, and repeater, ensuring continuous and stable operation of the entire data acquisition system in harsh mining environments. The early warning module monitors the output voltage, current, and temperature parameters of the power module in real time and determines whether the power supply status is normal based on preset thresholds. This early warning mechanism helps to promptly identify potential problems with the power module, preventing data acquisition interruptions or equipment damage due to power failures, thus improving system reliability and safety. The signal conversion module supports 485 communication to CAN communication, as well as the acquisition and conversion of discrete digital and continuous analog signals into CAN protocol data. This design enables the system to be compatible with various types of sensors and communication protocols, greatly enhancing the system's flexibility and applicability.
[0068] CAN bus repeaters can aggregate signals from various sensors, amplify the CAN signal, and send it to the next cable, effectively extending the communication distance of the CAN bus. This means that in the complex layout of mining equipment, the system can achieve data transmission over longer distances, improving data acquisition efficiency and coverage. The embedded controller can process all data within the CAN bus and output data in industrial Ethernet format according to the communication protocol. This efficient data processing capability enables the system to quickly respond to data acquisition needs and promptly transmit the acquired data to a host computer or cloud for further analysis and processing.
[0069] In this embodiment of the invention, the output voltage, current, and temperature parameters of the power module are monitored; and the power supply status is determined to be normal based on a preset threshold, including:
[0070] Initialize the voltage, current, and temperature sensors connected to the power module;
[0071] According to a preset frequency, the output voltage, current and temperature data of the power module are collected by the sensor;
[0072] The collected data is preprocessed to obtain preprocessed data;
[0073] The voltage, current, and temperature thresholds of the power module are encoded as genes in a genetic algorithm.
[0074] Generate an initial population containing multiple individuals, each representing a set of threshold settings;
[0075] Define an evaluation function to evaluate the performance of each threshold setting when detecting abnormal power conditions;
[0076] Based on the results of the evaluation function, the corresponding individuals are selected for crossover and mutation operations to generate a new population. The process of fitness evaluation, selection, crossover and mutation is repeated until the preset number of iterations is reached. The threshold obtained by the genetic algorithm optimization is then applied to real-time monitoring.
[0077] The real-time collected voltage, current, and temperature data are compared with the optimized thresholds to determine whether the power supply is in normal condition.
[0078] In this embodiment of the invention, by initializing voltage, current, and temperature sensors connected to the power module, the system can accurately monitor the key output parameters of the power module. This precise monitoring capability helps to promptly detect abnormal changes in the power supply status, thereby triggering an early warning mechanism and ensuring the stable operation of the power system. Preprocessing the collected raw data can eliminate interference factors such as noise and outliers, improving the accuracy and reliability of the data. This helps to improve the accuracy of subsequent threshold comparisons and status judgments, reducing the possibility of false alarms and missed alarms. By optimizing the thresholds for voltage, current, and temperature of the power module using a genetic algorithm, the system can automatically find the optimal threshold combination to adapt to different working conditions and environmental changes. This adaptive threshold setting method improves the sensitivity and specificity of power supply status detection and enhances the robustness of the system. By defining an evaluation function and genetic operations such as selection, crossover, and mutation, the system can quickly converge to the optimal threshold setting and apply it to real-time monitoring. By monitoring the power supply status in real time and taking corresponding early warning or protection measures, the system can significantly reduce the risk of equipment downtime or damage due to power supply failures. This not only improves the reliability and service life of mining equipment but also reduces maintenance costs and safety hazards.
[0079] In this embodiment of the invention, the process of acquiring analog data and converting it into CAN protocol data includes:
[0080] Randomly generate an initial parameter configuration as the current solution. Specifically, this includes: determining the range of parameters to be optimized, such as sampling frequency, filter coefficients, amplification factor, etc.; using a random number generator to generate a set of initial parameter configurations within the defined parameter range, and setting this set of initial parameter configurations as the current solution, which serves as the starting point for the simulated annealing algorithm.
[0081] Randomly generate new parameter configurations as candidate solutions within the neighborhood of the current solution. Specifically, this includes: defining the neighborhood range of the current solution, i.e. the maximum allowable variation of each parameter; and generating a new set of parameter configurations as candidate solutions within the neighborhood of the current solution using a random number generator, ensuring that the candidate solutions remain within the defined range of valid parameters.
[0082] Based on the defined optimization objective, the performance of the current solution and candidate solutions is evaluated. If the performance of a candidate solution satisfies the Metropolis criterion, it is accepted as the new current solution. The current temperature is then reduced according to a set temperature decrease rate until a preset number of iterations is reached. The parameter configuration optimized by the simulated annealing algorithm is applied to the continuous analog signal acquisition module. Specifically, this includes: defining a performance evaluation function to measure the impact of parameter configuration on data acquisition quality, such as signal-to-noise ratio and error rate; performing simulated data acquisition using the current solution and candidate solutions respectively, and calculating their performance scores using the performance evaluation function; comparing the performance scores of the current solution and candidate solutions according to the Metropolis criterion. If the candidate solution performs better, or meets certain probability acceptance conditions (even if its performance is slightly worse), it is accepted as the new current solution; the current temperature value is updated according to a set temperature decrease rate, simulating the "cooling" step in the annealing process; and the steps are repeated until a preset number of iterations is reached or other stopping conditions are met.
[0083] The calculation formula for the performance evaluation function is as follows:
[0084] P = w S ×Sw R ×R;
[0085] Among them, w S and w R S is the weight; S is the signal-to-noise ratio; R is the error rate.
[0086] The process involves: acquiring analog data using optimized parameters and converting the acquired analog data into CAN protocol format. Specifically, this includes: saving the final parameter configuration obtained from the simulated annealing algorithm optimization; applying these optimized parameter configurations to the actual continuous analog acquisition module, replacing the original parameter settings, and ensuring that the new parameter configuration can be correctly recognized and loaded at the hardware or software level; starting the continuous analog acquisition module using the optimized parameter configuration to begin acquiring analog data; performing necessary preprocessing on the acquired analog data, such as filtering and amplification; encapsulating and encoding the preprocessed analog data according to the CAN protocol format, including setting the correct data frame ID, data length, and data content; and sending the encapsulated CAN protocol data to the CAN bus for other devices or systems to receive and process. The process also involves continuously monitoring the data acquisition and transmission process to ensure data accuracy and real-time performance.
[0087] In this embodiment of the invention, the simulated annealing algorithm enables the system to automatically find and optimize the parameter configuration of the continuous analog quantity acquisition module. This optimization process considers multiple possible parameter combinations to find the optimal configuration under specific conditions, improving the accuracy and efficiency of data acquisition. The optimized parameter configuration makes analog data acquisition more accurate and reliable. This reduces noise and interference during data acquisition, improves the signal-to-noise ratio of the data, and provides a high-quality data source for subsequent data analysis and processing. The simulated annealing algorithm is a general optimization method that can adapt to different working environments and acquisition requirements. By adjusting the optimization objectives and constraints, the system can flexibly adapt to various complex mining equipment application scenarios, improving the system's versatility and flexibility. Converting the acquired analog data into CAN protocol format facilitates high-speed data transmission and sharing. The CAN protocol has an efficient data transmission mechanism and broad compatibility, enabling data to be transmitted quickly and accurately between different devices and systems, improving the real-time performance and response speed of the entire data acquisition system. By automatically optimizing the parameter configuration, the need for manual intervention and adjustment is reduced. This lowers the system's maintenance costs and operational complexity, while also reducing the risk of configuration errors and performance degradation caused by human factors.
[0088] In this embodiment of the invention, the signals from various sensors are aggregated, the CAN signal is amplified, and then sent to the next cable to extend the communication distance of the CAN bus, including:
[0089] Initialize the CAN bus repeater, setting the corresponding baud rate and frame type; configure the repeater's filtering rules;
[0090] It continuously receives CAN signals from various sensors and preprocesses the received signals.
[0091] The preprocessed signal is amplified and then sent to the next cable segment.
[0092] In this embodiment of the invention, the CAN signal is amplified and forwarded to the next cable segment by a repeater, effectively extending the communication distance of the CAN bus. This makes it possible to achieve stable and reliable data transmission over a wider area or longer line, meeting the needs of long-distance communication. During signal transmission, signal quality may gradually degrade due to factors such as cable attenuation and external interference. By preprocessing and amplifying the received CAN signal through a repeater, the signal quality can be significantly enhanced, improving the anti-interference capability and stability of data transmission. The repeater can receive and process CAN signals from multiple sensors, realizing centralized management and unified forwarding of signals. This not only simplifies the system structure but also improves the efficiency and reliability of data transmission, facilitating subsequent data processing and analysis. By initializing and configuring the CAN bus repeater, parameters such as baud rate, frame type, and filtering rules can be flexibly set to adapt to different communication needs and network environments. The optimized CAN signal transmission scheme not only improves the performance of individual transmission links but also enhances the overall performance of the entire system.
[0093] In this embodiment of the invention, processing all data within the CAN bus and outputting data in industrial Ethernet format according to the communication protocol includes:
[0094] Acquire the transmitted data on the CAN bus and set up a buffer for the transmitted data;
[0095] According to the CAN protocol specification, the received data frame is parsed to extract the valid data payload and related metadata, including the frame ID and timestamp.
[0096] Based on the correspondence between the CAN protocol and the industrial Ethernet protocol, define the data conversion mapping rules; according to the mapping rules, convert the CAN data into the data format and structure required by the industrial Ethernet protocol;
[0097] The converted data is encapsulated into a frame structure that conforms to the industrial Ethernet protocol standard. Based on the target network configuration, the transmission parameters are set, including source / destination MAC address, IP address and port number.
[0098] The encapsulated Ethernet data frame is placed into the transmission queue and awaits transmission.
[0099] Data frames are sent to the industrial Ethernet via a network interface card.
[0100] In this embodiment of the invention, the process converts data on the CAN bus into data using the Industrial Ethernet protocol, enabling data interoperability between different communication protocols. This allows devices and systems originally running on the CAN bus to seamlessly interface with devices in the Industrial Ethernet network, broadening the scope and possibilities of data interaction. By defining efficient data conversion mapping rules, the process can quickly convert CAN data into Ethernet data format, reducing latency and overhead during the data conversion process. Simultaneously, leveraging the high-speed transmission characteristics of Industrial Ethernet significantly improves data transmission speed and efficiency. During the data conversion process, the payload and metadata (such as frame ID and timestamp) of the original CAN data are preserved, which is crucial for subsequent data processing and analysis. Furthermore, real-time transmission of the converted data via the network interface card ensures data real-time performance and availability, meeting the real-time data requirements of industrial applications. This process allows for flexible configuration of transmission parameters (such as source / destination MAC address, IP address, and port number) according to actual needs, enabling the system to adapt to different network environments and application requirements. Simultaneously, it supports data output for multiple Industrial Ethernet protocols, facilitating system expansion and upgrades.
[0101] In this embodiment of the invention, the calculation formula for the evaluation function is as follows:
[0102]
[0103] Where T represents a specific set of threshold settings; TP(T) is the number of actual anomalies detected at a given threshold T; TN(T) is the number of actual normalities detected at a given threshold T; FP(T) is the number of actual normalities detected at a given threshold T; FN(T) is the number of actual anomalies detected at a given threshold T; α, β, and γ are weighting coefficients; μ represents the mean of the Gaussian function, indicating the desired threshold center; and σ represents the standard deviation of the Gaussian function.
[0104] In this embodiment of the invention, the function comprehensively considers the quantities of four aspects: true positives (TP(T), true negatives (TN(T), false positives (FP(T)), and false negatives (FN(T)), thus comprehensively reflecting the performance of the model or system at a specific threshold T. This helps to more accurately evaluate the actual effect of the model or system and avoid the one-sidedness of a single indicator. By introducing weighting coefficients α, β, and γ, the function allows users to flexibly adjust the importance of each indicator according to actual needs. For example, in anomaly detection scenarios, recall (i.e., detecting as many actual anomalies as possible) may be more important, in which case the value of β can be increased. This flexibility makes the function applicable to different application scenarios and needs. The Gaussian part in the function makes the evaluation result not only dependent on the quantity of each indicator but also considers the degree of deviation of the threshold T from the expected threshold center μ. This means that when the threshold is set close to the expected center, the evaluation result will receive higher weight. This design helps guide the model or system to optimize towards the expected threshold, improving the stability and reliability of performance.
[0105] A data acquisition method suitable for mining equipment includes:
[0106] The early warning module monitors the output voltage, current and temperature parameters of the power module in real time, and determines whether the power supply status is normal by using preset thresholds.
[0107] 485 communication data is converted into CAN communication data. Discrete digital data and continuous analog data are both collected and converted into CAN protocol data.
[0108] The CAN bus repeater aggregates and amplifies the signals from various sensors and transmits them to the next cable, thereby extending the communication distance of the CAN bus.
[0109] An embedded controller processes all data within the CAN bus and outputs data conforming to the industrial Ethernet format. The early warning module monitors the power module's output voltage, current, and temperature parameters in real time and determines whether the power supply status is normal based on preset thresholds, including:
[0110] Initialize the voltage, current, and temperature sensors connected to the power module;
[0111] The power module's output voltage, current, and temperature data are collected by sensors at a preset frequency.
[0112] Preprocess the collected data;
[0113] Genetic algorithms are used to optimize the threshold values for voltage, current, and temperature of the power module.
[0114] Define an evaluation function to evaluate the performance of each set of thresholds in power state anomaly detection;
[0115] The real-time collected data is compared with the optimized threshold to determine whether the power supply status is normal.
[0116] It should be noted that this system is a system corresponding to the above method. All implementation methods in the above method embodiments are applicable to this embodiment and can achieve the same technical effect.
[0117] like Figure 2 As shown, a data acquisition system suitable for mining equipment includes: a housing, a power supply module, an embedded controller, a 485 communication to CAN communication module, a digital acquisition module, an analog acquisition module, a CAN bus repeater, and other modules.
[0118] The data acquisition device enclosure includes an outer shell, a window panel, an inlet device, and mounting rails. The outer shell houses the controller, 485-to-CAN communication module, discrete digital signal acquisition module, analog signal acquisition module, CAN bus repeater, power supply module, and other modules. The window panel serves as the cover for the outer shell, forming a sealed space. The inlet device is located on both sides of the outer shell, through which sensor power supply and communication cables enter the enclosure. The inlet device has an internal rubber sleeve to ensure its airtightness. The mounting rails are fixed to the bottom plate of the enclosure and are used to secure the 485-to-CAN communication module, discrete digital signal acquisition module, analog signal acquisition module, CAN bus repeater, and other components.
[0119] The internal components of the enclosure mainly include a power supply section, a signal conversion section, a signal integration section, and a controller section. The power supply module includes two types of power conversion modules: an AC127V to DC24V power supply module and a DC24V to DC12V power supply module, which can power the controller, the 485 communication to CAN communication module, the digital signal acquisition module, the analog signal acquisition module, the CAN bus repeater, and other modules.
[0120] The signal conversion section includes:
[0121] The 485 to CAN communication module is used to collect sensor data using the 485 communication protocol and convert the data into data under the CAN protocol.
[0122] The discrete digital acquisition module is used to acquire sensor data in the form of discrete signals and convert the data into data under the CAN protocol.
[0123] The continuous analog signal acquisition module is used to acquire sensor data in the form of analog signals and convert the data into data under the CAN protocol.
[0124] The signal integration section includes:
[0125] CAN bus repeaters are used to aggregate sensor signals from various sources, amplify the CAN signals, and send them to the next cable. This extends the communication distance of the CAN bus and improves the performance, reliability, and security of the CAN network.
[0126] The controller section includes:
[0127] The embedded controller needs to process all data within the CAN bus and output data in industrial Ethernet format according to the communication protocol.
[0128] Because mining equipment is large-scale specialized equipment, it has a wide variety and large number of sensors installed on its body. Connecting these sensors to the equipment control box is difficult, and the installation and maintenance process is complex. Data acquisition devices can effectively solve these problems. The purpose of the data acquisition device is to achieve the fusion of diverse and heterogeneous data, involving signal types including discrete digital signals, continuous analog signals, RS-485 signals, and CAN signals. The main components of the system include: a controller, a RS-485 to CAN communication module, a discrete digital acquisition module, an analog acquisition module, a CAN bus repeater, and a power supply module.
[0129] Figure 2 As shown in Figure A, the power supply module can transform external AC127V or AC220V to DC24V to power embedded controllers, 485 communication to CAN communication modules, discrete digital signal acquisition modules, analog signal acquisition modules, CAN bus repeaters, and external sensors. Figure 2 The module shown in B is the power supply module, which can transform the internal DC24V to DC12V to power the external sensors. Figure 2 The diagram in C shows a CAN bus repeater, which can connect devices such as 485 communication to CAN communication modules, discrete digital signal acquisition modules, and analog signal acquisition modules to the CAN bus, and send CAN bus data to the embedded controller.
[0130] Figure 2 The figure in D shows an embedded controller that can actively read data from the CAN bus, process it, and convert it into industrial Ethernet data to be sent to the ring network. Figure 2 The image shown in E is a discrete digital signal acquisition module, which can read multiple discrete signals and convert them into CAN data after processing. Figure 2 The module shown in F is a continuous analog signal acquisition module, which can read multiple analog signals and convert them into CAN data after processing. Figure 2 The module shown in G is a 485 to CAN communication module, which can read multiple 485 signals and convert them into CAN data after processing.
[0131] Embodiments of the present invention also provide a computing device, including: a processor and a memory storing a computer program, wherein the computer program, when executed by the processor, performs the method described above. All implementations in the above method embodiments are applicable to this embodiment and can achieve the same technical effects.
[0132] Embodiments of the present invention also provide a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the method described above. All implementations in the above method embodiments are applicable to this embodiment and can achieve the same technical effects.
Claims
1. A data acquisition system suitable for mining equipment, characterized in that, include: The power supply module includes an AC127V to DC24V power supply module, a DC24V to DC12V power supply module, and an early warning module. The AC127V to DC24V power supply module and the DC24V to DC12V power supply module are used to power the controller, communication module, acquisition module, and repeater. The early warning module is used to monitor the output voltage, current, and temperature parameters of the power supply module; The system determines whether the power supply status is normal by setting preset thresholds. This process includes: initializing voltage, current, and temperature sensors connected to the power module; collecting output voltage, current, and temperature data from the power module at preset frequencies using the sensors; preprocessing the collected data to obtain preprocessed data; encoding the voltage, current, and temperature thresholds of the power module into genes for a genetic algorithm; generating an initial population containing multiple individuals, each representing a set of threshold settings; defining an evaluation function to assess the performance of each set of threshold settings in detecting abnormal power supply status; selecting corresponding individuals for crossover and mutation operations based on the evaluation function results to generate a new population; repeating the fitness evaluation, selection, crossover, and mutation process until a preset number of iterations is reached; applying the thresholds optimized by the genetic algorithm to real-time monitoring; and comparing the real-time collected voltage, current, and temperature data with the optimized thresholds to determine whether the power supply status is normal. The formula for calculating the evaluation function is: ; in, Represents a specific set of threshold settings; At a given threshold The number of actual anomalies that were detected as anomalies; Represents a given threshold The actual number of items that are normal and were detected as normal; Represents a given threshold The number of items that are actually normal but were detected as abnormal; Represents a given threshold The number of items that are actually abnormal but are detected as normal; , and These are weighting coefficients; The mean of the Gaussian function is represented by , and the expected threshold center is indicated by . Standard deviation of Gaussian function The signal conversion module includes a 485 communication to CAN communication module, which converts data from the 485 communication protocol to data from the CAN protocol; a discrete digital signal acquisition module, which acquires discrete data and converts it into data from the CAN protocol; and a continuous analog signal acquisition module, which acquires analog signal data and converts it into data from the CAN protocol. A CAN bus repeater is used to aggregate signals from various sensors, amplify the CAN signal, and send it to the next cable to extend the communication distance of the CAN bus. An embedded controller is used to process all data within the CAN bus and output data in industrial Ethernet format according to the communication protocol.
2. The data acquisition system for mining equipment according to claim 1, characterized in that, Collect analog data and convert it into CAN protocol data, including: Randomly generate an initial parameter configuration as the current solution; Randomly generate new parameter configurations as candidate solutions within the neighborhood of the current solution; Based on the defined optimization objective, the performance of the current solution and candidate solutions is evaluated. If the performance of the candidate solution meets the Metropolis criterion, the candidate solution is accepted as the new current solution. The current temperature is reduced according to the set temperature decrease rate until the preset number of iterations is reached. The parameter configuration obtained by the simulated annealing algorithm is applied to the continuous analog quantity acquisition module. The optimized parameters are used to acquire analog data, and the acquired analog data is converted into CAN protocol format.
3. The data acquisition system for mining equipment according to claim 2, characterized in that, The system aggregates signals from various sensors, amplifies the CAN signal, and sends it to the next cable to extend the communication distance of the CAN bus, including: Initialize the CAN bus repeater, setting the corresponding baud rate and frame type; configure the repeater's filtering rules; It continuously receives CAN signals from various sensors and preprocesses the received signals. The preprocessed signal is amplified and then sent to the next cable segment.
4. The data acquisition system for mining equipment according to claim 3, characterized in that, Processes all data within the CAN bus and outputs data in industrial Ethernet format according to the communication protocol, including: Acquire the transmitted data on the CAN bus and set up a buffer for the transmitted data; According to the CAN protocol specification, the received data frame is parsed to extract the valid data payload and related metadata, including the frame ID and timestamp. Based on the correspondence between the CAN protocol and the industrial Ethernet protocol, define the data conversion mapping rules; according to the mapping rules, convert the CAN data into the data format and structure required by the industrial Ethernet protocol; The converted data is encapsulated into a frame structure that conforms to the industrial Ethernet protocol standard. Based on the target network configuration, the transmission parameters are set, including source / destination MAC address, IP address and port number. The encapsulated Ethernet data frame is placed into the transmission queue and awaits transmission. Data frames are sent to the industrial Ethernet via a network interface card.
5. A data acquisition method suitable for mining equipment, characterized in that, Applied to the system as described in any one of claims 1 to 4, comprising: The early warning module monitors the output voltage, current and temperature parameters of the power module in real time, and determines whether the power supply status is normal by using preset thresholds. 485 communication data is converted into CAN communication data. Discrete digital data and continuous analog data are both collected and converted into CAN protocol data. The CAN bus repeater aggregates and amplifies the signals from various sensors and transmits them to the next cable, thereby extending the communication distance of the CAN bus. An embedded controller is used to process all data within the CAN bus and output data conforming to the industrial Ethernet format.
6. The data acquisition method for mining equipment according to claim 5, characterized in that, The early warning module monitors the output voltage, current, and temperature parameters of the power supply module in real time, and determines whether the power supply status is normal based on preset thresholds, including: Initialize the voltage, current, and temperature sensors connected to the power module; The power module's output voltage, current, and temperature data are collected by sensors at a preset frequency. Preprocess the collected data; Genetic algorithms are used to optimize the threshold values for voltage, current, and temperature of the power module. Define an evaluation function to evaluate the performance of each set of thresholds in power state anomaly detection; The real-time collected data is compared with the optimized threshold to determine whether the power supply status is normal.
7. A computing device, characterized in that, include: One or more processors; A storage device for storing one or more programs that, when executed by one or more processors, cause the one or more processors to perform the method as described in claim 5 or 6.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program that, when executed by a processor, implements the method as described in claim 5 or 6.
Citation Information
Patent Citations
Multifunctional integrated communication gateway
CN110120913A
O-RU equipment health state management scheme
CN115994062A