WO2023138536A1 - Motor control system, motor control method, and motor driving and forwarding device - Google Patents

Motor control system, motor control method, and motor driving and forwarding device Download PDF

Info

Publication number
WO2023138536A1
WO2023138536A1 PCT/CN2023/072387 CN2023072387W WO2023138536A1 WO 2023138536 A1 WO2023138536 A1 WO 2023138536A1 CN 2023072387 W CN2023072387 W CN 2023072387W WO 2023138536 A1 WO2023138536 A1 WO 2023138536A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor
forwarding
forwarding device
motor control
control parameters
Prior art date
Application number
PCT/CN2023/072387
Other languages
French (fr)
Chinese (zh)
Inventor
余毅
孔卫
常天海
匡立
曹美汉
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023138536A1 publication Critical patent/WO2023138536A1/en

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P5/00Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors
    • H02P5/46Arrangements specially adapted for regulating or controlling the speed or torque of two or more electric motors for speed regulation of two or more dynamo-electric motors in relation to one another
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P6/00Arrangements for controlling synchronous motors or other dynamo-electric motors using electronic commutation dependent on the rotor position; Electronic commutators therefor
    • H02P6/04Arrangements for controlling or regulating the speed or torque of more than one motor
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Definitions

  • the present application relates to the technical field of automatic control, in particular to a motor control system, a motor control method, and a motor drive and forwarding device.
  • the motor control system is the core equipment system of automated production.
  • a large number of motors and servo controllers are generally configured.
  • multiple servo controllers are connected in series, one of the multiple servo controllers is connected to a computer device, and each servo controller is connected to a motor.
  • the computer device sends an instruction to start working to the servo controller through a programmable logic controller, and the servo controller controls the operation of the motor connected to it to complete various tasks.
  • the servo controller is used to detect the running state of the motor in real time and calculate the corresponding motor control parameters to realize real-time control of the motor.
  • the processing capability of the servo controller is generally limited, which limits the improvement of the control accuracy of automated production.
  • the embodiments of the present application provide a motor control system, a motor control method, and a motor driving and forwarding device, which can solve the problem in the prior art that the control accuracy of automatic production is limited due to the limited processing capability of the servo controller.
  • the technical scheme is as follows.
  • the embodiment of the present application provides a motor control system.
  • the system includes: a centralized computing processing device, a plurality of motor drive and forwarding devices, and a plurality of motors.
  • the centralized computing processing device is connected to each of the plurality of motor driving and forwarding devices, and each motor driving and forwarding device is respectively connected to at least one of the plurality of motors.
  • the centralized computing processing device is used to receive the motor state parameters sent by the motor drive and forwarding device, determine the motor control parameters based on the motor state parameters, and send the motor control parameters to the motor drive and forwarding device.
  • the motor driving and forwarding device is used to obtain the motor state parameters of the motor connected to the motor driving and forwarding device, send them to the centralized computing processing device, and drive the motor connected to the motor driving and forwarding device based on the motor control parameters.
  • the motor state feedback model is pre-stored in the centralized calculation processing device.
  • the centralized processor determines motor control parameters according to the received motor state parameters and the motor state feedback model.
  • the motor state feedback model can be a model composed of a series of algorithmic formulas, or a machine learning model, etc.
  • the centralized computing processing device includes at least one processing module.
  • all motor state parameters can be input into the motor state feedback model, thereby determining updated motor control parameters corresponding to the motors connected to each motor drive and forwarding device.
  • the centralized computing processing device includes a plurality of processing modules, the number of processing modules can be determined according to the number of motor driving and forwarding devices or motors, for each motor driving and forwarding device (or motor), the centralized calculation and processing device inputs part or all of the motor state parameters into the motor state feedback model, thereby determining the updated motor control parameters corresponding to each motor drive and forwarding device (or motor).
  • the motor driving and forwarding device has a control parameter refreshing unit and a local closed-loop unit.
  • the control parameter refreshing unit is used for buffering and updating the motor control parameters sent by the centralized computing processing device.
  • the local closed-loop unit is used to verify the motor control parameters and motor state parameters.
  • the centralized computing processing device can centrally and synchronously process the motor state parameters corresponding to multiple motors, which embodies a flat synchronous control mechanism for the motors, improves control efficiency, and reduces the time delay of information synchronous interaction; on the other hand, compared with the current commonly used servo controllers, the centralized computing processing device has stronger processing capabilities and can perform high-frequency and high-complexity calculations.
  • the motor control system further includes a distribution device, and the centralized computing processing device is connected to each of the multiple motor driving and forwarding devices through the distribution device.
  • the distributing device is used for forwarding the motor control parameters received from the centralized computing processing device to each motor driving and forwarding device, and for sending the motor state parameters received from each motor driving and forwarding device to the centralized computing processing device.
  • the action of the distributing device to transfer the generator control parameters may be broadcast, multicast or unicast. If the motor drive and forwarding device, centralized computing processing device, and distribution device are implemented based on passive optical network technology, then the distribution device is broadcast. If the motor drive and forwarding device, the centralized computing processing device and the distribution device are implemented based on switch technology, the distribution device can be broadcast, multicast or unicast.
  • the motor state parameters of multiple motor driving and forwarding devices can be aggregated and then sent to the centralized computing and processing device, or all received state parameters can be forwarded immediately or according to the agreed time, and so on.
  • the data transmission between the centralized computing processing device and the motor drive and forwarding device is completed through the distribution device, and there is only one line for data transmission between the centralized computing processing device and the distribution device.
  • the layout range of the motor control system can be expanded, and the wiring of the entire motor control system can be reduced to a certain extent, and the circuit structure of the system can be optimized.
  • the motor control system further includes an image monitoring device, and the image monitoring device is connected with the motor driving and forwarding device.
  • the image monitoring device is used to acquire working image data corresponding to the motor, and send the working image data to the motor driving and forwarding device, wherein the working image data may be a picture or a video.
  • the motor driving and forwarding device is used to send the working image data to the centralized computing processing device.
  • the image monitoring device and the motor can work synchronously, that is, the image monitoring device and the motor start working at the same time and end working at the same time.
  • the image monitoring device and the motor can also work synchronously, that is, the image monitoring device and the motor start working at different times and/or stop working at different times.
  • the motor drive and forwarding device when the motor drive and forwarding device does not obtain the working image data, it can only send the motor state parameters to the centralized computing processing device; when the motor driving and forwarding device obtains the motor state parameters and working image data at the same time, it can package the motor state parameters and working image data and send them to the centralized computing processing device, or can separately send the motor state parameters and working image data to the centralized computing processing device through the same communication channel.
  • the centralized computing and processing device uses the image data generated by the operation of the motor as an important factor in determining the motor control parameters, so that more accurate motor control parameters can be obtained, that is, the control accuracy of automated production can be improved.
  • the centralized computing processing device is also used to send the shooting control to the motor driving and forwarding device. control parameters.
  • the motor drive and forwarding device is also used to send shooting control parameters to the image monitoring device.
  • the image monitoring device is configured to acquire working image data corresponding to the motor based on the shooting control parameters when receiving the shooting control parameters.
  • the centralized calculation and processing device may pre-store the corresponding relationship between the motor control parameters of the motor and the shooting control parameters of the image monitoring device. After the centralized calculation and processing device determines the updated motor control parameters, it may determine the corresponding shooting control parameters according to the corresponding relationship.
  • the motor control parameters and shooting control parameters can be respectively recorded at designated positions of the same character string, or can be represented by character strings with designated marks.
  • the centralized computing processing device can adjust the shooting direction of the image monitoring device based on the change of the motor running state, thereby obtaining more comprehensive working image data and more accurately determining the motor control parameters, thereby improving the control accuracy of automated production.
  • the centralized calculation processing device determines the motor control parameters based on the motor state parameters and the working image data.
  • the motor state feedback model is pre-stored in the centralized computing and processing device, and the centralized processor inputs the received motor state parameters and working image data into the motor state feedback model, thereby determining the updated motor control parameters corresponding to the motors connected to each motor drive and forwarding device.
  • the centralized computing and processing device can obtain more accurate motor control parameters based on the motor state parameters and working image data, thereby improving the control accuracy of automated production.
  • the same communication channel is used by the motor driving and forwarding device to send the motor state parameters to the centralized computing and processing device and to send the working image data to the centralized computing and processing device.
  • the wiring of the entire motor control system can be reduced to a certain extent, and the circuit structure of the motor control system can be optimized.
  • the motor control system further includes a multi-port information forwarding device and an auxiliary device, and the multi-port information forwarding device is respectively connected to the centralized computing processing device and the auxiliary device.
  • the multi-port information forwarding device is used for sending the auxiliary control parameters received from the centralized computing processing device to the auxiliary device.
  • the auxiliary device is used to assist the operation of the motor control system based on the auxiliary control parameters.
  • the multi-port information forwarding device has multiple input/output (Input/Output, I/O) ports, which can be connected to at least one auxiliary device.
  • I/O input/output
  • Auxiliary devices can be indicator lights, conveyor belt mechanisms, etc.
  • the multi-port information forwarding device can be connected to multiple auxiliary devices according to actual needs, which improves the connection flexibility of the entire motor control system and is beneficial to increase the functions of the motor control system.
  • the auxiliary device can assist the entire motor control system to complete the specified work more conveniently, thereby improving the intelligence of the motor control system.
  • any two motor driving and forwarding devices among the multiple motor driving and forwarding devices are connected.
  • the centralized computing processing device sends the motor control parameters corresponding to the first motor driving and forwarding device and the motor control parameters corresponding to the second motor driving and forwarding device to the first motor driving and forwarding device and the second motor driving and forwarding device among the multiple motor driving and forwarding devices respectively.
  • the first motor driving and forwarding device sends the motor control parameters corresponding to the second motor driving and forwarding device to the second motor driving and forwarding device.
  • the motor control parameters corresponding to the first motor driving and forwarding device sent by the second motor driving and forwarding device are received. If the motor control parameters corresponding to the first motor drive and forwarding device sent by the centralized computing processing device are the same as the motor control parameters corresponding to the first motor drive and forwarding device sent by the second motor drive and forwarding device, then based on the motor control parameters corresponding to the first motor drive and forwarding device, the first The motor drive and the motor connected to the transponder are driven.
  • the second motor driving and forwarding device sends the motor control parameters corresponding to the first motor driving and forwarding device to the first motor driving and forwarding device.
  • the motor control parameters corresponding to the second motor driving and forwarding device sent by the first motor driving and forwarding device are received. If the motor control parameters corresponding to the second motor drive and the forwarding device sent by the centralized computing processing device are the same as the motor control parameters corresponding to the second motor drive and the forwarding device sent by the first motor drive and the forwarding device, then the motor connected to the second motor drive and the forwarding device is driven based on the motor control parameters corresponding to the second motor drive and the forwarding device.
  • first motor driving and forwarding device and the second motor driving and forwarding device may be part or all of the multiple motor driving and forwarding devices connected to the centralized computing processing device.
  • there may be one or more second motor driving and forwarding devices.
  • the motor drive and forwarding device can verify the motor control parameters sent by the centralized calculation and processing device through the motor control parameters forwarded by other motor drive and forwarding devices, so as to ensure the accuracy of the motor control parameters, thereby accurately controlling the operation of the motor and improving the control accuracy of automated production.
  • the centralized computing processing device can transmit data to the motor driving and forwarding device through other motor driving and forwarding devices, thereby ensuring the stability of the motor control system.
  • the motor includes a driver, a motor body and a motor state sensor, the driver is respectively connected to the motor body, the motor drive and the forwarding device, and the motor state sensor is respectively connected to the motor body, the motor drive and the forwarding device.
  • the motor driving and forwarding device sends the motor control parameters received from the centralized computing processing device to the driver, and sends the motor state parameters received from the driver and the motor state sensor to the centralized computing processing device.
  • the driver drives the motor body to run based on the motor control parameters received from the motor driving and forwarding device.
  • the centralized computing processing device sends the motor control parameters to the motor driving and forwarding device in the form of digital signals.
  • the motor drive and transponder converts the received digital signal into a corresponding analog signal and sends it to the drive.
  • the driver generates a corresponding driving current according to the received analog signal, thereby driving the motor body to run.
  • the analog signal may be a pulse width modulated wave.
  • the motor drive and transponder device can have fewer functional requirements and a simpler structure, thereby reducing the cost of the motor drive and transponder device, thereby reducing the cost of automated production.
  • the motor driving and forwarding device includes a communication component and a driver
  • the motor includes a motor body and a motor state sensor
  • the communication component is respectively connected to the driver, the motor state sensor, and a centralized computing processing device
  • the motor body is respectively connected to the driver and the motor state sensor.
  • the communication component sends the motor control parameters received from the centralized computing processing device to the driver, and sends the motor state parameters received from the driver and the motor state sensor to the centralized computing processing device.
  • the driver drives the motor body to run based on the motor control parameters received from the communication component.
  • the motor structure can be optimized, and the research and development cost of the motor can be reduced.
  • the embodiment of the present application provides a motor control method.
  • the method is applied to the motor control system of the first aspect and its possible implementations, and the method includes: in the first aspect and its possible implementations, the processing executed by each device of the motor control system.
  • the embodiment of the present application provides a motor driving and forwarding device, the device includes one or more modules, and the one or more modules perform processing to realize the first aspect and possible implementation manners thereof.
  • the motor automation control system mentioned in the embodiment of the present application includes a centralized computing processing device, multiple motor drive and forwarding devices, and multiple motors.
  • the centralized computing processing device is connected to each of the plurality of motor driving and forwarding devices, and each motor driving and forwarding device is respectively connected to at least one of the plurality of motors.
  • the centralized calculation processing device determines the corresponding motor control parameters based on the motor state parameters, and sends them to the motor driving and forwarding device.
  • the motor driving and forwarding device drives the motor connected to the motor driving and forwarding device based on the motor control parameters, thereby realizing real-time control of the motor.
  • the centralized calculation processing device is used to calculate the motor control parameters.
  • the centralized calculation processing device can be a computer device, etc., which has stronger processing capabilities than the servo controller, that is, it can perform high-frequency and high-complexity calculations. Thus, the control precision of automatic production is greatly improved.
  • FIG. 1 is a schematic diagram of a framework of an existing motor control system
  • Fig. 2 is a schematic diagram of the structural framework of a centralized computing processing device provided by the embodiment of the present application;
  • Fig. 3 is a schematic structural diagram of the first motor control system provided by the embodiment of the present application.
  • Fig. 4 is a schematic flow chart of the first motor control method provided by the embodiment of the present application.
  • Fig. 5 is a schematic structural diagram of a second motor control system provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a third motor control system provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a fourth motor control system provided by an embodiment of the present application.
  • Fig. 8 is a schematic structural diagram of a fifth motor control system provided by an embodiment of the present application.
  • FIG. 9 is a schematic flowchart of a second motor control method provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a sixth motor control system provided by an embodiment of the present application.
  • Fig. 11 is a schematic structural diagram of a seventh motor control system provided by an embodiment of the present application.
  • Fig. 12 is a schematic structural diagram of an eighth motor control system provided by an embodiment of the present application.
  • Fig. 13 is a schematic structural diagram of a motor driving and forwarding device provided by an embodiment of the present application.
  • a CNC machine tool generally includes three motors, which are respectively used to drive the object to be processed to rotate around the axis, drive the object to be processed to translate along the axis direction, and drive the object to be processed to translate along the direction perpendicular to the axis.
  • a six-degree-of-freedom industrial robot arm (hereinafter referred to as the arm) generally includes six motors, which are used to control the rotation of the arm along the x-axis direction, the translation along the x-axis direction, the rotation along the y-axis direction, the translation along the y-axis direction, the rotation along the z-axis direction, and the translation along the z-axis direction.
  • the motor control system provided in the embodiment of the present application can be used to control a CNC machine tool or a robot arm to perform operations, and can also be used to control the cooperative operation between multiple CNC machine tools or multiple robot arms.
  • this solution will be described in detail by taking the control of a robotic arm as an example. Other industrial control application scenarios are similar and will not be repeated here.
  • the motor control system includes a centralized computing and processing device, multiple motor driving and forwarding devices (hereinafter referred to as driving and forwarding devices), and multiple motors.
  • the centralized computing and processing device controls the operation of the motor by driving the forwarding device.
  • the centralized computing processing device may be a computer device, such as a notebook computer, a desktop computer, a tablet computer, and the like. From the perspective of hardware composition, the structure of the centralized computing processing device can be shown in Figure 2, including processors, memory and communication part.
  • the processor can be a central processing unit (central processing unit, CPU) or a system on chip (system on chip, SoC), etc.
  • the processor can be used to determine motor control parameters, can be used to determine an instruction to start shooting, can be used to determine shooting control parameters, and so on.
  • the memory may include various volatile memories or nonvolatile memories, such as solid state disk (solid state disk, SSD), dynamic random access memory (dynamic random access memory, DRAM) memory, and the like.
  • Memory can be used to store pre-stored data, intermediate data and result data in motor control systems. For example, motor control parameters, motor state parameters, shooting start instructions, shooting control parameters, working image data, and so on.
  • the communication component may be a wired network connector, a wireless fidelity (Wireless Fidelity, WiFi) module, an optical transceiver module, a Bluetooth module, or a cellular communication module.
  • the communication component may be used for data transmission with other devices, and the other devices may be drive forwarding devices, other centralized computing processing devices, and the like. For example, it is used to send motor control parameters to the drive forwarding device, and is used to receive motor state parameters sent by the drive forwarding device, and so on.
  • a terminal may also include display components, audio output components, and the like.
  • the display component may be a twisted nematic (TN) panel, a vertical alignment (VA) panel, an in-Plane switching (IPS) panel, and so on.
  • the display panel can be used to display working image data corresponding to the motor, and so on.
  • Fig. 3 is a schematic structural diagram of the first motor control system provided by the embodiment of the present application.
  • the motor control system includes a centralized computing processing device, multiple drive forwarding devices, and multiple motors.
  • the centralized computing and processing device is connected to each of the multiple driving and forwarding devices, and each of the driving and forwarding devices is respectively connected to at least one motor.
  • the driving forwarding device establishes communication with the centralized computing processing device and the motor respectively, and the communication method can be wired communication (such as optical fiber communication, etc.), or wireless communication (such as WiFi communication, Bluetooth communication, etc.).
  • the embodiment of the present application provides the processing flow of the motor control method as shown in FIG. 4 , including the following multiple processing steps.
  • the centralized calculation and processing device sends initial motor control parameters to the drive forwarding device.
  • each station can be operated by a robotic arm.
  • the first robot arm installs part A at the first position of the product
  • the second robot arm installs part B at the second position of the product, and so on.
  • the centralized computing processing device pre-stores the reference motor control parameters for the mechanical arm to complete the corresponding operation, and stores the identification information of the mechanical arm and the corresponding reference motor control parameters in the centralized computing processing device in the form of a table, wherein the motor control parameter can be the corresponding current value when the motor is running, and the reference motor control parameter can be the reference current value.
  • the operator can first determine the identification information of the robotic arms participating in the production operation.
  • the operator can trigger the start instruction of the motor control system to start working in the centralized computing and processing device through some specified operation.
  • the centralized calculation and processing device After the centralized calculation and processing device receives the above-mentioned opening instruction, it can determine the reference motor control parameters corresponding to the robotic arms participating in the production operation in the table of correspondence between the identification information of the mechanical arms and the reference motor control parameters, and send the reference motor control parameters as the initial motor control parameters to the corresponding drive forwarding device.
  • the above-mentioned specified operation may be to trigger the specified physical key or combination of physical keys at the centralized computing and processing device, or to input specified instruction information in the centralized computing and processing device, or to trigger the specified operation control in the operation interface of the centralized computing and processing device, and so on.
  • the centralized computing processing device may also first determine the historical work records corresponding to the same production operation within a specified period of time in the past, and further determine the error value of the corresponding motor control parameters through the historical work records, and then adjust the reference motor control parameters based on the error value to Determine the initial motor control parameters corresponding to this production operation.
  • the above-mentioned motor control parameters may also be parameters such as voltage value, rotation angle value, and linear displacement value corresponding to the motor running.
  • the driving forwarding device controls the operation of the motor based on the initial motor control parameters received from the centralized computing and processing device.
  • the operation of the motor is usually directly driven by the driver, and the driver can be installed in the motor (that is, as a part of the motor), or installed in the drive transponder (that is, as a component of the drive transponder).
  • the embodiment of the present application describes step S402 respectively.
  • the motor includes a driver, a motor body and a motor state sensor, and the corresponding structure is shown in Figure 5.
  • the motor status sensor is a rotary encoder and a rotational speed sensor.
  • the driver is respectively connected with the motor body and the drive transponder
  • the motor state sensor is respectively connected with the motor body and the drive transponder.
  • the motor state sensor establishes communication with the motor body and the drive transponder respectively, wherein the communication method can be wired communication or wireless communication.
  • the centralized calculation and processing device sends the initial motor control parameters to the drive forwarding device in the form of digital signals.
  • the drive transponder converts the received digital signal into a corresponding analog signal.
  • the driving transponder sends the analog signal to the driver, and the driver generates a corresponding driving current according to the received analog signal, thereby driving the motor body to run.
  • the analog signal may be a pulse width modulation (pulse width modulation, PWM) wave.
  • the driver is installed in the drive forwarding device
  • the drive forwarding device includes communication components and a driver, and the motor includes a motor body and a motor state sensor.
  • the corresponding structure is shown in Figure 6.
  • the communication components of the driving forwarding device are respectively connected with the driver, the motor state sensor, and the centralized computing processing device, and the motor body is respectively connected with the driver and the motor state sensor.
  • the communication component driving the transponder establishes communication with the driver and the motor state sensor respectively, wherein the communication method can be wired communication or wireless communication.
  • the communication part driving the forwarding device determines the corresponding PWM wave according to the initial motor control parameters sent by the centralized computing and processing device, and sends the PWM wave to the driver driving the forwarding device, and then the driver generates a corresponding driving current according to the received PWM wave, thereby driving the motor body to run.
  • the drive forwarding device acquires the motor state parameters of the motor, and sends them to the centralized computing and processing device.
  • the motor state parameters of the motor are obtained, and the motor state parameters include multiple motor state sub-parameters such as current parameters, rotation angle and speed.
  • the current parameter is the current value of the motor body when it is running, which is obtained through the driver
  • the rotation angle is the rotation angle of the output shaft of the motor body relative to the reference position, which is obtained by rotating the code disc
  • the speed is the instantaneous speed of the motor body when it is running, and is obtained through the speed sensor.
  • the driver of the motor After the driver of the motor transmits the driving current to the motor body, it obtains the current parameters of the motor body when it is running. Then, the driver feeds back the current parameter to the driving transponder. At the same time, the rotary code disc of the motor feeds back the rotation angle of the motor body to the driving transponder, and the rotational speed sensor of the motor feeds back the rotational speed of the motor body to the driving transponder.
  • the drive forwarding device combines the acquired motor state sub-parameters into motor state parameters and sends them to the centralized computing and processing device.
  • the motor state parameter can be composed of multiple fields, and each field represents a motor state sub-parameter.
  • the motor state parameter is composed of three fields in order, and these three fields are used to represent the current parameter, rotation angle and speed in turn.
  • the motor state parameter is a string with 30 bits, wherein bits 1-8 are used to represent the current parameter, bits 9-20 are used to represent the angle of rotation, bits 21-30 are used to indicate the speed, and so on.
  • Motor status parameters can also be composed of motor status sub-parameters with specified identifiers, for example, a character string whose first character is A indicates a current parameter, and the first character string The string whose character is X indicates the rotation angle, and the string whose first character is Z indicates the speed.
  • the motor status parameters include three strings of A0001, X0235, and Z15ac. These three strings represent current parameters, rotation angle, and speed.
  • the driving part driving the transponder transmits the driving current to the motor body
  • the current parameters of the motor body during operation are obtained.
  • the driver feeds back the current parameter to the communication part driving the transponder.
  • the rotary code disc of the motor feeds back the rotation angle of the motor body to the communication component driving the transponder
  • the rotational speed sensor of the motor feeds back the rotational speed of the motor body to the communication component driving the transponder.
  • the communication component driving the forwarding device sends the motor state parameters to the centralized computing and processing device.
  • the expression form of the motor state parameters is the same as that of the above-mentioned structure 1, and will not be repeated here.
  • the centralized calculation and processing device determines updated motor control parameters based on the motor state parameters, and sends the updated motor control parameters to the drive forwarding device.
  • the motor state feedback model is pre-stored in the centralized calculation processing device.
  • the centralized processor determines the motor control parameters according to the received motor state parameters (such as current parameters, rotation angle, rotational speed, etc.) and the motor state feedback model.
  • the motor state feedback model can be a model composed of a series of algorithmic formulas, or a machine learning model, etc. Here are a few possible ways to handle it:
  • the centralized calculation and processing device inputs the acquired motor state parameters of all the motors connected to the driving transponder into the motor state feedback model, thereby determining updated motor control parameters corresponding to each motor connected to the driving transponder. Then, the centralized calculation and processing device sends the updated motor control parameters to the corresponding drive forwarding device.
  • the centralized calculation and processing device is divided into multiple processing modules according to the number of driving forwarding devices. For each drive forwarding device, the corresponding processing module in the centralized computing processing device determines the corresponding updated motor control parameters according to the motor state parameters and the motor state feedback model corresponding to the driving forwarding device, and finally, the centralized computing processing device sends the updated motor control parameters to the corresponding driving forwarding device.
  • the centralized calculation and processing device is divided into multiple processing modules according to the number of driving forwarding devices. For each drive forwarding device, the corresponding processing module in the centralized calculation processing device determines the corresponding updated motor control parameters according to the motor state parameters corresponding to the drive forwarding device, all (or part) motor state parameters corresponding to at least one other drive forwarding device, and the motor state feedback model, and finally, the centralized calculation processing device sends the updated motor control parameters to the corresponding drive forwarding device.
  • the centralized calculation and processing device is first divided into multiple processing modules according to the number of driving and forwarding devices, and then divided into several sub-processing modules according to the number of motors corresponding to each driving and forwarding device. For each sub-processing module in the centralized computing processing device, it is used to determine the updated motor control parameters of the corresponding motor. Finally, the centralized calculation and processing device sends the updated motor control parameters to the corresponding drive forwarding device.
  • the specific calculation method is similar to method 2 and method 3, and will not be repeated here.
  • the driving forwarding device controls the operation of the motor based on the updated motor control parameters received from the centralized computing and processing device.
  • the driving forwarding device After receiving the updated motor control parameters sent by the centralized calculation and processing device, the driving forwarding device determines the corresponding driving current, thereby controlling the operation of the motor.
  • the specific operation process is similar to that of step S402, and will not be repeated here.
  • the drive forwarding device has a control parameter refreshing unit and a local closed-loop unit.
  • the control parameter refreshing unit is used for buffering the motor control parameter.
  • the control parameter refresh unit will drive The motor control parameters cached in the automatic transponder are refreshed with the latest received motor control parameters.
  • the local closed-loop unit compares the motor control parameters cached in the drive forwarding device with the motor state parameters fed back after the motor executes the motor control parameters multiple times to determine whether they are consistent. If consistent, the drive forwarding device can send the motor state parameters to the centralized calculation control device for subsequent calculation of motor control parameters. If not, the local closed-loop unit driving the transponder can control the operation of the motor according to the current cached motor control parameters.
  • the motor control system repeats the process of steps S403-S405 in sequence until the centralized computing and processing device detects an end event, sends an end operation command to the driving and forwarding device, and the driving and forwarding device stops driving the motor.
  • the above end command may be triggered by an operator through some specified operation, and the specified operation corresponding to the end command is similar to the specified operation corresponding to the start command, and will not be repeated here.
  • the above-mentioned end instruction may also be that the centralized computing processing device receives feedback information that a certain motor (or a certain station) cannot operate normally or a safety problem occurs, for example, a certain motor fails, causing the entire station or the entire production line to fail to work. At this time, the motor control system ends the operation so that maintenance personnel can repair the faulty motor, etc.
  • the centralized computing processing device can centrally and synchronously process the motor state parameters corresponding to multiple motors (or multiple drive forwarding devices), which embodies a flattened synchronous control mechanism for the motors, improves control efficiency, and reduces the time delay of information synchronization interaction;
  • the current commonly used servo controller is replaced by a motor drive and forwarding device.
  • the motor drive and forwarding device mainly plays the role of forwarding parameters. Compared with the servo controller, the motor drive and forwarding device does not need to have higher processing capacity, and the cost is relatively low. In this way, the cost of the entire control system is reduced.
  • Fig. 7 is a schematic structural diagram of a fourth motor control system provided by an embodiment of the present application.
  • the motor control system further includes a distributing device, and the distributing device is respectively connected with the centralized computing processing device and the drive forwarding device.
  • the distribution device establishes communication with the centralized computing processing device and the drive forwarding device respectively, and the communication method is the same as above.
  • the distribution device is to transcode the generator control parameters.
  • the forwarding action can be broadcast, multicast or unicast. If the drive forwarding device, centralized computing processing device and distribution device are implemented based on passive optical network (PON) technology, then the distribution device is broadcast. That is to say, the distributing device broadcasts the motor control parameters determined by the centralized computing and processing device to each of the multiple drive forwarding devices. If the drive forwarding device, centralized computing processing device and distribution device are implemented based on switch technology, then the distribution device can be broadcast, multicast or unicast. In this regard, this application does not make a limitation.
  • PON passive optical network
  • Another function of the distributing device is to send the motor state parameters received from each drive forwarding device to the centralized computing and processing device.
  • the distributing device may gather the motor state parameters of multiple drive forwarding devices and send them to the centralized computing and processing device.
  • the distributing device may forward all received state parameters immediately or according to an agreed time.
  • the data transmission between the centralized computing processing device and the drive forwarding device is completed through the distribution device, and there is only one line for data transmission between the centralized computing processing device and the distribution device.
  • the layout range of the motor control system can be expanded, and the wiring of the entire system can be reduced to a certain extent, and the network structure of the motor control system can be optimized.
  • Fig. 8 is a schematic structural diagram of a fifth motor control system provided by an embodiment of the present application. As shown in FIG. 8 , the motor control system also includes an image monitoring device, which is connected with the drive forwarding device and establishes communication, and the communication method is the same as above.
  • the image monitoring device is used to capture the working image data corresponding to the motor, and the working image data can be a picture, such as a mechanical arm The pose at a certain moment, the working image data can also be a video, such as the movement trajectory of the robotic arm within a certain period of time, etc.
  • the image monitoring device and the motor can work synchronously, that is, when the motor starts to run, the image monitoring device starts to capture the working image data corresponding to the motor synchronously, and continues to shoot during the whole process of the motor running, and when the motor stops running, the image monitoring device synchronously ends the shooting.
  • the image monitoring device and the motor can work asynchronously.
  • the image monitoring device and the motor start to work synchronously, and the image monitoring device stops shooting after taking pictures for the first time, while the motor continues to run after running for the first time.
  • the motor starts running first, and after the second continuous operation, the image monitoring device starts to shoot, and after the image monitoring device and the motor work synchronously for the third time, the image monitoring device stops shooting, and the motor continues to run.
  • the motor starts to run first, and after the fourth continuous running, the image monitoring device starts shooting, and when the motor stops running, the image monitoring device stops shooting.
  • this solution will be described by taking the synchronous operation of the image monitoring device and the motor as an example. Other situations are similar and will not be repeated here.
  • the embodiment of the present application provides the processing flow of the motor control method shown in FIG. 9 , including the following multiple processing steps.
  • the centralized computing and processing device sends initial motor control parameters and an instruction to start shooting to the driving forwarding device.
  • the operator can trigger the start instruction of the motor control system to start working in the centralized computing and processing device through some specified operation.
  • the centralized computing and processing device determines the initial motor control parameters corresponding to the motor and the shooting start instruction corresponding to the image monitoring device.
  • the above specifying operation is similar to the situation in step S401, and will not be repeated here.
  • the centralized computing and processing device sends initial motor control parameters and an instruction to start shooting to the drive forwarding device.
  • the initial motor control parameters and the start shooting command can be recorded in the same character string, for example, in a 20-bit character string, the 1st-12th bit characters are used to represent the initial motor control parameters, the 13th-20th bit characters are used to represent the start shooting command, etc.
  • the initial motor control parameters and the command to start shooting can also be represented by character strings with specified identifiers, for example, the character string whose first character is S represents the initial motor control parameters, and the character string whose first character is C represents the command to start shooting.
  • the centralized computing processing device may send the shooting start instruction to the drive forwarding device alone, or send the shooting start instruction together with the motor control parameters updated at a certain moment to the motor control parameters.
  • the driving and forwarding device controls the operation of the motor based on the initial motor control parameters received from the centralized computing and processing device, and sends an instruction to start shooting to the image monitoring device.
  • the drive forwarding device controls the operation of the motor based on the initial motor control parameters received from the centralized computing processing device.
  • the specific processing flow is similar to step S402 and will not be repeated here.
  • the driving forwarding device sends the shooting start instruction received from the centralized computing processing device to the image monitoring device, so as to control the image monitoring device to start shooting.
  • the drive forwarding device acquires motor state parameters of the motor and working image data corresponding to the motor, and sends them to the centralized computing and processing device.
  • the motor state parameter of the motor is obtained by driving the forwarding device, and the manner of obtaining the state parameter of the motor is similar to that of step S403, and will not be repeated here.
  • the drive forwarding device receives the working image data corresponding to the motor, for example, the pose picture of the robot arm at the current moment, the motion video of the robot arm in a specified monitoring period, and so on.
  • the feedback cycle of the motor state parameters is significantly shorter than the monitoring cycle of the working image data. Therefore, when the drive forwarding device does not obtain the working image data, only the motor state parameters can be sent to the centralized computing processing device; After being packaged, it is sent to the centralized computing and processing device, and the motor state parameters and working image data can also be sent to the centralized computing and processing device through the same communication channel.
  • the centralized calculation and processing device determines updated motor control parameters and shooting control parameters based on the motor state parameters and the working image data.
  • a motor state feedback model is pre-stored in the centralized computing and processing device, and the centralized processor inputs the received motor state parameters (such as current parameters, rotation angle, rotational speed, etc.) and working image data into the motor state feedback model, thereby determining the updated motor control parameters corresponding to the motors connected to each drive forwarding device. Then, the centralized computing processing device sends the updated motor control parameters to the drive forwarding device.
  • the centralized computing processing device sends the updated motor control parameters to the drive forwarding device.
  • the centralized calculation and processing device can be divided into multiple processing modules (or multiple processing sub-modules) according to the number of drive forwarding devices (or motors). Each processing module (or sub-processing module) is used to determine a corresponding motor control parameter for driving the forwarding device (or motor).
  • the specific operation process is similar to that of step S404 and will not be repeated here.
  • the centralized calculation and processing device may pre-store the corresponding relationship between the motor control parameters of the motor and the shooting control parameters of the image monitoring device. After the centralized calculation and processing device determines the updated motor control parameters, it may determine the corresponding shooting control parameters according to the corresponding relationship. Wherein, the shooting control parameter is used to adjust the shooting direction of the image monitoring device, thereby controlling the image monitoring device to capture specified working image data.
  • the driving forwarding device controls the operation of the motor based on the updated motor control parameters received from the centralized computing and processing device, and sends the shooting control parameters to the image monitoring device.
  • the driving forwarding device After receiving the updated motor control parameters sent by the centralized calculation and processing device, the driving forwarding device determines the corresponding driving current, thereby controlling the operation of the motor.
  • the specific operation process is similar to that of step S402, and will not be repeated here.
  • the drive forwarding device sends the shooting control parameters received from the centralized computing and processing device to the image monitoring device, and the image monitoring device captures working image data corresponding to the motor according to the shooting control parameters.
  • the motor control system repeats the process of steps S903-S905 in sequence until the centralized computing processing device detects an end event, sends an end operation instruction and an end shooting instruction to the driving forwarding device, the driving forwarding device stops driving the motor, and sends the end shooting instruction to the image monitoring device, and the image monitoring device stops shooting working image data.
  • the above-mentioned end instruction can be triggered by the operator through some specified operation, and the triggering method is similar to the solutions mentioned in step S401 and step S405, and will not be repeated here.
  • the visual image generated by the operation of the motor is used as an important factor for determining the motor control parameters, so that more accurate motor control parameters can be obtained, that is, the control accuracy of automated production can be improved.
  • Fig. 10 is a schematic structural diagram of a sixth motor control system provided by an embodiment of the present application.
  • the motor control system further includes a multi-port information forwarding device and an auxiliary device, and the multi-port information forwarding device is respectively connected with the centralized computing processing device and the auxiliary device.
  • the multi-port information forwarding device respectively establishes communication with the centralized computing processing device and the auxiliary device, and the communication method can be wired communication or wireless communication.
  • the centralized calculation and processing device sends the motor control parameters to the drive forwarding device, and at the same time sends the auxiliary control parameters to the multi-port information forwarding device.
  • the multi-port information forwarding device sends the auxiliary control parameters to the corresponding auxiliary device, and the auxiliary device assists the motor control system to work based on the received auxiliary control parameters.
  • the auxiliary device is a conveyor belt device
  • the mechanical arm is used to transport the items on the conveyor belt to the designated position.
  • the centralized computing and processing device sends motor control parameters to the drive forwarding device to control the movement of the mechanical arm
  • the multi-port information forwarding device sends the control parameters for closing the switch of the conveyor belt device to the auxiliary device to control the operation of the conveyor belt, thereby realizing the cooperation between the conveyor belt device and the mechanical arm.
  • the auxiliary device is an indicator light.
  • the corresponding indicator light When the mechanical arm is not working, the corresponding indicator light is off. When the mechanical arm is working normally, The corresponding indicator light is green.
  • the centralized computing and processing device sends the motor control parameters to the drive forwarding device to control the movement of the mechanical arm
  • the multi-port information forwarding device sends the control parameters of the indicator light to the auxiliary device to ensure that the indicator light is always green during the normal operation of the mechanical arm.
  • the motor control system includes a centralized computing processing device, a distribution device, a drive forwarding device, a motor, a multi-port information forwarding device and an auxiliary device.
  • the multi-port information forwarding device is respectively connected with the distribution device and the auxiliary device, and establishes communication.
  • the centralized calculation and processing device sends the motor control parameters and auxiliary control parameters to the distribution device, and then the distribution device sends the motor control parameters and auxiliary control parameters to the corresponding drive forwarding device and auxiliary device, thereby controlling the operation of the motor and auxiliary devices.
  • the specific operation process is similar to the above, and will not be repeated here.
  • the motor control system provided in the embodiment of the present application includes a plurality of drive forwarding devices, and any two drive forwarding devices in the multiple drive forwarding devices are connected to establish communication.
  • the motor control system including two drive forwarding devices as an example, the data transmission between the drive forwarding devices will be described.
  • Fig. 12 is a schematic structural diagram of a seventh motor control system provided by an embodiment of the present application.
  • the motor control system includes two drive transponders, which are respectively referred to as a first drive transponder and a second drive transponder.
  • the first drive forwarding device is respectively connected with the centralized computing processing device and the first motor, and establishes communication.
  • the first drive forwarding device is respectively connected with the centralized computing processing device and the second motor, and establishes communication.
  • the first drive forwarding device is connected to the second drive forwarding device and establishes communication, and the communication method is similar to the above.
  • the centralized calculation and processing device sends the motor control parameters corresponding to the first drive forwarding device and the motor control parameters corresponding to the second drive forwarding device to the first drive forwarding device.
  • the first drive forwarding device sends the motor control parameters corresponding to the second drive forwarding device to the second drive forwarding device, and receives the motor control parameters corresponding to the first drive forwarding device sent by the second drive forwarding device.
  • the first drive forwarding device compares the motor control parameters corresponding to the first drive forwarding device sent by the centralized computing processing device with the motor control parameters corresponding to the first drive forwarding device sent by the second drive forwarding device.
  • the first drive forwarding device controls the operation of the motor according to the motor control parameters sent by the centralized computing and processing device. If the error of the two groups of motor control parameters exceeds the preset error range, the current running state of the first motor is not changed, but the centralized computing and processing device needs to resend the motor control parameters.
  • the second drive forwarding device sends the motor control parameters corresponding to the first drive forwarding device to the first drive forwarding device, and receives the motor control parameters corresponding to the second drive forwarding device sent by the first drive forwarding device. If the motor control parameter corresponding to the second drive forwarding device sent by the centralized computing processing device is the same as the motor control parameter corresponding to the second drive forwarding device sent by the first drive forwarding device, or within a preset error range, then the corresponding motor is controlled based on the motor control parameter corresponding to the second drive forwarding device. Instead, this requires the centralized computational processing means to resend the motor control parameters.
  • first drive forwarding device and the second drive forwarding device may be part or all of a plurality of drive forwarding devices connected to the centralized computing processing device.
  • the drive forwarding device can verify the motor control parameters sent by the centralized computing processing device through the motor control parameters forwarded by other drive forwarding devices, so as to ensure the accuracy of motor operation, thereby improving the control accuracy of automated production.
  • the centralized computing and processing device can transmit data to the driving and forwarding device through other driving and forwarding devices, thereby ensuring the stability of the operation of the motor control system.
  • the motor automation control system mentioned in the embodiment of the present application includes a centralized computing processing device, multiple motor drive and forwarding devices, and multiple motors.
  • the centralized computing processing device is connected to each of the plurality of motor driving and forwarding devices, and each motor driving and forwarding device is respectively connected to at least one of the plurality of motors.
  • the motor driving and forwarding device obtains the motor state parameters of the motor and sends them to the centralized computing processing device.
  • the centralized calculation processing device determines the corresponding motor control parameters based on the motor state parameters, and sends them to the motor driving and forwarding device.
  • the motor driving and forwarding device drives the motor connected to the motor driving and forwarding device based on the motor control parameters, thereby realizing real-time control of the motor.
  • the centralized calculation processing device is used to calculate the corresponding motor control parameters.
  • the centralized calculation processing device can be computer equipment, etc. Compared with the current commonly used servo controllers, the centralized calculation processing device has stronger processing capabilities, that is, it can perform high-frequency and high-complexity calculations. In this way, the control precision of automatic production is greatly improved.
  • the centralized computing and processing device controls multiple motor drives and forwarding devices and multiple motors at the same time.
  • a flat synchronous control mechanism for the motors is embodied, the control efficiency is improved, and the time delay of information synchronization and interaction is reduced, thereby further improving the control accuracy of automated production.
  • the current commonly used servo controller is replaced by a motor drive and forwarding device.
  • the motor drive and forwarding device mainly plays the role of forwarding parameters. Compared with the servo controller, the motor drive and forwarding device does not need to have higher processing capacity, and the cost is relatively low. In this way, the cost of the entire control system is reduced.
  • the embodiment of the present application also provides a motor driving and forwarding device. The device is applied to the motor control system mentioned in the above embodiments, and as shown in FIG. 13 , the device includes a communication module 1301 and a drive module 1302 .
  • the communication module 1301 is used to obtain the motor state parameters of the motor connected to the motor drive and forwarding device, send them to the centralized computing processing device, and receive the motor control parameters sent by the centralized computing processing device.
  • the communication module 1301 is used to obtain the motor state parameters of the motor connected to the motor drive and forwarding device, send them to the centralized computing processing device, and receive the motor control parameters sent by the centralized computing processing device.
  • the driving module 1402 is configured to drive the motor connected to the motor driving and forwarding device based on the motor control parameters. For the corresponding processing, refer to the above steps S402, S405, S902, S905 and descriptions related to the steps.
  • the motor control system further includes an image monitoring device
  • the communication module 1301 is further configured to send the working image data of the motor received from the image monitoring device to the centralized computing processing device.
  • the communication module 1301 is further configured to send the shooting control parameters received from the centralized computing processing device to the image monitoring device.
  • the communication module 1301 is further configured to send the shooting control parameters received from the centralized computing processing device to the image monitoring device.
  • the communication module 1301 is configured to receive motor control parameters corresponding to the motor driving and forwarding device and motor control parameters corresponding to other motor driving and forwarding devices sent by the centralized computing and processing device.
  • the drive module 1302 is configured to: send the motor control parameters corresponding to the other motor driving and forwarding devices to the other motor driving and forwarding devices; receive the motor control parameters corresponding to the motor driving and forwarding device sent by the other motor driving and forwarding devices; The motor connected to the driving and forwarding device is driven.
  • the communication module 1301 and the driver module 1302 above may be implemented by a processor, or implemented by a processor combined with a memory.
  • the motor automation control system mentioned in the embodiment of the present application includes a centralized computing processing device, multiple motor drive and forwarding devices, and multiple motors.
  • a centralized computational processing device is connected to each of the plurality of motor drive and forwarding devices.
  • Each motor drive and forwarding device is respectively connected to at least one of the plurality of motors.
  • the motor driving and forwarding device obtains the motor state parameters of the motor and sends them to the centralized computing processing device.
  • the centralized calculation processing device determines the corresponding motor control parameters based on the motor state parameters, and sends them to the motor driving and forwarding device.
  • the motor driving and forwarding device drives the motor connected to the motor driving and forwarding device based on the motor control parameters, thereby realizing real-time control of the motor.
  • the centralized calculation processing device is used to calculate the corresponding motor control parameters.
  • the centralized calculation processing device can be computer equipment, etc. Compared with the current commonly used servo controller, the centralized calculation processing device has stronger processing capabilities, that is, it can perform high-frequency and high-complexity calculations. In this way, the control precision of automatic production is greatly improved.
  • the current commonly used servo controller is replaced by a motor drive and forwarding device.
  • the motor drive and forwarding device mainly plays the role of forwarding parameters. Compared with the servo controller, the motor drive and forwarding device does not need to have higher processing capacity, and the cost is relatively low. In this way, the cost of the entire control system is reduced.
  • the centralized computing processing device simultaneously controls multiple motor drives and forwarding devices, and multiple motors simultaneously, thus reflecting a flat synchronous control mechanism for motors, improving control efficiency, and reducing the time delay of information synchronization and interaction, thereby further improving the control accuracy of automated production.
  • the motor drive and forwarding device provided in the above-mentioned embodiments performs motor control
  • the division of the above-mentioned functional modules is used as an example for illustration.
  • the above-mentioned function distribution can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above.
  • the motor driving and forwarding device provided by the above-mentioned embodiments belongs to the same concept as the motor control system embodiment and the motor control method embodiment, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.
  • the program can be stored in a computer-readable storage medium.
  • the above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Control Of Multiple Motors (AREA)

Abstract

The present application relates to the technical field of automatic control, and discloses a motor control system, a motor control method, and a motor driving and forwarding device. The motor control system comprises: a centralized computing processing device, multiple motor driving and forwarding devices, and multiple motors. The centralized computing processing device is connected to each of the multiple motor driving and forwarding devices, and each motor driving and forwarding device is connected to at least one of the multiple motors, respectively. Each motor driving and forwarding device obtains a motor state parameter of the corresponding motor and sends same to the centralized computing processing device. The centralized computing processing device determines a corresponding motor control parameter on the basis of the motor state parameter and sends the motor control parameter to the motor driving and forwarding device. The motor driving and forwarding device controls, on the basis of the motor control parameter, the motor to operate. In the motor control system, the centralized computing processing device has a strong processing capability, i.e., high-frequency and high-complexity computing can be performed, thereby improving the control precision of automatic production.

Description

电机控制系统、电机控制方法和电机驱动和转发装置Motor control system, motor control method and motor drive and forwarding device
本申请要求于2022年1月20日提交中国国家知识产权局、申请号为202210067006.5、申请名称为“电机控制系统、电机控制方法和电机驱动和转发装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office of China on January 20, 2022, with application number 202210067006.5 and titled "Motor Control System, Motor Control Method, and Motor Drive and Transmitter Device", the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及自动控制技术领域,特别涉及一种电机控制系统、电机控制方法和电机驱动和转发装置。The present application relates to the technical field of automatic control, in particular to a motor control system, a motor control method, and a motor drive and forwarding device.
背景技术Background technique
电机控制系统是自动化生产的核心设备体系。在电机控制系统中,一般配置有大量的电机和伺服控制器。如图1所示,多个伺服控制器串行连接,多个伺服控制器中的一个与计算机设备连接,每个伺服控制器和一个电机连接,计算机设备通过可编程逻辑控制器向伺服控制器发送开始工作的指令,伺服控制器控制与之相连的电机的运转,以完成各种各样的工作任务。伺服控制器用于实时检测电机的运行状态,并计算对应的电机控制参数,以实现对电机实时控制。伺服控制器的处理能力一般比较有限,导致对自动化生产的控制精度的提升形成了限制。The motor control system is the core equipment system of automated production. In a motor control system, a large number of motors and servo controllers are generally configured. As shown in Figure 1, multiple servo controllers are connected in series, one of the multiple servo controllers is connected to a computer device, and each servo controller is connected to a motor. The computer device sends an instruction to start working to the servo controller through a programmable logic controller, and the servo controller controls the operation of the motor connected to it to complete various tasks. The servo controller is used to detect the running state of the motor in real time and calculate the corresponding motor control parameters to realize real-time control of the motor. The processing capability of the servo controller is generally limited, which limits the improvement of the control accuracy of automated production.
发明内容Contents of the invention
本申请实施例提供了一种电机控制系统、电机控制方法和电机驱动和转发装置,能够解决现有技术中由于伺服控制器的处理能力有限导致自动化生产的控制精度受限的问题。所述技术方案如下。The embodiments of the present application provide a motor control system, a motor control method, and a motor driving and forwarding device, which can solve the problem in the prior art that the control accuracy of automatic production is limited due to the limited processing capability of the servo controller. The technical scheme is as follows.
第一方面,本申请实施例提供了一种电机控制系统。该系统包括:集中计算处理装置、多个电机驱动和转发装置、以及多个电机。集中计算处理装置与多个电机驱动和转发装置中的每一个连接,每个电机驱动和转发装置分别与多个电机的至少一个连接。In a first aspect, the embodiment of the present application provides a motor control system. The system includes: a centralized computing processing device, a plurality of motor drive and forwarding devices, and a plurality of motors. The centralized computing processing device is connected to each of the plurality of motor driving and forwarding devices, and each motor driving and forwarding device is respectively connected to at least one of the plurality of motors.
在该电机控制系统中,集中计算处理装置用于接收电机驱动和转发装置发送的电机状态参数,并基于电机状态参数,确定电机控制参数,还用于向电机驱动和转发装置发送电机控制参数。电机驱动和转发装置用于获取电机驱动和转发装置连接的电机的电机状态参数,发送至集中计算处理装置,并用于基于电机控制参数,对电机驱动和转发装置连接的电机进行驱动。In the motor control system, the centralized computing processing device is used to receive the motor state parameters sent by the motor drive and forwarding device, determine the motor control parameters based on the motor state parameters, and send the motor control parameters to the motor drive and forwarding device. The motor driving and forwarding device is used to obtain the motor state parameters of the motor connected to the motor driving and forwarding device, send them to the centralized computing processing device, and drive the motor connected to the motor driving and forwarding device based on the motor control parameters.
集中计算处理装置中预先存储电机状态反馈模型。集中处理器根据接收到的电机状态参数和电机状态反馈模型,确定电机控制参数。其中,电机状态反馈模型可以是一系列算法公式组成的模型,也可以是机器学习模型等。The motor state feedback model is pre-stored in the centralized calculation processing device. The centralized processor determines motor control parameters according to the received motor state parameters and the motor state feedback model. Wherein, the motor state feedback model can be a model composed of a series of algorithmic formulas, or a machine learning model, etc.
集中计算处理装置包括至少一个处理模块。当集中计算处理装置包括一个处理模块时,可以将全部电机状态参数输入电机状态反馈模型中,从而,确定每个电机驱动和转发装置连接的电机对应的更新的电机控制参数。当集中计算处理装置包括多个处理模块时,处理模块的数量可以根据电机驱动和转发装置或电机的数量确定,对于每个电机驱动和转发装置(或 电机),集中计算处理装置将部分或全部电机状态参数输入电机状态反馈模型中,从而,确定每个电机驱动和转发装置(或电机)对应的更新的电机控制参数。The centralized computing processing device includes at least one processing module. When the centralized calculation and processing device includes a processing module, all motor state parameters can be input into the motor state feedback model, thereby determining updated motor control parameters corresponding to the motors connected to each motor drive and forwarding device. When the centralized computing processing device includes a plurality of processing modules, the number of processing modules can be determined according to the number of motor driving and forwarding devices or motors, for each motor driving and forwarding device (or motor), the centralized calculation and processing device inputs part or all of the motor state parameters into the motor state feedback model, thereby determining the updated motor control parameters corresponding to each motor drive and forwarding device (or motor).
电机驱动和转发装置具有控制参数刷新单元和本地闭环单元。控制参数刷新单元用于缓存和更新集中计算处理装置发送的电机控制参数。本地闭环单元用于对电机控制参数和电机状态参数进行验证。The motor driving and forwarding device has a control parameter refreshing unit and a local closed-loop unit. The control parameter refreshing unit is used for buffering and updating the motor control parameters sent by the centralized computing processing device. The local closed-loop unit is used to verify the motor control parameters and motor state parameters.
采用该方案,一方面,集中计算处理装置可以集中同步处理多个电机对应的电机状态参数,体现了对电机的扁平化的同步控制机制,提升了控制效率,降低了信息同步交互的时延;另一方面,集中计算处理装置相比于当前常用的伺服控制器来说,具有更强的处理能力,可以进行高频度和高复杂度的计算。通过上述两方面的提高,极大提高自动化生产的控制精度。With this solution, on the one hand, the centralized computing processing device can centrally and synchronously process the motor state parameters corresponding to multiple motors, which embodies a flat synchronous control mechanism for the motors, improves control efficiency, and reduces the time delay of information synchronous interaction; on the other hand, compared with the current commonly used servo controllers, the centralized computing processing device has stronger processing capabilities and can perform high-frequency and high-complexity calculations. Through the improvement of the above two aspects, the control precision of automatic production is greatly improved.
在一种可能的实现方式中,电机控制系统还包括分发装置,集中计算处理装置通过分发装置与多个电机驱动和转发装置中的每一个连接。In a possible implementation manner, the motor control system further includes a distribution device, and the centralized computing processing device is connected to each of the multiple motor driving and forwarding devices through the distribution device.
在该电机控制系统中,分发装置用于将接收自集中计算处理装置的电机控制参数转发至每个电机驱动和转发装置,并用于将接收自每个电机驱动和转发装置的电机状态参数发送至集中计算处理装置。In the motor control system, the distributing device is used for forwarding the motor control parameters received from the centralized computing processing device to each motor driving and forwarding device, and for sending the motor state parameters received from each motor driving and forwarding device to the centralized computing processing device.
分发装置转发电机控制参数的动作可以是广播、组播或单播。如果电机驱动和转发装置、集中计算处理装置和分发装置是基于无源光网络技术实现的,那么分发装置是广播。如果电机驱动和转发装置、集中计算处理装置和分发装置是基于交换机技术实现的,那么分发装置可以是广播、组播或者单播。The action of the distributing device to transfer the generator control parameters may be broadcast, multicast or unicast. If the motor drive and forwarding device, centralized computing processing device, and distribution device are implemented based on passive optical network technology, then the distribution device is broadcast. If the motor drive and forwarding device, the centralized computing processing device and the distribution device are implemented based on switch technology, the distribution device can be broadcast, multicast or unicast.
分发装置向集中计算处理装置发送电机状态参数时,可以汇聚多个电机驱动和转发装置的电机状态参数再发送给集中计算处理装置,也可以即时或者按照约定的时间转发收到的所有状态参数,等等。When the distributing device sends motor state parameters to the centralized computing and processing device, the motor state parameters of multiple motor driving and forwarding devices can be aggregated and then sent to the centralized computing and processing device, or all received state parameters can be forwarded immediately or according to the agreed time, and so on.
采用该方案,集中计算处理装置和电机驱动和转发装置之间的数据传输通过分发装置来完成,在集中计算处理装置与分发装置之间只具有一条用于数据传输的线路。这样,既可以扩大该电机控制系统的布设范围,又可以在一定程度上减少整个电机控制系统的布线,优化该系统的线路结构。With this scheme, the data transmission between the centralized computing processing device and the motor drive and forwarding device is completed through the distribution device, and there is only one line for data transmission between the centralized computing processing device and the distribution device. In this way, the layout range of the motor control system can be expanded, and the wiring of the entire motor control system can be reduced to a certain extent, and the circuit structure of the system can be optimized.
在一种可能的实现方式中,电机控制系统还包括图像监控装置,图像监控装置与电机驱动和转发装置相连接。In a possible implementation manner, the motor control system further includes an image monitoring device, and the image monitoring device is connected with the motor driving and forwarding device.
图像监控装置用于获取电机对应的工作图像数据,并向电机驱动和转发装置发送该工作图像数据,其中,工作图像数据可以是图片,也可以是视频。电机驱动和转发装置用于将工作图像数据发送至集中计算处理装置。The image monitoring device is used to acquire working image data corresponding to the motor, and send the working image data to the motor driving and forwarding device, wherein the working image data may be a picture or a video. The motor driving and forwarding device is used to send the working image data to the centralized computing processing device.
图像监控装置与电机可以同步工作,即图像监控设备与电机同时开始工作,同时结束工作。图像监控装置与电机也可以同步工作,即图像监控设备与电机在不同时刻开始工作和/或在不同时刻结束工作。The image monitoring device and the motor can work synchronously, that is, the image monitoring device and the motor start working at the same time and end working at the same time. The image monitoring device and the motor can also work synchronously, that is, the image monitoring device and the motor start working at different times and/or stop working at different times.
在该电机控制系统中,当电机驱动和转发装置没有获取到工作图像数据时,可以仅将电机状态参数发送到集中计算处理装置;当电机驱动和转发装置同时获取到电机状态参数和工作图像数据时,可以将电机状态参数与工作图像数据打包后发送到集中计算处理装置,也可以分别将电机状态参数和工作图像数据通过同一条通信通道发送到集中计算处理装置。In the motor control system, when the motor drive and forwarding device does not obtain the working image data, it can only send the motor state parameters to the centralized computing processing device; when the motor driving and forwarding device obtains the motor state parameters and working image data at the same time, it can package the motor state parameters and working image data and send them to the centralized computing processing device, or can separately send the motor state parameters and working image data to the centralized computing processing device through the same communication channel.
采用该方案,在控制电机运转的过程中,集中计算处理装置将电机运转所产生的图像数据作为确定电机控制参数的一个重要因素,可以获得更精准的电机控制参数,即提高自动化生产的控制精度。With this scheme, in the process of controlling the operation of the motor, the centralized computing and processing device uses the image data generated by the operation of the motor as an important factor in determining the motor control parameters, so that more accurate motor control parameters can be obtained, that is, the control accuracy of automated production can be improved.
在一种可能实现的方式中,集中计算处理装置还用于向电机驱动和转发装置发送拍摄控 制参数。电机驱动和转发装置还用于将拍摄控制参数发送至图像监控装置。图像监控装置用于当接收到所述拍摄控制参数时,基于拍摄控制参数获取电机对应的工作图像数据。In a possible implementation manner, the centralized computing processing device is also used to send the shooting control to the motor driving and forwarding device. control parameters. The motor drive and forwarding device is also used to send shooting control parameters to the image monitoring device. The image monitoring device is configured to acquire working image data corresponding to the motor based on the shooting control parameters when receiving the shooting control parameters.
集中计算处理装置中可以预先存储电机的电机控制参数与图像监控装置的拍摄控制参数的对应关系,集中计算处理装置确定更新的电机控制参数后,可以根据该对应关系确定对应的拍摄控制参数。The centralized calculation and processing device may pre-store the corresponding relationship between the motor control parameters of the motor and the shooting control parameters of the image monitoring device. After the centralized calculation and processing device determines the updated motor control parameters, it may determine the corresponding shooting control parameters according to the corresponding relationship.
集中计算处理装置向电机驱动和转发装置发送电机控制参数和拍摄控制参数时,电机控制参数和拍摄控制参数可以分别记载在同一个字符串的指定位置处,也可以分别用具有指定标识的字符串表示。When the centralized calculation processing device sends the motor control parameters and shooting control parameters to the motor drive and forwarding device, the motor control parameters and shooting control parameters can be respectively recorded at designated positions of the same character string, or can be represented by character strings with designated marks.
采用该方案,集中计算处理装置可以基于电机运转状态的改变,调整图像监控装置的拍摄方向,从而,获得更全面的工作图像数据,更加精确地确定电机控制参数,进而,提高自动化生产的控制精度。With this solution, the centralized computing processing device can adjust the shooting direction of the image monitoring device based on the change of the motor running state, thereby obtaining more comprehensive working image data and more accurately determining the motor control parameters, thereby improving the control accuracy of automated production.
在一种可能的实现方式中,集中计算处理装置基于电机状态参数和工作图像数据,确定电机控制参数。In a possible implementation manner, the centralized calculation processing device determines the motor control parameters based on the motor state parameters and the working image data.
集中计算处理装置中预先存储有电机状态反馈模型,集中处理器将接收到的电机状态参数、工作图像数据,输入到电机状态反馈模型中,从而,确定出每个电机驱动和转发装置连接的电机对应的更新的电机控制参数。The motor state feedback model is pre-stored in the centralized computing and processing device, and the centralized processor inputs the received motor state parameters and working image data into the motor state feedback model, thereby determining the updated motor control parameters corresponding to the motors connected to each motor drive and forwarding device.
采用该方案,集中计算处理装置可以根据电机状态参数和工作图像数据,获得更精准的电机控制参数,从而,提高自动化生产的控制精度。With this solution, the centralized computing and processing device can obtain more accurate motor control parameters based on the motor state parameters and working image data, thereby improving the control accuracy of automated production.
在一种可能的实现方式中,电机驱动和转发装置向集中计算处理装置发送电机状态参数和向集中计算处理装置发送工作图像数据使用的是同一通信通道。In a possible implementation manner, the same communication channel is used by the motor driving and forwarding device to send the motor state parameters to the centralized computing and processing device and to send the working image data to the centralized computing and processing device.
采用该方案,可以在一定程度上减少整个电机控制系统的布线,优化该电机控制系统的线路结构。By adopting this solution, the wiring of the entire motor control system can be reduced to a certain extent, and the circuit structure of the motor control system can be optimized.
在一种可能的实现方式中,电机控制系统还包括多端口信息转发装置和辅助装置,多端口信息转发装置分别与集中计算处理装置、辅助装置相连接。In a possible implementation manner, the motor control system further includes a multi-port information forwarding device and an auxiliary device, and the multi-port information forwarding device is respectively connected to the centralized computing processing device and the auxiliary device.
多端口信息转发装置用于将接收自集中计算处理装置的辅助控制参数发送至辅助装置。辅助装置用于基于辅助控制参数,辅助电机控制系统工作。The multi-port information forwarding device is used for sending the auxiliary control parameters received from the centralized computing processing device to the auxiliary device. The auxiliary device is used to assist the operation of the motor control system based on the auxiliary control parameters.
多端口信息转发装置具有多个输入/输出(Input/Output,I/O)口,可以连接至少一个辅助装置。辅助装置可以是指示灯、传送带机构等。The multi-port information forwarding device has multiple input/output (Input/Output, I/O) ports, which can be connected to at least one auxiliary device. Auxiliary devices can be indicator lights, conveyor belt mechanisms, etc.
使用该方案,多端口信息转发装置可以根据实际需要连接多个辅助装置,提高整个电机控制系统的连接灵活性,有利于增加电机控制系统的功能。同时,辅助装置可以辅助整个电机控制系统更便捷地完成指定的工作,从而,提高该电机控制系统的智能化。Using this solution, the multi-port information forwarding device can be connected to multiple auxiliary devices according to actual needs, which improves the connection flexibility of the entire motor control system and is beneficial to increase the functions of the motor control system. At the same time, the auxiliary device can assist the entire motor control system to complete the specified work more conveniently, thereby improving the intelligence of the motor control system.
在一种可能的实现方式中,多个电机驱动和转发装置中任意两个电机驱动和转发装置相连接。In a possible implementation manner, any two motor driving and forwarding devices among the multiple motor driving and forwarding devices are connected.
一种可能的实现方式中,集中计算处理装置分别向多个电机驱动和转发装置中的第一电机驱动和转发装置以及第二电机驱动和转发装置,发送第一电机驱动和转发装置对应的电机控制参数、以及第二电机驱动和转发装置对应的电机控制参数。In a possible implementation manner, the centralized computing processing device sends the motor control parameters corresponding to the first motor driving and forwarding device and the motor control parameters corresponding to the second motor driving and forwarding device to the first motor driving and forwarding device and the second motor driving and forwarding device among the multiple motor driving and forwarding devices respectively.
在该电机控制系统中,第一电机驱动和转发装置将第二电机驱动和转发装置对应的电机控制参数发送至第二电机驱动和转发装置。同时,接收第二电机驱动和转发装置发送的第一电机驱动和转发装置对应的电机控制参数。如果集中计算处理装置发送的第一电机驱动和转发装置对应的电机控制参数,与第二电机驱动和转发装置发送的所述第一电机驱动和转发装置对应的电机控制参数相同,则基于第一电机驱动和转发装置对应的电机控制参数,对第一 电机驱动和转发装置连接的电机进行驱动。In the motor control system, the first motor driving and forwarding device sends the motor control parameters corresponding to the second motor driving and forwarding device to the second motor driving and forwarding device. At the same time, the motor control parameters corresponding to the first motor driving and forwarding device sent by the second motor driving and forwarding device are received. If the motor control parameters corresponding to the first motor drive and forwarding device sent by the centralized computing processing device are the same as the motor control parameters corresponding to the first motor drive and forwarding device sent by the second motor drive and forwarding device, then based on the motor control parameters corresponding to the first motor drive and forwarding device, the first The motor drive and the motor connected to the transponder are driven.
同理,第二电机驱动和转发装置将第一电机驱动和转发装置对应的电机控制参数发送至第一电机驱动和转发装置。同时,接收第一电机驱动和转发装置发送的第二电机驱动和转发装置对应的电机控制参数。如果集中计算处理装置发送的第二电机驱动和转发装置对应的电机控制参数,与第一电机驱动和转发装置发送的第二电机驱动和转发装置对应的电机控制参数相同,则基于第二电机驱动和转发装置对应的电机控制参数,对第二电机驱动和转发装置连接的电机进行驱动。Similarly, the second motor driving and forwarding device sends the motor control parameters corresponding to the first motor driving and forwarding device to the first motor driving and forwarding device. At the same time, the motor control parameters corresponding to the second motor driving and forwarding device sent by the first motor driving and forwarding device are received. If the motor control parameters corresponding to the second motor drive and the forwarding device sent by the centralized computing processing device are the same as the motor control parameters corresponding to the second motor drive and the forwarding device sent by the first motor drive and the forwarding device, then the motor connected to the second motor drive and the forwarding device is driven based on the motor control parameters corresponding to the second motor drive and the forwarding device.
其中,上述第一电机驱动和转发装置和第二电机驱动和转发装置可以是集中计算处理装置连接的多个电机驱动和转发装置中的部分或全部电机驱动和转发装置。另外,第二电机驱动和转发装置可以有一个或多个。Wherein, the first motor driving and forwarding device and the second motor driving and forwarding device may be part or all of the multiple motor driving and forwarding devices connected to the centralized computing processing device. In addition, there may be one or more second motor driving and forwarding devices.
使用方案,不同电机驱动和转发装置之间建立通信,可以进行数据的传输。这样,电机驱动和转发装置可以通过其他电机驱动和转发装置转发的电机控制参数,对集中计算处理装置发送的电机控制参数进行验证,以保证电机控制参数的准确性,从而,准确控制电机运转,提高自动化生产的控制精度。另外,如果集中计算处理装置与某一电机驱动和转发装置之间无法进行正常的数据传输,则集中计算处理装置可以通过其他电机驱动和转发装置向该电机驱动和转发装置进行数据传输,从而,保证该电机控制系统运行的稳定性。Using the scheme, communication is established between different motor drives and forwarding devices, and data transmission can be performed. In this way, the motor drive and forwarding device can verify the motor control parameters sent by the centralized calculation and processing device through the motor control parameters forwarded by other motor drive and forwarding devices, so as to ensure the accuracy of the motor control parameters, thereby accurately controlling the operation of the motor and improving the control accuracy of automated production. In addition, if normal data transmission cannot be performed between the centralized computing processing device and a certain motor driving and forwarding device, the centralized computing processing device can transmit data to the motor driving and forwarding device through other motor driving and forwarding devices, thereby ensuring the stability of the motor control system.
在一种可能的实现方式中,电机包括驱动器、电机本体和电机状态传感器,驱动器分别与电机本体、电机驱动和转发装置相连接,电机状态传感器分别与电机本体、电机驱动和转发装置相连接。In a possible implementation, the motor includes a driver, a motor body and a motor state sensor, the driver is respectively connected to the motor body, the motor drive and the forwarding device, and the motor state sensor is respectively connected to the motor body, the motor drive and the forwarding device.
在该电机控制系统中,电机驱动和转发装置将接收自集中计算处理装置的电机控制参数,发送至驱动器,将接收自驱动器和电机状态传感器的电机状态参数,发送至集中计算处理装置。驱动器基于接收自电机驱动和转发装置的电机控制参数,驱动电机本体运转。In the motor control system, the motor driving and forwarding device sends the motor control parameters received from the centralized computing processing device to the driver, and sends the motor state parameters received from the driver and the motor state sensor to the centralized computing processing device. The driver drives the motor body to run based on the motor control parameters received from the motor driving and forwarding device.
集中计算处理装置以数字信号的形式将电机控制参数发送到电机驱动和转发装置。电机驱动和转发装置将接收到的数字信号转化为对应的模拟信号,并发送到驱动器。驱动器根据接收到的模拟信号产生对应的驱动电流,从而,驱动电机本体运转。其中,模拟信号可以是脉冲宽度调制波。The centralized computing processing device sends the motor control parameters to the motor driving and forwarding device in the form of digital signals. The motor drive and transponder converts the received digital signal into a corresponding analog signal and sends it to the drive. The driver generates a corresponding driving current according to the received analog signal, thereby driving the motor body to run. Wherein, the analog signal may be a pulse width modulated wave.
采用该方案,可以使电机驱动和转发装置具有更少的功能需求,具有更简单的结构,降低电机驱动和转发装置的成本,从而,降低自动化生产的成本。By adopting this solution, the motor drive and transponder device can have fewer functional requirements and a simpler structure, thereby reducing the cost of the motor drive and transponder device, thereby reducing the cost of automated production.
在一种可能的实现方式中,电机驱动和转发装置包括通信部件和驱动器,电机包括电机本体和电机状态传感器,通信部件分别与驱动器、所述电机状态传感器、集中计算处理装置相连接,电机本体分别与驱动器、所述电机状态传感器相连接。In a possible implementation, the motor driving and forwarding device includes a communication component and a driver, the motor includes a motor body and a motor state sensor, the communication component is respectively connected to the driver, the motor state sensor, and a centralized computing processing device, and the motor body is respectively connected to the driver and the motor state sensor.
在该电机控制系统中,通信部件将接收自集中计算处理装置的电机控制参数,发送至驱动器,将接收自驱动器和电机状态传感器的电机状态参数,发送至集中计算处理装置。驱动器基于接收自通信部件的电机控制参数,驱动电机本体运转。In the motor control system, the communication component sends the motor control parameters received from the centralized computing processing device to the driver, and sends the motor state parameters received from the driver and the motor state sensor to the centralized computing processing device. The driver drives the motor body to run based on the motor control parameters received from the communication component.
采用该方案,可以优化电机结构,降低电机的研发成本。By adopting this solution, the motor structure can be optimized, and the research and development cost of the motor can be reduced.
第二方面,本申请实施例提供了一种电机控制方法。该方法应用于第一方面及其可能的实现方式的电机控制系统中,该方法包括:在第一方面及其可能的实现方式中,该电机控制系统的各设备所执行的处理。In a second aspect, the embodiment of the present application provides a motor control method. The method is applied to the motor control system of the first aspect and its possible implementations, and the method includes: in the first aspect and its possible implementations, the processing executed by each device of the motor control system.
第三方面,本申请实施例提供了一种电机驱动和转发装置,该装置包括一个或多个模块,该一个或多个模块执行实现第一方面及其可能的实现方式的处理。In the third aspect, the embodiment of the present application provides a motor driving and forwarding device, the device includes one or more modules, and the one or more modules perform processing to realize the first aspect and possible implementation manners thereof.
本申请实施例提供的技术方案带来的有益效果是: The beneficial effects brought by the technical solutions provided by the embodiments of the present application are:
本申请实施例中提到的电机自动化控制系统,包括集中计算处理装置、多个电机驱动和转发装置、以及多个电机。集中计算处理装置与多个电机驱动和转发装置中的每一个连接,每个电机驱动和转发装置分别与多个电机中的至少一个连接。集中计算处理装置基于电机状态参数,确定对应的电机控制参数,并发送至电机驱动和转发装置。电机驱动和转发装置基于电机控制参数,对电机驱动和转发装置连接的电机进行驱动,从而,实现对电机的实时控制。在该电机控制系统中,集中计算处理装置用于计算电机控制参数,集中计算处理装置可以是计算机设备等,相对于伺服控制器来说具有更强的处理能力,即可以进行高频度和高复杂度的计算。从而,极大提高自动化生产的控制精度。The motor automation control system mentioned in the embodiment of the present application includes a centralized computing processing device, multiple motor drive and forwarding devices, and multiple motors. The centralized computing processing device is connected to each of the plurality of motor driving and forwarding devices, and each motor driving and forwarding device is respectively connected to at least one of the plurality of motors. The centralized calculation processing device determines the corresponding motor control parameters based on the motor state parameters, and sends them to the motor driving and forwarding device. The motor driving and forwarding device drives the motor connected to the motor driving and forwarding device based on the motor control parameters, thereby realizing real-time control of the motor. In the motor control system, the centralized calculation processing device is used to calculate the motor control parameters. The centralized calculation processing device can be a computer device, etc., which has stronger processing capabilities than the servo controller, that is, it can perform high-frequency and high-complexity calculations. Thus, the control precision of automatic production is greatly improved.
附图说明Description of drawings
图1是一种现有的电机控制系统框架示意图;FIG. 1 is a schematic diagram of a framework of an existing motor control system;
图2是本申请实施例提供的一种集中计算处理装置结构框架示意图;Fig. 2 is a schematic diagram of the structural framework of a centralized computing processing device provided by the embodiment of the present application;
图3是本申请实施例提供的第一种电机控制系统的结构示意图;Fig. 3 is a schematic structural diagram of the first motor control system provided by the embodiment of the present application;
图4是本申请实施例提供的第一种电机控制方法的流程示意图;Fig. 4 is a schematic flow chart of the first motor control method provided by the embodiment of the present application;
图5是本申请实施例提供的第二种电机控制系统的结构示意图;Fig. 5 is a schematic structural diagram of a second motor control system provided by an embodiment of the present application;
图6是本申请实施例提供的第三种电机控制系统的结构示意图;FIG. 6 is a schematic structural diagram of a third motor control system provided by an embodiment of the present application;
图7是本申请实施例提供的第四种电机控制系统的结构示意图;FIG. 7 is a schematic structural diagram of a fourth motor control system provided by an embodiment of the present application;
图8是本申请实施例提供的第五种电机控制系统的结构示意图;Fig. 8 is a schematic structural diagram of a fifth motor control system provided by an embodiment of the present application;
图9是本申请实施例提供的第二种电机控制方法的流程示意图;FIG. 9 is a schematic flowchart of a second motor control method provided by an embodiment of the present application;
图10是本申请实施例提供的第六种电机控制系统的结构示意图;FIG. 10 is a schematic structural diagram of a sixth motor control system provided by an embodiment of the present application;
图11是本申请实施例提供的第七种电机控制系统的结构示意图;Fig. 11 is a schematic structural diagram of a seventh motor control system provided by an embodiment of the present application;
图12是本申请实施例提供的第八种电机控制系统的结构示意图;Fig. 12 is a schematic structural diagram of an eighth motor control system provided by an embodiment of the present application;
图13是本申请实施例提供的一种电机驱动和转发装置的结构示意图。Fig. 13 is a schematic structural diagram of a motor driving and forwarding device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请的实施方式作进一步地详细描述。In order to make the purpose, technical solution and advantages of the present application clearer, the implementation manner of the present application will be further described in detail below in conjunction with the accompanying drawings.
在对本申请实施例进行详细地解释说明之前,先对本申请实施例的应用场景予以说明。Before explaining the embodiment of the present application in detail, the application scenario of the embodiment of the present application will be described first.
电机在工业生产中的应用较为广泛。例如,数控机床一般包括三个电机,这三个电机分别用于带动待加工物体绕轴线旋转、带动待加工物体沿轴线方向平移、带动待加工物体沿垂直于轴线方向平移。再例如,六自由度工业机器人机械臂(以下简称机械臂)中,一般包括六个电机,这六个电机分别用于控制机械臂沿x轴方向的旋转、沿x轴方向的平移、沿y轴方向的旋转、沿y轴方向的平移、沿z轴方向的旋转和沿z轴方向的平移。Motors are widely used in industrial production. For example, a CNC machine tool generally includes three motors, which are respectively used to drive the object to be processed to rotate around the axis, drive the object to be processed to translate along the axis direction, and drive the object to be processed to translate along the direction perpendicular to the axis. For another example, a six-degree-of-freedom industrial robot arm (hereinafter referred to as the arm) generally includes six motors, which are used to control the rotation of the arm along the x-axis direction, the translation along the x-axis direction, the rotation along the y-axis direction, the translation along the y-axis direction, the rotation along the z-axis direction, and the translation along the z-axis direction.
本申请实施例提供的电机控制系统可以用于控制一台数控机床或一台机械臂进行作业,也可以用于控制多台数控机床之间或多台机械臂之间的协同作业。接下来,以控制机械臂为例对本方案进行详细说明,其他工业控制应用场景与之类似,此处不于赘述。The motor control system provided in the embodiment of the present application can be used to control a CNC machine tool or a robot arm to perform operations, and can also be used to control the cooperative operation between multiple CNC machine tools or multiple robot arms. Next, this solution will be described in detail by taking the control of a robotic arm as an example. Other industrial control application scenarios are similar and will not be repeated here.
本申请实施例提供的电机控制系统包括集中计算处理装置、多个电机驱动和转发装置(下文简称驱动转发装置)以及多个电机。集中计算处理装置通过驱动转发装置控制电机运转。其中,集中计算处理装置可以是计算机设备,如笔记本计算机、台式计算机、平板电脑等。从硬件组成上来看,集中计算处理装置的结构可以如图2所示,包括处理器、存储器和通信 部件。The motor control system provided in the embodiment of the present application includes a centralized computing and processing device, multiple motor driving and forwarding devices (hereinafter referred to as driving and forwarding devices), and multiple motors. The centralized computing and processing device controls the operation of the motor by driving the forwarding device. Wherein, the centralized computing processing device may be a computer device, such as a notebook computer, a desktop computer, a tablet computer, and the like. From the perspective of hardware composition, the structure of the centralized computing processing device can be shown in Figure 2, including processors, memory and communication part.
处理器可以是中央处理器(central processing unit,CPU)或系统级芯片(system on chip,SoC)等,处理器可以用于确定电机控制参数,可以用于确定开始拍摄指令,可以用于确定拍摄控制参数,等等。The processor can be a central processing unit (central processing unit, CPU) or a system on chip (system on chip, SoC), etc. The processor can be used to determine motor control parameters, can be used to determine an instruction to start shooting, can be used to determine shooting control parameters, and so on.
存储器可以包括各种易失性存储器或非易失性存储器,如固态硬盘(solid state disk,SSD)、动态随机存取存储器(dynamic random access memory,DRAM)内存等。存储器可以用于存储电机控制系统中的预存数据、中间数据和结果数据。例如,电机控制参数、电机状态参数、开始拍摄指令、拍摄控制参数、工作图像数据,等等。The memory may include various volatile memories or nonvolatile memories, such as solid state disk (solid state disk, SSD), dynamic random access memory (dynamic random access memory, DRAM) memory, and the like. Memory can be used to store pre-stored data, intermediate data and result data in motor control systems. For example, motor control parameters, motor state parameters, shooting start instructions, shooting control parameters, working image data, and so on.
通信部件可以是有线网络连接器、无线保真(wireless fidelity,WiFi)模块、光收发模块、蓝牙模块或蜂巢网通信模块等。通信部件可以用于与其他设备进行数据传输,其他设备可以是驱动转发装置、其他集中计算处理装置等。例如,用于向驱动转发装置发送电机控制参数,用于接收驱动转发装置发送的电机状态参数,等等。The communication component may be a wired network connector, a wireless fidelity (Wireless Fidelity, WiFi) module, an optical transceiver module, a Bluetooth module, or a cellular communication module. The communication component may be used for data transmission with other devices, and the other devices may be drive forwarding devices, other centralized computing processing devices, and the like. For example, it is used to send motor control parameters to the drive forwarding device, and is used to receive motor state parameters sent by the drive forwarding device, and so on.
除了处理器、存储器和通信部件,终端还可以包括显示部件、音频输出部件等。显示部件可以是扭曲向列型(twisted nematic,TN)面板,也可以是垂直配向型(vertical alignment,VA)面板,还可以是平面转换型(in-Plane switching,IPS)面板,等等。显示面板可以用于显示电机对应的工作图像数据,等等。In addition to processors, memory, and communication components, a terminal may also include display components, audio output components, and the like. The display component may be a twisted nematic (TN) panel, a vertical alignment (VA) panel, an in-Plane switching (IPS) panel, and so on. The display panel can be used to display working image data corresponding to the motor, and so on.
图3是本申请实施例提供的第一种电机控制系统的结构示意图。如图3所示,该电机控制系统包括集中计算处理装置、多个驱动转发装置、以及多个电机。集中计算处理装置与多个驱动转发装置中的每个驱动转发装置相连接,每个驱动转发装置分别与至少一个电机相连接。驱动转发装置分别与集中计算处理装置、电机建立通信,通信方式可以是有线通信(如光纤通信等),也可以是无线通信(如WiFi通信、蓝牙通信等)。Fig. 3 is a schematic structural diagram of the first motor control system provided by the embodiment of the present application. As shown in FIG. 3 , the motor control system includes a centralized computing processing device, multiple drive forwarding devices, and multiple motors. The centralized computing and processing device is connected to each of the multiple driving and forwarding devices, and each of the driving and forwarding devices is respectively connected to at least one motor. The driving forwarding device establishes communication with the centralized computing processing device and the motor respectively, and the communication method can be wired communication (such as optical fiber communication, etc.), or wireless communication (such as WiFi communication, Bluetooth communication, etc.).
应用如图3所示的电机控制系统时,本申请实施例提供了如图4所示的电机控制方法的处理流程,包括如下多个处理步骤。When the motor control system as shown in FIG. 3 is applied, the embodiment of the present application provides the processing flow of the motor control method as shown in FIG. 4 , including the following multiple processing steps.
S401、集中计算处理装置向驱动转发装置发送初始的电机控制参数。S401. The centralized calculation and processing device sends initial motor control parameters to the drive forwarding device.
在一条生产线上,通常包括多个工位,每个工位可以由一台机械臂完成相应的操作。例如,某一产品流经第一工位时,由第一机械臂将零件A安装在该产品的第一位置处,该产品流经第二工位时,由第二机械臂将零件B安装在该产品的第二位置处,等等。对于每台机械臂,集中计算处理装置中预先存储了该机械臂完成相应操作的基准电机控制参数,并将机械臂标识信息和对应的基准电机控制参数以表的形式存储在集中计算处理装置中,其中,电机控制参数可以是电机运转时对应的电流值,则基准电机控制参数可以是基准电流值。On a production line, it usually includes multiple stations, and each station can be operated by a robotic arm. For example, when a product flows through the first station, the first robot arm installs part A at the first position of the product, and when the product flows through the second station, the second robot arm installs part B at the second position of the product, and so on. For each mechanical arm, the centralized computing processing device pre-stores the reference motor control parameters for the mechanical arm to complete the corresponding operation, and stores the identification information of the mechanical arm and the corresponding reference motor control parameters in the centralized computing processing device in the form of a table, wherein the motor control parameter can be the corresponding current value when the motor is running, and the reference motor control parameter can be the reference current value.
对于一项生产作业,在生产作业开始前,操作人员可以先确定参与该生产作业的机械臂的标识信息。操作人员可以通过某种指定操作,触发集中计算处理装置中表示电机控制系统开始作业的开启指令。集中计算处理装置接收到上述开启指令后,可以在机械臂标识信息与基准电机控制参数对应关系表中,确定参与该生产作业的机械臂对应的基准电机控制参数,并将该基准电机控制参数作为初始的电机控制参数发送给对应的驱动转发装置。For a production operation, before the production operation starts, the operator can first determine the identification information of the robotic arms participating in the production operation. The operator can trigger the start instruction of the motor control system to start working in the centralized computing and processing device through some specified operation. After the centralized calculation and processing device receives the above-mentioned opening instruction, it can determine the reference motor control parameters corresponding to the robotic arms participating in the production operation in the table of correspondence between the identification information of the mechanical arms and the reference motor control parameters, and send the reference motor control parameters as the initial motor control parameters to the corresponding drive forwarding device.
上述指定操作可以是触发集中计算处理装置处指定的物理按键或物理按键组合,也可以是在集中计算处理装置中输入指定的指令信息,也可以是触发集中计算处理装置的操作界面中指定的操作控件,等等。The above-mentioned specified operation may be to trigger the specified physical key or combination of physical keys at the centralized computing and processing device, or to input specified instruction information in the centralized computing and processing device, or to trigger the specified operation control in the operation interface of the centralized computing and processing device, and so on.
可选地,除了将基准电机控制参数作为初始的电机控制参数外,集中计算处理装置还可以先确定在过去指定时长内,同一生产作业对应的历史工作记录,进一步,通过历史工作记录确定相应的电机控制参数的误差值,然后,基于误差值对基准电机控制参数进行调整,以 确定本次生产作业对应的初始的电机控制参数。Optionally, in addition to using the reference motor control parameters as the initial motor control parameters, the centralized computing processing device may also first determine the historical work records corresponding to the same production operation within a specified period of time in the past, and further determine the error value of the corresponding motor control parameters through the historical work records, and then adjust the reference motor control parameters based on the error value to Determine the initial motor control parameters corresponding to this production operation.
可选地,上述电机控制参数除了是电流值外,也可以是电机运转时对应的电压值、旋转角度值、直线位移值等参数。Optionally, besides the current value, the above-mentioned motor control parameters may also be parameters such as voltage value, rotation angle value, and linear displacement value corresponding to the motor running.
S402、驱动转发装置基于接收自集中计算处理装置的初始的电机控制参数,控制电机运转。S402. The driving forwarding device controls the operation of the motor based on the initial motor control parameters received from the centralized computing and processing device.
电机的运转通常是由驱动器直接驱动的,驱动器可以安装在电机中(即作为电机的一个部件),也可以安装在驱动转发装置中(即作为驱动转发装置的一个部件)。针对上述两种可能的结构,本申请实施例对步骤S402分别进行说明。The operation of the motor is usually directly driven by the driver, and the driver can be installed in the motor (that is, as a part of the motor), or installed in the drive transponder (that is, as a component of the drive transponder). For the above two possible structures, the embodiment of the present application describes step S402 respectively.
结构一、驱动器安装在电机中Structure 1. The driver is installed in the motor
电机包括驱动器、电机本体和电机状态传感器,相应结构如图5所示。其中,电机状态传感器是旋转码盘和转速传感器。驱动器分别与电机本体、驱动转发装置相连接,电机状态传感器分别与电机本体、驱动转发装置相连接。电机状态传感器分别与电机本体、驱动转发装置之间建立通信,其中,通信方式可以是有线通信,也可以是无线通信。The motor includes a driver, a motor body and a motor state sensor, and the corresponding structure is shown in Figure 5. Among them, the motor status sensor is a rotary encoder and a rotational speed sensor. The driver is respectively connected with the motor body and the drive transponder, and the motor state sensor is respectively connected with the motor body and the drive transponder. The motor state sensor establishes communication with the motor body and the drive transponder respectively, wherein the communication method can be wired communication or wireless communication.
采用结构一时,集中计算处理装置以数字信号的形式将初始的电机控制参数发送到驱动转发装置。驱动转发装置将接收到的数字信号转化为对应的模拟信号。然后,驱动转发装置将该模拟信号发送到驱动器,驱动器根据接收到的模拟信号产生对应的驱动电流,从而,驱动电机本体运转。其中,模拟信号可以是脉冲宽度调制(pulse width modulation,PWM)波。When structure 1 is adopted, the centralized calculation and processing device sends the initial motor control parameters to the drive forwarding device in the form of digital signals. The drive transponder converts the received digital signal into a corresponding analog signal. Then, the driving transponder sends the analog signal to the driver, and the driver generates a corresponding driving current according to the received analog signal, thereby driving the motor body to run. Wherein, the analog signal may be a pulse width modulation (pulse width modulation, PWM) wave.
结构二、驱动器安装在驱动转发装置中Structure 2. The driver is installed in the drive forwarding device
驱动转发装置包括通信部件和驱动器,电机包括电机本体和电机状态传感器,相应结构如图6所示。驱动转发装置的通信部件分别与驱动器、电机状态传感器、集中计算处理装置相连接,电机本体分别与驱动器、电机状态传感器相连接。驱动转发装置的通信部件分别与驱动器、电机状态传感器建立通信,其中,通信方式可以是有线通信,也可以是无线通信。The drive forwarding device includes communication components and a driver, and the motor includes a motor body and a motor state sensor. The corresponding structure is shown in Figure 6. The communication components of the driving forwarding device are respectively connected with the driver, the motor state sensor, and the centralized computing processing device, and the motor body is respectively connected with the driver and the motor state sensor. The communication component driving the transponder establishes communication with the driver and the motor state sensor respectively, wherein the communication method can be wired communication or wireless communication.
采用结构二时,驱动转发装置的通信部件根据集中计算处理装置发送的初始的电机控制参数,确定相应的PWM波,并将该PWM波发送到驱动转发装置的驱动器,然后,该驱动器根据接收到的PWM波产生对应的驱动电流,从而,驱动电机本体运转。When structure 2 is adopted, the communication part driving the forwarding device determines the corresponding PWM wave according to the initial motor control parameters sent by the centralized computing and processing device, and sends the PWM wave to the driver driving the forwarding device, and then the driver generates a corresponding driving current according to the received PWM wave, thereby driving the motor body to run.
S403、驱动转发装置获取电机的电机状态参数,发送至集中计算处理装置。S403. The drive forwarding device acquires the motor state parameters of the motor, and sends them to the centralized computing and processing device.
驱动转发装置控制电机运转的同时,获取电机的电机状态参数,电机状态参数包括电流参数、旋转角度和转速等多个电机状态子参数。其中,电流参数是电机本体运转时的电流值,通过驱动器获得;旋转角度是电机本体的输出轴相对于基准位置的旋转角度,通过旋转码盘获得;转速是电机本体运转时的瞬时速度,通过转速传感器获得。针对步骤S402中提到的两种可能的结构,本申请实施例对步骤S403分别进行说明:While the driving and forwarding device is controlling the operation of the motor, the motor state parameters of the motor are obtained, and the motor state parameters include multiple motor state sub-parameters such as current parameters, rotation angle and speed. Among them, the current parameter is the current value of the motor body when it is running, which is obtained through the driver; the rotation angle is the rotation angle of the output shaft of the motor body relative to the reference position, which is obtained by rotating the code disc; the speed is the instantaneous speed of the motor body when it is running, and is obtained through the speed sensor. For the two possible structures mentioned in step S402, the embodiment of the present application respectively explains step S403:
对于结构一:For structure one:
电机的驱动器将驱动电流传输到电机本体后,获取电机本体运转时的电流参数。然后,驱动器将该电流参数反馈给驱动转发装置。同时,电机的旋转码盘将电机本体的旋转角度反馈给驱动转发装置,电机的转速传感器将电机本体的转速反馈给驱动转发装置。驱动转发装置将获取的各个电机状态子参数组合成电机状态参数,发送至集中计算处理装置。After the driver of the motor transmits the driving current to the motor body, it obtains the current parameters of the motor body when it is running. Then, the driver feeds back the current parameter to the driving transponder. At the same time, the rotary code disc of the motor feeds back the rotation angle of the motor body to the driving transponder, and the rotational speed sensor of the motor feeds back the rotational speed of the motor body to the driving transponder. The drive forwarding device combines the acquired motor state sub-parameters into motor state parameters and sends them to the centralized computing and processing device.
电机状态参数可以由多个字段组成,每个字段分别代表一个电机状态子参数,例如,电机状态参数由三个字段顺序组成,这三个字段依次用于表示电流参数、旋转角度和转速,再例如,电机状态参数是一个具有30比特位的字符串,其中第1-8比特位用于表示电流参数,第9-20用于表示旋转角度,第21-30比特位用于表转速,等等。电机状态参数还可以由具有指定标识的电机状态子参数组成,例如,第一个字符为A的字符串表示电流参数,第一个字 符为X的字符串表示旋转角度,第一个字符为Z的字符串表示转速,电机状态参数包括A0001、X0235、Z15ac共三个字符串,这三个字符串别表示电流参数、旋转角度和转速等。The motor state parameter can be composed of multiple fields, and each field represents a motor state sub-parameter. For example, the motor state parameter is composed of three fields in order, and these three fields are used to represent the current parameter, rotation angle and speed in turn. For another example, the motor state parameter is a string with 30 bits, wherein bits 1-8 are used to represent the current parameter, bits 9-20 are used to represent the angle of rotation, bits 21-30 are used to indicate the speed, and so on. Motor status parameters can also be composed of motor status sub-parameters with specified identifiers, for example, a character string whose first character is A indicates a current parameter, and the first character string The string whose character is X indicates the rotation angle, and the string whose first character is Z indicates the speed. The motor status parameters include three strings of A0001, X0235, and Z15ac. These three strings represent current parameters, rotation angle, and speed.
对于结构二:For structure two:
驱动转发装置的驱动部件将驱动电流传输到电机本体后,获取电机本体运转时的电流参数。然后,驱动器将该电流参数反馈给驱动转发装置的通信部件。同时,电机的旋转码盘将电机本体的旋转角度反馈给驱动转发装置的通信部件,电机的转速传感器将电机本体的转速反馈给驱动转发装置的通信部件。驱动转发装置的通信部件将电机状态参数发送至集中计算处理装置。电机状态参数的表示形式与上述结构一相同,此处不再赘述。After the driving part driving the transponder transmits the driving current to the motor body, the current parameters of the motor body during operation are obtained. Then, the driver feeds back the current parameter to the communication part driving the transponder. At the same time, the rotary code disc of the motor feeds back the rotation angle of the motor body to the communication component driving the transponder, and the rotational speed sensor of the motor feeds back the rotational speed of the motor body to the communication component driving the transponder. The communication component driving the forwarding device sends the motor state parameters to the centralized computing and processing device. The expression form of the motor state parameters is the same as that of the above-mentioned structure 1, and will not be repeated here.
S404、集中计算处理装置基于电机状态参数,确定更新的电机控制参数,向驱动转发装置发送更新的电机控制参数。S404. The centralized calculation and processing device determines updated motor control parameters based on the motor state parameters, and sends the updated motor control parameters to the drive forwarding device.
集中计算处理装置中预先存储有电机状态反馈模型。集中处理器根据接收到的电机状态参数(如电流参数、旋转角度、转速等)和电机状态反馈模型,确定电机控制参数。其中,电机状态反馈模型可以是一系列算法公式组成的模型,也可以是机器学习模型等。以下给出几种可能的处理方式:The motor state feedback model is pre-stored in the centralized calculation processing device. The centralized processor determines the motor control parameters according to the received motor state parameters (such as current parameters, rotation angle, rotational speed, etc.) and the motor state feedback model. Wherein, the motor state feedback model can be a model composed of a series of algorithmic formulas, or a machine learning model, etc. Here are a few possible ways to handle it:
方式一:method one:
集中计算处理装置将获取的所有驱动转发装置连接的电机的电机状态参数,输入到电机状态反馈模型中,从而,确定出每个驱动转发装置连接的电机对应的更新的电机控制参数。然后,集中计算处理装置将更新的电机控制参数发送至对应的驱动转发装置。The centralized calculation and processing device inputs the acquired motor state parameters of all the motors connected to the driving transponder into the motor state feedback model, thereby determining updated motor control parameters corresponding to each motor connected to the driving transponder. Then, the centralized calculation and processing device sends the updated motor control parameters to the corresponding drive forwarding device.
方式二:Method 2:
集中计算处理装置中根据驱动转发装置的数量划分为多个处理模块。对于每个驱动转发装置,集中计算处理装置中对应的处理模块根据该驱动转发装置对应的电机状态参数和电机状态反馈模型,确定对应的更新的电机控制参数,最后,集中计算处理装置将更新的电机控制参数发送到对应的驱动转发装置。The centralized calculation and processing device is divided into multiple processing modules according to the number of driving forwarding devices. For each drive forwarding device, the corresponding processing module in the centralized computing processing device determines the corresponding updated motor control parameters according to the motor state parameters and the motor state feedback model corresponding to the driving forwarding device, and finally, the centralized computing processing device sends the updated motor control parameters to the corresponding driving forwarding device.
方式三:Method 3:
集中计算处理装置中根据驱动转发装置的数量划分为多个处理模块。对于每个驱动转发装置,集中计算处理装置中对应的处理模块根据该驱动转发装置对应的电机状态参数、至少一个其他驱动转发装置对应的全部(或部分)电机状态参数和电机状态反馈模型,确定对应的更新的电机控制参数,最后,集中计算处理装置将更新的电机控制参数发送到对应的驱动转发装置。The centralized calculation and processing device is divided into multiple processing modules according to the number of driving forwarding devices. For each drive forwarding device, the corresponding processing module in the centralized calculation processing device determines the corresponding updated motor control parameters according to the motor state parameters corresponding to the drive forwarding device, all (or part) motor state parameters corresponding to at least one other drive forwarding device, and the motor state feedback model, and finally, the centralized calculation processing device sends the updated motor control parameters to the corresponding drive forwarding device.
方式四:Method 4:
集中计算处理装置中先根据驱动转发装置的数量划分为多个处理模块,然后根据每个驱动转发装置对应的电机的数量,将处理模块划分为若干个子处理模块。对于该集中计算处理装置中的每个子处理模块,用于确定对应的电机的更新的电机控制参数。最后,集中计算处理装置将更新的电机控制参数发送到对应的驱动转发装置。具体计算方式与方式二、方式三相似,此处不再赘述。The centralized calculation and processing device is first divided into multiple processing modules according to the number of driving and forwarding devices, and then divided into several sub-processing modules according to the number of motors corresponding to each driving and forwarding device. For each sub-processing module in the centralized computing processing device, it is used to determine the updated motor control parameters of the corresponding motor. Finally, the centralized calculation and processing device sends the updated motor control parameters to the corresponding drive forwarding device. The specific calculation method is similar to method 2 and method 3, and will not be repeated here.
S405、驱动转发装置基于接收自集中计算处理装置的更新的电机控制参数,控制电机运转。S405. The driving forwarding device controls the operation of the motor based on the updated motor control parameters received from the centralized computing and processing device.
驱动转发装置接收集中计算处理装置发送的更新的电机控制参数后,确定相应的驱动电流,从而,控制电机运转。具体操作流程与步骤S402相似,此处不再赘述。After receiving the updated motor control parameters sent by the centralized calculation and processing device, the driving forwarding device determines the corresponding driving current, thereby controlling the operation of the motor. The specific operation process is similar to that of step S402, and will not be repeated here.
可选地,驱动转发装置具有控制参数刷新单元和本地闭环单元。当驱动转发装置首次接收到电机控制参数时,控制参数刷新单元用于缓存该电机控制参数。控制参数刷新单元将驱 动转发装置中缓存的电机控制参数刷新为最近一次接收到的电机控制参数。在每个电机状态参数对应的反馈周期中,本地闭环单元将驱动转发装置中缓存的电机控制参数与电机执行该电机控制参数后反馈的电机状态参数进行多次对比,确定是否一致。如果一致,驱动转发装置可以将该电机状态参数发送到集中计算控制装置,用于后续电机控制参数的计算。如果不一致,驱动转发装置的本地闭环单元可以根据当前缓存的电机控制参数,控制电机运转。Optionally, the drive forwarding device has a control parameter refreshing unit and a local closed-loop unit. When the drive forwarding device receives the motor control parameter for the first time, the control parameter refreshing unit is used for buffering the motor control parameter. The control parameter refresh unit will drive The motor control parameters cached in the automatic transponder are refreshed with the latest received motor control parameters. In the feedback cycle corresponding to each motor state parameter, the local closed-loop unit compares the motor control parameters cached in the drive forwarding device with the motor state parameters fed back after the motor executes the motor control parameters multiple times to determine whether they are consistent. If consistent, the drive forwarding device can send the motor state parameters to the centralized calculation control device for subsequent calculation of motor control parameters. If not, the local closed-loop unit driving the transponder can control the operation of the motor according to the current cached motor control parameters.
电机控制系统依次重复步骤S403-S405的流程,直到集中计算处理装置检测到结束事件,向驱动转发装置发送结束运转指令,驱动转发装置停止驱动电机工作。上述结束指令可以由操作人员通过某种指定操作触发,结束指令对应的指定操作与开启指令对应的指定操作相似,此处不再赘述。The motor control system repeats the process of steps S403-S405 in sequence until the centralized computing and processing device detects an end event, sends an end operation command to the driving and forwarding device, and the driving and forwarding device stops driving the motor. The above end command may be triggered by an operator through some specified operation, and the specified operation corresponding to the end command is similar to the specified operation corresponding to the start command, and will not be repeated here.
可选地,上述结束指令也可以是集中计算处理装置接收到某一电机(或某一工位)无法正常运转或出现安全问题的反馈信息,例如,某一电机出现故障,导致整个工位或整条产线无法工作,此时,该电机控制系统结束作业,以便维修人员对故障电机进行维修,等等。Optionally, the above-mentioned end instruction may also be that the centralized computing processing device receives feedback information that a certain motor (or a certain station) cannot operate normally or a safety problem occurs, for example, a certain motor fails, causing the entire station or the entire production line to fail to work. At this time, the motor control system ends the operation so that maintenance personnel can repair the faulty motor, etc.
使用本申请实施例提供的电机控制系统和电机控制方法,一方面,集中计算处理装置可以集中同步处理多个电机(或多个驱动转发装置)对应的电机状态参数,体现了对电机的扁平化的同步控制机制,提升了控制效率,降低了信息同步交互的时延;另一方面,集中计算处理装置相比于当前常用的伺服控制器来说,具有更强的处理能力,可以进行高频度和高复杂度的计算,通过上述两方面的提高,极大提高自动化生产的控制精度。Using the motor control system and motor control method provided by the embodiments of the present application, on the one hand, the centralized computing processing device can centrally and synchronously process the motor state parameters corresponding to multiple motors (or multiple drive forwarding devices), which embodies a flattened synchronous control mechanism for the motors, improves control efficiency, and reduces the time delay of information synchronization interaction;
同时,在该电机控制系统中,用电机驱动和转发装置替代了当前常用的伺服控制器,电机驱动和转发装置主要起转发参数的作用,相对于伺服控制器来说,电机驱动和转发装置不需要具有较高的处理能力,成本也相对较低,这样,降低整个控制系统的成本。At the same time, in the motor control system, the current commonly used servo controller is replaced by a motor drive and forwarding device. The motor drive and forwarding device mainly plays the role of forwarding parameters. Compared with the servo controller, the motor drive and forwarding device does not need to have higher processing capacity, and the cost is relatively low. In this way, the cost of the entire control system is reduced.
图7是本申请实施例提供的第四种电机控制系统的结构示意图。如图7所示,电机控制系统还包括分发装置,分发装置分别与集中计算处理装置、驱动转发装置相连接。分发装置分别与集中计算处理装置、驱动转发装置之间建立通信,通信方式与上文相同。Fig. 7 is a schematic structural diagram of a fourth motor control system provided by an embodiment of the present application. As shown in FIG. 7 , the motor control system further includes a distributing device, and the distributing device is respectively connected with the centralized computing processing device and the drive forwarding device. The distribution device establishes communication with the centralized computing processing device and the drive forwarding device respectively, and the communication method is the same as above.
分发装置的一个功能是转发电机控制参数。该转发动作可以是广播,组播或单播。如果驱动转发装置、集中计算处理装置和分发装置是基于无源光网络(passive optical network,PON)技术实现的,那么分发装置是广播。也就是说分发装置将集中计算处理装置确定的电机控制参数广播给多个驱动转发装置中的每一个。如果驱动转发装置、集中计算处理装置和分发装置是基于交换机技术实现的,那么分发装置可以是广播、组播或者单播。对此,本申请不做限定。One function of the distribution device is to transcode the generator control parameters. The forwarding action can be broadcast, multicast or unicast. If the drive forwarding device, centralized computing processing device and distribution device are implemented based on passive optical network (PON) technology, then the distribution device is broadcast. That is to say, the distributing device broadcasts the motor control parameters determined by the centralized computing and processing device to each of the multiple drive forwarding devices. If the drive forwarding device, centralized computing processing device and distribution device are implemented based on switch technology, then the distribution device can be broadcast, multicast or unicast. In this regard, this application does not make a limitation.
分发装置另外一个功能是将从每个驱动转发装置接收到的电机状态参数发送到集中计算处理装置。在一种实现方式中,分发装置可以汇聚多个驱动转发装置的电机状态参数再发送给集中计算处理装置。在另一种实现方式中,分发装置可以即时或者按照约定的时间转发收到的所有状态参数。Another function of the distributing device is to send the motor state parameters received from each drive forwarding device to the centralized computing and processing device. In an implementation manner, the distributing device may gather the motor state parameters of multiple drive forwarding devices and send them to the centralized computing and processing device. In another implementation manner, the distributing device may forward all received state parameters immediately or according to an agreed time.
使用本申请实施例提供的电机控制系统和电机控制方法,集中计算处理装置和驱动转发装置之间的数据传输通过分发装置来完成,在集中计算处理装置与分发装置之间只具有一条用于数据传输的线路。这样,既可以扩大该电机控制系统的布设范围,又可以在一定程度上减少整个系统的布线,优化该电机控制系统的网络结构。Using the motor control system and motor control method provided by the embodiment of the present application, the data transmission between the centralized computing processing device and the drive forwarding device is completed through the distribution device, and there is only one line for data transmission between the centralized computing processing device and the distribution device. In this way, the layout range of the motor control system can be expanded, and the wiring of the entire system can be reduced to a certain extent, and the network structure of the motor control system can be optimized.
图8是本申请实施例提供的第五种电机控制系统的结构示意图。如图8所示,电机控制系统还包括图像监控装置,图像监控装置与驱动转发装置相连接,并建立通信,通信方式与上文相同。Fig. 8 is a schematic structural diagram of a fifth motor control system provided by an embodiment of the present application. As shown in FIG. 8 , the motor control system also includes an image monitoring device, which is connected with the drive forwarding device and establishes communication, and the communication method is the same as above.
图像监控装置用于拍摄电机对应的工作图像数据,工作图像数据可以是图片,如机械臂 在某一时刻的位姿,工作图像数据也可以是视频,如机械臂在某一时间周期内的运动轨迹等。The image monitoring device is used to capture the working image data corresponding to the motor, and the working image data can be a picture, such as a mechanical arm The pose at a certain moment, the working image data can also be a video, such as the movement trajectory of the robotic arm within a certain period of time, etc.
图像监控装置与电机可以同步工作,即电机开始运转时,图像监控装置同步开始拍摄电机对应的工作图像数据,并在电机运转的全过程中持续进行拍摄,电机结束运转时,图像监控装置同步结束拍摄。图像监控装置与电机可以非同步工作,例如,图像监控装置与电机同步开始工作,图像监控装置拍摄第一时长后停止拍摄,而电机运转第一时长后持续运转。再例如,电机先开始运转,在持续运转第二时长后,图像监控装置开始拍摄,图像监控装置和电机同步工作第三时长后,图像监控装置停止拍摄,而电机继续运转。再例如,电机先开始运转,在持续运转第四时长后,图像监控装置开始拍摄,电机结束运转时,图像监控装置结束拍摄。接下来,以图像监控装置与电机同步工作为例对本方案进行说明,其他情况与之类似,此处不进行赘述。The image monitoring device and the motor can work synchronously, that is, when the motor starts to run, the image monitoring device starts to capture the working image data corresponding to the motor synchronously, and continues to shoot during the whole process of the motor running, and when the motor stops running, the image monitoring device synchronously ends the shooting. The image monitoring device and the motor can work asynchronously. For example, the image monitoring device and the motor start to work synchronously, and the image monitoring device stops shooting after taking pictures for the first time, while the motor continues to run after running for the first time. For another example, the motor starts running first, and after the second continuous operation, the image monitoring device starts to shoot, and after the image monitoring device and the motor work synchronously for the third time, the image monitoring device stops shooting, and the motor continues to run. For another example, the motor starts to run first, and after the fourth continuous running, the image monitoring device starts shooting, and when the motor stops running, the image monitoring device stops shooting. Next, this solution will be described by taking the synchronous operation of the image monitoring device and the motor as an example. Other situations are similar and will not be repeated here.
应用如图8所示的电机控制系统时,本申请实施例提供了如图9所示的电机控制方法的处理流程,包括如下多个处理步骤。When the motor control system shown in FIG. 8 is applied, the embodiment of the present application provides the processing flow of the motor control method shown in FIG. 9 , including the following multiple processing steps.
S901、集中计算处理装置向驱动转发装置发送初始的电机控制参数和开始拍摄指令。S901. The centralized computing and processing device sends initial motor control parameters and an instruction to start shooting to the driving forwarding device.
操作人员可以通过某种指定操作,触发集中计算处理装置中表示电机控制系统开始作业的开启指令。集中计算处理装置接收到上述开启指令后,确定电机对应的初始的电机控制参数和图像监控装置对应的开始拍摄指令。上述指定操作与步骤S401中的情况相似,此处不再赘述。The operator can trigger the start instruction of the motor control system to start working in the centralized computing and processing device through some specified operation. After receiving the start instruction, the centralized computing and processing device determines the initial motor control parameters corresponding to the motor and the shooting start instruction corresponding to the image monitoring device. The above specifying operation is similar to the situation in step S401, and will not be repeated here.
集中计算处理装置向驱动转发装置发送初始的电机控制参数和开始拍摄指令。对于每个驱动转发装置和图像监控装置,初始的电机控制参数和开始拍摄指令可以记载在同一个字符串中,例如,一个具有20比特位字符串中,第1-12比特位的字符用于表示初始的电机控制参数,第13-20比特位的字符用于表示开始拍摄指令,等等。初始的电机控制参数和开始拍摄指令也可以分别用具有指定标识的字符串表示,例如,第一个字符为S的字符串表示初始的电机控制参数,第一个字符为C的字符串表示开始拍摄指令等。The centralized computing and processing device sends initial motor control parameters and an instruction to start shooting to the drive forwarding device. For each driving transponder and image monitoring device, the initial motor control parameters and the start shooting command can be recorded in the same character string, for example, in a 20-bit character string, the 1st-12th bit characters are used to represent the initial motor control parameters, the 13th-20th bit characters are used to represent the start shooting command, etc. The initial motor control parameters and the command to start shooting can also be represented by character strings with specified identifiers, for example, the character string whose first character is S represents the initial motor control parameters, and the character string whose first character is C represents the command to start shooting.
可选地,图像监控装置与电机非同步工作时,集中计算处理装置可以单独将开始拍摄指令发送到驱动转发装置,也可以将开始拍摄指令和某一时刻更新的电机控制参数一起发送到电机控制参数。Optionally, when the image monitoring device and the motor work asynchronously, the centralized computing processing device may send the shooting start instruction to the drive forwarding device alone, or send the shooting start instruction together with the motor control parameters updated at a certain moment to the motor control parameters.
S902、驱动转发装置基于接收自集中计算处理装置的初始的电机控制参数控制电机运转,将开始拍摄指令发送至图像监控装置。S902. The driving and forwarding device controls the operation of the motor based on the initial motor control parameters received from the centralized computing and processing device, and sends an instruction to start shooting to the image monitoring device.
驱动转发装置基于接收自集中计算处理装置的初始的电机控制参数,控制电机运转。具体处理流程与步骤S402相似,此处不再赘述。The drive forwarding device controls the operation of the motor based on the initial motor control parameters received from the centralized computing processing device. The specific processing flow is similar to step S402 and will not be repeated here.
驱动转发装置将接收自集中计算处理装置的开始拍摄指令发送至图像监控装置,以控制图像监控装置开始拍摄。The driving forwarding device sends the shooting start instruction received from the centralized computing processing device to the image monitoring device, so as to control the image monitoring device to start shooting.
S903、驱动转发装置获取电机的电机状态参数、电机对应的工作图像数据,发送至集中计算处理装置。S903. The drive forwarding device acquires motor state parameters of the motor and working image data corresponding to the motor, and sends them to the centralized computing and processing device.
驱动转发装置获取电机的电机状态参数,电机状态参数的获取方式与步骤S403相似,此处不再赘述。The motor state parameter of the motor is obtained by driving the forwarding device, and the manner of obtaining the state parameter of the motor is similar to that of step S403, and will not be repeated here.
驱动转发装置接收电机对应的工作图像数据,例如,当前时刻机械臂的位姿图片、指定监控周期内机械臂的运动视频,等等。The drive forwarding device receives the working image data corresponding to the motor, for example, the pose picture of the robot arm at the current moment, the motion video of the robot arm in a specified monitoring period, and so on.
通常,电机状态参数的反馈周期明显小于工作图像数据的监控周期。因此,当驱动转发装置没有获取到工作图像数据时,可以仅将电机状态参数发送到集中计算处理装置;当驱动转发装置同时获取到电机状态参数和工作图像数据时,可以将电机状态参数与工作图像数据 打包后发送到集中计算处理装置,也可以分别将电机状态参数和工作图像数据通过同一条通信通道发送到集中计算处理装置。Usually, the feedback cycle of the motor state parameters is significantly shorter than the monitoring cycle of the working image data. Therefore, when the drive forwarding device does not obtain the working image data, only the motor state parameters can be sent to the centralized computing processing device; After being packaged, it is sent to the centralized computing and processing device, and the motor state parameters and working image data can also be sent to the centralized computing and processing device through the same communication channel.
S904、集中计算处理装置基于电机状态参数和工作图像数据,确定更新的电机控制参数和拍摄控制参数。S904. The centralized calculation and processing device determines updated motor control parameters and shooting control parameters based on the motor state parameters and the working image data.
集中计算处理装置中预先存储有电机状态反馈模型,集中处理器将接收到的电机状态参数(如电流参数、旋转角度、转速等)、工作图像数据,输入到电机状态反馈模型中,从而,确定出每个驱动转发装置连接的电机对应的更新的电机控制参数。然后,集中计算处理装置将更新的电机控制参数发送至驱动转发装置。A motor state feedback model is pre-stored in the centralized computing and processing device, and the centralized processor inputs the received motor state parameters (such as current parameters, rotation angle, rotational speed, etc.) and working image data into the motor state feedback model, thereby determining the updated motor control parameters corresponding to the motors connected to each drive forwarding device. Then, the centralized computing processing device sends the updated motor control parameters to the drive forwarding device.
集中计算处理装置中可以根据驱动转发装置(或电机)的数量划分为多个处理模块(或多个处理子模块)。每个处理模块(或子处理模块)用于确定对应的驱动转发装置(或电机)的电机控制参数。具体操作流程与步骤S404相似,此处不再赘述。The centralized calculation and processing device can be divided into multiple processing modules (or multiple processing sub-modules) according to the number of drive forwarding devices (or motors). Each processing module (or sub-processing module) is used to determine a corresponding motor control parameter for driving the forwarding device (or motor). The specific operation process is similar to that of step S404 and will not be repeated here.
集中计算处理装置中可以预先存储电机的电机控制参数与图像监控装置的拍摄控制参数的对应关系,集中计算处理装置确定更新的电机控制参数后,可以根据该对应关系确定对应的拍摄控制参数。其中,拍摄控制参数用于调整图像监控装置的拍摄方向,从而,控制图像监控装置拍摄指定的工作图像数据。The centralized calculation and processing device may pre-store the corresponding relationship between the motor control parameters of the motor and the shooting control parameters of the image monitoring device. After the centralized calculation and processing device determines the updated motor control parameters, it may determine the corresponding shooting control parameters according to the corresponding relationship. Wherein, the shooting control parameter is used to adjust the shooting direction of the image monitoring device, thereby controlling the image monitoring device to capture specified working image data.
S905、驱动转发装置基于接收自集中计算处理装置的更新的电机控制参数控制电机运转,将拍摄控制参数发送至图像监控装置。S905. The driving forwarding device controls the operation of the motor based on the updated motor control parameters received from the centralized computing and processing device, and sends the shooting control parameters to the image monitoring device.
驱动转发装置接收到集中计算处理装置发送的更新的电机控制参数后,确定相应的驱动电流,从而,控制电机运转。具体操作流程与步骤S402相似,此处不再赘述。After receiving the updated motor control parameters sent by the centralized calculation and processing device, the driving forwarding device determines the corresponding driving current, thereby controlling the operation of the motor. The specific operation process is similar to that of step S402, and will not be repeated here.
驱动转发装置将接收自集中计算处理装置的拍摄控制参数发送到图像监控装置,图像监控装置根据拍摄控制参数拍摄电机对应的工作图像数据。The drive forwarding device sends the shooting control parameters received from the centralized computing and processing device to the image monitoring device, and the image monitoring device captures working image data corresponding to the motor according to the shooting control parameters.
电机控制系统依次重复步骤S903-S905的流程,直到集中计算处理装置检测到结束事件,向驱动转发装置发送结束运转指令和结束拍摄指令,驱动转发装置停止驱动电机工作,并将结束拍摄指令发送到图像监控设备,图像监控设备停止拍摄工作图像数据。上述结束指令可以由操作人员通过某种指定操作触发,触发方式与步骤S401、步骤S405提到的方案相似,此处不再赘述。The motor control system repeats the process of steps S903-S905 in sequence until the centralized computing processing device detects an end event, sends an end operation instruction and an end shooting instruction to the driving forwarding device, the driving forwarding device stops driving the motor, and sends the end shooting instruction to the image monitoring device, and the image monitoring device stops shooting working image data. The above-mentioned end instruction can be triggered by the operator through some specified operation, and the triggering method is similar to the solutions mentioned in step S401 and step S405, and will not be repeated here.
使用本申请实施例提供的电机控制系统和电机控制方法,在控制电机运转的过程中,将电机运转所产生的视觉图像作为确定电机控制参数的一个重要因素,可以获得更精准的电机控制参数,即提高自动化生产的控制精度。Using the motor control system and motor control method provided in the embodiments of the present application, in the process of controlling the operation of the motor, the visual image generated by the operation of the motor is used as an important factor for determining the motor control parameters, so that more accurate motor control parameters can be obtained, that is, the control accuracy of automated production can be improved.
图10是本申请实施例提供的第六种电机控制系统的结构示意图。如图10所示,电机控制系统还包括多端口信息转发装置和辅助装置,多端口信息转发装置分别与集中计算处理装置、辅助装置相连接。多端口信息转发装置分别与集中计算处理装置、辅助装置建立通信,通信方式可以是有线通信,也可以是无线通信。Fig. 10 is a schematic structural diagram of a sixth motor control system provided by an embodiment of the present application. As shown in Fig. 10, the motor control system further includes a multi-port information forwarding device and an auxiliary device, and the multi-port information forwarding device is respectively connected with the centralized computing processing device and the auxiliary device. The multi-port information forwarding device respectively establishes communication with the centralized computing processing device and the auxiliary device, and the communication method can be wired communication or wireless communication.
集中计算处理装置向驱动转发装置发送电机控制参数的同时,向多端口信息转发装置发送辅助控制参数。多端口信息转发装置将辅助控制参数发送至对应的辅助装置,辅助装置基于接收的辅助控制参数,辅助电机控制系统工作。The centralized calculation and processing device sends the motor control parameters to the drive forwarding device, and at the same time sends the auxiliary control parameters to the multi-port information forwarding device. The multi-port information forwarding device sends the auxiliary control parameters to the corresponding auxiliary device, and the auxiliary device assists the motor control system to work based on the received auxiliary control parameters.
例如,辅助装置是传送带装置,机械臂用于将传送带上的物品搬运到指定位置,当集中计算处理装置向驱动转发装置发送电机控制参数以控制机械臂运动的同时,通过多端口信息转发装置向辅助装置发送闭合传送带装置的开关的控制参数,以控制传送带工作,从而,实现传送带装置与机械臂的配合。For example, the auxiliary device is a conveyor belt device, and the mechanical arm is used to transport the items on the conveyor belt to the designated position. When the centralized computing and processing device sends motor control parameters to the drive forwarding device to control the movement of the mechanical arm, at the same time, the multi-port information forwarding device sends the control parameters for closing the switch of the conveyor belt device to the auxiliary device to control the operation of the conveyor belt, thereby realizing the cooperation between the conveyor belt device and the mechanical arm.
再例如,辅助装置是指示灯,机械臂不工作时,对应的指示灯不亮,机械臂正常工作时, 对应的指示灯亮绿色,当集中计算处理装置向驱动转发装置发送电机控制参数以控制机械臂运动的同时,通过多端口信息转发装置向辅助装置发送亮起指示灯的控制参数,以保证在机械臂正常工作过程中指示灯始终亮绿色。For another example, the auxiliary device is an indicator light. When the mechanical arm is not working, the corresponding indicator light is off. When the mechanical arm is working normally, The corresponding indicator light is green. When the centralized computing and processing device sends the motor control parameters to the drive forwarding device to control the movement of the mechanical arm, the multi-port information forwarding device sends the control parameters of the indicator light to the auxiliary device to ensure that the indicator light is always green during the normal operation of the mechanical arm.
可选地,如图11所示,电机控制系统包括集中计算处理装置、分发装置、驱动转发装置、电机、多端口信息转发装置和辅助装置。多端口信息转发装置分别与分发装置、辅助装置相连接,并建立通信。集中计算处理装置将电机控制参数和辅助控制参数发送到分发装置,然后,分发装置分别将电机控制参数、辅助控制参数发送到对应的驱动转发装置和辅助装置,从而,控制电机和辅助装置的运转。具体操作流程与上文类似,此处不再赘述。Optionally, as shown in FIG. 11 , the motor control system includes a centralized computing processing device, a distribution device, a drive forwarding device, a motor, a multi-port information forwarding device and an auxiliary device. The multi-port information forwarding device is respectively connected with the distribution device and the auxiliary device, and establishes communication. The centralized calculation and processing device sends the motor control parameters and auxiliary control parameters to the distribution device, and then the distribution device sends the motor control parameters and auxiliary control parameters to the corresponding drive forwarding device and auxiliary device, thereby controlling the operation of the motor and auxiliary devices. The specific operation process is similar to the above, and will not be repeated here.
对于上述多端口信息转发装置和辅助装置,此处示例性地示出了两种可能的情况,可以根据实际生产需要设置多种用于辅助电机控制系统工作的辅助装置,此处不再赘述。For the above-mentioned multi-port information forwarding device and auxiliary device, two possible situations are shown here as examples, and various auxiliary devices for assisting the operation of the motor control system can be provided according to actual production needs, and details will not be described here.
本申请实施例提供的电机控制系统包括多个驱动转发装置,多个驱动转发装置中任意两个驱动转发装置相连接,并建立通信。接下来,以电机控制系统包括两个驱动转发装置为例,对驱动转发装置之间的数据传输进行说明。The motor control system provided in the embodiment of the present application includes a plurality of drive forwarding devices, and any two drive forwarding devices in the multiple drive forwarding devices are connected to establish communication. Next, taking the motor control system including two drive forwarding devices as an example, the data transmission between the drive forwarding devices will be described.
图12是本申请实施例提供的第七种电机控制系统的结构示意图。如图12所示,电机控制系统包括两个驱动转发装置,分别称为第一驱动转发装置和第二驱动转发装置。第一驱动转发装置分别与集中计算处理装置、第一电机相连接,并建立通信。第一驱动转发装置分别与集中计算处理装置、第二电机相连接,并建立通信。第一驱动转发装置与第二驱动转发装置相连接,并建立通信,通信方式与上文相似。Fig. 12 is a schematic structural diagram of a seventh motor control system provided by an embodiment of the present application. As shown in FIG. 12 , the motor control system includes two drive transponders, which are respectively referred to as a first drive transponder and a second drive transponder. The first drive forwarding device is respectively connected with the centralized computing processing device and the first motor, and establishes communication. The first drive forwarding device is respectively connected with the centralized computing processing device and the second motor, and establishes communication. The first drive forwarding device is connected to the second drive forwarding device and establishes communication, and the communication method is similar to the above.
集中计算处理装置向第一驱动转发装置发送第一驱动转发装置对应的电机控制参数和第二驱动转发装置对应的电机控制参数。第一驱动转发装置将第二驱动转发装置对应的电机控制参数发送给第二驱动转发装置,并且接收第二驱动转发装置发送的第一驱动转发装置对应的电机控制参数。第一驱动转发装置将集中计算处理装置发送的第一驱动转发装置对应的电机控制参数,与第二驱动转发装置发送的第一驱动转发装置对应的电机控制参数进行比对。如果两组电机控制参数完全相同,或者在预设的误差范围之内,第一驱动转发装置根据集中计算处理装置发送的电机控制参数控制电机运转。如果两组电机控制参数的误差超过预设的误差范围,则不改变第一电机当前的运转状态,而是,需要集中计算处理装置重新发送电机控制参数。The centralized calculation and processing device sends the motor control parameters corresponding to the first drive forwarding device and the motor control parameters corresponding to the second drive forwarding device to the first drive forwarding device. The first drive forwarding device sends the motor control parameters corresponding to the second drive forwarding device to the second drive forwarding device, and receives the motor control parameters corresponding to the first drive forwarding device sent by the second drive forwarding device. The first drive forwarding device compares the motor control parameters corresponding to the first drive forwarding device sent by the centralized computing processing device with the motor control parameters corresponding to the first drive forwarding device sent by the second drive forwarding device. If the control parameters of the two sets of motors are identical, or within a preset error range, the first drive forwarding device controls the operation of the motor according to the motor control parameters sent by the centralized computing and processing device. If the error of the two groups of motor control parameters exceeds the preset error range, the current running state of the first motor is not changed, but the centralized computing and processing device needs to resend the motor control parameters.
同理,第二驱动转发装置将第一驱动转发装置对应的电机控制参数发送至第一驱动转发装置,并且接收第一驱动转发装置发送的第二驱动转发装置对应的电机控制参数。如果集中计算处理装置发送的第二驱动转发装置对应的电机控制参数,与第一驱动转发装置发送的第二驱动转发装置对应的电机控制参数相同,或者在预设的误差范围之内,则基于第二驱动转发装置对应的电机控制参数,控制对应的电机运转。反之,这需要集中计算处理装置重新发送电机控制参数。Similarly, the second drive forwarding device sends the motor control parameters corresponding to the first drive forwarding device to the first drive forwarding device, and receives the motor control parameters corresponding to the second drive forwarding device sent by the first drive forwarding device. If the motor control parameter corresponding to the second drive forwarding device sent by the centralized computing processing device is the same as the motor control parameter corresponding to the second drive forwarding device sent by the first drive forwarding device, or within a preset error range, then the corresponding motor is controlled based on the motor control parameter corresponding to the second drive forwarding device. Instead, this requires the centralized computational processing means to resend the motor control parameters.
需要说明的是,第一驱动转发装置和第二驱动转发装置可以是集中计算处理装置连接的多个驱动转发装置中的部分或全部。另外,第二驱动转发装置可以有一个或多个。It should be noted that the first drive forwarding device and the second drive forwarding device may be part or all of a plurality of drive forwarding devices connected to the centralized computing processing device. In addition, there may be one or more second drive transfer devices.
使用本申请实施例提供的电机控制系统和电机控制方法,不同驱动转发装置之间建立通信,可以进行数据的传输。这样,驱动转发装置可以通过其他驱动转发装置转发的电机控制参数,对集中计算处理装置发送的电机控制参数进行验证,以保证电机运转的准确性,从而,提高自动化生产的控制精度。另外,如果集中计算处理装置与某一驱动转发装置之间无法进行正常的数据传输,则集中计算处理装置可以通过其他驱动转发装置向该驱动转发装置进行数据传输,从而,保证电机控制系统运行的稳定性。 By using the motor control system and the motor control method provided in the embodiments of the present application, communication can be established between different driving forwarding devices, and data transmission can be performed. In this way, the drive forwarding device can verify the motor control parameters sent by the centralized computing processing device through the motor control parameters forwarded by other drive forwarding devices, so as to ensure the accuracy of motor operation, thereby improving the control accuracy of automated production. In addition, if normal data transmission cannot be performed between the centralized computing and processing device and a certain driving and forwarding device, the centralized computing and processing device can transmit data to the driving and forwarding device through other driving and forwarding devices, thereby ensuring the stability of the operation of the motor control system.
上述所有可选技术方案,可以采用任意结合形成本申请的可选实施例,在此不再赘述。All the above optional technical solutions may be combined in any way to form optional embodiments of the present application, which will not be repeated here.
本申请实施例中提到的电机自动化控制系统,包括集中计算处理装置、多个电机驱动和转发装置、以及多个电机。集中计算处理装置与多个电机驱动和转发装置中的每一个连接,每个电机驱动和转发装置分别与多个电机的至少一个连接。电机驱动和转发装置获取电机的电机状态参数,并发送至集中计算处理装置。集中计算处理装置基于电机状态参数,确定对应的电机控制参数,并发送至电机驱动和转发装置。电机驱动和转发装置基于电机控制参数,对电机驱动和转发装置连接的电机进行驱动,从而,实现对电机的实时控制。在该电机控制系统中,集中计算处理装置用于计算对应的电机控制参数,集中计算处理装置可以是计算机设备等,相对于当前常用的伺服控制器来说,集中计算处理装置具有更强的处理能力,即可以进行高频度和高复杂度的计算。这样,极大提高自动化生产的控制精度。The motor automation control system mentioned in the embodiment of the present application includes a centralized computing processing device, multiple motor drive and forwarding devices, and multiple motors. The centralized computing processing device is connected to each of the plurality of motor driving and forwarding devices, and each motor driving and forwarding device is respectively connected to at least one of the plurality of motors. The motor driving and forwarding device obtains the motor state parameters of the motor and sends them to the centralized computing processing device. The centralized calculation processing device determines the corresponding motor control parameters based on the motor state parameters, and sends them to the motor driving and forwarding device. The motor driving and forwarding device drives the motor connected to the motor driving and forwarding device based on the motor control parameters, thereby realizing real-time control of the motor. In the motor control system, the centralized calculation processing device is used to calculate the corresponding motor control parameters. The centralized calculation processing device can be computer equipment, etc. Compared with the current commonly used servo controllers, the centralized calculation processing device has stronger processing capabilities, that is, it can perform high-frequency and high-complexity calculations. In this way, the control precision of automatic production is greatly improved.
在该电机控制系统中,集中计算处理装置同时对多个电机驱动和转发装置、多个电机同时控制,这样,体现了对电机的扁平化的同步控制机制,提升了控制效率,降低了信息同步交互的时延,从而,进一步提高自动化生产的控制精度。In the motor control system, the centralized computing and processing device controls multiple motor drives and forwarding devices and multiple motors at the same time. In this way, a flat synchronous control mechanism for the motors is embodied, the control efficiency is improved, and the time delay of information synchronization and interaction is reduced, thereby further improving the control accuracy of automated production.
在该电机控制系统中,用电机驱动和转发装置替代了当前常用的伺服控制器,电机驱动和转发装置主要起转发参数的作用,相对于伺服控制器来说,电机驱动和转发装置不需要具有较高的处理能力,成本也相对较低,这样,降低整个控制系统的成本。基于相同的技术构思,本申请实施例还提供了一种电机驱动和转发装置。该装置应用于上述实施例提到的电机控制系统中,如图13所示,该装置包括通信模块1301和驱动模块1302。In this motor control system, the current commonly used servo controller is replaced by a motor drive and forwarding device. The motor drive and forwarding device mainly plays the role of forwarding parameters. Compared with the servo controller, the motor drive and forwarding device does not need to have higher processing capacity, and the cost is relatively low. In this way, the cost of the entire control system is reduced. Based on the same technical concept, the embodiment of the present application also provides a motor driving and forwarding device. The device is applied to the motor control system mentioned in the above embodiments, and as shown in FIG. 13 , the device includes a communication module 1301 and a drive module 1302 .
通信模块1301,用于获取所述电机驱动和转发装置连接的电机的电机状态参数,发送至集中计算处理装置,接收所述集中计算处理装置发送的电机控制参数。相应的处理参见上述步骤S402、S403、S405、S902、S903、S905以及与步骤相关的说明内容。The communication module 1301 is used to obtain the motor state parameters of the motor connected to the motor drive and forwarding device, send them to the centralized computing processing device, and receive the motor control parameters sent by the centralized computing processing device. For the corresponding processing, refer to the above steps S402, S403, S405, S902, S903, S905 and descriptions related to the steps.
驱动模块1402,用于基于所述电机控制参数,对所述电机驱动和转发装置连接的电机进行驱动。相应的处理参见上述步骤S402、S405、S902、S905以及与步骤相关的说明内容。The driving module 1402 is configured to drive the motor connected to the motor driving and forwarding device based on the motor control parameters. For the corresponding processing, refer to the above steps S402, S405, S902, S905 and descriptions related to the steps.
在一种可能的实现方式中,所述电机控制系统还包括图像监控装置,所述通信模块1301,还用于将接收自图像监控装置的所述电机的工作图像数据发送至所述集中计算处理装置。相应的处理参见上述步骤S903以及与步骤相关的说明内容。In a possible implementation manner, the motor control system further includes an image monitoring device, and the communication module 1301 is further configured to send the working image data of the motor received from the image monitoring device to the centralized computing processing device. For the corresponding processing, refer to the above-mentioned step S903 and the description content related to the steps.
在一种可能的实现方式中,所述通信模块1301,还用于将接收自所述集中计算处理装置的拍摄控制参数发送至所述图像监控装置。相应的处理参见上述步骤S905以及与步骤相关的说明内容。In a possible implementation manner, the communication module 1301 is further configured to send the shooting control parameters received from the centralized computing processing device to the image monitoring device. For the corresponding processing, refer to the above-mentioned step S905 and the description content related to the steps.
在一种可能的实现方式中,所述通信模块1301,用于接收所述集中计算处理装置发送的本电机驱动和转发装置对应的电机控制参数、以及其他电机驱动和转发装置对应的电机控制参数。In a possible implementation manner, the communication module 1301 is configured to receive motor control parameters corresponding to the motor driving and forwarding device and motor control parameters corresponding to other motor driving and forwarding devices sent by the centralized computing and processing device.
所述驱动模块1302,用于:将所述其他电机驱动和转发装置对应的电机控制参数,发送至所述其他电机驱动和转发装置;接收所述其他电机驱动和转发装置发送的所述本电机驱动和转发装置对应的电机控制参数;如果所述集中计算处理装置发送的所述本电机驱动和转发装置对应的电机控制参数,与所述其他电机驱动和转发装置发送的所述本电机驱动和转发装置对应的电机控制参数相同,则基于所述本电机驱动和转发装置对应的电机控制参数,对所述本电机驱动和转发装置连接的电机进行驱动。相应的处理参见上述对本申请实施例提供的关于第七种电机控制系统的说明内容。The drive module 1302 is configured to: send the motor control parameters corresponding to the other motor driving and forwarding devices to the other motor driving and forwarding devices; receive the motor control parameters corresponding to the motor driving and forwarding device sent by the other motor driving and forwarding devices; The motor connected to the driving and forwarding device is driven. For the corresponding processing, refer to the above-mentioned description about the seventh motor control system provided in the embodiment of the present application.
需要说明的是,上述通信模块1301、驱动模块1302可以由处理器实现,或者由处理器配合存储器来实现。 It should be noted that, the communication module 1301 and the driver module 1302 above may be implemented by a processor, or implemented by a processor combined with a memory.
本申请实施例中提到的电机自动化控制系统,包括集中计算处理装置、多个电机驱动和转发装置、以及多个电机。集中计算处理装置与多个电机驱动和转发装置中的每一个连接。每个电机驱动和转发装置分别与多个电机的至少一个连接。电机驱动和转发装置获取电机的电机状态参数,并发送至集中计算处理装置。集中计算处理装置基于电机状态参数,确定对应的电机控制参数,并发送至电机驱动和转发装置。电机驱动和转发装置基于电机控制参数,对电机驱动和转发装置连接的电机进行驱动,从而,实现对电机的实时控制。在该电机控制系统中,集中计算处理装置用于计算对应的电机控制参数,集中计算处理装置可以是计算机设备等,相对于当前常用的伺服控制器来说,集中计算处理装置具有更强的处理能力,即可以进行高频度和高复杂度的计算。这样,极大提高自动化生产的控制精度。The motor automation control system mentioned in the embodiment of the present application includes a centralized computing processing device, multiple motor drive and forwarding devices, and multiple motors. A centralized computational processing device is connected to each of the plurality of motor drive and forwarding devices. Each motor drive and forwarding device is respectively connected to at least one of the plurality of motors. The motor driving and forwarding device obtains the motor state parameters of the motor and sends them to the centralized computing processing device. The centralized calculation processing device determines the corresponding motor control parameters based on the motor state parameters, and sends them to the motor driving and forwarding device. The motor driving and forwarding device drives the motor connected to the motor driving and forwarding device based on the motor control parameters, thereby realizing real-time control of the motor. In the motor control system, the centralized calculation processing device is used to calculate the corresponding motor control parameters. The centralized calculation processing device can be computer equipment, etc. Compared with the current commonly used servo controller, the centralized calculation processing device has stronger processing capabilities, that is, it can perform high-frequency and high-complexity calculations. In this way, the control precision of automatic production is greatly improved.
在该电机控制系统中,用电机驱动和转发装置替代了当前常用的伺服控制器,电机驱动和转发装置主要起转发参数的作用,相对于伺服控制器来说,电机驱动和转发装置不需要具有较高的处理能力,成本也相对较低,这样,降低整个控制系统的成本。In this motor control system, the current commonly used servo controller is replaced by a motor drive and forwarding device. The motor drive and forwarding device mainly plays the role of forwarding parameters. Compared with the servo controller, the motor drive and forwarding device does not need to have higher processing capacity, and the cost is relatively low. In this way, the cost of the entire control system is reduced.
在该电机控制系统中,集中计算处理装置同时对多个电机驱动和转发装置、多个电机同时控制,这样,体现了对电机的扁平化的同步控制机制,提升了控制效率,降低了信息同步交互的时延,从而,进一步提高自动化生产的控制精度。In this motor control system, the centralized computing processing device simultaneously controls multiple motor drives and forwarding devices, and multiple motors simultaneously, thus reflecting a flat synchronous control mechanism for motors, improving control efficiency, and reducing the time delay of information synchronization and interaction, thereby further improving the control accuracy of automated production.
需要说明的是:上述实施例提供的电机驱动和转发装置在进行电机控制时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的电机驱动和转发装置与电机控制系统实施例、电机控制方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the motor drive and forwarding device provided in the above-mentioned embodiments performs motor control, the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned function distribution can be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the motor driving and forwarding device provided by the above-mentioned embodiments belongs to the same concept as the motor control system embodiment and the motor control method embodiment, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above-mentioned embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned storage medium can be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述仅为本申请一个实施例,并不用以限制本申请,凡在本申请的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。 The above description is only an embodiment of the present application, and is not intended to limit the present application. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included within the protection scope of the present application.

Claims (22)

  1. 一种电机控制系统,其特征在于,所述电机控制系统包括:集中计算处理装置、多个电机驱动和转发装置、以及多个电机,所述集中计算处理装置与所述多个电机驱动和转发装置中的每一个连接,每个电机驱动和转发装置分别与所述多个电机的至少一个连接;其中:A motor control system, characterized in that the motor control system comprises: a centralized computing processing device, a plurality of motor driving and forwarding devices, and a plurality of motors, the centralized computing processing device is connected to each of the multiple motor driving and forwarding devices, and each motor driving and forwarding device is respectively connected to at least one of the plurality of motors; wherein:
    所述集中计算处理装置,用于接收所述电机驱动和转发装置发送的电机状态参数,基于所述电机状态参数,确定电机控制参数,向所述电机驱动和转发装置发送所述电机控制参数;The centralized calculation processing device is used to receive the motor state parameters sent by the motor drive and forwarding device, determine the motor control parameters based on the motor state parameters, and send the motor control parameters to the motor drive and forwarding device;
    所述电机驱动和转发装置,用于获取所述电机驱动和转发装置连接的电机的电机状态参数,发送至所述集中计算处理装置,基于所述电机控制参数,对所述电机驱动和转发装置连接的电机进行驱动。The motor driving and forwarding device is used to obtain the motor state parameters of the motor connected to the motor driving and forwarding device, send them to the centralized computing processing device, and drive the motor connected to the motor driving and forwarding device based on the motor control parameters.
  2. 根据权利要求1所述的电机控制系统,其特征在于,所述电机控制系统还包括分发装置,所述集中计算处理装置与所述多个电机驱动和转发装置中的每一个连接,包括:所述集中计算处理装置通过所述分发装置与所述多个电机驱动和转发装置中的每一个连接;The motor control system according to claim 1, wherein the motor control system further comprises a distribution device, and the centralized computing processing device is connected to each of the plurality of motor driving and forwarding devices, comprising: the centralized computing processing device is connected to each of the multiple motor driving and forwarding devices through the distribution device;
    所述分发装置,用于将接收自所述集中计算处理装置的电机控制参数转发至所述每个电机驱动和转发装置,将接收自所述每个电机驱动和转发装置的电机状态参数发送至所述集中计算处理装置。The distributing device is configured to forward the motor control parameters received from the centralized computing and processing device to each of the motor driving and forwarding devices, and send the motor state parameters received from each of the motor driving and forwarding devices to the centralized computing and processing device.
  3. 根据权利要求1或2所述的电机控制系统,其特征在于,所述电机控制系统还包括图像监控装置,所述图像监控装置与所述电机驱动和转发装置相连接;The motor control system according to claim 1 or 2, wherein the motor control system further comprises an image monitoring device connected to the motor driving and forwarding device;
    所述图像监控装置,用于获取所述电机对应的工作图像数据,向所述电机驱动和转发装置发送所述工作图像数据;The image monitoring device is used to acquire working image data corresponding to the motor, and send the working image data to the motor driving and forwarding device;
    所述电机驱动和转发装置,还用于将所述工作图像数据发送至所述集中计算处理装置。The motor driving and forwarding device is also used to send the working image data to the centralized computing processing device.
  4. 根据权利要求3所述的电机控制系统,其特征在于,所述集中计算处理装置,还用于向所述电机驱动和转发装置发送拍摄控制参数;The motor control system according to claim 3, wherein the centralized computing processing device is further configured to send shooting control parameters to the motor driving and forwarding device;
    所述电机驱动和转发装置,还用于将所述拍摄控制参数发送至所述图像监控装置;The motor driving and forwarding device is also used to send the shooting control parameters to the image monitoring device;
    所述图像监控装置,用于当接收到所述拍摄控制参数时,基于所述拍摄控制参数获取所述电机对应的工作图像数据。The image monitoring device is configured to acquire working image data corresponding to the motor based on the shooting control parameters when receiving the shooting control parameters.
  5. 根据权利要求3所述的电机控制系统,其特征在于,所述基于所述电机状态参数,确定电机控制参数,包括:基于所述电机状态参数和所述工作图像数据,确定电机控制参数。The motor control system according to claim 3, wherein the determining the motor control parameters based on the motor state parameters comprises: determining the motor control parameters based on the motor state parameters and the working image data.
  6. 根据权利要求3所述的电机控制系统,其特征在于,所述电机驱动和转发装置向所述集中计算处理装置发送所述电机状态参数和向所述集中计算处理装置发送所述工作图像数据使用的是同一通信通道。The motor control system according to claim 3, wherein the motor driving and forwarding device uses the same communication channel to send the motor state parameters to the centralized computing and processing device and to send the working image data to the centralized computing and processing device.
  7. 根据权利要求1-6任一所述的电机控制系统,其特征在于,所述电机控制系统还包括多端口信息转发装置和辅助装置,所述多端口信息转发装置分别与所述集中计算处理装置、所述辅助装置相连接;The motor control system according to any one of claims 1-6, wherein the motor control system further comprises a multi-port information forwarding device and an auxiliary device, and the multi-port information forwarding device is respectively connected to the centralized computing processing device and the auxiliary device;
    所述多端口信息转发装置,用于将接收自所述集中计算处理装置的辅助控制参数发送至所述辅助装置;The multi-port information forwarding device is configured to send the auxiliary control parameters received from the centralized computing processing device to the auxiliary device;
    所述辅助装置,用于基于所述辅助控制参数,辅助所述电机控制系统工作。The auxiliary device is configured to assist the motor control system to work based on the auxiliary control parameters.
  8. 根据权利要求1-7任一所述的电机控制系统,其特征在于,所述多个电机驱动和转发装置中任意两个电机驱动和转发装置相连接。The motor control system according to any one of claims 1-7, characterized in that any two motor driving and forwarding devices in the plurality of motor driving and forwarding devices are connected.
  9. 根据权利要求8所述的电机控制系统,其特征在于,所述集中计算处理装置,用于:The motor control system according to claim 8, wherein the centralized computing processing device is used for:
    分别向所述多个电机驱动和转发装置中的第一电机驱动和转发装置以及第二电机驱动和 转发装置,发送所述第一电机驱动和转发装置对应的电机控制参数、以及所述第二电机驱动和转发装置对应的电机控制参数;To the first motor drive and forwarding device and the second motor drive and forwarding device in the plurality of motor driving and forwarding devices respectively A forwarding device for sending the motor control parameters corresponding to the first motor driving and forwarding device and the motor control parameters corresponding to the second motor driving and forwarding device;
    所述第一电机驱动和转发装置,用于:The first motor drive and forwarding device is used for:
    将所述第二电机驱动和转发装置对应的电机控制参数发送至所述第二电机驱动和转发装置;Sending motor control parameters corresponding to the second motor driving and forwarding device to the second motor driving and forwarding device;
    接收所述第二电机驱动和转发装置发送的所述第一电机驱动和转发装置对应的电机控制参数;receiving motor control parameters corresponding to the first motor driving and forwarding device sent by the second motor driving and forwarding device;
    如果所述集中计算处理装置发送的所述第一电机驱动和转发装置对应的电机控制参数,与所述第二电机驱动和转发装置发送的所述第一电机驱动和转发装置对应的电机控制参数相同,则基于所述第一电机驱动和转发装置对应的电机控制参数,对所述第一电机驱动和转发装置连接的电机进行驱动;If the motor control parameters corresponding to the first motor drive and forwarding device sent by the centralized computing processing device are the same as the motor control parameters corresponding to the first motor drive and forwarding device sent by the second motor drive and forwarding device, then the motor connected to the first motor drive and forwarding device is driven based on the motor control parameters corresponding to the first motor drive and forwarding device;
    所述第二电机驱动和转发装置,用于:The second motor driving and forwarding device is used for:
    将所述第一电机驱动和转发装置对应的电机控制参数发送至所述第一电机驱动和转发装置;Sending motor control parameters corresponding to the first motor driving and forwarding device to the first motor driving and forwarding device;
    接收所述第一电机驱动和转发装置发送的所述第二电机驱动和转发装置对应的电机控制参数;receiving motor control parameters corresponding to the second motor driving and forwarding device sent by the first motor driving and forwarding device;
    如果所述集中计算处理装置发送的所述第二电机驱动和转发装置对应的电机控制参数,与所述第一电机驱动和转发装置发送的所述第二电机驱动和转发装置对应的电机控制参数相同,则基于所述第二电机驱动和转发装置对应的电机控制参数,对所述第二电机驱动和转发装置连接的电机进行驱动。If the motor control parameters corresponding to the second motor drive and forwarding device sent by the centralized computing processing device are the same as the motor control parameters corresponding to the second motor drive and forwarding device sent by the first motor drive and forwarding device, then the motor connected to the second motor drive and forwarding device is driven based on the motor control parameters corresponding to the second motor drive and forwarding device.
  10. 根据权利要求1-9任一所述的电机控制系统,其特征在于,所述电机包括驱动器、电机本体和电机状态传感器,所述驱动器分别与所述电机本体、所述电机驱动和转发装置相连接,所述电机状态传感器分别与所述电机本体、所述电机驱动和转发装置相连接;The motor control system according to any one of claims 1-9, wherein the motor includes a driver, a motor body and a motor state sensor, the driver is respectively connected to the motor body, the motor driving and forwarding device, and the motor state sensor is respectively connected to the motor body, the motor driving and forwarding device;
    所述电机驱动和转发装置,用于将接收自所述集中计算处理装置的电机控制参数,发送至所述驱动器,将接收自所述驱动器和所述电机状态传感器的电机状态参数,发送至所述集中计算处理装置;The motor driving and forwarding device is used to send the motor control parameters received from the centralized computing processing device to the driver, and send the motor state parameters received from the driver and the motor state sensor to the centralized computing processing device;
    所述驱动器,用于基于接收自所述电机驱动和转发装置的电机控制参数,驱动所述电机本体运转。The driver is used to drive the motor body to run based on the motor control parameters received from the motor driving and forwarding device.
  11. 根据权利要求1-9任一所述的电机控制系统,其特征在于,所述电机驱动和转发装置包括通信部件和驱动器,所述电机包括电机本体和电机状态传感器,所述通信部件分别与所述驱动器、所述电机状态传感器、所述集中计算处理装置相连接,所述电机本体分别与所述驱动器、所述电机状态传感器相连接;The motor control system according to any one of claims 1-9, wherein the motor driving and forwarding device includes a communication component and a driver, the motor includes a motor body and a motor state sensor, the communication component is respectively connected to the driver, the motor state sensor, and the centralized computing processing device, and the motor body is connected to the driver and the motor state sensor respectively;
    所述通信部件,用于将接收自所述集中计算处理装置的电机控制参数,发送至所述驱动器,将接收自所述驱动器和所述电机状态传感器的电机状态参数,发送至所述集中计算处理装置;The communication component is configured to send the motor control parameters received from the centralized computing processing device to the driver, and send the motor state parameters received from the driver and the motor state sensor to the centralized computing processing device;
    所述驱动器,用于基于接收自所述通信部件的电机控制参数,驱动所述电机本体运转。The driver is configured to drive the motor body to run based on the motor control parameters received from the communication component.
  12. 一种电机控制方法,其特征在于,所述方法应用于电机控制系统,所述电机控制系统包括集中计算处理装置、多个电机驱动和转发装置、以及多个电机,所述方法包括:A motor control method, characterized in that the method is applied to a motor control system, and the motor control system includes a centralized computing processing device, a plurality of motor drive and forwarding devices, and a plurality of motors, and the method includes:
    所述电机驱动和转发装置获取所述电机驱动和转发装置连接的电机的电机状态参数,发送至所述集中计算处理装置;The motor drive and forwarding device obtains the motor state parameters of the motor connected to the motor drive and forwarding device, and sends them to the centralized computing processing device;
    所述集中计算处理装置基于所述电机状态参数,确定电机控制参数; The centralized calculation processing device determines motor control parameters based on the motor state parameters;
    所述集中计算处理装置向所述电机驱动和转发装置发送所述电机控制参数;The centralized computing processing device sends the motor control parameters to the motor driving and forwarding device;
    所述电机驱动和转发装置基于所述电机控制参数,对所述电机驱动和转发装置连接的电机进行驱动。The motor driving and forwarding device drives a motor connected to the motor driving and forwarding device based on the motor control parameters.
  13. 根据权利要求12所述的电机控制方法,其特征在于,所述电机控制系统还包括分发装置;The motor control method according to claim 12, wherein the motor control system further comprises a distribution device;
    所述集中计算处理装置向所述电机驱动和转发装置发送所述电机控制参数,包括:The centralized calculation processing device sends the motor control parameters to the motor drive and forwarding device, including:
    所述集中计算处理装置向所述分发装置发送所述电机控制参数;The centralized calculation processing device sends the motor control parameters to the distribution device;
    所述分发装置将所述电机控制参数转发至所述每个电机驱动和转发装置;said distributing means forwards said motor control parameters to said each motor driving and forwarding means;
    所述电机驱动和转发装置获取所述电机驱动和转发装置连接的电机的电机状态参数,发送至所述集中计算处理装置,包括:The motor drive and forwarding device obtains the motor state parameters of the motor connected to the motor drive and forwarding device, and sends them to the centralized computing processing device, including:
    所述电机驱动和转发装置获取所述电机驱动和转发装置连接的电机的电机状态参数,发送至所述分发装置;The motor drive and forwarding device obtains the motor state parameters of the motor connected to the motor drive and forwarding device, and sends them to the distribution device;
    所述分发装置将接收自所述每个电机驱动和转发装置的电机状态参数发送至所述集中计算处理装置。The distributing device sends the motor state parameters received from each motor driving and forwarding device to the centralized computing processing device.
  14. 根据权利要求12或13所述的电机控制方法,其特征在于,所述电机控制系统还包括图像监控装置,所述方法还包括:The motor control method according to claim 12 or 13, wherein the motor control system further includes an image monitoring device, and the method further includes:
    所述图像监控装置获取所述电机对应的工作图像数据,向所述电机驱动和转发装置发送所述工作图像数据;The image monitoring device acquires working image data corresponding to the motor, and sends the working image data to the motor driving and forwarding device;
    所述电机驱动和转发装置将所述工作图像数据发送至所述集中计算处理装置。The motor driving and forwarding device sends the working image data to the centralized computing processing device.
  15. 根据权利要求14所述的电机控制方法,其特征在于,所述方法还包括:The motor control method according to claim 14, further comprising:
    所述集中计算处理装置向所述电机驱动和转发装置发送拍摄控制参数;The centralized computing and processing device sends shooting control parameters to the motor driving and forwarding device;
    所述电机驱动和转发装置将所述拍摄控制参数发送至所述图像监控装置;The motor driving and forwarding device sends the shooting control parameters to the image monitoring device;
    所述图像监控装置基于所述拍摄控制参数获取所述电机对应的工作图像数据。The image monitoring device acquires working image data corresponding to the motor based on the shooting control parameters.
  16. 根据权利要求14所述的电机控制方法,其特征在于,所述集中计算处理装置基于所述电机状态参数,确定电机控制参数,包括:The motor control method according to claim 14, wherein the centralized computing processing device determines motor control parameters based on the motor state parameters, including:
    所述集中计算处理装置基于所述电机状态参数和所述工作图像数据,确定电机控制参数。The centralized calculation processing device determines motor control parameters based on the motor state parameters and the working image data.
  17. 根据权利要求14所述的电机控制方法,其特征在于,所述电机驱动和转发装置向所述集中计算处理装置发送所述电机状态参数和向所述集中计算处理装置发送所述工作图像数据使用的是同一通信通道。The motor control method according to claim 14, wherein the motor driving and forwarding device sends the motor state parameters to the centralized computing processing device and sends the working image data to the centralized computing processing device using the same communication channel.
  18. 根据权利要求12-17所述的电机控制方法,其特征在于,所述电机控制系统还包括多端口信息转发装置和辅助装置,所述方法还包括:The motor control method according to claims 12-17, wherein the motor control system further includes a multi-port information forwarding device and an auxiliary device, and the method further includes:
    所述集中计算处理装置向所述多端口信息转发装置发送辅助控制参数;The centralized computing processing device sends auxiliary control parameters to the multi-port information forwarding device;
    所述多端口信息转发装置将所述辅助控制参数,发送至所述辅助装置;The multi-port information forwarding device sends the auxiliary control parameters to the auxiliary device;
    所述辅助装置基于所述辅助控制参数,辅助所述电机控制系统工作。The auxiliary device assists the motor control system to work based on the auxiliary control parameters.
  19. 一种电机驱动和转发装置,其特征在于,所述装置包括:A motor drive and forwarding device, characterized in that the device comprises:
    通信模块,用于获取所述电机驱动和转发装置连接的电机的电机状态参数,发送至集中计算处理装置,接收所述集中计算处理装置发送的电机控制参数;The communication module is used to obtain the motor state parameters of the motor connected to the motor drive and the forwarding device, send them to the centralized computing processing device, and receive the motor control parameters sent by the centralized computing processing device;
    驱动模块,用于基于所述电机控制参数,对所述电机驱动和转发装置连接的电机进行驱动。The driving module is configured to drive the motor connected to the motor driving and forwarding device based on the motor control parameters.
  20. 根据权利要求19所述的电机驱动和转发装置,其特征在于,所述通信模块,还用于将接收自图像监控装置的所述电机的工作图像数据发送至所述集中计算处理装置。 The motor driving and forwarding device according to claim 19, wherein the communication module is further configured to send the working image data of the motor received from the image monitoring device to the centralized computing and processing device.
  21. 根据权利要求19所述的电机驱动和转发装置,其特征在于,所述通信模块,还用于将接收自所述集中计算处理装置的拍摄控制参数发送至所述图像监控装置。The motor driving and forwarding device according to claim 19, wherein the communication module is further configured to send the shooting control parameters received from the centralized computing and processing device to the image monitoring device.
  22. 根据权利要求19-21任一所述的电机驱动和转发装置,其特征在于,所述通信模块,用于接收所述集中计算处理装置发送的本电机驱动和转发装置对应的电机控制参数、以及其他电机驱动和转发装置对应的电机控制参数;The motor driving and forwarding device according to any one of claims 19-21, wherein the communication module is configured to receive the motor control parameters corresponding to the motor driving and forwarding device and the motor control parameters corresponding to other motor driving and forwarding devices sent by the centralized computing and processing device;
    所述驱动模块,用于:The drive module is used for:
    将所述其他电机驱动和转发装置对应的电机控制参数发送至所述其他电机驱动和转发装置;Sending motor control parameters corresponding to the other motor driving and forwarding devices to the other motor driving and forwarding devices;
    接收所述其他电机驱动和转发装置发送的所述本电机驱动和转发装置对应的电机控制参数;receiving the motor control parameters corresponding to the motor driving and forwarding device sent by the other motor driving and forwarding device;
    如果所述集中计算处理装置发送的所述本电机驱动和转发装置对应的电机控制参数,与所述其他电机驱动和转发装置发送的所述本电机驱动和转发装置对应的电机控制参数相同,则基于所述本电机驱动和转发装置对应的电机控制参数,对所述本电机驱动和转发装置连接的电机进行驱动。 If the motor control parameters corresponding to the motor drive and forwarding device sent by the centralized computing and processing device are the same as the motor control parameters corresponding to the motor drive and forwarding device sent by the other motor drive and forwarding devices, then the motor connected to the motor drive and forwarding device is driven based on the motor control parameters corresponding to the motor drive and forwarding device.
PCT/CN2023/072387 2022-01-20 2023-01-16 Motor control system, motor control method, and motor driving and forwarding device WO2023138536A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210067006.5 2022-01-20
CN202210067006.5A CN116526894A (en) 2022-01-20 2022-01-20 Motor control system, motor control method, and motor driving and forwarding device

Publications (1)

Publication Number Publication Date
WO2023138536A1 true WO2023138536A1 (en) 2023-07-27

Family

ID=87347825

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/072387 WO2023138536A1 (en) 2022-01-20 2023-01-16 Motor control system, motor control method, and motor driving and forwarding device

Country Status (2)

Country Link
CN (1) CN116526894A (en)
WO (1) WO2023138536A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5245257A (en) * 1990-07-30 1993-09-14 Hitachi, Ltd. Control system
JP2008183690A (en) * 2007-01-31 2008-08-14 Nachi Fujikoshi Corp Robot control device and system
CN105467930A (en) * 2015-11-28 2016-04-06 张碧陶 Machine vision and motion controller and servo driver integrated control system
CN111740643A (en) * 2020-07-17 2020-10-02 之江实验室 Multi-axis servo motor control system and method based on EtherCAT P bus technology
WO2021106467A1 (en) * 2019-11-25 2021-06-03 オムロン株式会社 Control system, control device, and control method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5245257A (en) * 1990-07-30 1993-09-14 Hitachi, Ltd. Control system
JP2008183690A (en) * 2007-01-31 2008-08-14 Nachi Fujikoshi Corp Robot control device and system
CN105467930A (en) * 2015-11-28 2016-04-06 张碧陶 Machine vision and motion controller and servo driver integrated control system
WO2021106467A1 (en) * 2019-11-25 2021-06-03 オムロン株式会社 Control system, control device, and control method
CN111740643A (en) * 2020-07-17 2020-10-02 之江实验室 Multi-axis servo motor control system and method based on EtherCAT P bus technology

Also Published As

Publication number Publication date
CN116526894A (en) 2023-08-01

Similar Documents

Publication Publication Date Title
US8965574B2 (en) Method for controlling an automated work cell
CN103425106A (en) Linux-based Ethercat maser/slave station control system and method
CN108638066A (en) A kind of device of conveyer belt synchronized tracking for robot, method and system
KR102088182B1 (en) Communication control system and communication control method
JP2013526418A (en) Method for controlling an automated work cell
CN105881504A (en) Delta robot control system with traction visual teaching function
US20100185325A1 (en) Apparatus and method for controlling multi-axis robot
CN110515358B (en) Control method of automatic production line parallel control system based on integrated controller
US20220080601A1 (en) Machine control via wireless communication
WO2023138536A1 (en) Motor control system, motor control method, and motor driving and forwarding device
CN109676633A (en) Three shaft mechanical arm position control system and methods
CN107861414B (en) Method and system for realizing synchronous motion of servo motor, main controller and servo driver
CN108858209A (en) A kind of industrial robot controller
CN109093624B (en) Continuous interpolation motion control method for complex curve of mechanical arm
CN102360222A (en) Method, device and remote controller for controlling mechanical arm of construction machine
US20230131842A1 (en) Multi-axis servo control system
CN103552711A (en) Multi-axis control device, circle following method and packer
CN103552072B (en) A kind of robot control method based on embedded controller and device
CN107645979A (en) For making the synchronous robot system of the motion of robot arm
CN105334806B (en) Industrial robot motion control method and system based on EtherCAT buses
CN111522313B (en) Method for controlling servo motor curve motion based on CANOPEN protocol
CN108170102B (en) Motion control system
CN208195877U (en) A kind of Intelligent welder control system
TWI834071B (en) Multi-axis servo control system
CN100377019C (en) Push-in type multishaft motion controller

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23742851

Country of ref document: EP

Kind code of ref document: A1