Electromechanical system control method and device

A technology of electromechanical systems and control methods, applied in computer control, program control, comprehensive factory control, etc., can solve the problems of complex design and high load of electromechanical system control software, and achieve the goal of reducing the use of queries, reducing loads, and reducing complexity Effect

Active Publication Date: 2017-06-20
SHENZHEN YIHUA COMP +2
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to propose a method and device for electromechanical system control to solve the technical problems of complex design and high load of electromechanical system control software 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
  • Electromechanical system control method and device
  • Electromechanical system control method and device
  • Electromechanical system control method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0037] figure 1 It is a schematic flowchart of a method for controlling an electromechanical system provided in Embodiment 1 of the present invention, and the method in this embodiment is applicable to the case of controlling an electromechanical system. It can be executed by the control device of the electromechanical system, which can be realized by means of hardware and / or software, and can generally be applied to the main system of the electromechanical system.

[0038] see figure 1 , the electromechanical system control method, comprising:

[0039] S110. Send a control command to the subsystem, and receive an event in the control process corresponding to the control command returned by the subsystem.

[0040] In the electromechanical system, the upper computer directly facing the user is called the main system, and the subsystem can be a specific component for executing various operation commands. An electromechanical system consists of at least one subsystem, usually ...

Embodiment 2

[0052] figure 2 It is a schematic flowchart of the electromechanical system control method provided by Embodiment 2 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments, and the event is inserted into the preset event queue. The specific optimization is as follows: when the electromechanical system includes a subsystem, according to the order of the events, the Events are inserted into the preset event queue.

[0053] see figure 2 , the electromechanical system control method, comprising:

[0054] S210. Send a control command to the subsystem, and receive an event in the control process corresponding to the control command returned by the subsystem.

[0055] S220. Register the event. When the electromechanical system includes a subsystem, insert the event into a preset event queue according to the sequence in which the events occur.

[0056] If the electromechanical system includes only one subsystem, then for this subsys...

Embodiment 3

[0060] image 3 It is a schematic flowchart of the electromechanical system control method provided by Embodiment 3 of the present invention. This embodiment is optimized on the basis of the above-mentioned embodiments, and the event is inserted into the preset event queue. The specific optimization is: when the electromechanical system includes at least two subsystems, according to the sequence of events of each subsystem, insert The event is inserted into a preset event queue.

[0061] see image 3 , the electromechanical system control method, comprising:

[0062] S310. Send a control command to the subsystem, and receive an event in the control process corresponding to the control command returned by the subsystem.

[0063] S320. Register the event. When the electromechanical system includes at least two subsystems, insert the event into a preset event queue according to the sequence of events of each subsystem.

[0064] An electromechanical system usually includes at ...

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 an electromechanical system control method and a device. The method comprises steps of sending a control command to a subsystem and receiving an event, which corresponds to the control command and is returned by the subsystem, in a control process; registering the event, and inserting the event into a preset event queue; when a triggering condition of the event is met, reading the event from the event queue and distributing the event to a target object of the event so as to allow the object to execute a control action according to the information in the event. According to the invention, an event triggering mechanism is used for carrying out action control on the object, so a main system can be prevented from repeatedly searching state information in a polling mode, so load of a communication bus is reduced; search use is reduced in software realization; and complexity of software design is reduced.

Description

technical field [0001] The invention relates to the technical field of electromechanical control, in particular to a method and device for controlling an electromechanical system. Background technique [0002] Currently, electromechanical control is based on embedded microprocessors. With the characteristics of small size, low cost and flexible use, it is widely used in the fields of CNC machine tools, robots, quantitative feeding, industrial automatic control and various controllable mechanical tools with positioning requirements. Embedded microprocessors can complete most of the motion control functions. [0003] Since the current electromechanical control mostly adopts the query method or simple timing feedback method, when controlling some motion processes, the user's host computer (main system) needs to keep inquiring and paying attention to the current motion parameters, in order to hope that when the motor reaches some Timely response to critical control points. 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
Patent Type & Authority Applications(China)
IPC IPC(8): G05B19/042
CPCG05B19/0423G05B2219/25257Y02P90/02
Inventor 李意希
Owner SHENZHEN YIHUA COMP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products