Frequency converter communication method and device, industrial automation control system and medium

By creating multiple transmission channels in the frequency converter communication device, each channel loads different communication protocol data models, solving the problem of limited application scenarios caused by the single -nature of the transitional communication protocol in the existing technology, realizing the inverter and different differential transformers and different differentials. The efficient data transmission between control systems improves compatibility and flexibility.

CN119383210APending Publication Date: 2025-01-28CHANGSHA YINGWEITENG ELECTRIC TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411627940.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-14
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

Existing inverter communication devices only support a single communication protocol, which limits their application scenarios between different types of control systems.

Method used

By creating multiple transmission channels, each channel loads different communication protocol data models to determine the target transmission channel to meet the real -time needs of data to be transmitted, and distribute the data to the target channel for processing.

Benefits of technology

The efficient and accurate data transmission of the control system between the inverter and the different communication protocols, improve the compatibility and flexibility of the inverter, and adapt to a wider range of industrial automation application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119383210A_ABST
    Figure CN119383210A_ABST
Patent Text Reader

Abstract

The invention discloses a frequency converter communication method and device, an industrial automation control system and a medium. The method comprises the following steps: creating a plurality of transmission channels; at least two transmission channels load different communication protocol data models; in response to the received to-be-transmitted data output by the sending end, determining a target transmission channel in the plurality of transmission channels; the communication protocol data model of the target transmission channel meets the real-time requirement of the to-be-transmitted data; and distributing the to-be-transmitted data to the target transmission channel so as to process the to-be-transmitted data according to the communication protocol data model loaded by the target transmission channel, and transmitting the processed data to a receiving end. Interaction between the frequency converter and a control system using different communication protocols can be supported, it is ensured that data can be efficiently and accurately transmitted to the receiving end, the compatibility and flexibility of the frequency converter are improved, and the frequency converter can adapt to wider industrial automation application scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of industrial communication, and in particular to a frequency converter communication method, equipment, industrial automation control system and medium. Background Art

[0002] In the field of industrial automation, the inverter is a key device that adjusts the motor speed to control mechanical movement. Its main function is to adjust the motor speed to accurately control mechanical movement. In order to achieve this function, the inverter needs to communicate with the control system efficiently and reliably. However, the current inverter communication equipment often only supports a single communication protocol, such as OPC UA (Open Platform Communications Unified Architecture) or PROFINET (PROcess FIeld NETwork). When it is necessary to interact with different types of control systems, the support of this single protocol limits the application scenarios of the inverter.

[0003] Therefore, how to provide a solution to the above technical problems is a problem that those skilled in the art need to solve at present. Summary of the invention

[0004] The purpose of the present invention is to provide a frequency converter communication method, equipment, industrial automation control system and medium, which can support the interaction between the frequency converter and control systems using different communication protocols, ensure that data can be transmitted to the receiving end efficiently and accurately, improve the compatibility and flexibility of the frequency converter, and enable it to adapt to a wider range of industrial automation application scenarios.

[0005] In order to solve the above technical problems, the present invention provides a frequency converter communication method, comprising:

[0006] Creating a plurality of transmission channels; loading different communication protocol data models on at least two of the transmission channels;

[0007] In response to receiving the data to be transmitted output by the transmitting end, determining a target transmission channel among the plurality of transmission channels; the target transmission channel meets the real-time requirement of the data to be transmitted;

[0008] The data to be transmitted is allocated to the target transmission channel so as to process the data to be transmitted according to the communication protocol data model loaded by the target transmission channel, and the processed data is transmitted to the receiving end.

[0009] Optionally, the process of creating multiple transmission channels includes:

[0010] Acquire current device model data and current network configuration data, wherein the current device model data includes a plurality of communication protocol data models;

[0011] A plurality of transmission channels are created based on the current device model data and the current network configuration data.

[0012] Optionally, the process of obtaining the current device model data and the current network configuration data includes:

[0013] Acquire first device model data and first network configuration data in a preset storage area;

[0014] Verifying the first device model data and the first network configuration data;

[0015] In response to successful verification, using the first device model data as current device model data and using the first network configuration data as current network configuration data;

[0016] In response to the verification failure, the default device model data is used as the current device model data, and the default network configuration data is used as the current network configuration data.

[0017] Optionally, the preset storage area includes a first storage area and a second storage area;

[0018] The process of acquiring the first device model data and the first network configuration data in the preset storage area includes:

[0019] Acquire first device model data and first network configuration data in the first storage area;

[0020] The process of verifying the first device model data and the first network configuration data includes:

[0021] Acquire second device model data and second network configuration data in the second storage area; the second device model data is obtained by backing up the first device model data, and the second network configuration data is obtained by backing up the first network configuration data;

[0022] In response to the first network configuration data and the second network configuration passing the cross-validation and security verification, and the first device model data and the second device model data passing the cross-validation and security verification, it is determined that the verification is successful, otherwise, it is determined that the verification fails.

[0023] Optionally, after creating the multiple transmission channels, the inverter communication method further includes:

[0024] For each first channel that meets the high real-time transmission condition among the plurality of transmission channels, a plurality of sub-channels are created in the first channel according to the communication protocol data model loaded by the first channel; at least two of the sub-channels transmit different types of data to be transmitted;

[0025] The process of allocating the data to be transmitted to the target transmission channel includes:

[0026] When the target transmission channel is the first channel, the current type of the data to be transmitted is determined, and the data to be transmitted is allocated to a sub-channel in the first channel corresponding to the current type.

[0027] Optionally, after creating multiple transmission channels, the inverter communication method further includes:

[0028] For each second channel in the plurality of transmission channels, an OPC UA object block is loaded for the second channel, each OPC UA object in the OPC UA object block is registered in a pre-created address space, and the address space is published so that an OPC UA client can access the OPC UA objects in the address space; the communication protocol data model loaded by the second channel is an OPC UA data model.

[0029] Optionally, the inverter communication method further includes:

[0030] Based on the communication protocol data model loaded by the transmission channel, configuring a processing priority for the transmission channel; the real-time requirement corresponding to the communication protocol data model is positively correlated with the processing priority;

[0031] The process of processing the data to be transmitted according to the communication protocol data model loaded by the target transmission channel includes:

[0032] When there are multiple target transmission channels, the data to be transmitted is processed in descending order of the processing priority according to the communication protocol data model loaded by each target transmission channel.

[0033] In order to solve the above technical problems, the present invention further provides a frequency converter communication device, comprising: a first communication interface connected to the frequency converter, a second communication interface connected to the control system, and further comprising:

[0034] A memory, for storing a communication protocol data model;

[0035] A processor is used to implement the steps of the inverter communication method as described in any one of the above.

[0036] In order to solve the above technical problems, the present invention also provides an industrial automation control system, comprising:

[0037] Frequency converter;

[0038] at least one control system;

[0039] A frequency converter communication device as described above, connected to the frequency converter and the control system respectively.

[0040] To solve the above technical problems, the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the inverter communication method as described in any one of the above are implemented.

[0041] The present application provides a frequency converter communication method, which first creates multiple transmission channels for transmitting data between the frequency converter and the control system, wherein at least two transmission channels are loaded with different communication protocol data models to support the interaction between the frequency converter and the control system using different communication protocols, thereby improving the compatibility and flexibility of the frequency converter and enabling it to adapt to a wider range of industrial automation application scenarios. When the data to be transmitted output by the transmitting end is received, the data to be transmitted is assigned to the target transmission channel, and the communication protocol data model of the target transmission channel needs to meet the real-time requirements of the data to be transmitted. The data to be transmitted is processed according to the communication protocol data model of the target transmission channel to ensure that the data can be efficiently and accurately transmitted to the receiving end, thereby improving the performance and reliability of the entire system.

[0042] The present application also provides a frequency converter communication device, an industrial automation control system and a computer-readable storage medium, which have the same beneficial effects as the above-mentioned frequency converter communication method. BRIEF DESCRIPTION OF THE DRAWINGS

[0043] In order to more clearly illustrate the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0044] Figure 1 A schematic diagram of the structure of a communication device provided by the present invention;

[0045] Figure 2 A flow chart of the steps of a frequency converter communication method provided by the present invention;

[0046] Figure 3 A flowchart of another frequency converter communication method provided by the present invention;

[0047] Figure 4 A schematic diagram of the structure of a frequency converter communication device provided by the present invention;

[0048] Figure 5 This is a schematic diagram of the structure of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION

[0049] The core of the present invention is to provide a frequency converter communication method, equipment, industrial automation control system and medium, which can support the interaction between the frequency converter and control systems using different communication protocols, ensure that data can be transmitted to the receiving end efficiently and accurately, improve the compatibility and flexibility of the frequency converter, and enable it to adapt to a wider range of industrial automation application scenarios.

[0050] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0051] In a first aspect, the present invention provides a frequency converter communication method. To facilitate understanding of the frequency converter communication method, a communication device applicable to the method is described. Figure 1 As shown, the communication device is mainly composed of a data processing unit, multiple Ethernet interfaces, a control board interface and a memory. Among them, the control board interface is mainly used to connect the inverter so that the data processing unit can exchange data with the inverter. The Ethernet interface can be used to connect the control system, such as the PROFINET master station, OPC UA client, etc. The Ethernet interface can also be used to connect the Ethernet interface of other communication devices, so as to realize the networking of multiple inverters, such as realizing the formation of a PROFINET or OPC UA communication system between various inverters and other devices to realize data transmission.

[0052] The data processing unit is the core part of the inverter communication method described below. It is responsible for processing and forwarding data, such as receiving data from the Ethernet interface, performing protocol processing on the received data, and transmitting the processed data to the inverter through the SPI (Serial Peripheral Interface) interface or parallel port, thereby ensuring the real-time and accuracy of the data. The data processing unit can be built with a general-purpose processor chip, such as an ARM 52 chip. Of course, other general-purpose processor chips can also be selected, without the need to use a dedicated PROFINET chip, thereby reducing development costs and development difficulties, enabling inverters and other devices to achieve PROFINET communication at low cost, and also compatible with OPC_UA communication. The memory stores at least the program firmware of the data processing unit, which is loaded and run after the data processing unit is powered on.

[0053] As an optional embodiment, the data processing unit can be connected to the memory through a QSPI (Quad Serial Peripheral Interface) bus, and connected to the inverter through an SPI bus or a parallel port. This connection method provides a flexible data transmission path, which can adapt to different communication requirements and environments and improve the performance and reliability of the industrial automation system. The communication device is configured in the inverter and used as a communication interface. Specifically, the communication device can be plugged into the corresponding slot of the inverter. Of course, in addition to the above-mentioned connection method, other methods can also be used, which are not limited in this embodiment.

[0054] Please refer to Figure 2 The present invention provides a frequency converter communication method, comprising:

[0055] S101: Create multiple transmission channels; load different communication protocol data models on at least two transmission channels.

[0056] In this embodiment, in order to improve the flexibility and efficiency of communication, multiple transmission channels are created inside the data processing unit. After the creation is completed, each transmission channel is started. The transmission channel here is a logical transmission channel. The logical transmission channel is different from the physical hardware channel. They are defined at the software level and are used to process and transmit different types of data. Specifically, in the software architecture of the data processing unit, at least two logical transmission channels are defined, and each logical transmission channel can be configured as an independent task or thread in the software to ensure parallel processing of data transmission. At least two logical transmission channels load different communication protocol data models. Assuming that there are two logical transmission channels, one logical transmission channel loads the PROFINET protocol data model, and the other logical transmission channel loads the OPC UA protocol data model. Assuming that there are three logical transmission channels, two logical transmission channels can load the PROFINET protocol data model, and the remaining logical transmission channel loads the OPC UA protocol data model. In this way, the data processing unit can support multiple communication protocols at the same time to meet the needs of different control systems, wherein the control system includes but is not limited to the PROFINET master station or the OPC UA client. The number of logical transmission channels created and the loading method are set according to the actual engineering scenario, and this embodiment is not specifically limited here.

[0057] By creating multiple logical transmission channels and loading different communication protocol data models, the data processing unit can handle communication requests from different control systems more flexibly while maintaining efficient transmission performance and data processing accuracy, which not only improves the compatibility of the system, but also enhances its adaptability in complex industrial environments.

[0058] As an optional embodiment, after creating multiple transmission channels, the multiple transmission channels can also be managed, such as monitoring and controlling the status of the transmission channels, including but not prior to startup, shutdown, etc. Further, a configuration interface can be provided to allow users to configure or update the communication protocol data model loaded by the channel according to actual application requirements, thereby realizing the maintenance function of the data model, including but not limited to version management, error handling and performance monitoring, etc.

[0059] S102: In response to receiving the data to be transmitted output by the transmitting end, determining a target transmission channel among multiple transmission channels; the target transmission channel meets the real-time requirement of the data to be transmitted.

[0060] Considering that this embodiment realizes bidirectional interaction between the frequency converter and the control system, when the transmitting end is the frequency converter, the receiving end is the control system, and when the transmitting end is the control system, the frequency converter is the receiving end.

[0061] When receiving the data to be transmitted output by the transmitter, the data to be transmitted is parsed to obtain the real-time requirements of the data to be transmitted. For example, if the data to be transmitted is a control command, the control command may require a quick response, so the real-time requirements of the data to be transmitted are high real-time requirements. For example, if the data to be transmitted is status monitoring data, the status monitoring data may not have high real-time requirements, so the real-time requirements of the data to be transmitted are low real-time requirements. After determining the high and low real-time requirements, real-time requirement parameters can also be obtained in a targeted manner. The real-time requirement parameters include but are not limited to the maximum allowable delay of data transmission, data update frequency, etc. Based on the real-time requirement analysis, a target transmission channel is determined among multiple transmission channels. For example, if the data to be transmitted is an emergency control command and requires a quick response, considering that PROFINET is usually used for real-time control, the transmission channel loaded with the PROFINET communication protocol data model is selected as the target transmission channel; if the data to be transmitted is status detection data, no quick response is required, considering that the OPC UA protocol is more suitable for non-real-time or low-frequency updated data transmission, the transmission channel loaded with the OPC UA communication protocol data model is selected as the target transmission channel.

[0062] As an optional embodiment, if there are multiple transmission channels loaded with PROFINET protocol, the target transmission channel can be selected according to the current load conditions, priority configuration, etc. of each transmission channel loaded with PROFINET protocol, such as selecting a transmission channel with a lower current load as the target transmission channel to reduce delay, or selecting a channel with a higher processing priority as the target transmission channel. In this way, it can be ensured that the real-time requirements of the data to be transmitted match the capabilities of the transmission channel, thereby ensuring the real-time and reliability of the two-way interaction between the inverter and the control system.

[0063] For example, suppose the frequency converter needs to send an emergency stop command to the control system. This command requires extremely low transmission delay. After receiving the command, the data processing unit immediately parses it and recognizes that this is data with extremely high real-time requirements. According to the internal selection logic, this emergency stop command is mapped to the transmission channel loaded with the PROFINET protocol. Because the PROFINET protocol supports fast data transmission and is suitable for real-time control applications, if there are multiple transmission channels loaded with the PROFINET protocol at the same time, the channel with the lowest current load may be selected to ensure that the command can be received by the control system as quickly as possible.

[0064] S103: Allocate the data to be transmitted to the target transmission channel, so as to process the data to be transmitted according to the communication protocol data model loaded by the target transmission channel, and transmit the processed data to the receiving end.

[0065] In this embodiment, after the target transmission channel is determined, the data to be transmitted is allocated to the target transmission channel. The allocation process may involve placing the data into a buffer or queue associated with the target transmission channel. The data to be transmitted is processed on the target transmission channel according to the loaded communication protocol data model. The processing steps include but are not limited to data encapsulation, format conversion, error detection and correction, etc. Data encapsulation is to encapsulate the data to be transmitted into a format specified by the communication protocol. For example, in the PROFINET protocol, the data may need to be encapsulated according to a specific frame format. The format conversion includes but is not limited to converting one format to another format. Error detection includes but is not limited to adding or checking error detection codes to ensure the reliability of data transmission. The processed data is transmitted to the receiving end (inverter or control system) through the target transmission channel. The transmission process follows the rules of the selected communication protocol to ensure the correctness and integrity of the data. The receiving end decapsulates and processes the received data according to its communication protocol data model. If the control system receives the data, the control system will execute the corresponding control command or update the status information according to the data content. If the inverter receives the data, it will adjust its operating parameters or perform other operations according to the control command.

[0066] In this embodiment, the data processing and transmission strategies can be flexibly adjusted according to different real-time requirements, and appropriate transmission channels and processing steps can be selected to ensure that data is transmitted according to the established real-time requirements, thereby improving the efficiency, accuracy and reliability of data transmission.

[0067] It can be seen that in this embodiment, multiple transmission channels for transmitting data between the frequency converter and the control system are first created, and at least two transmission channels are loaded with different communication protocol data models to support the interaction between the frequency converter and the control system using different communication protocols, thereby improving the compatibility and flexibility of the frequency converter and enabling it to adapt to a wider range of industrial automation application scenarios. When the data to be transmitted output by the transmitter is received, the data to be transmitted is assigned to the target transmission channel. The communication protocol data model of the target transmission channel needs to meet the real-time requirements of the data to be transmitted. The data to be transmitted is processed according to the communication protocol data model of the target transmission channel to ensure that the data can be efficiently and accurately transmitted to the receiving end, thereby improving the performance and reliability of the entire system.

[0068] Based on the above embodiments:

[0069] In an exemplary embodiment, the process of creating multiple transmission channels includes:

[0070] Obtain current device model data and current network configuration data, where the current device model data includes multiple communication protocol data models;

[0071] Multiple transmission channels are created based on current device model data and current network configuration data.

[0072] In this embodiment, the device model data includes module network interface point data, channel parameter data and user application data. The module network interface point data includes but is not limited to communication protocol model data, which defines the interface point of the communication device in the network, such as IP address, port number, communication protocol type (such as PROFINET, OPC UA), etc. The network configuration data includes but is not limited to the network topology, the location of the device in the network, and the network communication capability (such as redundancy capability, bandwidth, delay, etc.). The data processing unit uses the network configuration data to set the interface communication capability of the network interface point. The interface communication capability includes but is not limited to redundancy capability, etc. The channel parameter data is used to configure the multi-channel mode of the data processing unit. The channel parameter data includes but is not limited to the priority, bandwidth allocation, quality of service (QoS), etc. of the channel. The user application data can be dynamically combined into multiple data objects by level, including but not limited to control logic, monitoring parameters, alarm thresholds, etc.

[0073] After obtaining the current device model data and the current network configuration data, the module network interface point data is first parsed to determine the communication protocol model data of each interface point, and then the channel parameter data is parsed to determine how to configure multiple transmission channels and the characteristics of each transmission channel. The network configuration data is used to set the communication capabilities of each network interface point, such as configuring redundant paths, determining bandwidth allocation, etc. For each network interface point, a corresponding transmission channel is created according to its communication protocol model data, and the channel parameter data is used to configure the specific parameters of each transmission channel, such as priority, QoS, etc. User application data is dynamically combined into multiple data objects according to hierarchy and demand, and these data objects will be mapped to the corresponding transmission channels.

[0074] It can be understood that by dynamically combining user application data, it is possible to flexibly adapt to different application scenarios, configure the redundancy of network interface points, ensure that when one path fails, data can be transmitted through a backup path, and through pre-defined channel parameter data, the transmission channel can be quickly configured to improve deployment efficiency. By adopting the solution of this embodiment, the data processing unit can ensure that the communication between the inverter and the control system is efficient and reliable, meeting the requirements of the industrial automation system for real-time performance and stability.

[0075] In an exemplary embodiment, the process of obtaining current device model data and current network configuration data includes:

[0076] Acquire first device model data and first network configuration data in a preset storage area;

[0077] Verifying the first device model data and the first network configuration data;

[0078] In response to successful verification, using the first device model data as current device model data and the first network configuration data as current network configuration data;

[0079] In response to the verification failure, the default device model data is used as the current device model data, and the default network configuration data is used as the current network configuration data.

[0080] In this embodiment, the preset storage area is a storage space in the memory of the inverter communication device. The data processing unit obtains the first device model data and the first network configuration data in the preset storage area. The device model data and the network configuration data stored in the preset storage area can be user-defined configurations according to actual needs. The first device model data and the first network configuration data are verified respectively to ensure the integrity and accuracy of the data. If both are verified successfully, it means that the data in the preset storage area is valid. Then, multiple transmission channels are created according to the first device model data and the first network configuration data taken out from the preset storage area. If either of the two fails to be verified, it means that the data in the preset storage area is invalid. Then, the default device model data and the default network configuration data are selected as the current network configuration data to create multiple transmission channels. The default device model data and the default network configuration data are stored in the local memory of the data processing unit. The default data can be the default configuration preset when the device leaves the factory, or the basic configuration set to ensure that the device can run when the preset storage area data cannot be used.

[0081] This embodiment ensures that the data obtained from the preset storage area is valid by verification, reducing the possibility of configuration errors. The default data provides a basic operating environment, and the device can still operate even if the data in the preset storage area is invalid. If there is a problem with the data in the preset storage area, it can be easily switched to the default data without reconfiguring the entire system. The solution of this embodiment can ensure that the inverter communication device can operate stably under various circumstances, and at the same time provide a data verification and fault recovery mechanism, thereby improving the reliability and security of the system.

[0082] In an exemplary embodiment, the preset storage area includes a first storage area and a second storage area;

[0083] The process of acquiring the first device model data and the first network configuration data in the preset storage area includes:

[0084] Acquire first device model data and first network configuration data in a first storage area;

[0085] The process of verifying the first device model data and the first network configuration data includes:

[0086] Acquire second device model data and second network configuration data in the second storage area; the second device model data is obtained by backing up the first device model data, and the second network configuration data is obtained by backing up the first network configuration data;

[0087] In response to the first network configuration data and the second network configuration data passing the cross-validation and the security check, and the first device model data and the second device model data passing the cross-validation and the security check, it is determined that the verification succeeds, otherwise, it is determined that the verification fails.

[0088] In this embodiment, the device model data and the network configuration data are stored in two data areas of the memory using a secure backup method, namely, the first storage area and the second storage area in this embodiment. The data in the two data storage areas are saved using two methods: cross-verification and security verification. After the data processing unit loads and runs the program firmware, it first obtains the first device model data and the first network configuration data from the first storage area of ​​the memory. The first storage area is a data area in the device memory, which is used to store the main device model data and the network configuration data. At the same time, the data processing unit obtains the second device model data and the second network configuration data from the second storage area of ​​the memory. The second storage area is another data area of ​​the device, which is used to store the backup device model data and network configuration data. First, cross-verification is performed to compare the data in the first storage area and the second storage area. If the two data segments are consistent, the next step of security verification is continued. If they are inconsistent, it is determined that the verification fails. Security verification is performed on the data in the first storage area and the second storage area, including but not limited to integrity verification (such as CRC verification), version number comparison, etc. If both data segments pass the security verification, the verification is successful, otherwise, the verification fails.

[0089] This embodiment improves the security and reliability of data by storing the same data in two storage areas. In actual use, the integrity and accuracy of data are ensured through cross-verification and security verification.

[0090] In an exemplary embodiment, after creating a plurality of transmission channels, the inverter communication method further includes:

[0091] For each first channel among the plurality of transmission channels that meets the high real-time transmission condition, a plurality of sub-channels are created in the first channel according to the communication protocol data model loaded in the first channel; at least two of the sub-channels transmit different types of data to be transmitted;

[0092] The process of allocating the data to be transmitted to the target transmission channel includes:

[0093] When the target transmission channel is the first channel, the current type of the data to be transmitted is determined, and the data to be transmitted is allocated to a sub-channel in the first channel corresponding to the current type.

[0094] In this embodiment, after multiple transmission channels are created, at least one first channel is first divided, and the first channel is only used to transmit data to be transmitted with high real-time transmission requirements, and other data is prohibited from being transmitted in this channel, that is, the first channel meets the high real-time transmission conditions, and a communication protocol data model that can meet the high real-time transmission requirements is loaded on the first channel. For each first channel that meets the high real-time transmission conditions, multiple sub-channels are created in the channel according to the loaded communication protocol data model, and the creation of the sub-channel is based on the loaded communication protocol data model to ensure that the data can be transmitted in the format specified by the protocol, wherein at least two sub-channels transmit different types of data to be transmitted, and the types of sub-channels include but are not limited to network interface point channels and application data channels, wherein the network interface point channel is used to transmit data directly related to the network interface, and the application data channel transmits user data in the communication protocol data model.

[0095] When the target transmission channel is the first channel, the current type of the data to be transmitted is determined, and the data to be transmitted is allocated to the sub-channel corresponding to the current type in the first channel. For example, assuming that the current type of a certain data to be transmitted is a control command, considering that the control command requires a quick response and the control command is data in the application layer, it should be allocated to the application data channel of the first channel; assuming that the current type of a certain data to be transmitted is network configuration data, the network configuration data requires a quick update and response, and directly affects the configuration of the network interface, so it should be allocated to the network interface point channel of the first channel.

[0096] It can be understood that by creating sub-channels within the transmission channel, different types of data transmission can be managed more effectively. The high real-time communication channel and its sub-channels ensure that data with high real-time requirements can be transmitted at the fastest speed. In addition, sub-channels can be dynamically created and managed according to different application scenarios and real-time requirements, thereby further optimizing the performance of the inverter communication equipment and ensuring that data can be transmitted in the most efficient and accurate manner in various complex and real-time demanding industrial automation environments.

[0097] The first channel may be a transmission channel loaded with a PROFINET data model, or may be a transmission channel loaded with other communication protocols that meet high real-time transmission requirements. It may be set according to actual project needs, and this embodiment does not make any specific limitation here.

[0098] In another optional embodiment, after creating multiple transmission channels, at least one transmission channel can be selected as a low real-time communication channel to load model data with low real-time requirements and transmit data with low real-time requirements.

[0099] In an exemplary embodiment, after creating a plurality of transmission channels, the inverter communication method further includes:

[0100] For each second channel in the plurality of transmission channels, an OPC UA object block is loaded for the second channel, each OPC UA object in the OPC UA object block is registered in a pre-created address space, and the address space is published so that an OPC UA client can access the OPC UA objects in the address space; the communication protocol data model loaded by the second channel is an OPC UA data model.

[0101] In this embodiment, the OPC UA protocol is explained, and the transmission channel loaded with the OPC UA data model is determined as the second channel, and the second channel is used to realize the communication between the OPC UA client and the frequency converter. The data processing unit loads the OPC UA object block into the second channel. The OPC UA object block contains a series of OPC UA objects, which represent the status, control commands, parameter settings, etc. of the frequency converter. Each OPC UA object in the OPC UA object block is registered in the pre-created address space. The address space is a namespace in the OPC UA network, which is used to organize and access OPC UA objects. The data processing unit publishes the registered address space to make it visible in the OPC UA network. After the address space is published, the OPC UA client can access the OPC UA objects in the address space. By using the OPC UA object block and the address space, standardized communication with the OPC UA client is realized. The OPC UA protocol supports interoperability between devices and systems of different manufacturers. The OPC UA client can centrally manage and control the frequency converter by accessing the OPC UA objects in the address space.

[0102] For example, assuming that the OPC UA client wants to set the speed of the frequency converter to α1, the OPC UA client software accesses the pre-created address space and generates a write request, which is sent to the data processing unit through the OPC UA network. The data processing unit receives the request, parses the request content, assigns the request to the OPC UA transmission channel, and encapsulates the request data, and sends the encapsulated request to the frequency converter through the transmission channel. After receiving the request, the frequency converter parses the request content and adjusts the motor speed according to the speed value in the request. The frequency converter generates a response to confirm that the speed setting is successful. The frequency converter sends the response back to the data processing unit through the transmission channel. The data processing unit receives the response and encapsulates it into the OPC UA format. The encapsulated response is sent back to the OPC UA client through the transmission channel.

[0103] In this embodiment, the data processing unit can effectively support the OPC UA protocol, providing a standardized and easily expandable communication method, so that the inverter can be seamlessly integrated with other OPC UA compatible systems. In an exemplary embodiment, the inverter communication method also includes:

[0104] Based on the communication protocol data model loaded by the transmission channel, a processing priority is configured for the transmission channel; the real-time requirement corresponding to the communication protocol data model is positively correlated with the processing priority;

[0105] The process of processing the data to be transmitted according to the communication protocol data model loaded by the target transmission channel includes:

[0106] When there are multiple target transmission channels, the data to be transmitted is processed in descending order of processing priority according to the communication protocol data model loaded by each target transmission channel.

[0107] In this embodiment, the processing priority is configured for the transmission channel according to the communication protocol data model loaded by the transmission channel, and the real-time requirement corresponding to the communication protocol data model is positively correlated with the processing priority, that is, the higher the real-time requirement, the higher the processing priority. When there are multiple target transmission channels with data to be transmitted, the data to be transmitted on each target transmission channel is processed in sequence according to the order of processing priority from high to low, and the data with high real-time requirements are processed first to ensure that these data can be quickly transmitted and processed. Exemplarily, it is assumed that two transmission channels are created, the first transmission channel is loaded with the PROFINET data model, and its real-time requirement is high, and the second transmission channel is loaded with the OPC UA data model, and its real-time requirement is low. Therefore, the processing priority of the first transmission channel is higher than the processing priority of the second transmission channel. If in a certain processing time period, both the first transmission channel and the second transmission channel include data to be transmitted, at this time, the data in the first transmission channel is processed first, and the data in the first transmission channel is processed after the data processing is completed, and then the data in the second transmission channel is processed, and so on.

[0108] Furthermore, for the data to be transmitted in each transmission channel, the processing priority of each data to be transmitted can also be determined. The processing priority is positively correlated with the real-time requirement of the data to be transmitted. Assume that data 1 is an emergency control command with very high real-time requirement, data 2 is status monitoring data with medium real-time requirement, and data 3 is parameter setting data with low real-time requirement. Among them, data 1 is assigned to the first transmission channel, and data 2 and data 3 are assigned to the second transmission channel. According to the processing priority, data 1 is processed first, then data 2, and finally data 3.

[0109] By adopting this embodiment, it can be ensured that data with high real-time requirements can be processed preferentially, thereby meeting the requirements for real-time performance and reliability in the industrial automation system.

[0110] In summary, please refer to Figure 3 , Figure 3A flow chart of the steps of another inverter communication method provided by an embodiment of the present invention includes: a data processing unit loads and runs firmware; the data processing unit runs a channel management module; the channel management module reads and verifies device model data and network configuration data; the channel management module creates a high real-time communication channel; the channel management module loads a PROFINET data model to the high real-time communication channel; the channel management module creates a low real-time communication channel, and the low real-time communication channel loads an OPC UA object block; the high and low real-time communication channels are started; the data processing unit cyclically processes the high and low real-time channel data.

[0111] In summary, the channel management module used in the present invention divides the data path into at least two main channels, allocates PROFINET communication to a high real-time channel and creates multiple sub-channels, integrates OPC_UA communication and PROFINET communication in different channels in one module, and one module has both PROFINET and OPC_UA communication functions. The absence of a dedicated communication chip greatly reduces the development cost of PROFINET communication. At the same time, multi-channel technology is used to complete OPC UA communication, and compatibility of PROFINET communication and OPC UA communication is achieved on the same communication module.

[0112] Second, please refer to Figure 4 The present invention also provides a frequency converter communication device, comprising: a first communication interface 11 connected to the frequency converter, a second communication interface 12 connected to the control system, and further comprising:

[0113] Memory 13, used for storing communication protocol data model;

[0114] The processor 14 is used to implement the steps of the inverter communication method described in any one of the above embodiments.

[0115] In this embodiment, the first communication interface 11 is a physical interface connected to the frequency converter, which is used to transmit data and control commands. The interface may be an interface of the type of SPI, I2C (Inter-Integrated Circuit), RS-485, etc. The second communication interface 12 is a physical interface connected to the control system, which is used to exchange data with the control system (such as PROFINET master station, OPC UA client). The interface is usually an Ethernet interface and supports TCP (Transmission Control Protocol) / IP (Internet Protocol) communication. The memory 13 is specifically used to store the program firmware, device model data and network configuration data of the processor 14. The memory 13 can select NORFLASH (non-volatile storage) chip, which is a non-volatile memory that can retain data after power failure. The processor 14 implements the processing and forwarding of the communication protocol data model, and is responsible for executing the steps of the frequency converter communication method as described above, including data processing, protocol conversion, channel management, etc. The processor 14 can be built with a general-purpose processor chip, without the need to use a dedicated communication chip, thereby reducing the development cost of PROFINET communication. The inverter communication equipment can realize effective communication between the inverter and the control system, meeting the requirements of real-time and reliability in industrial automation systems.

[0116] In a third aspect, the present invention further provides an industrial automation control system, comprising:

[0117] Frequency converter;

[0118] at least one control system;

[0119] The inverter communication device as described above is connected to the inverter and the control system respectively.

[0120] For an introduction to an industrial automation control system provided by the present invention, please refer to the above embodiments, and the present invention will not be described in detail here.

[0121] An industrial automation control system provided by the present invention has the same beneficial effects as the above-mentioned frequency converter communication method.

[0122] Fourth, please refer to Figure 5 The present invention further provides a computer-readable storage medium 20, on which a computer program 21 is stored. When the computer program 21 is executed by a processor, the steps of the inverter communication method as described in any one of the above items are implemented.

[0123] The computer-readable storage medium 20 may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.

[0124] For an introduction to a computer-readable storage medium 20 provided in the present application, please refer to the above-mentioned embodiment, and the present invention will not be described in detail here.

[0125] A computer-readable storage medium 20 provided by the present invention has the same beneficial effects as the above-mentioned inverter communication method.

[0126] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprising a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.

[0127] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A frequency converter communication method, characterized in that: include: Creating a plurality of transmission channels; loading different communication protocol data models on at least two of the transmission channels; In response to receiving the data to be transmitted output by the transmitting end, determining a target transmission channel among the plurality of transmission channels; The target transmission channel meets the real-time requirements of the data to be transmitted; The data to be transmitted is allocated to the target transmission channel so as to process the data to be transmitted according to the communication protocol data model loaded by the target transmission channel, and the processed data is transmitted to the receiving end.

2. The inverter communication method according to claim 1, characterized in that: The process of creating multiple transmission channels includes: Acquire current device model data and current network configuration data, wherein the current device model data includes a plurality of communication protocol data models; A plurality of transmission channels are created based on the current device model data and the current network configuration data.

3. The inverter communication method according to claim 2, characterized in that: The process of obtaining the current device model data and the current network configuration data includes: Acquire first device model data and first network configuration data in a preset storage area; Verifying the first device model data and the first network configuration data; In response to successful verification, using the first device model data as current device model data and using the first network configuration data as current network configuration data; In response to the verification failure, the default device model data is used as the current device model data, and the default network configuration data is used as the current network configuration data.

4. The inverter communication method according to claim 3, characterized in that: The preset storage area includes a first storage area and a second storage area; The process of acquiring the first device model data and the first network configuration data in the preset storage area includes: Acquire first device model data and first network configuration data in the first storage area; The process of verifying the first device model data and the first network configuration data includes: Acquire second device model data and second network configuration data in the second storage area; the second device model data is obtained by backing up the first device model data, and the second network configuration data is obtained by backing up the first network configuration data; In response to the first network configuration data and the second network configuration passing the cross-validation and security verification, and the first device model data and the second device model data passing the cross-validation and security verification, it is determined that the verification is successful, otherwise, it is determined that the verification fails.

5. The inverter communication method according to claim 1, characterized in that: After creating the plurality of transmission channels, the inverter communication method further comprises: For each first channel that meets the high real-time transmission condition among the plurality of transmission channels, a plurality of sub-channels are created in the first channel according to the communication protocol data model loaded by the first channel; at least two of the sub-channels transmit different types of data to be transmitted; The process of allocating the data to be transmitted to the target transmission channel includes: When the target transmission channel is the first channel, the current type of the data to be transmitted is determined, and the data to be transmitted is allocated to a sub-channel in the first channel corresponding to the current type.

6. The inverter communication method according to claim 1, characterized in that: After creating multiple transmission channels, the inverter communication method further includes: For each second channel in the plurality of transmission channels, an OPC UA object block is loaded for the second channel, each OPC UA object in the OPC UA object block is registered in a pre-created address space, and the address space is published so that an OPC UA client can access the OPC UA objects in the address space; the communication protocol data model loaded by the second channel is an OPC UA data model.

7. The inverter communication method according to any one of claims 1 to 6, characterized in that: The inverter communication method further includes: Based on the communication protocol data model loaded by the transmission channel, configuring a processing priority for the transmission channel; the real-time requirement corresponding to the communication protocol data model is positively correlated with the processing priority; The process of processing the data to be transmitted according to the communication protocol data model loaded by the target transmission channel includes: When there are multiple target transmission channels, the data to be transmitted is processed in descending order of the processing priority according to the communication protocol data model loaded by each target transmission channel.

8. A frequency converter communication device, characterized in that: include: A first communication interface connected to the frequency converter, a second communication interface connected to the control system, and further comprising: A memory, for storing a communication protocol data model; A processor, used to implement the steps of the inverter communication method according to any one of claims 1 to 7.

9. An industrial automation control system, characterized in that: include: Frequency converter; at least one control system; The inverter communication device according to claim 8, connected to the inverter and the control system respectively.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the inverter communication method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Data transmission method and device, server, medium and product

    CN120743559A

  • Data transmission methods, devices, servers, media and products

    CN120743559B