Digital interface system based on MBD design
Through the digital interface system designed based on MBD, the timing conflict and protocol stack model is built, and the noise intensity is dynamically adjusted, the reliability and real-time problems of noise interference to the digital interface are solved, and the anti-interference ability and signal fidelity of the system are improved.
Patent Information
- Application Number
- CN202510300478.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-14
- Publication Date
- 2025-07-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing digital interface technology has significant impact on reliability and real-time in complex electromagnetic environments, and the existing noise adjustment technology has failed to dynamically optimize the noise intensity in combination with the system's real-time state, resulting in difficulty in balancing the anti-interference ability and signal fidelity.
Using a digital interface system designed based on MBD, the model is constructed and corresponding parameters are obtained through the timing conflict risk module, the communication protocol stack module and the noise adjustment module, and the objective function feedback control is used to dynamically adjust the noise intensity, minimize the total error, and generate the optimal noise intensity.
It significantly improves the reliability and real-timeness of digital interfaces, and is suitable for industrial control and on-board networks in high noise environments.
Smart Images

Figure CN120235033A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of digital interfaces, and particularly relates to a digital interface system designed based on MBD. Background Art
[0002] With the wide application of digital interface technology in fields such as embedded systems, industrial control, and vehicle networks, the complexity and real-time requirements of system design are increasing day by day. However, the existing technologies still face many challenges in dealing with timing conflicts, communication protocol performance optimization, and noise interference suppression.
[0003] In a complex electromagnetic environment, noise interference has a significant impact on the reliability and real-time performance of digital interfaces. Most of the existing noise adjustment technologies adopt preset fixed intensities or simple feedback mechanisms, and fail to dynamically optimize the noise intensity in combination with the real-time state of the system (such as protocol stack deviation, timing conflict risk), resulting in limited noise suppression effects and difficulty in balancing anti-interference ability and signal fidelity. Summary of the Invention
[0004] Aiming at the deficiencies of the existing technology, the present invention provides a digital interface system designed based on MBD, which solves the above problems.
[0005] To achieve the above objectives, the present invention is realized through the following technical solutions: A digital interface system designed based on MBD, comprising:
[0006] A timing conflict risk module, configured to construct a timing conflict risk model, obtain timing conflict parameters, and generate a timing conflict risk coefficient;
[0007] A communication protocol stack module, configured to construct a communication protocol stack model, obtain protocol stack parameters, and generate a protocol stack coefficient;
[0008] A sound adjustment module, which constructs a noise adjustment model, obtains noise adjustment parameter information, and generates a noise adjustment coefficient;
[0009] An optimal noise intensity decision module, which dynamically adjusts the noise intensity through feedback control according to the objective function to minimize the total error and generate the optimal noise intensity (target noise intensity). The objective function is expressed as:
[0010]
[0011] Wherein, N optimal represents the optimal noise intensity, N represents the noise intensity variable, N adjust is the output of the noise adjustment model, is the optimization weight, is the penalty for the communication performance deviating from the standard value, is the penalty for the timing conflict risk, To punish the noise intensity for deviating from the theoretically recommended value.
[0012] Based on the above technical solutions, the present invention also provides the following alternative technical solutions:
[0013] Further technical solution: The timing conflict parameter includes clock synchronization error information and signal transmission delay information, the protocol stack parameter includes a reliability index and a real-time index, and the reliability index is where the PLR represents the packet loss rate, and the real-time index is the data transmission delay T.
[0014] Further technical solution: The specific working mode of the timing conflict risk module is as follows:
[0015] Obtain the clock synchronization error information and signal transmission delay information of the system and perform dimensionless processing on them;
[0016] Import the obtained clock synchronization error information and signal transmission delay information into the constructed timing conflict risk model to generate a timing conflict risk coefficient;
[0017] Compare the obtained timing conflict risk coefficient with the corresponding timing conflict risk coefficient threshold. If the timing conflict risk coefficient is within the timing conflict risk coefficient threshold, it indicates that the timing conflict risk of the system is within a controllable range. If the timing conflict risk coefficient is not within the timing conflict risk coefficient threshold, it indicates a high digital interface risk, and the timing conflict coefficient is proportional to the timing conflict risk.
[0018] Further technical solution: The expression of the timing conflict risk model is:
[0019] C confict = w1Δt sync + w2Δt delay
[0020] where C confict represents the timing conflict risk coefficient, Δt sync represents the clock synchronization error information, Δt delay represents the signal transmission delay information, and w1, w2 represent weight coefficients and w1 + w2 = 1.
[0021] Further technical solution: The specific working mode of the communication protocol stack module is as follows:
[0022] Obtain the reliability index information and real-time index information of the data and perform dimensionless processing on the two;
[0023] Import the reliability index information and real-time index information into the constructed communication protocol stack model to generate protocol stack coefficients, and compare the obtained protocol stack coefficients with the protocol stack coefficient thresholds. If the protocol stack coefficients are not within the protocol stack coefficient thresholds, it indicates that the protocol stack performance does not meet the standards.
[0024] Further technical solution: The communication protocol stack model is expressed as:
[0025]
[0026] Among them, S current represents the protocol stack coefficient, R represents the reliability index, T represents the real-time index, R std represents the standard reliability index, T std represents the standard real-time index, and the smaller S current , the closer the protocol stack performance is to the ideal state.
[0027] Further technical solution: The specific working mode of the noise adjustment module is expressed as:
[0028] Obtain noise adjustment parameters including protocol stack deviation, timing conflict coefficient, digital signal noise intensity, and analog signal noise intensity and perform dimensionless processing;
[0029] Import the dimensionless noise adjustment parameters into the constructed noise adjustment model to generate noise adjustment coefficients.
[0030] Further technical solution: The expression of the noise adjustment model is:
[0031]
[0032] Among them, N adjust represents the noise adjustment coefficient, ΔS represents the protocol stack deviation, S current represents the protocol stack coefficient, C confict represents the timing conflict coefficient, V digital represents the digital signal noise intensity, V analog represents the analog signal noise intensity, α represents the digital signal weight, β represents the analog signal weight, δ represents the balance weight of the protocol stack deviation and noise, S std represents the standard protocol stack coefficient, S std =[R std , T std , 0 ≤ δ ≤ 1.
[0033] Beneficial effects
[0034] The present invention provides a digital interface system based on MBD design, which has the following beneficial effects compared with the prior art:
[0035] 1. The present invention quantifies the impact of clock synchronization and delay through a timing conflict model, evaluates the communication performance in combination with a protocol stack model, and finally dynamically optimizes the system noise intensity through a noise adjustment model, which can significantly improve the reliability and real-time performance of digital interfaces. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 It is a schematic flow diagram of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0037] In order to make the objectives, technical solutions and advantages of the present invention clearer and more understandable, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0038] The following describes the specific implementation of the present invention in detail in conjunction with specific embodiments.
[0039] Please refer to Figure 1 , a digital interface system based on MBD design provided by an embodiment of the present invention, includes:
[0040] A timing conflict risk module, configured to build a timing conflict risk model, obtain timing conflict parameters, generate a timing conflict risk coefficient, and verify the timing conflict risk (such as deadlock and data competition) of the system according to the timing conflict coefficient. The timing conflict parameters include clock synchronization error information and signal transmission delay information.
[0041] The specific working mode of the timing conflict risk module is as follows:
[0042] Obtain the clock synchronization error information and signal transmission delay information of the system and perform dimensionless processing on them;
[0043] Import the obtained clock synchronization error information and signal transmission delay information into the constructed timing conflict risk model to generate a timing conflict risk coefficient;
[0044] Compare the obtained timing conflict risk coefficient with the corresponding timing conflict risk coefficient threshold. If the timing conflict risk coefficient is within the timing conflict risk coefficient threshold, it indicates that the timing conflict risk of the system is within a controllable range. If the timing conflict risk coefficient is not within the timing conflict risk coefficient threshold, it indicates that the digital interface has a high risk, and the timing conflict coefficient is proportional to the timing conflict risk (such as deadlock and data competition);
[0045] The expression of the timing conflict risk model is:
[0046] C confict = w1Δt sync + w2Δt delay
[0047] Among them, C confict represents the timing conflict risk coefficient, and Δt sync represents the clock synchronization error information, and Δt delay represents the signal transmission delay information. w1 and w2 represent weight coefficients and w1 + w2 = 1. This model comprehensively considers the impacts of clock synchronization and delay through weighted averaging, and C confict The larger it is, the higher the timing conflict risk (such as deadlocks and data races).
[0048] The communication protocol stack module is used to construct a communication protocol stack model, obtain protocol stack parameters, generate protocol stack coefficients, and verify the performance of the protocol stack through the protocol stack coefficients.
[0049] The protocol stack parameters include a reliability index and a real-time index. The reliability index is where PLR represents the packet loss rate, and the real-time index is the data transmission delay T.
[0050] The specific working method of the communication protocol stack module is as follows:
[0051] Obtain the reliability index information and real-time index information of the data and perform dimensionless processing on both;
[0052] Import the reliability index information and real-time index information into the constructed communication protocol stack model to generate protocol stack coefficients. Compare the obtained protocol stack coefficients with the protocol stack coefficient threshold. If the protocol stack coefficients are not within the protocol stack coefficient threshold, it indicates that the performance of the protocol stack does not meet the standard, and the protocol stack of the digital interface needs to be reconstructed. Among them, the smaller the protocol stack coefficient, the closer the protocol stack performance is to the ideal state;
[0053] The communication protocol stack model is expressed as:
[0054]
[0055] Among them, S current represents the protocol stack coefficient, R represents the reliability index, T represents the real-time index, R std represents the standard reliability index, T std represents the standard real-time index, S current The smaller it is, the closer the protocol stack performance is to the ideal state, that is, the protocol stack performance is inversely proportional to the value of S current numerical value.
[0056] The noise adjustment module constructs a noise adjustment model, obtains noise adjustment parameter information, and generates a noise adjustment coefficient.
[0057] The specific working method of the noise adjustment module is expressed as:
[0058] Obtaining the noise adjustment parameters includes protocol stack deviation, timing conflict coefficient, digital signal noise intensity, and analog signal noise intensity, and performing dimensionless processing;
[0059] Import the dimensionless noise adjustment parameters into the constructed noise adjustment model to generate a noise adjustment coefficient;
[0060] The expression of the noise adjustment model is:
[0061]
[0062] where, N adjust represents the noise adjustment coefficient, ΔS represents the protocol stack deviation, S current represents the protocol stack coefficient, C confict represents the timing conflict coefficient, V digital represents the digital signal noise intensity, V analog represents the analog signal noise intensity, α represents the digital signal weight, β represents the analog signal weight, δ represents the balance weight between the protocol stack deviation and the noise, S std represents the standard protocol stack coefficient (S std =[R std , T std ), 0 ≤ δ ≤ 1.
[0063] The optimal noise intensity decision module dynamically adjusts the noise intensity through feedback control according to the objective function to minimize the total error and generate the optimal noise intensity (target noise intensity). The objective function is expressed as:
[0064]
[0065] N optimal represents the optimal noise intensity, which is the optimal value of the noise intensity solved by an optimization algorithm (such as gradient descent or fuzzy control), making the total cost of the objective function minimum. Its physical meaning is: after comprehensively considering communication performance (reliability, real-time), timing conflict risk, and noise adjustment cost, dynamically determining the optimal noise intensity (reducing communication deviation ΔS and timing conflict C confict , controlling the deviation of the noise intensity from the theoretical recommended value N adjust ), for example: if the theoretical recommended noise intensity is N adjust = 8, but after actual optimization, it may need to be adjusted to N optimal = 8.5 to balance other constraint conditions;
[0066] N represents the noise intensity variable, which is the variable to be optimized in the objective function and represents the candidate value of the noise intensity that needs to be adjusted during the optimization process. Its physical meaning is: in the optimization iteration, N is the different noise intensity values tried by the algorithm, and the ultimate goal is to find the N that minimizes the total costoptimal , for example, in the gradient descent method, N is gradually updated from the initial value (such as N = 10) and finally converges to N optimal ;
[0067] N adjust is the output of the noise adjustment model, the recommended value of the theoretical noise intensity calculated by the noise adjustment model, which reflects the weighted influence of the protocol stack deviation and timing rereading. Its physical meaning is: the noise intensity benchmark value derived from the communication performance ΔS and timing conflict C confict is the reference value of the optimization target. For example, if ΔS = 20 and C confict = 14, then the noise adjustment model may output N adjust = 8.58 as an input parameter for the optimization process;
[0068] is the optimization weight, which controls the priority of each optimization item. For example, if the system has extremely high requirements for reliability, then is larger. If it is necessary to strictly control the noise adjustment cost, then is larger;
[0069] is to punish the deviation of the communication performance from the standard value, is to punish the risk of timing conflict, |N - N adjust | is to punish the deviation of the noise intensity from the theoretical recommended value.
[0070] The present invention quantifies the influence of clock synchronization and delay through the timing conflict model, evaluates the communication performance in combination with the protocol stack model, and finally dynamically optimizes the system noise intensity through the noise adjustment model, which can significantly improve the reliability and real-time performance of the digital interface. This method is applicable to scenarios such as industrial control and in-vehicle networks in high-noise environments.
[0071] It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprising", "including" or any other variant thereof is intended to cover non-exclusively, so that a process, method, article or device including a series of elements not only includes those elements, but also includes other elements not expressly listed, or also includes elements inherent to such process, method, article or device.
[0072] Although the embodiments of the present invention have been shown and described, for those of ordinary skill in the art, it can be understood that various changes, modifications, substitutions and variations can be made to these embodiments without departing from the principles and spirit of the present invention. The scope of the present invention is defined by the appended claims and their equivalents.
Claims
1. A digital interface system based on MBD design, characterized in that: include: A timing conflict risk module is used to build a timing conflict risk model and obtain timing conflict parameters to generate a timing conflict risk coefficient; The communication protocol stack module is used to build a communication protocol stack model and obtain protocol stack parameters to generate protocol stack coefficients; The sound adjustment module constructs a noise adjustment model and obtains noise adjustment parameter information to generate a noise adjustment coefficient; The optimal noise intensity decision module dynamically adjusts the noise intensity through feedback control according to the objective function to minimize the total error and generate the optimal noise intensity. The objective function is expressed as: Among them, N optimal represents the optimal noise intensity, N represents the noise intensity variable, N adjust is the noise conditioning model output, To optimize the weights, To punish communication performance that deviates from the standard value, To punish the timing violation risk, To penalize the noise intensity that deviates from the theoretically recommended value.
2. According to the digital interface system based on MBD design in claim 1, the timing conflict parameters include clock synchronization error information and signal transmission delay information, the protocol stack parameters include reliability index and real-time index, and the reliability index is The PLR represents the packet loss rate, and the real-time indicator is the data transmission delay T.
3. The digital interface system based on MBD design according to claim 1, characterized in that: The specific working mode of the timing conflict risk module is as follows: Obtain the system's clock synchronization error information and signal transmission delay information and perform dimensionless processing on them; Import the acquired clock synchronization error information and signal transmission delay information into the constructed timing conflict risk model to generate a timing conflict risk coefficient; The obtained timing conflict risk coefficient is compared with the corresponding timing conflict risk coefficient threshold. If the timing conflict risk coefficient is within the timing conflict risk coefficient threshold, it indicates that the system timing conflict risk is within a controllable range. If the timing conflict risk coefficient is not within the timing conflict risk coefficient threshold, it indicates that the digital interface risk is high, and the timing conflict coefficient is proportional to the timing conflict risk.
4. The digital interface system based on MBD design according to claim 3, characterized in that: The expression of the timing conflict risk model is: C confict =w1Δt sync +w2Δt delay Among them, C confict represents the timing conflict risk coefficient, Δt sync Indicates the clock synchronization error information, Δt delay represents signal transmission delay information, w1 and w2 represent weight coefficients and w1+w2=1.
5. The digital interface system based on MBD design according to claim 1, characterized in that: The specific working mode of the communication protocol stack module is: Obtain the reliability index information and real-time index information of the data and perform dimensionless processing on the two; The reliability index information and the real-time index information are imported into the constructed communication protocol stack model to generate a protocol stack coefficient, and the obtained protocol stack coefficient is compared with the protocol stack coefficient threshold. If the protocol stack coefficient is not within the protocol stack coefficient threshold, it indicates that the protocol stack performance does not meet the standard.
6. The digital interface system based on MBD design according to claim 5, characterized in that: The communication protocol stack model is expressed as: Among them, S current represents the protocol stack coefficient, R represents the reliability index, T represents the real-time index, and R std represents the standard reliability index, T std Represents the standard real-time index, S current The smaller it is, the closer the protocol stack performance is to the ideal state.
7. The digital interface system based on MBD design according to claim 1, characterized in that: The specific working mode of the noise adjustment module is expressed as follows: Obtain noise adjustment parameters including protocol stack deviation, timing conflict coefficient, digital signal noise intensity and analog signal noise intensity and perform dimensionless processing; The dimensionless noise adjustment parameters are imported into the constructed noise adjustment model to generate the noise adjustment coefficients.
8. The digital interface system based on MBD design according to claim 7, characterized in that: The expression of the noise adjustment model is: Among them, N adjust represents the noise adjustment coefficient, ΔS represents the protocol stack deviation, S current Indicates the protocol stack coefficient, C confict Represents the timing conflict coefficient, V digital Represents the digital signal noise intensity, V analog represents the analog signal noise intensity, α represents the digital signal weight, β represents the analog signal weight, δ represents the balance weight between protocol stack deviation and noise, S std Indicates the standard protocol stack coefficient, S std =[R std , T std ], 0≤δ≤1.