Simulation parameter debugging method and device for embedded controller and controller
An embedded controller and simulation parameter technology, applied in control/adjustment systems, general control systems, instruments, etc., can solve the problem of difficulty in debugging simulation parameters, and achieve the effect of preventing data packet loss
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0049] figure 1 It is a schematic flow chart of the simulation parameter debugging method of the embedded controller provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of performing simulation debugging on the embedded controller. To execute, specifically include the following steps:
[0050] S110. Start timing when simulation control data is received. The simulation control data is sent by the simulation system model and held by a zero-order keeper, so that the sending time meets the cycle requirement of the control algorithm.
[0051] In this embodiment, the embedded controller based on hardware-in-the-loop simulation is used to realize the debugging of the embedded controller. Exemplarily, the software simulation part can use Matlab software to establish mathematical models of the controlled object, actuators, and sensors. The hardware part uses an embedded controller that needs to be tuned and debugged. Then the embedded co...
Embodiment 2
[0063] figure 2 It is a schematic flowchart of a method for debugging simulation parameters of an embedded controller provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the foregoing embodiments. In this embodiment, the method may further include the following step: calculating a control index, and the control index is used to characterize the control effect corresponding to the control result and the control duration.
[0064] Correspondingly, the simulation parameter debugging method of the embedded controller provided in this embodiment specifically includes:
[0065] S210. Start timing when simulation control data is received. The simulation control data is sent by the simulation system model and held by a zero-order keeper, so that the sending time meets the cycle requirement of the control algorithm.
[0066] S220, stop timing when the simulation control data is received next time, and determine a time interval for receiving...
Embodiment 3
[0075] image 3 It is a schematic structural diagram of a simulation parameter debugging device for an embedded controller provided in Embodiment 3 of the present invention, as shown in image 3 As shown, the device includes:
[0076] The start module 310 is used to start timing when the simulation control data is received, the simulation control data is sent by the simulation system model, and is held by the zero-order holder, so that the sending time meets the control algorithm cycle requirements;
[0077] Determining module 320 is used to stop timing at the simulation control data received next time, and determine the time interval for receiving simulation control data according to the timing;
[0078] A control module 330, configured to control the time interval as a control cycle.
[0079] The simulation parameter debugging device of the embedded controller provided in this embodiment, by calculating the time length between two consecutive simulation control data, contr...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


