Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Pending Publication Date: 2021-01-15
TIANJIN AGRICULTURE COLLEGE +1
View PDF3 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a method, device, and controller for debugging simulation parameters of an embedded controller, so as to solve the technical problem that the simulation parameter debugging of an embedded controller is difficult to correspond to the actual situation in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Simulation parameter debugging method and device for embedded controller and controller
  • Simulation parameter debugging method and device for embedded controller and controller
  • Simulation parameter debugging method and device for embedded controller and controller

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a simulation parameter debugging method and device for an embedded controller, and a controller, and the method comprises the steps: starting timing when simulation control data is received, wherein the simulation control data is transmitted by a simulation system model and to be maintained through a zero-order retainer, so as to enable the transmission time to meet the period requirements of a control algorithm; stopping timing when the simulation control data is received next time, and determining a time interval for receiving the simulation controldata according to the timing; and controlling by taking the time interval as a control period. The controller can be actually controlled to actually operate according to the control instruction sent by the simulation software by utilizing the control instruction sent by the simulation software. Therefore, the normal working scene of the real embedded controller can be simulated as much as possible.

Description

technical field [0001] The invention relates to the technical field of embedded controllers, in particular to a simulation parameter debugging method, device and controller of an embedded controller. Background technique [0002] Embedded controllers are control systems designed to perform specified independent control functions and have the ability to process data in complex ways. It is an electronic device or device controlled by embedded microelectronic technology chips (including a series of microelectronic devices such as microprocessor chips, timers, sequence generators or controllers), and can complete various automatic processing tasks such as monitoring and control. . [0003] Before actually using the embedded controller to run normally, it is necessary to debug the parameters of the controller. The debugging of controller parameters needs to physically connect the controller, sensor and the controlled object, that is, the controller reads the sampling data of th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G05B17/02
CPCG05B17/02
Inventor 陈长喜刘继伟
Owner TIANJIN AGRICULTURE COLLEGE