Data transmission method, system and device of frequency converter

By designing a master-slave processing device and utilizing Ethernet bus and storage area partitioning, the problems of complex wiring and high cost in inverter control are solved, and flexible data transmission and protocol interaction are realized.

CN116962533BActive Publication Date: 2026-11-03CHANGSHA YINGWEITENG ELECTRIC TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310862308.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-13
Publication Date
2026-11-03
Estimated Expiration
2043-07-13

AI Technical Summary

Technical Problem

In existing frequency converter control, the use of expansion cards leads to problems such as card slot conflicts, complex wiring, and high hardware and development costs.

Method used

The design employs a master processing unit and a slave processing unit, and data transmission is achieved through an Ethernet bus. The master processing unit determines the data type and places it into the corresponding storage area of ​​the slave processing unit. The slave processing unit sends data through the Ethernet bus based on a compatible bus protocol specification.

Benefits of technology

It reduces wiring complexity, hardware costs, and development costs, and enables flexible data transmission and interaction between different protocols.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116962533B_ABST
    Figure CN116962533B_ABST
Patent Text Reader

Abstract

The application discloses a data transmission method, system and device of a frequency converter, and applies to the technical field of frequency converter communication. A main processing device is in communication connection with a frequency converter and a slave processing device. The slave processing device is in communication connection with at least one host through an Ethernet bus. The method comprises the following steps: receiving to-be-transmitted data transmitted by the frequency converter; determining the type of the to-be-transmitted data; when the type of the to-be-transmitted data is the i-th type in N types, placing the to-be-transmitted data into the i-th storage area of the slave processing device, so that the slave processing device transmits the to-be-transmitted data to a specified host through the Ethernet bus based on the specification of the i-th bus protocol; and the slave processing device is compatible with N bus protocols, and N is a positive integer not less than 2. The data transmission of the frequency converter can be effectively realized, the flexibility is high, and wiring complexity, hardware cost and development cost can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of frequency converter communication technology, and in particular to a data transmission method, system and device for frequency converters. Background Technology

[0002] In current frequency converter control systems, connectivity to industrial Ethernet is commonly achieved via expansion cards. This requires multiple expansion cards supporting various protocols to enable different application functions. However, with limited card slots and diverse functions, this leads to drawbacks such as card slot conflicts, complex wiring, and high hardware costs.

[0003] Furthermore, the use of different expansion cards to support different protocols not only results in a large number of physical buses that are inconvenient for wiring, but also places higher physical layer and software requirements on the host due to the different physical buses and different protocol processing. In other words, it leads to the disadvantages of complicated wiring and difficult programming.

[0004] Finally, in order to adapt to different expansion cards, the frequency converter and the main control chip need to develop different software to be compatible with expansion cards of different protocols, resulting in high development costs.

[0005] In summary, how to effectively realize data transmission in frequency converters and reduce wiring complexity, hardware costs, and development costs is a technical problem that urgently needs to be solved by those skilled in the art. Summary of the Invention

[0006] The purpose of this invention is to provide a data transmission method, system, and device for frequency converters, so as to effectively realize data transmission of frequency converters and reduce wiring complexity, hardware costs, and development costs.

[0007] To solve the above-mentioned technical problems, the present invention provides the following technical solution:

[0008] A data transmission method for a frequency converter, applied in a main processing unit, wherein the main processing unit is communicatively connected to both the frequency converter and a slave processing unit, and the slave processing unit is communicatively connected to at least one host computer via an Ethernet bus, the data transmission method for the frequency converter comprising:

[0009] Receive the data to be transmitted sent by the frequency converter;

[0010] Determine the type of the data to be transmitted;

[0011] When the type of the data to be transmitted is the i-th type among N types, the data to be transmitted is placed in the i-th storage area of ​​the slave processing device, so that the slave processing device sends the data to be transmitted to the designated host through the Ethernet bus based on the specifications of the i-th bus protocol.

[0012] The slave processing device is compatible with N bus protocols, where N is a positive integer not less than 2, and i is a positive integer where 1 ≤ i ≤ N.

[0013] In one implementation, the slave processing device is communicatively connected to N hosts via an Ethernet bus;

[0014] When the type of the data to be transmitted is the i-th type among N types, the data to be transmitted is placed in the i-th storage area of ​​the slave processing device, so that the slave processing device sends the data to be transmitted to the designated host through the Ethernet bus according to the specifications of the i-th bus protocol, including:

[0015] When the type of the data to be transmitted is the i-th type among N types, the data to be transmitted is placed in the i-th storage area of ​​the slave processing device, so that the slave processing device sends the data to be transmitted to the i-th host through the Ethernet bus based on the specifications of the i-th bus protocol.

[0016] In one embodiment, the first to Nth storage areas of the slave processing device are N memory areas of the slave processing device, and the size of each memory area is preset by the main processing device.

[0017] In one implementation, it further includes:

[0018] Receive memory region adjustment instructions;

[0019] According to the content of the memory region adjustment instruction, the size of the corresponding memory region of the slave processing device is adjusted.

[0020] In one implementation, N=2, and the data to be transmitted of type 1 represents low-speed data with a data transmission volume of less than a preset threshold within a unit time period, and the data to be transmitted of type 2 represents high-speed data with a data transmission volume of more than the preset threshold within a unit time period.

[0021] Correspondingly, the data transmission efficiency of the second bus protocol is higher than that of the first bus protocol.

[0022] In one embodiment, receiving the data to be transmitted sent by the frequency converter includes:

[0023] The inverter can receive the second type of data to be transmitted in real time or according to a preset first cycle.

[0024] Upon receiving a read request, the read request is sent to the frequency converter;

[0025] Receive the data to be transmitted of type 1 specified by the read request, fed back by the frequency converter.

[0026] In one embodiment, the data to be transmitted of the second type includes oscilloscope data from the frequency converter;

[0027] The data to be transmitted in the first type includes the status data of the frequency converter and the process data of the frequency converter.

[0028] A data transmission method for a frequency converter, applied in a slave processing device, wherein a master processing device is communicatively connected to both the frequency converter and the slave processing device, and the slave processing device is communicatively connected to at least one master device via an Ethernet bus, the data transmission method for the frequency converter comprising:

[0029] Receive the data to be transmitted from the frequency converter sent by the main processing device;

[0030] When the type of the data to be transmitted is the i-th type among N types, the data to be transmitted is stored in its own i-th storage area;

[0031] Based on the specifications of the i-th bus protocol, the data to be transmitted is sent to the designated host via the Ethernet bus;

[0032] The slave processing device is compatible with N bus protocols, where N is a positive integer not less than 2, and i is a positive integer where 1 ≤ i ≤ N.

[0033] A data transmission system for a frequency converter is applied in a main processing unit, wherein the main processing unit is communicatively connected to both the frequency converter and a slave processing unit, and the slave processing unit is communicatively connected to at least one host computer via an Ethernet bus. The data transmission system for the frequency converter includes:

[0034] The data receiving module is used to receive the data to be transmitted sent by the frequency converter.

[0035] A type determination module is used to determine the type of the data to be transmitted;

[0036] The transmission module is used to place the data to be transmitted into the i-th storage area of ​​the slave processing device when the type of the data to be transmitted is the i-th type among N types, so that the slave processing device can send the data to be transmitted to the designated host through the Ethernet bus based on the specifications of the i-th bus protocol.

[0037] The slave processing device is compatible with N bus protocols, where N is a positive integer not less than 2, and i is a positive integer where 1 ≤ i ≤ N.

[0038] A data transmission device for a frequency converter includes a master processing unit and a slave processing unit. The master processing unit is communicatively connected to both the frequency converter and the slave processing unit. The slave processing unit is communicatively connected to at least one host computer via an Ethernet bus.

[0039] The main processing unit is used to execute computer programs to implement the steps of the data transmission method for the frequency converter as described above.

[0040] By applying the technical solution provided in the embodiments of the present invention, the design of the main processing device and the slave processing device enables the interaction of application data and protocol data to be separated, allowing for convenient and flexible adjustment of application data. Furthermore, the configuration of the slave processing device with multiple storage areas enables the interaction of different protocols under the same physical layer.

[0041] Specifically, the data to be transmitted, also known as application data, sent by the frequency converter can be sent to the main processing unit. The main processing unit is responsible for processing the data. At this time, the data to be transmitted is not converted into specific bus protocol data. The main processing unit can determine the type of data to be transmitted. The slave processing unit has N pre-defined storage areas. When the type of data to be transmitted is determined to be the i-th type among the N types, the main processing unit will place the data to be transmitted into the i-th storage area of ​​the slave processing unit. That is to say, different storage areas of the slave processing unit correspond to different data types and also correspond to different bus protocols used when transmitting data to the host later.

[0042] The processing device is compatible with N bus protocols. For the data to be transmitted in the i-th storage area, the processing device will send the data to be transmitted to the designated host through the Ethernet bus according to the specification of the corresponding i-th bus protocol. In other words, in the scheme of this application, the processing device compatible with N bus protocols is responsible for protocol data processing. For different bus protocol specifications, the data to be transmitted is sent to the designated host through the same Ethernet bus. Therefore, this application realizes the interaction of different protocols under the same physical layer.

[0043] If it is necessary to add supported bus protocols, i.e., to increase the value of N, it is only necessary to increase the data types that the main processing device can recognize, and increase the number of storage areas in the slave processing device and the bus protocols that the slave processing device is compatible with. The development is very simple and convenient, highly flexible, and does not require increasing hardware costs or wiring complexity. Therefore, the solution of this application can effectively realize the data transmission of the frequency converter, is highly flexible, and helps to reduce wiring complexity, hardware costs and development costs. Attached Figure Description

[0044] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0045] Figure 1 This is a flowchart illustrating the implementation of a data transmission method for a frequency converter in the main processing device according to the present invention.

[0046] Figure 2 This is a schematic diagram of the data device of the frequency converter in a specific embodiment of the present invention.

[0047] Figure 3 This is a flowchart illustrating the implementation of a data transmission method for a frequency converter in this invention, applied to a processing device.

[0048] Figure 4 This is a schematic diagram of a data transmission method in a specific embodiment of the present invention;

[0049] Figure 5 This is a schematic diagram of the data transmission system of a frequency converter in the present invention applied to the main processing device. Detailed Implementation

[0050] The core of this invention is to provide a data transmission method for frequency converters, which can effectively realize data transmission of frequency converters, is highly flexible, and helps to reduce wiring complexity, hardware costs, and development costs.

[0051] To enable those skilled in the art to better understand the present invention, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0052] Please refer to Figure 1 , Figure 1 This is a flowchart illustrating an implementation of a data transmission method for a frequency converter according to the present invention. This data transmission method can be applied to a main processing device, which is communicatively connected to both the frequency converter and a slave processing device. The slave processing device is communicatively connected to at least one host computer via an Ethernet bus. The data transmission method for the frequency converter may include the following steps:

[0053] Step S101: Receive the data to be transmitted sent by the frequency converter.

[0054] Specifically, a frequency converter can be composed of components such as a rectifier unit, an inverter unit, a drive control unit, a detection unit, and a processing unit. The specific configuration can be set and adjusted as needed. Furthermore, the frequency converter is connected to the main processing device and can send data to be transmitted to the main processing device.

[0055] When the frequency converter sends data to be transmitted to the main processing unit, it can do so in real time, at regular intervals, or by responding to a read request from the main processing unit. In other words, the method of sending data can be set and adjusted according to actual needs. Furthermore, the types of data to be transmitted can be varied. For example, in a specific scenario, it may include process quantities, status quantities, function codes, and high-speed oscilloscope data from the frequency converter, among others.

[0056] Step S102: Determine the type of data to be transmitted.

[0057] After receiving the data to be transmitted from the frequency converter, the main processing unit can determine the type of the data to be transmitted. This allows subsequent steps to place the data into the corresponding storage area of ​​the slave processing unit according to its type. Alternatively, in some cases, the slave processing unit can also determine the type of data to be transmitted without affecting the implementation of the invention. That is, the main processing unit is only responsible for sending the received data to be transmitted to the slave processing unit, which then determines the type of data and places it into the corresponding storage area according to its type.

[0058] Understandably, different types of data to be transmitted need to be pre-classified. Of course, this can also be adjusted according to actual needs. For example, the types of data to be transmitted can be classified according to data source, data size, data transmission speed, and other factors.

[0059] For example, in a specific scenario, if the data to be transmitted is Profinet (Process Field Net, an automation bus standard based on industrial Ethernet technology) application data, then the type of the data to be transmitted can be determined as type 1, while if the data to be transmitted is UDP (User Datagram Protocol) application data, then the type of the data to be transmitted can be determined as type 2.

[0060] See also Figure 4 This is a schematic diagram of a data transmission method in one specific implementation. Figure 4 The expansion card in the system includes a main processing unit and a slave processing unit. Figure 4In one scenario, after a user performs a trigger operation, the main processing unit can send a read request to the inverter. For example, the read request may point to application data B, meaning that the data to be transmitted at this time is application data B. Subsequently, the inverter will periodically send application data B to the main processing unit, which will then send application data B to the designated host via the Ethernet bus based on the corresponding bus protocol specifications.

[0061] exist Figure 4 In another scenario, the main processing unit, based on the first bus protocol, receives a read request from any host and forwards it to the frequency converter, enabling the frequency converter to provide feedback on the corresponding data to be transmitted, for example... Figure 4 In this process, the data to be transmitted is specifically application data A. After the main processing unit sends application data A to the slave processing unit, the slave processing unit sends application data A to the designated host via the Ethernet bus based on the first bus protocol specification.

[0062] Step S103: When the type of the data to be transmitted is the i-th type among the N types, the data to be transmitted is placed into the i-th storage area of ​​the slave processing device, so that the slave processing device can send the data to be transmitted to the designated host through the Ethernet bus based on the specifications of the i-th bus protocol.

[0063] The processing device is compatible with N bus protocols, where N is a positive integer not less than 2, and i is a positive integer where 1 ≤ i ≤ N.

[0064] Specifically, the master processing device communicates with the slave processing device, for example, through an SPI (Serial Peripheral Interface) bus or a parallel bus.

[0065] The master processing unit needs to send the data to be transmitted to the slave processing unit and place it into different storage areas according to the type. That is, when the type of the data to be transmitted is the i-th type among N types, the data to be transmitted is placed into the i-th storage area of ​​the slave processing unit.

[0066] For example, in one scenario, when the master processing device sends data to be transmitted to the slave processing device, each frame of data sent may include a frame header, a data type instruction, data content, and a verification content. The data type instruction described here can reflect the type of data to be transmitted in that frame. For example, the data type instruction corresponding to Profinet application data is 0x01, which indicates that the type of data to be transmitted in that frame is type 1. The data update interface for Profinet application data is, for example, A_Write and A_Read, which can be used to realize the interaction of Profinet application data between the master processing device and the slave processing device.

[0067] The data type instruction corresponding to UDP application data is, for example, 0x02, which indicates that the data to be transmitted in this frame is of type 2. The data update interface for UDP application data is, for example, B_Write and B_Read, which can be used to implement the interaction of UDP application data between the master processing device and the slave processing device.

[0068] Different types of data to be transmitted will be placed in different storage areas. In practical applications, in order to achieve efficient data transmission, the various storage areas required by this application are usually implemented from the memory of the processing device.

[0069] That is, in one specific embodiment of the present invention, the first storage area to the Nth storage area of ​​the processing device are N memory areas of the processing device, and the size of each memory area is preset by the main processing device.

[0070] In this embodiment, the memory of the processing device is partitioned into N memory regions, which serve as the N storage regions required by the present application to realize the storage of the corresponding types of data to be transmitted.

[0071] Furthermore, in this implementation, the size of each memory region is preset by the main processing device. This means that the size of each memory region can be set as needed. This is because different types of data to be transmitted have different data volumes, thus allowing for the allocation of appropriately sized memory regions for different types of data to avoid wasting or insufficient memory resources. Moreover, it is understood that in practical applications, the larger the amount of data to be transmitted per unit time, the larger the memory region should be configured for that type of data.

[0072] Furthermore, in one specific embodiment of the present invention, it may also include:

[0073] Receive memory region adjustment instructions;

[0074] Based on the content of the memory region adjustment instruction, the size of the corresponding memory region of the slave processing device is adjusted.

[0075] In this implementation, the size of the N memory regions can be adjusted using memory region adjustment instructions, effectively improving the flexibility of the solution. For example, in one scenario, due to functional adjustments, the transmission cycle of a certain type of data to be transmitted increases significantly, which is equivalent to a reduction in the amount of data to be transmitted for that type. Therefore, the slave processing device can send a memory region adjustment instruction to the master processing device, so that, under the control of the master processing device, the size of the memory region configured in the slave processing device for that type of data to be transmitted is reduced based on the content of the memory region adjustment instruction. Furthermore, the master processing device can also dynamically monitor the slave processing device, such as the usage frequency of each protocol and the writing frequency of data in the memory region, and dynamically adjust the memory region according to the monitoring situation.

[0076] The slave processing device of this application is compatible with N bus protocols. For example, in one scenario, the slave processing device can be compatible with Profinet bus protocol, Ethernet IP bus protocol, EtherCAT bus protocol, Modbus TCP slave protocol, TCP bus protocol, UDP bus protocol, etc.

[0077] For data of type i to be transmitted, it is stored in the i-th storage area. The processing device will send the data stored in the i-th storage area to the designated host via the Ethernet bus according to the specifications of the i-th bus protocol.

[0078] For example, in one of the scenarios described above, when the data to be transmitted is Profinet application data, it can be determined that the data type is Type 1. Therefore, based on the specifications of the Type 1 bus protocol, the data stored in the Type 1 storage area can be sent to the designated host. In this example, the Type 1 bus protocol could be, for example, the Profinet bus protocol specification. Conversely, when the data to be transmitted is UDP application data, it can be determined that the data type is Type 2. Therefore, based on the specifications of the Type 2 bus protocol, the data stored in the Type 2 storage area can be sent to the designated host. In this example, the Type 2 bus protocol could be, for example, the UDP bus protocol specification.

[0079] Furthermore, it should be noted that regardless of the bus protocol standard used by the processing device to send the data, the same Ethernet bus is employed. In other words, the solution in this application implements the transmission of data using different bus protocols on the same physical layer bus. For example, for Figure 2In the example, the same Ethernet bus can be used to implement both the Profinet request and Profinet response functions of the PLC host and the UDP handshake request and UDP data feedback functions of the PC host. Furthermore, the Ethernet bus described in this application is typically an industrial Ethernet bus.

[0080] exist Figure 2 In this implementation, the main processing unit and the slave processing unit are integrated into the same expansion card. For example, in practical applications, the main processing unit can be implemented using a single master control chip, while the slave processing unit can be implemented using a single protocol slave chip.

[0081] When a processing device communicates with at least one host via an Ethernet bus, and sends data to be transmitted from the i-th storage area to the host via the Ethernet bus according to the i-th bus protocol specification, the specific host or hosts to which the data is sent can be set and adjusted according to actual needs without affecting the implementation of the present invention. For example, in a specific scenario, data to be transmitted in the first storage area needs to be sent to host 1 and host 2, and it is understood that both host 1 and host 2 need to support the first bus protocol. Conversely, data to be transmitted in the second storage area needs to be sent to host 3, and host 3 needs to support the second bus protocol.

[0082] Furthermore, it is understood that the above steps S101 to S103 describe the process of transmitting data from the frequency converter to the host. The process of the host sending data to the frequency converter is similar, except that the data transmission path is reversed, so it will not be described again.

[0083] In one specific embodiment of the present invention, the processing device is communicatively connected to N hosts via an Ethernet bus;

[0084] Step S103 may specifically include:

[0085] When the type of data to be transmitted is the i-th type among N types, the data to be transmitted is placed in the i-th storage area of ​​the slave processing device, so that the slave processing device can send the data to be transmitted to the i-th host via the Ethernet bus according to the specifications of the i-th bus protocol.

[0086] As described above, when data to be transmitted is sent to a designated host, the specific host or hosts to which it is sent can be set and adjusted according to actual needs. This implementation takes into account that in practical applications, different types of data to be transmitted are used to achieve different functions and are usually handled by different hosts. That is, in practical applications, the processing device usually communicates with N hosts through an industrial Ethernet bus.

[0087] When transmitting data in the frequency converter, the data to be transmitted from the i-th type in the i-th storage area of ​​the processing device is sent to the i-th host via the Ethernet bus according to the specifications of the i-th bus protocol.

[0088] For example in Figure 2 In this implementation, the first type of data to be transmitted is Profinet application data, which needs to be transmitted to the PLC host, while the second type of data to be transmitted is UDP application data, which needs to be transmitted to the PC host. Figure 2 In this implementation, N=2, the processing device is compatible with two bus protocols, and communicates with two hosts through the same Ethernet bus.

[0089] In one specific embodiment of the present invention, N=2, and the first type of data to be transmitted represents low-speed data with a data transmission volume of less than a preset threshold within a unit time period, and the second type of data to be transmitted represents high-speed data with a data transmission volume of more than a preset threshold within a unit time period.

[0090] Correspondingly, the data transmission efficiency of the second bus protocol is higher than that of the first bus protocol.

[0091] In this application, the processing device is compatible with N bus protocols, where N represents the number of bus protocols compatible with the processing device. Simultaneously, N is also the total number of data types to be transmitted. It is understood that different types of data to be transmitted can be categorized according to data function, the amount of data to be transmitted, and other methods. However, when the value of N is too high, the cost of the processing device will be relatively high. Therefore, this implementation considers that in most cases, the data to be transmitted only needs to be divided into two types: low-speed data and high-speed data. In this implementation, the first type of data to be transmitted represents low-speed data with a data transmission volume per unit time below a preset threshold, while the second type represents high-speed data with a data transmission volume per unit time above a preset threshold. In this implementation, the processing device only needs to be compatible with two bus protocols, simplifying the design.

[0092] Dividing the data to be transmitted into two types—low-speed data and high-speed data—can meet the needs of most applications, making this a commonly used implementation method in practice. Of course, in a few cases, the value of N can be increased as needed. For example, in one scenario, the data sent by the frequency converter is divided into three types, and uploaded to three corresponding hosts for processing using three different bus protocols.

[0093] Furthermore, it is understood that in this implementation, the second type of data to be transmitted is high-speed data, and the first type of data to be transmitted is low-speed data. Therefore, the second bus protocol configured for the second type of data to be transmitted should be a high-speed protocol, while the first bus protocol configured for the first type of data to be transmitted should be a low-speed protocol. That is, the data transmission efficiency of the second bus protocol is higher than that of the first bus protocol. In the specific context above, the Profinet bus protocol is a low-speed protocol, and the UDP bus protocol is a high-speed protocol.

[0094] In one specific embodiment of the present invention, step S101 may specifically include:

[0095] Receive the second type of data to be transmitted from the frequency converter in real time or according to a preset first cycle;

[0096] Upon receiving a read request, the read request is sent to the frequency converter;

[0097] Receive the data to be transmitted of type 1 specified by the read request from the frequency converter.

[0098] This implementation takes into account that the first type of data to be transmitted is low-speed data, the amount of data to be transmitted is low, and the host usually does not need to acquire the first type of data to be transmitted at a high frequency. In other words, the host can send a read request to the slave processing device when needed, and then pass it to the master processing device. When the master processing device receives the read request, it sends the read request to the frequency converter, so that the frequency converter provides the corresponding first type of data to be transmitted according to the content of the read request.

[0099] The second type of data to be transmitted is high-speed data, such as oscilloscope data from a frequency converter, which is large in volume and requires rapid updates. Therefore, the frequency converter can send the second type of data to be transmitted to the main processing device in real time, or send it to the main processing device according to a preset first cycle, which should be set to be relatively short.

[0100] In one specific embodiment of the present invention, the second type of data to be transmitted is high-speed data. Typically, the second type of data to be transmitted may include oscilloscope data from the frequency converter, which may specifically include parameters such as the frequency converter's three-phase voltage, three-phase current, terminal status, and motor speed. The first type of data to be transmitted is low-speed data. Typically, the first type of data to be transmitted may include the frequency converter's status data and process data. The frequency converter's status data may include, for example, software version number and frequency converter channel status, while the frequency converter's process data may include, for example, bus voltage and fault codes.

[0101] In one embodiment, it may further include: after receiving the data to be transmitted sent by the frequency converter, the main processing device may determine whether the data to be transmitted belongs to semi-communication transmission or full communication transmission.

[0102] If the data to be transmitted belongs to full communication transmission, then the subsequent steps S102 and S103 can be executed, so that the data to be transmitted is placed into the corresponding storage area of ​​the slave processing device according to the type of data to be transmitted, and then the slave processing device sends the data to be transmitted to the designated host through the Ethernet bus according to the corresponding bus protocol specification. That is to say, if the data to be transmitted belongs to full communication transmission, the data to be transmitted will be sent to the corresponding host.

[0103] by Figure 4 Taking application data A as an example, for full communication transmission, application data A will be sent to the main processing device, and then, for example, through the A_Write interface corresponding to the Profinet application data, the application data A will be placed into the corresponding storage area of ​​the slave processing device. Then, the slave processing device will send the data to be transmitted to the designated host through the Ethernet bus based on the corresponding bus protocol specification.

[0104] If the data to be transmitted is a semi-communication transmission, it can be stored directly in the designated area of ​​the processing device. In other words, if the data to be transmitted is a semi-communication transmission, it will not be sent to the corresponding host.

[0105] If we Figure 4 Taking application data B as an example, if it is a semi-communication transmission, application data B is sent to the main processing device, and then, for example, through B_Write corresponding to UDP application data, application data B is placed into a designated area of ​​the slave processing device. This designated area can be used specifically to store the data to be transmitted in the semi-communication transmission.

[0106] This implementation supports both semi-communication and full-communication transmission because in some cases, certain types of data do not need to be sent to the corresponding host temporarily, but can be temporarily stored in the processing device. When needed, the previously stored semi-communication transmission data can be retrieved from a designated area of ​​the processing device. In other words, this implementation further improves the flexibility of the solution in this application.

[0107] By applying the technical solution provided in the embodiments of the present invention, the design of the main processing device and the slave processing device enables the interaction of application data and protocol data to be separated, allowing for convenient and flexible adjustment of application data. Furthermore, the configuration of the slave processing device with multiple storage areas enables the interaction of different protocols under the same physical layer.

[0108] Specifically, the data to be transmitted, also known as application data, sent by the frequency converter can be sent to the main processing unit. The main processing unit is responsible for processing the data. At this time, the data to be transmitted is not converted into specific bus protocol data. The main processing unit can determine the type of data to be transmitted. The slave processing unit has N pre-defined storage areas. When the type of data to be transmitted is determined to be the i-th type among the N types, the main processing unit will place the data to be transmitted into the i-th storage area of ​​the slave processing unit. That is to say, different storage areas of the slave processing unit correspond to different data types and also correspond to different bus protocols used when transmitting data to the host later.

[0109] The processing device is compatible with N bus protocols. For the data to be transmitted in the i-th storage area, the processing device will send the data to be transmitted to the designated host through the Ethernet bus according to the specification of the corresponding i-th bus protocol. In other words, in the scheme of this application, the processing device compatible with N bus protocols is responsible for protocol data processing. For different bus protocol specifications, the data to be transmitted is sent to the designated host through the same Ethernet bus. Therefore, this application realizes the interaction of different protocols under the same physical layer.

[0110] If it is necessary to add supported bus protocols, i.e., to increase the value of N, it is only necessary to increase the data types that the main processing device can recognize, and increase the number of storage areas in the slave processing device and the bus protocols that the slave processing device is compatible with. The development is very simple and convenient, highly flexible, and does not require increasing hardware costs or wiring complexity. Therefore, the solution of this application can effectively realize the data transmission of the frequency converter, is highly flexible, and helps to reduce wiring complexity, hardware costs and development costs.

[0111] Corresponding to the above embodiments, this embodiment of the invention also provides a data transmission method for a frequency converter, which can be applied to a processing device and can be referred to in conjunction with the above.

[0112] The main processing unit is communicatively connected to both the frequency converter and the slave processing unit. The slave processing unit is communicatively connected to at least one master unit via an Ethernet bus. (See reference...) Figure 3 The data transmission method of the frequency converter may include the following steps:

[0113] Step S301: Receive the data to be transmitted from the frequency converter sent by the main processing device;

[0114] Step S302: When the type of the data to be transmitted is the i-th type among the N types, store the data to be transmitted in its own i-th storage area;

[0115] Step S303: Based on the specifications of the i-th bus protocol, send the data to be transmitted to the designated host via the Ethernet bus;

[0116] The processing device is compatible with N bus protocols, where N is a positive integer not less than 2, and i is a positive integer where 1 ≤ i ≤ N.

[0117] In one specific embodiment of the present invention, the processing device is communicatively connected to N hosts via an Ethernet bus;

[0118] Step S303 specifically includes: sending the data to be transmitted to the i-th host via the Ethernet bus based on the specifications of the i-th bus protocol.

[0119] In one specific embodiment of the present invention, the first to Nth storage areas of the processing device are N memory areas of the processing device, and the size of each memory area is preset by the main processing device.

[0120] In one specific embodiment of the present invention, it may further include:

[0121] The main processing unit receives a memory region adjustment instruction and adjusts the size of the corresponding memory region of the slave processing unit according to the content of the memory region adjustment instruction.

[0122] In one specific embodiment of the present invention, N=2, and the data to be transmitted of the first type represents low-speed data with a data transmission volume of less than a preset threshold within a unit time period, and the data to be transmitted of the second type represents high-speed data with a data transmission volume of more than a preset threshold within a unit time period; correspondingly, the data transmission efficiency of the second bus protocol is higher than that of the first bus protocol.

[0123] In one specific embodiment of the present invention, step S301 specifically includes:

[0124] After the main processing unit receives the second type of data to be transmitted from the frequency converter in real time or according to the preset first cycle, it receives the second type of data to be transmitted from the main processing unit.

[0125] When the main processing unit receives a read request and sends the read request to the frequency converter, it receives the first type of data to be transmitted from the frequency converter, which is specified by the read request.

[0126] In one specific embodiment of the present invention, the second type of data to be transmitted includes oscilloscope data from a frequency converter;

[0127] The first type of data to be transmitted includes the inverter's status data and the inverter's process data.

[0128] Corresponding to the above method embodiments, this invention also provides a data transmission system for a frequency converter, which can be applied in a main processing device and can be referred to in conjunction with the above description. The main processing device is communicatively connected to both the frequency converter and the slave processing device. The slave processing device is communicatively connected to at least one host computer via an Ethernet bus. (See also...) Figure 5 The data transmission system of the frequency converter includes:

[0129] The data receiving module 501 is used to receive the data to be transmitted sent by the frequency converter.

[0130] The type determination module 502 is used to determine the type of data to be transmitted;

[0131] The transmission module 503 is used to place the data to be transmitted into the i-th storage area of ​​the slave processing device when the type of the data to be transmitted is the i-th type among N types, so that the slave processing device can send the data to be transmitted to the designated host through the Ethernet bus based on the specifications of the i-th bus protocol.

[0132] The processing device is compatible with N bus protocols, where N is a positive integer not less than 2, and i is a positive integer where 1 ≤ i ≤ N.

[0133] This invention also provides a data transmission system for a frequency converter, which can be applied to a processing device and can be referred to in conjunction with the above description. The data transmission system for the frequency converter may include:

[0134] The data receiving module is used to receive the data to be transmitted from the frequency converter sent by the main processing device;

[0135] The storage module is used to store the data to be transmitted in its own i-th storage area when the type of the data to be transmitted is the i-th type among N types.

[0136] The protocol transmission module is used to send the data to be transmitted to the designated host via the Ethernet bus based on the specifications of the i-th bus protocol.

[0137] Corresponding to the above method and system embodiments, this embodiment of the invention also provides a data transmission device for a frequency converter, including a main processing device and a slave processing device. The main processing device is communicatively connected to the frequency converter and the slave processing device, respectively, and the slave processing device is communicatively connected to at least one host via an Ethernet bus.

[0138] The main processing unit is used to execute computer programs to implement the steps of the data transmission method for the frequency converter as in any embodiment.

[0139] It should also be noted that, in this application, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0140] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of each example have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementations should not be considered beyond the scope of this invention.

[0141] This application uses specific examples to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the technical solutions and core ideas of the present invention. It should be noted that those skilled in the art can make several improvements and modifications to the present invention without departing from the principles of the present invention, and these improvements and modifications also fall within the protection scope of the present invention.

Claims

1. A data transmission method for a frequency converter, characterized in that, Applied in a main processing unit, the main processing unit is communicatively connected to both the frequency converter and the slave processing unit. The slave processing unit is communicatively connected to at least one master unit via an Ethernet bus. The data transmission method of the frequency converter includes: Receive the data to be transmitted sent by the frequency converter; Determine whether the data to be transmitted belongs to the category of semi-communication transmission or full communication transmission; Determine the type of the data to be transmitted; If the data to be transmitted is data to be transmitted in full communication transmission, when the type of the data to be transmitted is the i-th type among N types, the data to be transmitted is placed in the i-th storage area of ​​the slave processing device, so that the slave processing device sends the data to be transmitted to the designated host through the Ethernet bus based on the specifications of the i-th bus protocol. The slave processing device is compatible with N bus protocols, and for different bus protocol specifications, the slave processing device sends the data to be transmitted to the designated host through the same Ethernet bus to realize the interaction of different protocols under the same physical layer. N is a positive integer not less than 2, and i is a positive integer and 1≤i≤N. N=2, and the data to be transmitted in the first type represents low-speed data with a data transmission volume of less than a preset threshold within a unit time period, while the data to be transmitted in the second type represents high-speed data with a data transmission volume of more than the preset threshold within a unit time period; correspondingly, the data transmission efficiency of the second bus protocol is higher than that of the first bus protocol.

2. The data transmission method of the frequency converter according to claim 1, characterized in that, The slave processing device is connected to N hosts via an Ethernet bus; When the type of the data to be transmitted is the i-th type among N types, the data to be transmitted is placed in the i-th storage area of ​​the slave processing device, so that the slave processing device sends the data to be transmitted to the designated host through the Ethernet bus according to the specifications of the i-th bus protocol, including: When the type of the data to be transmitted is the i-th type among N types, the data to be transmitted is placed in the i-th storage area of ​​the slave processing device, so that the slave processing device sends the data to be transmitted to the i-th host through the Ethernet bus based on the specifications of the i-th bus protocol.

3. The data transmission method of the frequency converter according to claim 1, characterized in that, The first to Nth storage areas of the slave processing device are N memory areas of the slave processing device, and the size of each memory area is preset by the main processing device.

4. The data transmission method of the frequency converter according to claim 3, characterized in that, Also includes: Receive memory region adjustment instructions; According to the content of the memory region adjustment instruction, the size of the corresponding memory region of the slave processing device is adjusted.

5. The data transmission method of the frequency converter according to claim 1, characterized in that, The receiving of the data to be transmitted from the frequency converter includes: The inverter can receive the second type of data to be transmitted in real time or according to a preset first cycle. Upon receiving a read request, the read request is sent to the frequency converter; Receive the data to be transmitted of type 1 specified by the read request, fed back by the frequency converter.

6. The data transmission method of the frequency converter according to claim 1, characterized in that, The data to be transmitted in the second type includes the oscilloscope data of the frequency converter; The data to be transmitted in the first type includes the status data of the frequency converter and the process data of the frequency converter.

7. A data transmission method for a frequency converter, characterized in that, In a slave processing unit, a master processing unit is communicatively connected to both the frequency converter and the slave processing unit. The slave processing unit is communicatively connected to at least one master unit via an Ethernet bus. The data transmission method of the frequency converter includes: Receive the data to be transmitted from the frequency converter sent by the main processing device; After the main processing device determines whether the data to be transmitted belongs to half-communication transmission or full-communication transmission, if the data to be transmitted belongs to full-communication transmission, and the type of the data to be transmitted is the i-th type among N types, the data to be transmitted is stored in its own i-th storage area. Based on the specifications of the i-th bus protocol, the data to be transmitted is sent to the designated host via the Ethernet bus; The slave processing device is compatible with N bus protocols, and for different bus protocol specifications, the slave processing device sends the data to be transmitted to the designated host through the same Ethernet bus to realize the interaction of different protocols under the same physical layer. N is a positive integer not less than 2, and i is a positive integer and 1≤i≤N. N=2, and the data to be transmitted in the first type represents low-speed data with a data transmission volume of less than a preset threshold within a unit time period, while the data to be transmitted in the second type represents high-speed data with a data transmission volume of more than the preset threshold within a unit time period; correspondingly, the data transmission efficiency of the second bus protocol is higher than that of the first bus protocol.

8. The data transmission method of the frequency converter according to claim 7, characterized in that, The processing unit communicates with N hosts via an Ethernet bus; Based on the specifications of the i-th bus protocol, the data to be transmitted is sent to the designated host via the Ethernet bus, including: Based on the specifications of the i-th bus protocol, the data to be transmitted is sent to the i-th host via the Ethernet bus.

9. A data transmission system for a frequency converter, characterized in that, Applied in a main processing unit, the main processing unit is communicatively connected to both the frequency converter and the slave processing unit. The slave processing unit is communicatively connected to at least one master unit via an Ethernet bus. The data transmission system of the frequency converter includes: The data to be transmitted receiving module is used to receive the data to be transmitted sent by the frequency converter; and to determine whether the data to be transmitted belongs to the semi-communication transmission or the full communication transmission. A type determination module is used to determine the type of the data to be transmitted; The transmission module is configured to, if the data to be transmitted is data to be transmitted belonging to full communication transmission, and the type of the data to be transmitted is the i-th type among N types, place the data to be transmitted into the i-th storage area of ​​the slave processing device, so that the slave processing device can send the data to be transmitted to the designated host through the Ethernet bus based on the specifications of the i-th bus protocol. The slave processing device is compatible with N bus protocols, and for different bus protocol specifications, the slave processing device sends the data to be transmitted to the designated host through the same Ethernet bus to realize the interaction of different protocols under the same physical layer. N is a positive integer not less than 2, and i is a positive integer and 1≤i≤N. N=2, and the data to be transmitted in the first type represents low-speed data with a data transmission volume of less than a preset threshold within a unit time period, while the data to be transmitted in the second type represents high-speed data with a data transmission volume of more than the preset threshold within a unit time period; correspondingly, the data transmission efficiency of the second bus protocol is higher than that of the first bus protocol.

10. A data transmission device for a frequency converter, characterized in that, It includes a main processing unit and a slave processing unit. The main processing unit is communicatively connected to both the frequency converter and the slave processing unit. The slave processing unit is communicatively connected to at least one host computer via an Ethernet bus. The main processing unit is used to execute a computer program to implement the steps of the data transmission method for the frequency converter as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Slave, communication expansion card and networking system

    CN107968738A

  • Method for configuring communication protocol, wireless communication device, and home appliance

    CN108989117A