Intelligent reasoning test object safety range data model extraction method
Through multi-level wavelet transform and growing neuron network, the time series signal characteristics of the intelligent system are extracted, and combined with logic simplification and dynamic adjustment technology, the feature extraction and adaptation problems in complex system safety monitoring are solved, and the robustness and adaptability of the system are improved. Security.
Patent Information
- Application Number
- CN202411037819.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-31
AI Technical Summary
Existing technologies are difficult to adapt to complex and changeable actual working conditions in safety monitoring and fault diagnosis of intelligent systems, and feature extraction and threshold setting are difficult. Especially when faced with multi-variable and non-linear signals, traditional methods are not effective, and It has strong dependence on high-quality annotation data and high requirements on computing resources and real-time performance.
Multi-level wavelet transform is used to extract multi-scale features of time series signals, and the growing neuron network is combined for feature learning and representation. Through logic simplification and dynamic adjustment technology, intelligent reasoning and efficient monitoring of the safety range of complex systems are achieved.
It improves the accuracy and computational efficiency of feature extraction, enhances the robustness and adaptive capabilities of the system, reduces the dependence on high-quality annotated data, and improves the security and reliability of the system.
Smart Images

Figure CN118569325B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data processing, and in particular relates to a method for extracting a safety range data model of an intelligent reasoning test object. Background Art
[0002] With the rapid development of modern science and technology, the application of intelligent systems in various fields is becoming more and more extensive, especially in the automotive industry and industrial automation. In these fields, ensuring the safe operation of systems and equipment is the top priority. In order to achieve this goal, the intelligent reasoning test object safety range data model extraction method has gradually become a research hotspot. Traditional safety monitoring and fault diagnosis methods usually rely on expert experience and preset rules. However, these methods have many limitations and are difficult to adapt to complex and changeable actual working conditions. Therefore, safety monitoring methods based on big data and intelligent algorithms have emerged.
[0003] In the existing technology, the following methods are mainly used to achieve the reasoning and monitoring of security range data:
[0004] Rule-based expert system: This method relies on expert experience and domain knowledge to judge the safety status of the system through preset rules and conditions. The advantage of this method is that it is simple to implement and easy to understand, but its limitations are also very obvious. First, the setting of rules relies on expert experience and it is difficult to cover all possible working conditions and abnormal situations. Second, the rule system is usually rigid and difficult to adapt to dynamically changing environments. In addition, the cost of formulating and maintaining rules is high, and it is difficult to deal with the multivariate interaction effects in complex systems.
[0005] Methods based on statistics and signal processing: This method uses historical data to monitor the operating status of the system through statistical analysis and signal processing techniques. For example, commonly used signal processing techniques include Fourier transform and wavelet transform, which can extract the frequency characteristics and time domain characteristics of the signal, and use statistical methods to establish thresholds to judge the safety status of the system. This method works well when dealing with single variables and simple working conditions, but when faced with multivariable and complex systems, the difficulty of feature extraction and threshold setting increases significantly. In addition, traditional statistical and signal processing methods are not effective when dealing with nonlinear and non-stationary signals, and it is difficult to capture sudden anomalies and complex patterns in the system.
[0006] Methods based on machine learning and artificial intelligence: In recent years, with the improvement of computing power and the development of big data technology, the application of machine learning and artificial intelligence methods in safety monitoring and fault diagnosis has gradually increased. Common machine learning methods include support vector machines, decision trees, random forests, neural networks, etc. These methods can automatically learn the operating mode and characteristics of the system through training with a large amount of historical data, thereby realizing intelligent judgment of the safety status. In particular, the development of deep learning technology has enabled multi-layer neural networks to perform well in processing complex high-dimensional data. However, there are also some challenges and problems with machine learning and artificial intelligence methods. For example, these methods usually require a large amount of labeled data for training, and in practical applications, it is often very difficult to obtain a large amount of high-quality labeled data. In addition, the training and adjustment of machine learning models require high expertise and computing resources, and have high requirements for the real-time performance of the system. Summary of the invention
[0007] In view of this, the main purpose of the present invention is to provide a method for extracting a data model of the safety range of a test object for intelligent reasoning, extracting multi-scale features of time series signals through multi-level wavelet transform, using a growing neuron network for feature learning and representation, and combining logical simplification and dynamic adjustment technology to achieve intelligent reasoning and efficient monitoring of the safety range of complex systems. The present invention can improve the accuracy and effectiveness of feature extraction, enhance computational efficiency and real-time performance, improve the robustness and adaptability of the system, and reduce dependence on high-quality labeled data, thereby comprehensively improving the safety and reliability of the system.
[0008] The technical solution adopted by the present invention is as follows:
[0009] A method for extracting a data model of a safety range of an intelligent reasoning test object, the method comprising:
[0010] Step 1: Collect the time series signal data of the test object, perform Haar wavelet transform on the time series signal data to extract multi-scale features and obtain the intermediate signal;
[0011] Step 2: using a pre-trained growing neuron network to extract a feature vector of the intermediate signal; the pre-trained growing neuron network is trained by the historical intermediate signals corresponding to the historical time series signal data collected at different times;
[0012] Step 3: Use Boolean functions to logically simplify the eigenvectors of the intermediate signals, find the optimal solution corresponding to the minimization of the Boolean function, and determine the preliminary safety boundary range;
[0013] Step 4: Set the state of the test object. Each state is represented by a characteristic vector of the intermediate signal corresponding to the time series signal data. All states constitute the state space. Calculate the distance between any two different states in the state space. Based on the distance, use the Green function to calculate the Green function value between any two different states. Based on all the Green function values, construct the influence matrix.
[0014] Step 5: Based on the determinant value of the influence matrix, adjust the preliminary safety margin range to obtain the safety margin range; determine the target value of the test object, multiply the target value by the safety margin weight range, and obtain the safety range data corresponding to the target value of the test object.
[0015] Furthermore, the test object is an automobile engine or an automobile gearbox.
[0016] Furthermore, when the test object is an automobile engine, the timing signal data and the historical timing signal data both include at least: engine speed, fuel consumption rate, turbo boost pressure, intake temperature, exhaust temperature and oil pressure; when the test object is an automobile gearbox, the timing signal data and the historical timing signal data both include at least: gearbox oil temperature, gearbox case temperature, hydraulic system pressure, clutch pressure, input torque, output torque, input shaft speed and output shaft speed.
[0017] Furthermore, step 1 specifically includes: assuming that the test object is collected at time The timing signal data at is ,set up For a length of The signal is represented by ; Use a Gaussian filter to smooth the collected time series signal data, and then standardize the smoothed time series signal data so that the mean of all elements in the time series signal data is 0 and the variance is 1, and obtain the preprocessed time series signal data; Perform the following process on the preprocessed time series signal data: Perform a Haar wavelet transform on the preprocessed time series signal data to obtain the low-frequency coefficients of the first layer and the high-frequency coefficients of the first layer; Perform a further wavelet transform on each low-frequency coefficient to obtain the coefficients of the second layer; and so on, iteratively perform After that, we get multi-level low-frequency coefficients and high-frequency coefficients. Based on all the low-frequency coefficients and high-frequency coefficients, we use the following formula to get the intermediate signal: :
[0018] ;
[0019] in, is the layer index; is the sampling point index; For the Layer Low frequency coefficients of sampling points; For the Layer High frequency coefficients of sampling points; For the The iterative weight coefficient of the layer is expressed using the following formula:
[0020] .
[0021] Furthermore, in step 2, the method of obtaining a pre-trained growing neuron network by training the historical intermediate signal corresponding to the collected historical time series signal data includes:
[0022] Step 2.1: Set the initial number of neurons , for the neurons, randomly initialized weight vector ; Among them, the historical intermediate signals form the input matrix ;in, is the dimension of the historical intermediate signal, For the The neuron in dimensional weight vector; is the total number of historical intermediate signals; Indicates The historical intermediate signal of time;
[0023] Step 2.2: For each historical intermediate signal, calculate the composite distance with the weight vectors of all neurons, find the best matching neuron as the winning neuron;
[0024] Step 2.3: Define the neighborhood function and use the following formula: Update the weight vector of the winning neuron and its neighboring neurons:
[0025] ;
[0026] in, For the Neurons at time The weight vector at the moment; For the Neurons at time The weight vector at the moment, which represents the state or characteristics of the neuron after an update; is the learning rate, which controls how much the weight vector changes at each update; is the neighborhood function; it defines the The neighborhood relationship between neurons and the winning neuron; the value of the neighborhood function depends on the distance and time between neurons , and continuous parameters , which controls neighborhood range and strength; is the index of the current neuron; is the index of the winning neuron; is a continuous neighborhood parameter, which is used to introduce continuously changing neighborhood weights during the update process to increase the smoothness of the update process; is the integral operator, which means that Continuous accumulation of neighborhood functions and error terms in the range from 0 to 1;
[0027] Step 2.4: Dynamically add new neurons according to the growth criteria;
[0028] Step 2.5: Repeat steps 2.2 to 2.4 until the network converges, that is, the generalized quantization error reaches the preset convergence condition or the maximum number of iterations.
[0029] Furthermore, in step 2.2, the following formula is used to calculate the composite distance with the weight vectors of all neurons and find the best matching neuron as the winning neuron:
[0030] ;
[0031] in, is the index of the calculated winning neuron; , and is the serial number index; is the first weight coefficient, ranging from 0.2 to 0.4; is the rounding operator; is the second weight coefficient, ranging from 0.3 to 0.5; is the third weight coefficient, ranging from 0.1 to 0.5.
[0032] Furthermore, the neighborhood function is expressed using the following formula:
[0033] ;
[0034] in, For the The position vector of the neuron in the pre-trained growing neuron network; is the position vector of the winning neuron in the pre-trained growing neuron network; is the neighborhood function variable.
[0035] Furthermore, the generalized quantization error of the pre-trained growing neural network is defined as Use the following formula to express it:
[0036] .
[0037] Furthermore, in step 2.4, when the quantization error of a neuron exceeds the set error threshold, a new neuron is dynamically added, and the weight vector of the newly added neuron is calculated using the following formula: :
[0038] ;
[0039] in, is the growth step parameter; is the weight vector of the winning neuron.
[0040] By adopting the above technical scheme, the present invention produces the following beneficial effects: the present invention can effectively extract multi-scale features in the signal by performing multi-level wavelet transform on the time series signal. Haar wavelet transform is particularly suitable for decomposing time series signals and can capture the detail changes and overall trends in the signal. Through multi-level decomposition, the low-frequency coefficient reflects the long-term trend of the signal, while the high-frequency coefficient reflects the short-term fluctuation and detail information. This multi-scale feature extraction method makes the feature information more comprehensive and accurate, which is helpful for subsequent feature learning and intelligent analysis. The growing neuron network can dynamically add new neurons during the training process and optimize the network structure to adapt to complex and changeable input data. The traditional neural network structure is fixed and difficult to adapt to complex changes in time series signals, while the growing neuron network can adaptively add new neurons through the dynamic adjustment of quantization errors, reduce the overall error, and improve the adaptability of the network and the accuracy of feature extraction. This adaptive learning ability enables the network to show stronger robustness and flexibility when processing high-dimensional and nonlinear data. In actual working conditions, the system operating environment is complex and changeable, and the traditional fixed structure monitoring system is difficult to adapt to such changes. The present invention enables the system to have excellent robustness and adaptability through adaptive learning and dynamic adjustment of the growing neuron network. Whether facing sudden changes in signals or changes in the environment, the system can ensure the accuracy and stability of monitoring and analysis by dynamically adjusting the network structure and optimizing the weight vector. This robustness and adaptability greatly improves the application value and reliability of the system under complex working conditions. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 A flowchart of a method for extracting a safety range data model of a test subject by intelligent reasoning provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0042] All features disclosed in this specification, or steps in all methods or processes disclosed, except mutually exclusive features and / or steps, can be combined in any manner.
[0043] Any feature disclosed in this specification (including any additional claims and abstract), unless otherwise stated, may be replaced by other alternative features that are equivalent or have similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
[0044] Example 1: Reference Figure 1 , a method for extracting a data model of a safety range of a test object through intelligent reasoning, the method comprising:
[0045] Step 1: Collect the time series signal data of the test object, perform Haar wavelet transform on the time series signal data to extract multi-scale features and obtain the intermediate signal;
[0046] Time series signal data refers to continuous data collected at different times that reflects the state of the test object. These data may come from various sensors, monitoring equipment or other data acquisition systems, covering the behavioral characteristics and state changes of the test object at different times. The purpose of collecting these data is to capture the dynamic changes of the test object and provide basic data for subsequent analysis and processing. Next, the collected time series signal data is subjected to Haar wavelet transform. The core of this process is the multi-scale analysis of the signal. Haar wavelet transform is a commonly used signal processing technology that can decompose the original signal into sub-signals of different scales, thereby extracting the multi-scale characteristics of the signal. Specifically, Haar wavelet transform decomposes the signal step by step by iterative low-pass and high-pass filtering of the signal. This decomposition not only retains the overall characteristics of the signal, but also highlights the local characteristics of the signal at different scales, so that important information hidden in the original signal can be revealed. A significant advantage of Haar wavelet transform is its high computational efficiency and ability to quickly process large-scale data. Through Haar wavelet transform, complex time series signals can be simplified into a series of sub-signals that are easier to process. These sub-signals contain different frequency components of the original signal, making it possible to analyze the characteristics of the signal from multiple angles. For example, when processing the time series signals of the test subjects, the low-frequency components may reflect the overall trend and slow-changing characteristics of the object, while the high-frequency components may reveal the instantaneous changes and emergencies of the object. In the process of extracting multi-scale features, the generation of intermediate signals is an important result. The intermediate signals are obtained by performing Haar wavelet transform on the original time series signals, which contain feature information at each scale. These intermediate signals not only retain the key information of the original signal, but also remove noise and redundant data, thereby improving the analyzability and reliability of the data. By analyzing these intermediate signals, the behavior patterns and state changes of the test subjects can be captured more accurately, laying the foundation for subsequent feature extraction and analysis. The multi-scale analysis capability of the Haar wavelet transform enables the characteristics of the signal to be understood from multiple levels. This feature is of great significance in practical applications. For example, when detecting abnormal states, feature information at different scales can help identify subtle abnormal changes, as well as overall abnormal trends over a large range. This multi-level analysis capability makes the Haar wavelet transform perform well in signal processing and feature extraction, and is particularly suitable for processing complex time series signal data.
[0047] Step 2: using a pre-trained growing neuron network to extract a feature vector of the intermediate signal; the pre-trained growing neuron network is trained by the historical intermediate signals corresponding to the historical time series signal data collected at different times;
[0048] First, the growing neuron network is a special type of neural network that aims to gradually form a highly expressive network structure by simulating the growth process of biological neurons. The uniqueness of this network is that it can adaptively adjust the topology of the network according to the characteristics of the input data, making it more suitable for feature extraction and data expression. The pre-training process is a key part of the learning phase of the growing neuron network. Through the training of a large amount of historical time series signal data and the corresponding intermediate signal feature vectors, the network can gradually capture the potential patterns and complex features in the data. In the training phase, the network receives historical time series signal data of different time periods, which are transformed by Haar wavelet to generate historical intermediate signals. Then, the network extracts the feature vectors of these intermediate signals, which reflect the important feature information in the historical data. By continuously adjusting the network weights and structure, the growing neuron network gradually optimizes its internal parameters, enabling it to express and extract signal features more accurately. The purpose of pre-training is to enable the network to quickly and accurately extract feature vectors when processing new intermediate signals.
[0049] In practical applications, when a new intermediate signal is input into the pre-trained growing neuron network, the network uses its learned feature extraction capabilities to process the intermediate signal and generate feature vectors. These feature vectors are high-dimensional numerical representations that contain key feature information of the signal. For example, the feature vector may contain the frequency components, amplitude changes, periodic characteristics, etc. of the signal, which are crucial for understanding the behavior pattern and state changes of the signal. In this way, the pre-trained growing neuron network can not only process new intermediate signals efficiently, but also extract the complex features hidden in the signal and provide high-quality feature vectors for subsequent analysis and processing. The key to this process lies in the pre-training stage of the network. Through a large amount of historical data, the network continuously optimizes its internal structure and parameters, thus having a strong feature extraction capability. When extracting feature vectors, the pre-trained growing neuron network demonstrates its advantages in processing complex signal data. Traditional feature extraction methods often rely on artificially designed features and fixed algorithms, and cannot adapt to the diversity and complexity of signal data. The growing neuron network can adjust its own structure according to the characteristics of the data through adaptive learning and optimization, so as to more accurately capture the key features of the signal. This adaptive ability enables the growing neuron network to perform well in processing various complex signals, especially when it is necessary to extract multi-scale and multi-dimensional features. In addition, the pre-training process of the growing neuron network also includes the processing and identification of abnormal data. Through training with historical data, the network can identify normal and abnormal patterns in the data. When new intermediate signal data is input, the network can quickly determine whether the signal is abnormal and extract the abnormal feature vector. This is crucial to ensure the safety of the test subjects. By extracting and analyzing the features of abnormal signals, potential risks and problems can be warned in advance, so that appropriate measures can be taken to deal with them.
[0050] Step 3: Use Boolean functions to logically simplify the eigenvectors of the intermediate signals, find the optimal solution corresponding to the minimization of the Boolean function, and determine the preliminary safety boundary range;
[0051] The feature vector is extracted from the intermediate signal, which contains the key information of the timing signal of the test object. However, these feature vectors are often high-dimensional and contain a large amount of complex data. In this case, directly using these high-dimensional feature vectors to determine the safety margin may be very complicated and computationally expensive. Therefore, using Boolean functions to logically simplify these feature vectors is an effective processing method. Boolean functions are mathematical expressions used to describe logical relationships. Through the operation of Boolean algebra, complex logical expressions can be simplified to make them more concise and easy to calculate. In the specific operation, the feature vector is first converted into a Boolean expression. The core of this step is to map continuous numerical features into discrete logical states, that is, to represent each element of the feature vector as a Boolean variable. The combination of these Boolean variables forms a complex logical expression that describes all possible states of the feature vector. Next, these Boolean expressions are simplified by logical simplification. The goal of logical simplification is to find a most simplified expression, that is, to simplify the form of the logical expression as much as possible without losing the original information. The process of logical simplification can be implemented by a variety of methods, such as using Karnaugh maps, Quinn-McCluskey algorithm, etc. The basic principle of these methods is to simplify Boolean expressions, remove redundant terms, and merge similar terms through the basic laws and rules of Boolean algebra, so as to obtain a Boolean expression in the simplest form. In this way, the originally complex feature vector representation is simplified, making subsequent calculations and processing more efficient. Once the Boolean expression is simplified, the optimal solution corresponding to the minimization of the Boolean function can be found. This optimal solution is actually a set of logical states, indicating that under these logical states, the feature vector meets certain specific conditions. In the process of determining the safety range, these sets of logical states constitute the preliminary safety boundary range of the test object. The preliminary safety boundary range is a rough definition used to describe the possible state range of the test object under safe operation. The importance of this step lies in that through logical simplification and determination of the optimal solution, the computational complexity can be effectively reduced and the accuracy and efficiency of safety boundary determination can be improved. In practical applications, the logical simplification of Boolean functions and the determination of the optimal solution can not only simplify the representation of feature vectors, but also help identify key safety points in the operation of the test object. For example, through logical simplification, it can be found which characteristic variables have the greatest impact on the safety boundary, so that in actual operation, these key variables can be focused on to ensure the safety of the test object. In addition, by minimizing the Boolean function, irrelevant or minor characteristic variables can be excluded, unnecessary calculations and processing can be reduced, and the efficiency and reliability of the system can be further improved.
[0052] In order to more clearly illustrate the principle of step 3, let us use a specific example to illustrate how to use the Boolean function to logically simplify the eigenvector of the intermediate signal, find the optimal solution corresponding to the minimization of the Boolean function, and determine the preliminary safety boundary range.
[0053] Suppose we are processing a simple time series signal data. After the first two steps, we get the following feature vector set. To simplify the problem, assume that each feature vector contains only three Boolean variables. , and , these variables can take the value of 0 or 1. The goal is to find the minimized Boolean function and determine the preliminary safety boundary range through logical simplification.
[0054] Assume that there are four eigenvectors, which represent the intermediate signals collected at different time points:
[0055] ;
[0056] ;
[0057] ;
[0058] ;
[0059] These eigenvectors need to be converted into Boolean expressions and then logically simplified. First, these eigenvectors are expressed as Boolean expressions:
[0060] It can be expressed as ;
[0061] It can be expressed as ;
[0062] It can be expressed as ;
[0063] It can be expressed as ;
[0064] Next, combine these Boolean expressions into a logical function :
[0065] ;
[0066] The goal is to simplify this Boolean expression to make it more concise. This simplification can be done using the basic laws of Boolean algebra:
[0067] ;
[0068] Let's further simplify the part inside the brackets:
[0069] ;
[0070] Using the absorption law and distribution law, we get:
[0071] ;
[0072] ;
[0073] ;
[0074] ;
[0075] ;
[0076] Through logical simplification, we get an extremely simplified Boolean expression: This expression means that when When , the eigenvector is considered to be within the safe boundary. The simplified Boolean function not only makes the calculation easier, but also clarifies the key characteristic variables. In this example, the variable is the only key variable that affects the safety margin. The determination of the initial safety margin range is based on this simplified Boolean expression. When , the candidate object is considered to be in a safe state. Therefore, the initial safety boundary range is the range of all feature vectors. The part with a value of 1. In this example, a concise and effective preliminary safety boundary range was successfully determined through logical simplification, which greatly reduced the computational complexity and improved efficiency. This example demonstrates the specific application of step 3. Through the logical simplification of Boolean functions, key safety boundary conditions can be extracted from complex high-dimensional feature vectors, thereby effectively determining the safety range of the test object. This method not only simplifies the calculation process, but also improves the accuracy of safety boundary determination, providing a reliable basis for subsequent safety monitoring and management.
[0077] Step 4: Set the state of the test object. Each state is represented by a characteristic vector of the intermediate signal corresponding to the time series signal data. All states constitute the state space. Calculate the distance between any two different states in the state space. Based on the distance, use the Green function to calculate the Green function value between any two different states. Based on all the Green function values, construct the influence matrix.
[0078] Each state is represented by a feature vector of the intermediate signal corresponding to a time series signal data, and these feature vectors reflect the specific state of the test object at a specific time point. The state space is a set of all possible states, covering various situations of the test object at different times and conditions. The establishment of the state space is to fully understand the behavior patterns and state changes of the test object and provide a complete data basis for subsequent analysis. After the state space is established, the key step is to calculate the distance between any two different states in the state space. There are many ways to calculate the distance, the most common of which is the Euclidean distance, which can quantify the degree of difference between two states. Through distance calculation, a distance matrix can be obtained, in which each element represents the distance between two states. This process helps to understand the geometric structure of the state space and reveal the similarities and differences between different states. Next, based on the distance, the Green's function is used to calculate the Green's function value between any two different states. The Green's function is an important mathematical tool widely used in physics and engineering to describe the interaction between different points in the system. In this step, the Green's function is used to quantify the degree of influence between different states. Specifically, through the distance matrix and Green's function, the influence values between any two states in the state space can be calculated, which reflect the mutual relationship and influence intensity between the states.
[0079] By calculating the Green's function value, an influence matrix can be obtained. Each element in the influence matrix represents the Green's function value between two states, that is, the degree of mutual influence between them. The purpose of constructing the influence matrix is to further analyze the complex relationship in the state space, especially to identify which states have a significant impact on other states. In practical applications, the influence matrix can help understand the internal structure of the state space and reveal the interdependence between different states. The construction of the influence matrix not only helps to understand the relationship between states, but also provides an important basis for the subsequent adjustment of the safety boundary. By analyzing the influence matrix, it is possible to identify which states are critical states, that is, those states that have a significant impact on the safety of the entire system. These critical states usually appear as high impact values in the influence matrix, which means that they have a significant influence on the changes of other states. Identifying critical states is an important step in ensuring the safety of the system, because these states are often the source of potential risks and require special attention and management. Based on the influence matrix, the determinant value can be further calculated. The determinant value is an important attribute of the matrix, which can reflect the properties and internal structure of the matrix. In this step, the determinant value is used to adjust the preliminary safety boundary range. Specifically, by calculating the determinant of the influence matrix, the overall stability and robustness of the state space can be evaluated, so that the preliminary safety margin can be reasonably adjusted. The calculation of the determinant helps determine a more accurate and reliable safety margin range to ensure the safety of the test object under various conditions.
[0080] Step 5: Based on the determinant value of the influence matrix, adjust the preliminary safety margin range to obtain the safety margin range; determine the target value of the test object, multiply the target value by the safety margin weight range, and obtain the safety range data corresponding to the target value of the test object.
[0081] Specifically, there are four states, each of which consists of three characteristic variables , , composition:
[0082] State 1: ;
[0083] State 2: ;
[0084] State 3: ;
[0085] State 4: ;
[0086] Compute the Euclidean distance between these states:
[0087] ;
[0088] Assuming Green's function and distance The relationship is , then the Green's function value between these states is:
[0089] ;
[0090] Impact Matrix Each element of Indicates status and status Green's function value between:
[0091] ;
[0092] For the impact matrix , the determinant can be calculated through its eigenvalue. To calculate the eigenvalue, first construct the characteristic polynomial:
[0093] ;
[0094] in is the identity matrix. By expanding the characteristic polynomial, we can solve its eigenvalue. We can simplify the matrix So that its determinant is non-zero. Suppose that the influence matrix is slightly adjusted so that its diagonal elements are a constant value , while the off-diagonal elements remain , the specific matrix form is:
[0095] ;
[0096] At this point, the determinant can be solved by numerical methods or eigenvalue decomposition methods. Simplifying the calculation, assuming , then the matrix The determinant of It can be expanded by algebraic cofactors:
[0097] ;
[0098] Substituting numerical calculations, we can get The specific value of . The complex algebraic operation details are omitted here, and the numerical calculation results are assumed to be as follows:
[0099] ;
[0100] The size of the determinant value reflects the overall stability of the state space. A larger determinant value indicates that the states are more independent and the system is more stable. The safety margin can be appropriately expanded to increase the flexibility and robustness of the system. On the contrary, a smaller determinant value indicates that the states are more dependent and the system may have greater uncertainty. The safety margin needs to be narrowed to improve the safety and stability of the system. A baseline value is set to 1. For determinant values greater than 1, for example, based on the determinant value , the strategy for adjusting the range of the preliminary safety boundary can be determined. Since the determinant value is large, it means that the system has high independence and stability. The preliminary safety boundary range can be multiplied by the value of the determinant to expand the preliminary safety boundary range to ensure the safety of the system when operating in a larger range. The specific adjustment can be achieved by increasing the tolerance of the eigenvector. For example, on the basis of the original preliminary safety boundary, the value range of the characteristic variable is increased so that the system can maintain safe operation in a larger range. In this way, it is ensured that the system can flexibly respond to various operating conditions in practical applications and improve the overall safety and robustness. Through the above examples, it is demonstrated how to calculate the determinant of the influence matrix and explain the important role of the determinant value in adjusting the range of the preliminary safety boundary. This process makes full use of mathematical tools and algorithms, conducts in-depth analysis and quantification of the state space, and provides a scientific basis for determining the safety boundary of the test object. For the value of the determinant that is less than the benchmark value 1, the preliminary safety boundary range is divided by the value of the determinant.
[0101] Embodiment 2: Based on the previous embodiment, the test object is a car engine or a car gearbox.
[0102] By collecting the time series signal data of the automobile engine or gearbox under different working conditions, Haar wavelet transform is performed to extract multi-scale features and obtain intermediate signals. These signals include key parameters such as engine speed, temperature, pressure, or gear state, temperature, vibration and other information of the gearbox. Next, the pre-trained growing neuron network is used to extract the feature vector of the intermediate signal. Through learning a large amount of historical data, this network can accurately capture the characteristics of the engine or gearbox under different working conditions and generate high-dimensional feature vectors describing these working conditions. These feature vectors are highly abstract and simplified versions of the original signal data, containing the most important information for subsequent analysis and reasoning. After obtaining the feature vectors, Boolean functions are used to logically simplify these feature vectors. By simplifying complex logical relationships, the optimal solution of the feature vector is found to determine the preliminary safety boundary range. The purpose of this process is to reduce computational complexity, improve analysis efficiency, and ensure the integrity and accuracy of key feature information. Then, by setting different states of the engine or gearbox, each state is represented as a feature vector to construct a state space. The distance between any two different states in the state space is calculated, and the mutual influence value between the states is calculated using the Green function to construct an influence matrix. The influence matrix reflects the interrelationships and impacts between different states, helping to identify the most critical states and potential risk points in the system. Finally, the initial safety margin range is adjusted based on the determinant value of the influence matrix. The determinant value provides a measure of the overall stability and robustness of the system. By analyzing the determinant value, the characteristics of the state space can be determined, thereby adjusting the safety margin to ensure the safe operation of the engine or transmission under various operating conditions.
[0103] Example 3: Based on the previous example, when the test object is an automobile engine, the timing signal data and the historical timing signal data both include at least: engine speed, fuel consumption rate, turbocharger pressure, intake temperature, exhaust temperature and oil pressure; when the test object is an automobile gearbox, the timing signal data and the historical timing signal data both include at least: gearbox oil temperature, gearbox housing temperature, hydraulic system pressure, clutch pressure, input torque, output torque, input shaft speed and output shaft speed.
[0104] Specifically, the assumed test object is a car engine, and the goal is to ensure the safety and efficiency of the engine under different working conditions. A specific target value of concern is the engine speed (RPM), and the assumed goal is to maintain it within the range of 3000RPM. First, based on the analysis in the previous steps, a safety boundary range has been preliminarily determined through feature vector extraction, Boolean function logic simplification, state space construction, and influence matrix calculation. Assume that the preliminary safety boundary range is a specific RPM interval, such as 2800 to 3200RPM. The influence matrix is constructed by calculating the distance between states and using Green's function. Assume that the determinant value of the calculated influence matrix is large, which indicates that the independence of the state space is strong and the system has high stability. Based on this determinant value, it is decided that the safety boundary range can be appropriately expanded. According to the size of the determinant value of the influence matrix, the preliminary safety boundary range is adjusted. Assume that after adjustment, the safety boundary range is expanded to 2700 to 3300RPM. This adjustment is based on the fact that the determinant value is large, indicating that the stability of the system is good, so the range can be safely expanded to increase the flexibility of the system.
[0105] The target value is the performance indicator that the test object needs to achieve under specific operating conditions. In this example, the target value is 3000RPM. This is the speed that the engine is expected to maintain during operation to ensure optimal performance and efficiency. The safety margin weight range is an adjustment factor used to appropriately expand or shrink the target value in combination with the adjustment results of the safety margin range. Assume that the set safety margin weight range is 0.1 (i.e. 10%). This value means that a 10% deviation range is allowed on the basis of the target value to ensure flexibility in responding to various situations in actual operation. Therefore, when calculating the safety range data corresponding to the target value, multiply the target value 3000RPM by the safety margin weight range 0.1, and the resulting deviation range is 300RPM. The final safety range data is:
[0106] Target value - deviation range = 3000RPM - 300RPM = 2700RPM;
[0107] Target value + deviation range = 3000RPM + 300RPM = 3300RPM;
[0108] Therefore, the final safety range data is 2700 to 3300RPM. This range ensures that the engine can operate within a safe boundary when running near the target value of 3000RPM, avoiding potential risks caused by exceeding the safety range. In practical applications, this safety range data can be used for the setting and monitoring of the engine control system. For example, when the real-time speed of the engine approaches or exceeds 3300RPM, the system can issue a warning signal or automatically adjust the working state of the engine to prevent damage caused by excessive operation. Similarly, when the speed is lower than 2700RPM, the system can also be adjusted to improve efficiency. This dynamic adjustment mechanism ensures the stability and safety of the engine under various working conditions.
[0109] Embodiment 4: Based on the previous embodiment, step 1 specifically includes: collecting the test object at time The timing signal data at is ,set up For a length of The signal is represented by ; Use a Gaussian filter to smooth the collected time series signal data, and then standardize the smoothed time series signal data so that the mean of all elements in the time series signal data is 0 and the variance is 1, and obtain the preprocessed time series signal data; Perform the following process on the preprocessed time series signal data: Perform a Haar wavelet transform on the preprocessed time series signal data to obtain the low-frequency coefficients of the first layer and the high-frequency coefficients of the first layer; Perform a further wavelet transform on each low-frequency coefficient to obtain the coefficients of the second layer; and so on, iteratively perform After that, we get multi-level low-frequency coefficients and high-frequency coefficients. Based on all the low-frequency coefficients and high-frequency coefficients, we use the following formula to get the intermediate signal: :
[0110] ;
[0111] in, is the layer index; is the sampling point index; For the Layer Low frequency coefficients of sampling points; For the Layer High frequency coefficients of sampling points; For the The iterative weight coefficient of the layer is expressed using the following formula:
[0112] .
[0113] Specifically, the subjects are collected at the time Timing signal data at , assuming For a length of The signal of the time series signal data may come from sensors or monitoring equipment, recording the state information of the test object at different time points. In order to eliminate the noise and unstable factors in the data, the data are smoothed using a Gaussian filter. Gaussian filter is a commonly used signal smoothing tool. By performing convolution operations on the signal, it can effectively reduce noise and make the signal smoother and more stable. The smoothed signal data is then standardized. The purpose of standardization is to make the mean of the time series signal data 0 and the variance 1, which is achieved by subtracting the mean and dividing by the standard deviation. This process eliminates the scale differences between different signals, making the signal features more prominent, which is convenient for subsequent wavelet transform and feature extraction. After preprocessing, the standardized time series signal data is subjected to Haar wavelet transform. Haar wavelet transform is an efficient signal processing technology that extracts features at different scales by decomposing the signal. Specifically, the preprocessed signal is first subjected to a Haar wavelet transform to obtain the low-frequency coefficients and high-frequency coefficients of the first layer. The low-frequency coefficient contains the overall trend information of the signal, while the high-frequency coefficient captures the details and changes in the signal. This preliminary decomposition lays the foundation for further multi-level analysis. After obtaining the low-frequency and high-frequency coefficients of the first layer, each low-frequency coefficient is further subjected to wavelet transformation. This iterative process is performed layer by layer until the predetermined number of layers is reached. The wavelet transform of each layer will further decompose the signal and extract more detailed low-frequency and high-frequency information. Through this multi-level decomposition method, the characteristics of the signal at different scales can be captured to ensure that no key details are missed. After the multi-level decomposition is completed, the intermediate signal is calculated based on all the low-frequency coefficients and high-frequency coefficients. . Intermediate signal It is obtained by weighted summing the coefficients of each layer, where the iterative weight coefficient of each layer is According to a specific formula, the contribution of coefficients at different levels in the intermediate signal is reasonably distributed. Specifically, the weight coefficient is a layer and sampling points The relevant values are calculated by square root and cosine function. This weighting method makes the intermediate signal contain not only the overall trend information of the original signal, but also the detailed change characteristics, so as to more comprehensively reflect the multi-scale characteristics of the signal. The calculation formula combines the low-frequency and high-frequency coefficients of all levels, and realizes the multi-scale fusion of signal features by weighted summing the coefficients of each layer. In this way, the intermediate signal not only contains the overall characteristics of the original signal, but also retains the detailed information in the signal, providing a comprehensive signal representation.
[0114] Embodiment 5: Based on the previous embodiment, in step 2, the method of training the historical intermediate signal corresponding to the collected historical time series signal data to obtain the pre-trained growing neuron network includes:
[0115] Step 2.1: Set the initial number of neurons , for the neurons, randomly initialized weight vector ; Among them, the historical intermediate signals form the input matrix ;in, is the dimension of the historical intermediate signal, For the The neuron in dimensional weight vector; is the total number of historical intermediate signals; Indicates The historical intermediate signal of time;
[0116] Step 2.2: For each historical intermediate signal, calculate the composite distance with the weight vectors of all neurons, find the best matching neuron as the winning neuron;
[0117] Step 2.3: Define the neighborhood function and use the following formula: Update the weight vector of the winning neuron and its neighboring neurons:
[0118] ;
[0119] in, For the Neurons at time The weight vector at the moment; For the Neurons at time The weight vector at the moment, which represents the state or characteristics of the neuron after an update; is the learning rate, which controls how much the weight vector changes at each update; is the neighborhood function; it defines the The neighborhood relationship between neurons and the winning neuron; the value of the neighborhood function depends on the distance and time between neurons , and continuous parameters , which controls neighborhood range and strength; is the index of the current neuron; is the index of the winning neuron; is a continuous neighborhood parameter, which is used to introduce continuously changing neighborhood weights during the update process to increase the smoothness of the update process; is the integral operator, which means that Continuous accumulation of neighborhood functions and error terms in the range from 0 to 1;
[0120] Step 2.4: Dynamically add new neurons according to the growth criteria;
[0121] Step 2.5: Repeat steps 2.2 to 2.4 until the network converges, that is, the generalized quantization error reaches the preset convergence condition or the maximum number of iterations.
[0122] Specifically, during the training process, the network adjusts the weight vector of the neuron through multiple iterations of learning, so that it gradually approaches the characteristics of the input data. Each time a historical intermediate signal is input, the network calculates its distance from the weight vectors of all neurons and finds the most matching neuron as the winning neuron. Then, the weight vectors of the winning neuron and its neighboring neurons are updated using the neighborhood function and learning rate, so that these weight vectors are closer to the characteristics of the input signal. As the training progresses, the weight vector of the neuron gradually adapts to and reflects the statistical characteristics and structure of the input data. The growing neuron network dynamically adds new neurons as needed during the training process. When the generalized quantization error (GQE) exceeds a certain threshold, it means that the current network structure cannot fully capture the characteristics of the input data. At this time, new neurons will be added to reduce the error. This dynamic adjustment mechanism ensures that the network can flexibly adapt to the complexity and changes of the input data, and continuously optimizes the network's representation ability and feature extraction effect. By performing multi-level wavelet transforms on the input signal, the network can capture the multi-scale characteristics of the signal. These characteristics include the overall trend of the signal (low-frequency part) and detailed changes (high-frequency part). During the training process, the network learns how to combine these multi-scale features to form a comprehensive feature representation, which enables it to effectively identify and extract the key features of the input signal in subsequent processing. The network uses a large amount of historical intermediate signal data during the training phase. This historical data covers the performance of the test object in various states and conditions, allowing the network to learn comprehensive and rich feature information. By learning from these data, the network establishes a complex mapping relationship that maps the input signal to the feature vector space. This mapping relationship is solidified in the network, allowing it to effectively extract the features of new input signals in subsequent processing. The learning mechanism of the growing neuron network is based on competition and neighborhood, which is similar to the working method of biological neural networks. When the input signal enters the network, the neurons compete to find the neuron that best represents the input signal (the winning neuron). Then, the winning neuron and its neighboring neurons adjust the weight vector to adapt to the input signal. This mechanism not only allows the network to quickly adapt to the input signal, but also maintains sensitivity to different signal features. During the training process, the update of neuron weights is a continuous process. The neighborhood function introduces smooth changes in the update process, making the weight adjustment more natural and stable. Through this continuous optimization process, the network gradually adjusts its own structure and parameters to represent the characteristics of the input signal in the best way. This optimization not only improves the accuracy of feature extraction, but also enhances the robustness of the network, enabling it to stably extract features when faced with new inputs. Because the network uses a large amount of diverse historical data during training and continuously optimizes the structure through dynamic adjustment, the network has good generalization ability. Generalization ability refers to the model's ability to not only process training data well, but also effectively process new data that has not been seen.By learning patterns and features from historical data, the growing neural network establishes a general feature extraction mechanism, which enables it to accurately extract features when faced with new intermediate signals.
[0123] The random initialization of the weight vector is to cover the feature space of the input data and ensure that the network has good representation ability in the initial state. The historical intermediate signals form the input matrix, and each column of the matrix represents the feature vector of a historical time series signal. For the i-th neuron, its weight vector is randomly assigned to a vector with the same dimension as the input data in the initial stage, and these vectors will be continuously adjusted during the training process to adapt to the characteristics of the input data. Next, for each historical intermediate signal, its distance from all neuron weight vectors is calculated, and the best matching neuron is found as the winning neuron. The goal of this step is to determine which neuron best represents the current input signal. By calculating the distance between the input signal and each neuron weight vector, the neuron with the smallest distance is found, which is the winning neuron. This matching process ensures that the input signal finds the closest representative in the network, so that the network can accurately reflect the characteristics of the input data. After finding the winning neuron, the weight vectors of the winning neuron and its neighboring neurons are updated using the neighborhood function. The neighborhood function defines the neighborhood relationship between the current neuron and the winning neuron, and the value depends on the distance and time between the neurons, as well as a continuous parameter. Through this neighborhood function, smooth changes can be introduced in the update process, making the adjustment of the weight vector more natural and continuous. The update formula gradually adjusts the weight vector by weighted summing the difference between the current input signal and the weight vector. The learning rate controls the magnitude of the update to ensure that each adjustment can effectively approximate the input signal. As the training progresses, the scope of the neighborhood function gradually decreases. In the initial stage, the update amplitude is large to quickly adapt to the overall characteristics of the input data; over time, the update amplitude gradually decreases, allowing the network to make detailed weight adjustments and capture more subtle features. This gradually shrinking neighborhood function ensures that the network can effectively learn at different training stages, gradually approaching from overall features to detailed features, improving the stability and accuracy of the model. The growth criterion is a key step in the whole process. New neurons are dynamically added according to the preset criteria. Specifically, when the generalized quantization error (GQE) of the network exceeds a certain threshold, new neurons are added to reduce the error and improve the network's adaptability to the input data. This step ensures the adaptability and flexibility of the network, enabling it to dynamically adjust its scale according to the complexity and changes of the input data. New neurons are added to the network and quickly integrated into the existing network structure by reinitializing and adjusting the weight vector, further optimizing the network's representation ability. The entire training process is an iterative process, which continuously calculates the composite distance, updates the weight vector, and dynamically adds neurons until the network converges. The convergence condition is usually based on the rate of change of the generalized quantization error. When the error reduction is lower than a certain threshold, the network is considered to have converged; or the maximum number of iterations is reached to prevent infinite loops.Through this method, the network can gradually optimize its internal structure and parameters so that the output feature vector can accurately reflect the characteristics of the input data, laying a solid foundation for logical simplification and safety boundary determination in subsequent steps.
[0124] Example 6: Based on the previous example, the following formula is used in step 2.2 to calculate the composite distance with the weight vectors of all neurons, and find the best matching neuron as the winning neuron:
[0125] ;
[0126] in, is the index of the calculated winning neuron; , and is the serial number index; is the first weight coefficient, ranging from 0.2 to 0.4; is the rounding operator; is the second weight coefficient, ranging from 0.3 to 0.5; is the third weight coefficient, ranging from 0.1 to 0.5.
[0127] Specifically, the first part of the formula Represents the convolution distance between the input signal and the neuron weight vector. Convolution operations are often used in signal processing to capture similarities and correlations between signals. In this section, Represents the convolution operation. By taking the absolute value of the convolution result and weighted summing it, the global similarity between the input signal and the neuron weight vector can be reflected. Weight coefficient The range of is 0.2 to 0.4, which is used to adjust the contribution ratio of the convolution distance to the total distance. By taking the absolute value and weighted sum, the matching degree between the input signal and the weight vector in the convolution dimension can be effectively captured. Secondly, the second part of the formula Represents the element-wise product distance between the input signal and the neuron weight vector. Represents an element-by-element multiplication operation, which can quantify the correspondence between the elements of the signal. By summing the squares of the element-by-element multiplication results, it can reflect the matching degree between the input signal and the weight vector in each dimension. Weight coefficient The range of is 0.3 to 0.5, which is used to adjust the contribution ratio of the element product distance to the total distance. This part of the calculation enhances the sensitivity of the formula to the local characteristics of the signal, allowing the network to better capture subtle changes in the input signal. Finally, the third part of the formula The relationship between the input signal and the weight vector is quantified by summing the fractions. The form of the fraction allows the proportional relationship between the amplitude of the signal and the amplitude of the weight vector to be reflected, so that more subtle signal features can be captured in certain situations. Weight coefficient The range of is 0.1 to 0.5, which is used to adjust the contribution ratio of this part in the total distance. The calculation of this part takes into account the relative size of the signal and the weight vector, thereby enhancing the robustness of the formula and enabling the network to adapt to signals of different amplitudes. In general, the formula combines these three distance metrics and adjusts them through the weight coefficient , and The adjustment of , builds a complex and accurate composite distance measurement system. This system can fully capture the similarity between the input signal and the neuron weight vector, thereby ensuring that the best matching neuron is found. The rounding operator in the formula Ensure that the final result is an integer index representing the best matching neuron position. This multi-dimensional distance calculation method not only takes into account the global similarity and local characteristics of the signal, but also enhances the adaptability to signals of different amplitudes by summing fractions, ensuring that the network can maintain high accuracy and robustness when processing complex and changeable signals. This method of calculating composite distance enables the growing neuron network to effectively adjust the weight vector during the training process to adapt to the characteristics of the input data. At the same time, after the training is completed, this network can also efficiently process new input signals and accurately extract their features, thereby achieving the goal of intelligent analysis and decision-making. In this way, the growing neuron network can maintain efficient and accurate feature extraction capabilities when processing complex time series signal data, providing a solid foundation for subsequent intelligent reasoning and decision-making.
[0128] Embodiment 7: Based on the previous embodiment, the neighborhood function is expressed using the following formula:
[0129] ;
[0130] in, For the The position vector of the neuron in the pre-trained growing neuron network; is the position vector of the winning neuron in the pre-trained growing neuron network; is the neighborhood function variable.
[0131] Specifically, the neighborhood function It is expressed by a formula, where Indicates The position vector of each neuron is represents the position vector of the winning neuron. The core part of the formula is the Gaussian function, which is Quantifies the distance and influence between neurons. Here the distance Representing neurons and the winning neuron The Euclidean distance between them. In this way, the Gaussian function ensures that neurons that are closer have greater influence, while neurons that are farther away have rapidly declining influence. This distance-weight relationship is crucial during training because it ensures that the main updates are focused on the winning neuron and its neighboring neurons, allowing the network to effectively adjust the weight vector to adapt to the input signal. In addition, the formula introduces the sine function , to simulate the time during training This periodic change in time helps the network maintain the ability to dynamically adjust during training and avoid falling into local optimality. The introduction of the sine function makes the neighborhood influence in the training process have periodic changes, allowing the network to dynamically adjust the neighborhood range at different time points, thereby enhancing the learning flexibility and adaptability of the network. is the neighborhood function variable, through the integral operator Indicated in The continuous accumulation of neighborhood functions and error terms from 0 to 1. This continuously changing neighborhood weight makes the update process smoother and more natural. Through this continuous integration method, the network will not experience sudden changes during the update process, ensuring the stability and consistency of the weight adjustment process. The neighborhood function combines multiple weight coefficients , and , these coefficients play a regulatory role in different parts of the formula. Weight coefficient , and The sum of constitutes the denominator of the Gaussian function and determines the width of the Gaussian function. Adjusting the values of these coefficients can change the shape and scope of the neighborhood function, thereby accurately controlling the influence between neurons. These coefficients ensure that input signals with different characteristics are properly represented in the network by adjusting the shape of the Gaussian function. This formula dynamically adjusts the weight vector of the neuron by combining the Gaussian function and the sine function, ensuring that the neighborhood neurons can also effectively learn the characteristics of the input signal during training. The Gaussian function part ensures that the closer the distance, the greater the influence on the neurons, while the introduction of the sine function provides a periodic change in time, making the neighborhood influence during training volatile, thereby avoiding the network from falling into a local optimum. The continuous integration operation ensures the smoothness and stability of the weight update process, making the entire training process more natural and consistent. Ultimately, the design of this neighborhood function enables the growing neuron network to efficiently adjust the weight vector during training, thereby accurately extracting the characteristics of the input signal. This mechanism not only improves the training efficiency of the network, but also enhances the network's adaptability to complex signal data, providing a solid foundation for intelligent analysis and decision-making. In this way, the network is able to effectively process new input signals after training, extract their features and perform accurate analysis and prediction.
[0132] Example 8: Based on the previous example, define the generalized quantization error of the pre-trained growing neuron network Use the following formula to express it:
[0133] .
[0134] Specifically, the core idea of the formula is to measure the neuron's ability to represent the input signal by calculating the distance between the input signal and the neuron weight vector. With neurons The weight vector The distance between It reflects the matching degree between the signal and the weight vector. The smaller the distance value, the more accurately the weight vector of the neuron can represent the input signal. By calculating the distance between all input signals and the corresponding neuron weight vector and performing weighted summation, the degree of adaptation of each neuron to the input data during the learning process can be obtained. Neighborhood function This function defines the winning neuron. With other neurons The mutual influence relationship between neurons takes into account the distance and time between neurons The neighborhood function simulates the topological neighborhood relationship in biological neural networks through a combination of Gaussian and sine functions, so that the influence between neurons decays with increasing distance and changes periodically over time. In this way, the neighborhood function ensures that not only the weight vector of the winning neuron is updated, but also its neighboring neurons are affected, making the training process more natural and effective. Integral operation The continuously changing weights are introduced into the formula by Integrating from 0 to 1 allows the influence of the neighborhood function and the error term to accumulate smoothly. This continuous integration method makes the adjustment process of the neuron weight vector smoother and more natural, avoiding mutations and instability, thereby improving the stability and consistency of network training. In this way, the formula can fully reflect the learning of each neuron at different time points, ensuring the continuity and stability of the weight update process. The calculation process of the generalized quantization error comprehensively evaluates the learning effect of each neuron by combining the neighborhood function, the distance between the input signal and the neuron weight vector, and continuous integration. Specifically, each part of the formula works together to comprehensively consider the matching degree between the input signal and the neuron weight vector, the mutual influence between the neighborhood neurons, and the dynamic changes in time. In this way, the generalized quantization error not only measures the individual learning effect of each neuron, but also reflects the learning state and adaptability of the entire network. During the training process, by continuously calculating and minimizing the generalized quantization error, the network can gradually optimize its weight vector to more accurately reflect the characteristics of the input signal. This process combines dynamic adjustment and adaptive learning, allowing the growing neuron network to flexibly respond to complex and changing signal data and gradually approach the optimal feature representation. By minimizing the generalized quantization error, the network continuously adjusts and optimizes its own structure during the training process, ensuring that when processing new input signals, it can accurately extract their features and perform intelligent analysis and decision-making.
[0135] Example 9: Based on the previous example, in step 2.4, when the quantization error of a neuron exceeds the set error threshold, a new neuron is dynamically added, and the weight vector of the newly added neuron is calculated using the following formula: :
[0136] ;
[0137] in, is the growth step parameter; is the weight vector of the winning neuron.
[0138] Specifically, Example 9 reduces the quantization error of the network by dynamically adding new neurons, thereby improving the network's adaptability to input data and feature extraction accuracy. When the quantization error of a neuron exceeds the set error threshold, it means that the neuron cannot effectively represent the input signal. At this time, new neurons need to be introduced to share the load and reduce the overall error. The calculation formula for the new neuron weight vector realizes the reasonable initialization of the weight vector by combining the weight vector of the winning neuron and the characteristics of the input signal. Specifically, when the quantization error of the neuron exceeds the threshold, the new neuron calculates its weight vector through a formula. The core idea in the formula is to initialize the newly added neuron weight vector to a fine-tuned version of the current winning neuron weight vector to ensure that the new neuron can effectively share the load of the winning neuron and is gradually optimized in the subsequent training process. The formula combines the weight vector of the current winning neuron and the input signal, and ensures a smooth transition of the weight vector through the use of integral and exponential functions. Specifically, the growth step parameter in the formula Controls the adjustment between the new neuron weight vector and the winning neuron weight vector. By properly choosing The value of can ensure that the weight vector of the new neuron neither deviates too far from the weight vector of the winning neuron nor completely overlaps, thus achieving effective initialization. The integral part of the formula The influence of the input signal at different time points is taken into account, and the exponential decay function The weight change in time is introduced. This method can smoothly introduce the characteristics of the input signal into the weight vector of the new neuron, ensuring that the new neuron can partially reflect the characteristics of the input signal when initialized. In this way, after the new neuron is reasonably initialized, its weight vector can be gradually optimized in the subsequent training process to better adapt to the data distribution of the input signal. The introduction of new neurons not only reduces the quantization error of the original neurons, but also enhances the adaptability and learning ability of the entire network. This dynamic adjustment method enables the network structure to change flexibly, ensuring efficient and high-precision feature extraction when processing complex and changeable signal data. The application of the formula is to solve the problem of insufficient representation ability caused by excessive quantization error during training. By dynamically adding neurons and reasonably initializing their weight vectors, the network can continuously self-adjust and optimize to cope with the diversity and complexity of input data. This method not only improves the generalization ability of the network, but also enhances its robustness and stability in practical applications.
[0139] Although the specific embodiments of the present invention are described above, it should be understood by those skilled in the art that these specific embodiments are only illustrative, and those skilled in the art may omit, replace, and change the details of the above methods and systems in various ways without departing from the principles and essence of the present invention. For example, merging the above method steps so as to perform substantially the same functions in substantially the same manner to achieve substantially the same results is within the scope of the present invention. Therefore, the scope of the present invention is limited only by the appended claims.
Claims
1. A method for extracting a data model of a safety range of a test object by intelligent reasoning, characterized in that: The method comprises: Step 1: Collect the time series signal data of the test object, perform Haar wavelet transform on the time series signal data to extract multi-scale features and obtain the intermediate signal; Step 2: using a pre-trained growing neural network to extract a feature vector of the intermediate signal; the pre-trained growing neural network is trained by the historical intermediate signals corresponding to the historical time series signal data collected at different times; Step 3: Use Boolean functions to logically simplify the eigenvectors of the intermediate signals, find the optimal solution corresponding to the minimization of the Boolean function, and determine the preliminary safety boundary range; Step 4: Set the state of the test object. Each state is represented by a characteristic vector of the intermediate signal corresponding to the time series signal data. All states constitute the state space. Calculate the distance between any two different states in the state space. Based on the distance, use the Green function to calculate the Green function value between any two different states. Based on all the Green function values, construct the influence matrix. Step 5: Based on the determinant value of the influence matrix, adjust the preliminary safety margin range to obtain the safety margin range; determine the target value of the test object, multiply the target value by the safety margin weight range, and obtain the safety range data corresponding to the target value of the test object; The test object is an automobile engine or an automobile transmission; when the test object is an automobile engine, the timing signal data and the historical timing signal data at least include: engine speed, fuel consumption rate, turbocharger pressure, intake temperature, exhaust temperature and oil pressure; when the test object is an automobile transmission, the timing signal data and the historical timing signal data at least include: transmission oil temperature, transmission housing temperature, hydraulic system pressure, clutch pressure, input torque, output torque, input shaft speed and output shaft speed; Step 1 specifically includes: assuming that the test object is collected at time The timing signal data at is ,set up For a length of The signal is represented by ; Use a Gaussian filter to smooth the collected time series signal data, and then standardize the smoothed time series signal data so that the mean of all elements in the time series signal data is 0 and the variance is 1, and obtain the preprocessed time series signal data; Perform the following process on the preprocessed time series signal data: Perform a Haar wavelet transform on the preprocessed time series signal data to obtain the low-frequency coefficients of the first layer and the high-frequency coefficients of the first layer; Perform a further wavelet transform on each low-frequency coefficient to obtain the coefficients of the second layer; and so on, iteratively perform After that, we get multi-level low-frequency coefficients and high-frequency coefficients. Based on all the low-frequency coefficients and high-frequency coefficients, we use the following formula to get the intermediate signal: : ; in, is the layer index; is the sampling point index; For the Layer Low frequency coefficients of sampling points; For the Layer High frequency coefficients of sampling points; For the The iterative weight coefficient of the layer is expressed using the following formula: 。 2. The method for extracting the safety range data model of the intelligent reasoning test object according to claim 1, characterized in that: In step 2, the method of training the historical intermediate signal corresponding to the collected historical time series signal data to obtain the pre-trained growing neuron network includes: Step 2.1: Set the initial number of neurons , for the neurons, randomly initialized weight vector ; Among them, the historical intermediate signals form the input matrix ;in, is the dimension of the historical intermediate signal, For the The neuron in dimensional weight vector; is the total number of historical intermediate signals; Indicates The historical intermediate signal of time; Step 2.2: For each historical intermediate signal, calculate the composite distance with the weight vectors of all neurons, find the best matching neuron as the winning neuron; Step 2.3: Define the neighborhood function and use the following formula: Update the weight vector of the winning neuron and its neighboring neurons: ; in, For the Neurons at time The weight vector at the moment; For the Neurons at time The weight vector at the moment, which represents the state or characteristics of the neuron after an update; is the learning rate, which controls how much the weight vector changes at each update; is the neighborhood function; it defines the The neighborhood relationship between neurons and the winning neuron; the value of the neighborhood function depends on the distance and time between neurons , and continuous parameters , which controls neighborhood range and strength; is the index of the current neuron; is the index of the winning neuron; is a continuous neighborhood parameter, which is used to introduce continuously changing neighborhood weights during the update process to increase the smoothness of the update process; is the integral operator, which means that Continuous accumulation of neighborhood functions and error terms in the range from 0 to 1; Step 2.4: Dynamically add new neurons according to the growth criteria; Step 2.5: Repeat steps 2.2 to 2.4 until the network converges, that is, the generalized quantization error reaches the preset convergence condition or the maximum number of iterations.
3. The method for extracting the safety range data model of the intelligent reasoning test object according to claim 2, characterized in that: In step 2.2, the following formula is used to calculate the composite distance with the weight vectors of all neurons and find the best matching neuron as the winning neuron: ; in, is the index of the calculated winning neuron; , and is the serial number index; is the first weight coefficient, ranging from 0.2 to 0.4; is the rounding operator; is the second weight coefficient, ranging from 0.3 to 0.5; is the third weight coefficient, ranging from 0.1 to 0.
5.
4. The method for extracting the safety range data model of the intelligent reasoning test object according to claim 3, characterized in that: The neighborhood function is expressed using the following formula: ; in, For the The position vector of the neuron in the pre-trained growing neuron network; is the position vector of the winning neuron in the pre-trained growing neuron network; is the neighborhood function variable.
5. The method for extracting the safety range data model of the intelligent reasoning test object according to claim 4, characterized in that: Defining the generalized quantization error of a pretrained growing neural network Use the following formula to express it: 。 6. The method for extracting the safety range data model of the intelligent reasoning test object according to claim 5, characterized in that: In step 2.4, when the quantization error of a neuron exceeds the set error threshold, a new neuron is dynamically added, and the weight vector of the newly added neuron is calculated using the following formula: : ; in, is the growth step parameter; is the weight vector of the winning neuron.
Citation Information
Patent Citations
Explainable machine-learning modeling using wavelet predictor variable data
CA3198128A1
Retarder safety control device and method
CN107176156A
