A synchronous serial time-division multiplexing bus method applied to high-voltage cascaded equipment
Through the synchronous serial time-division multiplexing bus method, the synchronization problem of the serial bus connection method in high-voltage cascade equipment is solved, the structural design is simplified, the cost and failure risk are reduced, and the safety and stability of the equipment are improved.
Patent Information
- Application Number
- CN202210579172.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-25
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2042-05-25
AI Technical Summary
In traditional high-voltage cascade equipment, the serial bus connection method is difficult to achieve synchronous triggering and real-time protection between modules, resulting in equipment safety hazards. There are also a large number of parallel interfaces, complex design, and high cost.
The synchronous serial time-division multiplexing bus method is adopted to realize synchronous communication and real-time protection between modules through link initialization, data transmission and fault detection of the master module and slave module, reducing the number of optical fiber connectors and simplifying the structure and design.
It achieves synchronous triggering and real-time control between modules, reduces the fiber connection length and failure points, reduces design costs and maintenance difficulties, and improves the safety and stability of the equipment.
Smart Images

Figure CN115001618B
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of industrial automation control, in particular to a synchronous serial time-division multiplexing bus applied to high-voltage cascade equipment. Background Art
[0002] In recent years, the country has strongly supported the construction of new energy. With the rapid rise of various new energy plants, high-voltage power electronic compensation equipment has also developed rapidly. Since power electronic semiconductor devices are limited by voltage levels, many high-voltage power electronic equipment still need to adopt a chain cascade topology. Traditional chain high-voltage compensation equipment is mainly composed of a main controller, a power valve group, a primary side mutual inductor, a radiator, and parallel connection optical fibers. The main controller is connected to each valve group module through multiple pairs of parallel optical fibers.
[0003] The connection between the controller and the module can be divided into two types: parallel and serial:
[0004] The main advantage of parallel bus is that the parallel connection has excellent trigger consistency and protection timeliness, and has reliable stability after long-term verification and development. However, the disadvantage of parallel bus is that the structure is complex, which also brings a series of problems such as waste of interface resources and complex controller design.
[0005] The main advantages of the serial bus method are simple structure, low cost, and fast communication speed. However, it is difficult to achieve the trigger consistency of the modules with the traditional serial connection method. There will be a certain delay when the data reaches each module, and with the continuous increase of the series modules, this difference will increase exponentially. The problem of asynchronous triggering between modules will cause harmonics and main variable noise at the least, and endanger equipment safety and cause accidents at the worst.
[0006] Currently, depending on the voltage level and wiring method, cascaded power electronic equipment has 8-72 power modules per phase, and the number of A, B, and C three-phase power modules can reach 216. Based on one pair of optical transceivers per module, the controller also needs 216 pairs of optical transceivers. Such a number will not only increase the cost, but also increase the difficulty of controller design, wiring complexity, and maintenance. Summary of the invention
[0007] To solve the above problems, the present invention provides a synchronous serial time-division multiplexing bus applied to high-voltage cascade equipment, which can make up for the shortcomings of the existing technology and has the advantages of simple structure, strong flexibility, low cost, etc. It also reduces the number of parallel interfaces and can solve the problems of serial bus synchronization triggering and real-time protection.
[0008] The technical solution of the present invention is as follows:
[0009] A synchronous serial time-division multiplexing bus method applied to high-voltage cascade equipment comprises the following steps:
[0010] Step 1: Link initialization. The link includes at least one host module and multiple slave modules. The host module sends data to multiple slave modules and establishes communication. The data includes a handshake signal and a module identification code. The slave modules latch the module identification codes they receive to establish the slave module station number. The slave modules can respond to the bus request sent by the host module according to the slave module station number and proceed to the next step.
[0011] Step 2: After the link is initialized, the slave module obtains the slave module station number. Each slave module replies to the host module through the bus to complete the initialization. Each slave module starts to release the bus. All slave modules are hung on a serial bus. The host module receives the completion signal and synchronously detects whether the bus is in an idle state. If the bus is not in an idle state, the bus continues to be detected until the bus is in an idle state. If the bus is detected to be in an idle state, it means that all slave modules are ready and enter the next step.
[0012] Step 3: The host module detects that the bus is in an idle state, the host module starts a counter with a period of T, and synchronously sends a host data frame, the host data frame includes the trigger pulse of the slave module and the slave module station number, each slave module synchronously parses the trigger pulse instruction and the slave module station number information issued by the host, and the slave module that enters the response state according to the slave module station number becomes a response device, and the response device is synchronously triggered according to the trigger pulse instruction, initiates a bus occupation application, and enters the next step;
[0013] Step 4: multiple slave modules detect their own fault information. If multiple slave modules detect that they have no fault information, they respond to the trigger pulse at the same time and proceed to the next step. If multiple slave modules detect that they have faults, they no longer judge the host data frame sent by the host module, and immediately send a low level of 200us continuously to seize the bus. The continuous low level is immediately transmitted back to the main control module, and the pulse blocking is completed until the fault of the slave module is eliminated and then return to step 2;
[0014] Step 5: After detecting that there is no fault information in step 4, the bus occupation application of the answering device is passed, and a time counter with a period of T is started, and the transmission state is entered to perform one-to-one data transmission, and the analog quantity and status information of the current module are uploaded in real time until the data transmission is completed, and the next step is performed;
[0015] Step 6: If the host module receives the data from the answering device and there is a transmission or verification error, the fault level is determined. If it is a minor fault, the host data frame is discarded and the previous host data frame is used to continue running. If it is a major fault, all module pulses are blocked and the entire machine is locked until the fault is eliminated and then the process returns to step 2. If the host module receives the data from the answering device and there is no fault, the data is processed in real time, the trigger instruction is updated, and step 2 is repeated.
[0016] After the above steps, the closed-loop control of the serial time-division multiplexing bus is completed. In summary, in each continuous 2T cycle, in the first cycle T, real-time control of all slave modules and data update of one slave module can be completed once. At the same time, each slave module can preempt the priority of bus interruption according to its own real-time fault status. The fault mode is the first-level response priority, the host response is the second-level priority, and the slave response is the third-level priority. In the fault-free state, the module responds to the bus request in sequence in the second cycle of the host 2T cycle according to the slave module station number issued by the host, and completes the data string number and handshake verification. In this way, n real-time controls of all slave modules and status acquisition of n slave modules are completed within 2nT. The host determines whether to respond to module data or take system protection according to whether there is a system fault. The final data participates in system modulation to complete a closed-loop control.
[0017] Specifically, in step 1, the data includes at least 4 bytes, and the 4 bytes of information include a module identification code, a handshake signal and a check signal.
[0018] Specifically, in step 3, the host data frame sent by the host module includes at least a frame header, a slave module station number, the number of nodes, a node 1 trigger instruction, a node 2 trigger instruction ... a node n trigger instruction, a check segment and a frame tail. The number of nodes is determined by the DC working voltage, and needs to be confirmed by the user according to the actual situation.
[0019] Specifically, in step 5, the data sent by the slave module includes a slave data frame, and the slave data frame at least includes a frame header, a slave module station number, a data length, a handshake signal, analog quantity information, status information, a check segment and a frame tail. Therefore, the slave data frame requires at least 8 bytes.
[0020] Specifically, in step 3 and step 5, the data length of the host data frame and the slave data frame is the same, which can ensure that the period T of the data transmission pace is the same, thereby ensuring the synchronization of the devices. And because the number of nodes is different, it is necessary to set the slave data frame with the same data length based on the host data frame.
[0021] Specifically, in step 6, if the communication can be restored within 200us, it is a minor fault, and if the communication cannot be restored within 200us, it is a major fault. Faults exceeding 200 microseconds are likely to cause damage to components, so 200 microseconds is needed as the critical point.
[0022] Specifically, the slave modules are connected in sequence and connected to the same serial bus. The host module calls the slave modules in turn according to whether the bus is in an idle state, ensuring that all slave modules can be triggered simultaneously within each cycle T, and completing the one-to-one connection between the answering device and the host module to complete the communication.
[0023] Specifically, the slave module can occupy serial bus resources according to the call of the host module, and can also actively occupy bus resources according to the interrupt mechanism, so as to ensure that in the fault state, the slave module can directly occupy the bus resources and complete the function of locking the whole machine.
[0024] There is only one host module device, and the slave module device includes at least one dynamic allocation module, which can be dynamically configured according to user needs.
[0025] The host module sends data and calls the slave module according to the idle state of the bus, and the slave module realizes data transmission between the host module and the slave module according to the host module call and the idle state of the bus.
[0026] Specifically, the device that applies to occupy the bus can be a host module, and can also be a slave module. When there is no fault interruption to seize the bus, the host module acts as a request device and the slave module acts as a response device. When there is a fault interruption, the slave module with the current fault directly occupies the bus. That is, the host module applies to occupy the bus in the normal state, and the slave module only seizes it in the fault state.
[0027] Specifically, the bus state is divided into an idle state, a request state, a response state and a data transmission state;
[0028] In the idle state, all modules are connected in series, no data is sent or parsed, and bus resources are in an idle state;
[0029] The request state is that the host module enters the request state as a requesting device, can request the slave module and obtain a response signal, and the slave module that currently obtains the response signal is the response device;
[0030] The response state is that the response device is ready to send data, the data is in a waiting state, and the request device is in a receiving state, ready to parse the response data;
[0031] The data transmission state is that the responding device occupies the bus, performs one-to-one pairing with the requesting device, and sends the prepared data.
[0032] The beneficial effects of the present invention are:
[0033] 1. The present invention uses a serial bus to replace the traditional parallel connection method, which can greatly reduce the number of optical fiber connectors. The number of control and measurement optical fiber connectors can be reduced by half, reducing the size and design difficulty of the controller, and effectively reducing the design cost;
[0034] 2. The present invention connects the modules in sequence through a serial bus, which can effectively reduce the optical fiber connection length. The total length of the optical fiber can be reduced to one tenth of the original length. Such a low material cost rate will further reduce the equipment cost.
[0035] 3. The present invention reduces the number of optical fibers and optical fiber connectors, and also reduces the number of fault points. Especially under medium and high voltage conditions, if there are many optical fibers and they are fixed in one place, it is easy to cause creepage, thus burning the optical fibers. In the serial bus mode, the pressure difference between modules is fixed, which reduces the possibility of optical fiber damage caused by high voltage creepage;
[0036] 4. The synchronous serial time-division multiplexing bus method prepared by the present invention has a reliable error correction and protection mechanism, which can not only perform high-speed data transmission, but also has extremely stable security, meeting the requirements of power system stability;
[0037] 5. The synchronous serial time-division multiplexing bus method written in the present invention makes up for the trigger asynchronization problem caused by the traditional serial bus. The time when the trigger instruction arrives at each module is consistent, and the control time is not extended due to the increase in the number of strings, thus achieving true trigger synchronization and real-time control. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] By reading the detailed description of the preferred embodiment below, the scheme and advantages of the present application will become clear to those skilled in the art. The accompanying drawings are only for the purpose of illustrating the preferred embodiment and are not to be considered as limiting the present invention.
[0039] In the attached picture:
[0040] Figure 1 It is a schematic diagram of the serial topology structure of the present invention;
[0041] Figure 2 This is a schematic diagram of the host data frame format of the present invention;
[0042] Figure 3 This is a schematic diagram of the slave data frame format of the present invention;
[0043] Figure 4 It is a schematic diagram of the process of the present invention;
[0044] Figure 5 This is a demonstration diagram of bus time-division multiplexing of the present invention; DETAILED DESCRIPTION
[0045] The exemplary embodiments of the present disclosure will be described in more detail below in conjunction with the accompanying drawings. It should be noted that these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art. The present disclosure can be implemented in various forms and should not be limited by the embodiments described herein.
[0046] Example
[0047] Figure 1 The present invention is a schematic diagram of the serial topology structure of the present invention, and the present invention is a synchronous serial time-division multiplexing bus method applied to high-voltage cascade equipment, wherein the serial control structure is relative to the parallel transmission structure, and the serial bus method is used to replace the traditional parallel connection method, which can greatly reduce the number of optical fiber connectors, and the number of control and measurement optical fiber connectors can be reduced by half, reducing the size and design difficulty of the controller, and effectively reducing the design cost.
[0048] The modules in the serial structure are connected hand in hand. The high-voltage complete compensation device is generally divided into three phases ABC. Each phase is controlled separately. The AT transmitter of the control device is connected to the Ra1 receiver of module A1, the Ta1 transmitter of module 1 is connected to the Ra2 receiver of module 2, and the Ta2 transmitter of module 2 is connected to the Ra3 receiver of module 3. And so on. The receiver of module n is connected to the Tan-1 transmitter of module n-1, and the transmitter of module n is connected back to the AR receiver of the controller. In this way, the link topology of phase A is completed. Similarly, phases BC are also completed through the same link topology.
[0049] It can be clearly seen from this topology diagram that compared with the one-to-one topology, the serial structure can greatly reduce the number of fiber optic transceivers used, while effectively reducing the number of optical fibers used.
[0050] like Figure 2As shown, the host data frame is frame header, slave module station number, node number, node 1 trigger instruction, node 2 trigger instruction...node n trigger instruction, check segment, frame tail from high byte to low byte. When there is no fault, each submodule responds to its own trigger instruction in turn. When there is a fault, it immediately occupies the bus and sends a 200us low level for timely protection. And the number of nodes is determined by the DC working voltage. For example, in the conventional 9000V DC working voltage, 12 phase voltages are required. A single phase voltage requires a left bridge, a right bridge and an enable and occupies 1 bit respectively, and a byte has only 8 bits, so a single byte can only control two slave modules. Therefore, in the 9000V DC working voltage, 6 bytes of trigger instructions are required. Therefore, 11 bytes are required in the 9000V DC working voltage. By analogy, according to the specific value of the DC working voltage, the number of bytes of the host data frame can be obtained and the number of bytes can be determined.
[0051] like Figure 3 As shown, the slave data frame is composed of frame header, slave module station number, data length, handshake signal, analog information, status information, check segment, and frame tail from high byte to low byte. When there is no fault, each submodule occupies the bus and sends data frames in turn. When there is a fault, it immediately occupies the bus and sends a 200us low level for timely protection. The number of bytes in the slave data frame is the same as that in the host data frame. Therefore, referring to the data of the above 9000V DC working voltage, the slave data frame also requires 11 bytes, of which only 8 bytes are needed to complete the work, and the extra bytes are idle bits.
[0052] like Figure 5 As shown, the host module sends a trigger instruction to all slave modules at the first time T at time t1, module 1 occupies the bus at the second time T and sends the analog quantity and status information of the current module, sends a trigger instruction to all slave modules at time t2 at the third time T, module 2 occupies the bus at the fourth time T and sends the analog quantity and status information of the current module, until the 2n-1th time T sends a trigger instruction to all slave modules at time tn, and module n occupies the bus at the 2nth time T and sends the analog quantity and status information of the current slave module, thus completing a data closed loop.
[0053] like Figure 4 As shown, a synchronous serial time-division multiplexing bus method applied to high-voltage cascade devices includes the following steps:
[0054] Step 1:
[0055] (1) Link initialization, and the link includes at least one host module and multiple slave modules; the slave module is a power module of a conventional high-voltage cascade device. Since there are multiple power modules in the conventional high-voltage cascade device, the corresponding slave modules need to be set to a corresponding number;
[0056] (2) The host module sends data to multiple slave modules and establishes communication, the data includes at least 4 bytes, and the 4 bytes of information include a module identification code, a handshake signal and a check signal, wherein the handshake signal is used to establish a connection, the module identification code needs to be sent to different slave modules, and the corresponding slave modules latch the module identification codes they receive to establish the slave module station number, and the slave module can respond to the bus request sent by the host module according to the slave module station number and proceed to the next step;
[0057] Step 2:
[0058] (1) Link initialization is completed (communication establishment initialization is completed), the slave module obtains the slave module station number, each slave module replies to the master module through the bus response that the initialization is completed, and each slave module begins to release the bus. All slave modules are hung on a serial bus. The master module receives the completion signal and synchronously detects whether the bus is in an idle state. If the bus is not in an idle state, the bus continues to be detected until the bus is in an idle state. If the bus is detected to be in an idle state, it means that all slave modules are ready and enter the next step. If the link initialization process is not completed, the above step 1 process needs to be repeated until the link initialization can be completed;
[0059] Step 3:
[0060] (1) When the host module detects that the bus is in an idle state, the host module starts a counter with a period of T;
[0061] (2) Synchronously sending a host data frame, which includes key instructions such as the trigger pulse of the slave module and the slave module station number. Each slave module synchronously parses the trigger pulse instruction and the slave module station number information sent by the host. The slave module that enters the response state according to the slave module station number becomes a response device. The response device is synchronously triggered according to the trigger pulse instruction, initiates a bus occupation application, and enters the next step;
[0062] Furthermore, the host data frame sent by the host module includes at least a frame header, a slave module station number, a node number, a node 1 trigger instruction, a node 2 trigger instruction, ... a node n trigger instruction, a check segment, and a frame tail. The number of nodes is determined by the DC working voltage, and needs to be confirmed by the user according to the actual situation.
[0063] Step 4: Multiple slave modules detect their own fault information
[0064] (1) If the plurality of slave modules detect that they have no fault information, they simultaneously respond to the trigger pulse and proceed to the next step;
[0065] (2) If multiple slave modules are detected to have faults, the master data frame sent by the master module will no longer be judged, and a low level of 200us will be sent continuously to seize the bus. The continuous low level will be immediately transmitted back to the master control module, and the pulse blocking will be completed. The whole machine will be locked until the fault of the slave module is eliminated and return to step 2;
[0066] Step 5:
[0067] (1) After detecting that there is no fault information in step 4, the answering device bus application is approved and a time counter with a period of T is started;
[0068] (2) Enter the transmission state, send the slave data frame, perform one-to-one data transmission, and upload the analog quantity and status information of the current module in real time until the data transmission is completed and proceed to the next step;
[0069] Furthermore, the slave data frame is composed of the frame header, slave module station number, data length, handshake signal, analog information, status information, check segment, and frame tail from high byte to low byte, and the number of bytes of the slave data frame is the same as the number of bytes of the host data frame, and the extra bytes exceeding 8 bytes do not need to arrange new functions. Accordingly, the slave data frame requires at least 8 bytes, so the number of bytes of the host data frame cannot be less than 8, otherwise it will not be able to run.
[0070] The reason why the host data frame and the slave data frame need to have the same data length is that the cycle T of the data transmission pace can be guaranteed to be the same, otherwise, it will not be able to run.
[0071] Step 6: Host data processing
[0072] (1) If the host module receives data from the answering device with a transmission or verification error, the fault level is determined. If it is a minor fault, the host data frame is discarded and the previous host data frame is used to continue operation. If it is a major fault, all module pulses are blocked and the entire machine is locked until the fault is eliminated and the process returns to step 2.
[0073] (2) If the host module receives the data information of the response device without any fault, it processes the data in real time, updates the trigger instruction, and repeats step 2.
[0074] Furthermore, the criteria for judging a minor fault and a major fault are: when communication can be restored within 200us, it is a minor fault, and when communication cannot be restored within 200us, it is a major fault. Faults exceeding 200us (microseconds) are likely to cause damage to components, so 200us is the critical point. In other words, it is necessary to ensure the normal use of components to avoid damage.
[0075] After the above steps, the closed-loop control of the serial time-division multiplexing bus is completed. In summary, in each continuous 2T cycle, in the first cycle T, real-time control of all modules and data update of one module can be completed once. At the same time, each module can preempt the priority of bus interruption according to its own real-time fault status. The fault mode is the first-level response priority, the host response is the second-level priority, and the slave response is the third-level priority. In the fault-free state, the module responds to the bus request in sequence in the second cycle of the host 2T cycle according to the slave module station number issued by the host, and completes the data string number and handshake verification. In this way, n real-time controls of all modules and status collection of n modules are completed within 2nT. The host determines whether to respond to module data or take system protection according to whether there is a system fault. The final data participates in system modulation to complete a closed-loop control.
[0076] Furthermore, the slave modules are connected in sequence and connected to the same serial bus. The host module calls the slave modules in turn according to whether the bus is in an idle state, and the slave modules complete data parsing to determine whether the slave module station number sent by the host matches its own slave module station number. If it matches, it means that the current node module can occupy bus resources. If it does not match its own slave module station number, it will not occupy bus resources, thereby ensuring that all slave modules can be triggered simultaneously within each cycle T, and completing the one-to-one connection between the response device and the host module to complete the communication.
[0077] Furthermore, the slave module can occupy serial bus resources according to the call of the host module, and can also actively occupy bus resources according to the interrupt mechanism. Ensure that in the fault state, the slave module can directly occupy the bus resources and complete the function of locking the whole machine. That is, the above-mentioned first-level response priority. Since long-term faults will cause damage to components, it is necessary to give priority to processing fault information in the case of a fault. Therefore, the slave module will seize bus resources in this case, and actively seize them. It is not necessary to match the host data frame of the host module. The purpose is to shut down in the first time to protect the equipment from damage. In addition, in the locking whole machine mode, even if it is judged that all faults have disappeared, a delay will be set to start the whole machine, and the time is generally about 20S, in order to prevent the whole machine from starting and stopping continuously.
[0078] Furthermore, there is only one host module device, and the slave module device includes at least one dynamic allocation module, which can be dynamically configured according to user needs.
[0079] The host module sends data and calls the slave module according to the idle state of the bus, and the slave module realizes data transmission between the host module and the slave module according to the host module call and the idle state of the bus.
[0080] As mentioned above, the device that applies to occupy the bus can be a master module or a slave module.
[0081] Under normal conditions, when there is no fault interruption to seize the bus, the host module acts as a requesting device and the slave module acts as a responding device, and a one-to-one connection can be established.
[0082] And in the above process, the slave module, as a response device, is connected one-to-one with the host module and can occupy the bus with the lowest priority. In the fault mode and the corresponding state of the host, it can directly occupy the bus.
[0083] When there is a fault interrupt, the slave module with the current fault directly occupies the bus. At this time, there is no response device, and the slave module does not need to set the request status. As a requesting device, the host module is used as a response device, but directly transmits it to the host module to execute a shutdown command to protect the device from damage.
[0084] In summary, the bus state is divided into idle state, request state, response state and data transmission state.
[0085] In the idle state, all modules (host module and multiple slave modules) are connected in series, no data is sent or parsed, and bus resources are in an idle state;
[0086] The request state is that the host module enters the request state as a requesting device, can request the slave module and obtain a response signal, and the slave module that currently parses the slave module station number pairing and obtains the response signal is the response device;
[0087] The response state is that after the above request state occurs, the response device is ready to send data, the data is in a waiting state, and the request device is in a receiving state, ready to parse the response data;
[0088] The data transmission state is that the responding device occupies the bus, performs one-to-one pairing with the requesting device, and sends the prepared data.
[0089] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or additions, subtractions or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A synchronous serial time-division multiplexing bus method applied to high-voltage cascade equipment, characterized in that: The following steps are involved: Step 1: Link initialization. The link includes at least one host module and multiple slave modules. The host module sends data to multiple slave modules and establishes communication. The data includes a handshake signal and a module identification code. The slave modules latch the module identification codes they receive to establish the slave module station number. The slave modules can respond to the bus request sent by the host module according to the slave module station number and proceed to the next step. Step 2: After the link is initialized, the slave module obtains the slave module station number. Each slave module replies to the host module through the bus to complete the initialization. Each slave module starts to release the bus. All slave modules are hung on a serial bus. The host module receives the completion signal and synchronously detects whether the bus is in an idle state. If the bus is not in an idle state, the bus continues to be detected until the bus is in an idle state. If the bus is detected to be in an idle state, it means that all slave modules are ready and enter the next step. Step 3: The host module detects that the bus is in an idle state, the host module starts a counter with a period of T, and synchronously sends a host data frame, the host data frame includes the trigger pulse of the slave module and the slave module station number, each slave module synchronously parses the trigger pulse instruction and the slave module station number information issued by the host, and the slave module that enters the response state according to the slave module station number becomes a response device, and the response device is synchronously triggered according to the trigger pulse instruction, initiates a bus occupation application, and enters the next step; Step 4: multiple slave modules detect their own fault information. If multiple slave modules detect that they have no fault information, they respond to the trigger pulse at the same time and proceed to the next step. If multiple slave modules detect that they have faults, they no longer judge the host data frame sent by the host module, and immediately send a low level of 200us continuously to seize the bus. The continuous low level is immediately transmitted back to the main control module, and the pulse blocking is completed until the fault of the slave module is eliminated and then return to step 2; Step 5: After detecting that there is no fault information in step 4, the bus occupation application of the answering device is passed, and a time counter with a period of T is started, and the transmission state is entered to perform one-to-one data transmission, and the analog quantity and status information of the current module are uploaded in real time until the data transmission is completed, and the next step is performed; Step 6: If the host module receives the data from the answering device and there is a transmission or verification error, the fault level is determined. If it is a minor fault, the host data frame is discarded and the previous host data frame is used to continue running. If it is a major fault, all module pulses are blocked and the entire machine is locked until the fault is eliminated and then the process returns to step 2. If the host module receives the data from the answering device and there is no fault, the data is processed in real time, the trigger instruction is updated, and step 2 is repeated.
2. A synchronous serial time-division multiplexing bus method for high-voltage cascade equipment according to claim 1, characterized in that: In step 1, the data includes at least 4 bytes, and the 4 bytes of information include a module identification code, a handshake signal and a check signal.
3. A synchronous serial time-division multiplexing bus method for high-voltage cascade equipment according to claim 1, characterized in that: In step 3, the host data frame sent by the host module includes at least a frame header, a slave module station number, a node number, a node 1 trigger instruction, a node 2 trigger instruction ... a node n trigger instruction, a check segment and a frame tail.
4. A synchronous serial time-division multiplexing bus method applied to high-voltage cascade equipment according to claim 3, characterized in that: In step five, the data sent by the slave module includes a slave data frame, and the slave data frame at least includes a frame header, a slave module station number, a data length, a handshake signal, analog quantity information, status information, a check segment and a frame tail.
5. A synchronous serial time-division multiplexing bus method applied to high-voltage cascade equipment according to claim 4, characterized in that: In step 3 and step 5, the data lengths of the host data frame and the slave data frame are the same, which can ensure that the period T of the data transmission pace is the same, thereby ensuring device synchronization.
6. A synchronous serial time-division multiplexing bus method for high-voltage cascade equipment according to claim 1, characterized in that: In step six, if the communication can be restored within 200us, it is a minor fault; if the communication cannot be restored within 200us, it is a major fault.
7. A synchronous serial time-division multiplexing bus method applied to high-voltage cascade equipment according to claim 1, characterized in that: The slave modules are connected in sequence and connected to the same serial bus. The host module polls and calls the slave modules according to whether the bus is in an idle state, ensuring that all slave modules can be triggered simultaneously within each cycle T, and a one-to-one connection between the answering device and the host module is completed to complete the communication.
8. A synchronous serial time-division multiplexing bus method for high-voltage cascade equipment according to claim 1, characterized in that: The slave module can occupy serial bus resources according to the call of the host module, and can also actively occupy bus resources according to the interrupt mechanism; There is only one host module device, and the slave module device includes at least one dynamic allocation module, which can be dynamically configured according to user needs; The host module sends data and calls the slave module according to the idle state of the bus, and the slave module realizes data transmission between the host module and the slave module according to the host module call and the idle state of the bus.
9. A synchronous serial time-division multiplexing bus method applied to high-voltage cascade equipment according to claim 1, characterized in that: The device applying to occupy the bus is a host module or a slave module. When there is no fault interruption to seize the bus, the host module acts as a requesting device and the slave module acts as a responding device. When there is a fault interruption, the currently faulty slave module directly occupies the bus.
10. A synchronous serial time-division multiplexing bus method applied to high-voltage cascade equipment according to claim 9, characterized in that: The bus status is divided into an idle state, a request state, a response state and a data transmission state.
Citation Information
Patent Citations
Method for operating a bus system, bus system and bus user
CN101189835A
Synchronization time-division multiplexing bus communication method adopting serial communication interface
CN102868584A
Single-bus communication system and method for middle and high voltage SVG
CN107154675A
Method for operating a bus system, bus system and bus user
EP1891776A1
