Main loop signal control method, device and computer readable medium

The inverter module generates level control signals and outputs multiple types of signals, which solves the problem of circuit breaker and contactor signal requirements in shore power electronic control systems in the shipbuilding industry, reduces hardware costs and reduces failure rates.

CN114460866BActive Publication Date: 2024-09-03SIEMENS FACTORY AUTOMATION ENG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111614696.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-27
Publication Date
2024-09-03
Estimated Expiration
2041-12-27

Smart Images

  • Figure CN114460866B
    Figure CN114460866B
Patent Text Reader

Abstract

The present invention provides a signal control method, device and computer-readable medium for a main circuit, wherein the main circuit includes: an inverter module and a control module; the signal control method is applied to the control module, including: obtaining a level control signal generated by the inverter module; wherein the level control signal is generated by the inverter module according to the on / off state of the signal introduction switch; determining the level signal type corresponding to the level control signal; determining a target output signal corresponding to the level signal type according to the level signal type; wherein different target output signals correspond to different digital output points in the control module; and selecting the corresponding digital output point to output the determined target output signal. This solution can provide multiple types of signals in the main circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of shipbuilding industry, and in particular to a signal control method and device for a main loop and a computer-readable medium. Background Art

[0002] In the field of shipbuilding, in order to ensure that various equipment can be used normally when building ships, the power supply voltage and frequency used are often different from the public power grid on shore. Therefore, in order to use the public power grid on shore to power ships, a shore power control system is usually used to convert voltage and frequency.

[0003] In the shore power control system, the shore power main circuit is mostly frame circuit breakers and contactors, and the circuit breakers and contactors use different types of signals when working. Therefore, the same type of signal output in the main circuit cannot guarantee the normal working needs of the circuit breakers and contactors. Summary of the invention

[0004] The present invention provides a main loop signal control method, a device and a computer-readable medium, which can provide various types of signals in the main loop.

[0005] In a first aspect, an embodiment of the present invention provides a signal control method for a main circuit, wherein the main circuit comprises: an inverter module and a control module; the signal control method is applied to the control module, comprising:

[0006] Acquire a level control signal generated by the inverter module; wherein the level control signal is generated by the inverter module according to the on / off state of the signal introduction switch;

[0007] Determining the level signal type corresponding to the level control signal;

[0008] According to the level signal type, determining a target output signal corresponding to the level signal type; wherein different target output signals correspond to different digital output points in the control module;

[0009] Select the corresponding digital output point to output the determined target output signal.

[0010] In a possible implementation manner, when the type of the level control signal includes a high level signal,

[0011] The step of selecting a corresponding digital output point to output the determined target output signal comprises:

[0012] Generate a closing pulse signal according to a preset closing pulse signal generation program and the acquired level control signal of a high level signal type, and control the first digital output point to output the closing pulse signal; and

[0013] According to the acquired level control signal of the high level signal type, the second digital output point is controlled to output a high level signal.

[0014] In a possible implementation, the step of generating a closing pulse signal according to a preset closing pulse signal generation program and an acquired level control signal of a high level signal type includes:

[0015] Detecting a rising edge of the level control signal of the high level signal type; and,

[0016] When the rising edge of the level control signal is detected, the closing pulse signal is generated by using a preset closing pulse signal generation program.

[0017] In a possible implementation manner, when the type of the level control signal includes a low level signal,

[0018] The step of selecting a corresponding digital output point to output the determined target output signal comprises:

[0019] Generate a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and the acquired level control signal of a low-level signal type, and control the third digital output point to output the gate-opening pulse signal; and,

[0020] According to the acquired level control signal of the low level signal type, the fourth digital output point is controlled to output a low level signal.

[0021] In a possible implementation, the step of generating a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and an acquired level control signal of a low-level signal type includes:

[0022] Detecting the falling edge of the level control signal of the low level signal type; and,

[0023] When the falling edge of the level control signal is detected, the opening pulse signal is generated by using a preset opening pulse signal generation program.

[0024] In a second aspect, an embodiment of the present invention provides a signal control method for a main circuit, wherein the main circuit comprises: an inverter module and a control module; the signal control method is applied to the inverter module, comprising:

[0025] Detect the on / off status of the signal introduction switch in the main circuit;

[0026] A level control signal is generated according to the on / off state; wherein the level control signal is used by the control module to determine the level signal type and the target output signal according to the level control signal, and output the target output signal from the corresponding digital output point selected in the control module.

[0027] In a possible implementation, when it is detected that the signal introduction switch in the main loop is in a closed state, the level signal type includes a high level signal; and,

[0028] When it is detected that the signal introduction switch in the main loop is in an open state, the level signal type includes a low level signal.

[0029] In a third aspect, an embodiment of the present invention provides a signal control device for a main loop, comprising: a control signal acquisition module, a signal type determination module, an output signal determination module and a signal output module;

[0030] The control signal acquisition module is used to acquire the level control signal generated by the inverter module; wherein the level control signal is generated by the inverter module according to the on / off state of the signal introduction switch;

[0031] The signal type determination module is used to determine the level signal type corresponding to the level control signal acquired by the control signal acquisition module;

[0032] The output signal determination module is used to determine a target output signal corresponding to the level signal type according to the level signal type determined by the signal type determination module; wherein different target output signals correspond to different digital output points in the control module;

[0033] The signal output module is used to select a corresponding digital output point to output the target output signal determined by the output signal determination module.

[0034] In a possible implementation, when the type of the level control signal includes a high level signal and a corresponding digital output point is selected to output the determined target output signal, the signal output module is configured to perform the following operations:

[0035] Generate a closing pulse signal according to a preset closing pulse signal generation program and the acquired level control signal of a high level signal type, and control the first digital output point to output the closing pulse signal; and

[0036] According to the acquired level control signal of the high level signal type, the second digital output point is controlled to output a high level signal.

[0037] In a possible implementation, when the signal output module generates a closing pulse signal according to a preset closing pulse signal generation program and an acquired level control signal of a high level signal type, the signal output module is configured to perform the following operations:

[0038] Detecting a rising edge of the level control signal of the high level signal type; and,

[0039] When the rising edge of the level control signal is detected, the closing pulse signal is generated by using a preset closing pulse signal generation program.

[0040] In a possible implementation, when the type of the level control signal includes a low level signal and a corresponding digital output point is selected to output the determined target output signal, the signal output module is configured to perform the following operations:

[0041] Generate a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and the acquired level control signal of a low-level signal type, and control the third digital output point to output the gate-opening pulse signal; and,

[0042] According to the acquired level control signal of the low level signal type, the fourth digital output point is controlled to output a low level signal.

[0043] In a possible implementation, when the signal output module generates the opening pulse signal according to the preset opening pulse signal generation program and the acquired level control signal of the low level signal type, it is configured to perform the following operations:

[0044] Detecting the falling edge of the level control signal of the low level signal type; and,

[0045] When the falling edge of the level control signal is detected, the opening pulse signal is generated by using a preset opening pulse signal generation program.

[0046] In a fourth aspect, an embodiment of the present invention provides a signal control device for a main circuit, comprising: a switch-on / off state detection module, and a control signal generation module;

[0047] The on / off state detection module is used to detect the on / off state of the signal introduction switch in the main circuit;

[0048] The control signal generating module is used to generate a level control signal according to the on / off state detected by the on / off state detecting module; wherein the level control signal is used by the control module to determine the level signal type and the target output signal according to the level control signal, and to output the target output signal from the corresponding digital output point selected in the control module.

[0049] In a fifth aspect, an embodiment of the present invention further provides a computing device, comprising: at least one memory and at least one processor;

[0050] The at least one memory is used to store a machine-readable program;

[0051] The at least one processor is used to call the machine-readable program to execute the method described in any one of the first aspect and the second aspect.

[0052] In a sixth aspect, an embodiment of the present invention further provides a computer-readable medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes any one of the methods described in the first aspect and the second aspect.

[0053] In a seventh aspect, an embodiment of the present invention further provides a computer program product, including a computer program, which, when executed by a processor, implements any one of the methods described in the first aspect and the second aspect.

[0054] It can be seen from the above technical solution that when controlling the signal in the main circuit, it can be considered to obtain the level control signal generated by the inverter module according to the on / off state of the signal introduction switch through the control module, and then determine the type of the level signal, and then determine the target output signal to be output according to the type of the level signal, so that the digital output point that can output the target output signal can be selected to output the target output signal. It can be seen that in this solution, the level control signal can be used to obtain multiple types of target output signals from different digital output points at the same time, so that the needs of multiple types of signals can be provided for the circuit breakers and contactors in the main circuit, that is, the normal operation of the circuit breakers and contactors in the main circuit can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0056] Figure 1 is a flow chart of a signal control method for a main loop provided by an embodiment of the present invention;

[0057] Figure 2 is a flow chart of a method for outputting a target output signal provided by an embodiment of the present invention;

[0058] Figure 3 It is a flow chart of a closing pulse signal generating method provided by one embodiment of the present invention;

[0059] Figure 4 is a flow chart of a method for outputting a target output signal provided by another embodiment of the present invention;

[0060] Figure 5It is a flow chart of a method for generating a gate-opening pulse signal provided by an embodiment of the present invention;

[0061] Figure 6 is a flow chart of a signal control method for a main loop provided by another embodiment of the present invention;

[0062] Figure 7 This is a signal control schematic diagram of a main circuit provided by an embodiment of the present invention;

[0063] Figure 8 is a flow chart of a signal control method for a main loop provided by another embodiment of the present invention;

[0064] Fig. 9 is a schematic diagram of a signal control device for a main circuit provided by an embodiment of the present invention;

[0065] Fig.10 is a schematic diagram of a signal control device for a main circuit provided by another embodiment of the present invention;

[0066] Fig.11 It is a schematic diagram of a computing device provided by an embodiment of the present invention.

[0067] Reference numerals list

[0068] 101: Get the level control signal generated by the inverter module

[0069] 102: Determine the level signal type corresponding to the level control signal

[0070] 103: According to the level signal type, determine the target output signal corresponding to the level signal type

[0071] 104: Select the corresponding digital output point to output the determined target output signal

[0072] 201: Generate a closing pulse signal according to a preset closing pulse signal generation program and the acquired level control signal of a high level signal type, and control the first digital output point to output the closing pulse signal

[0073] 202: Control the second digital output point to output a high level signal according to the acquired level control signal of the high level signal type

[0074] 301: Detect the rising edge of the level control signal of the high level signal type

[0075] 302: When the rising edge of the level control signal is detected, a closing pulse signal is generated using a pre-set closing pulse signal generation program.

[0076] 401: Generate a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and the acquired level control signal of a low-level signal type, and control the third digital output point to output the gate-opening pulse signal

[0077] 402: Control the fourth digital output point to output a low level signal according to the acquired level control signal of the low level signal type

[0078] 501: Detect the falling edge of the level control signal of the low level signal type

[0079] 502: When the falling edge of the level control signal is detected, a pre-set opening pulse signal generation program is used to generate an opening pulse signal

[0080] 601: Detect the on / off status of the signal introduction switch in the main circuit

[0081] 602: Generate a level control signal according to the on / off state

[0082] 701: signal introduction switch 702: digital input point 703: digital output point

[0083] 71: Inverter module 72: Control module

[0084] 801: The inverter module detects the on / off status of the signal introduction switch in the main circuit

[0085] 802: The inverter module generates a level control signal according to the on / off of the signal input switch

[0086] 803: Introduce the level control signal generated by the introduction switch into the control module

[0087] 804: The control module determines the level signal type of the introduced level control signal

[0088] 805: The control module determines the target output signal according to the level signal type of the level control signal

[0089] 806: Select the corresponding digital output point to output the target output signal

[0090] 901: control signal acquisition module 902: signal type determination module 903: output signal determination module

[0091] 904: signal output module 1001: on / off state detection module 1002: control signal generation module

[0092] 1101: memory 1102: processor 1100: computing device

[0093] 100 / 600 / 800: Signal control method of main circuit 900 / 1000: Signal control device of main circuit DETAILED DESCRIPTION

[0094] In the electric control system, users usually use cabinet-mounted equipment and configure the cabinet by themselves. The incoming power supply is controlled by the incoming switch cabinet, and the connection between the inverter power supply and the output end is controlled by the outgoing switch cabinet. For example, in the shipbuilding industry, in order to ensure the normal use of various equipment when building ships, it is often necessary to use a power supply voltage and frequency that is different from the voltage and frequency of the public power grid on the shore. Therefore, in order to use the public power grid on the shore to power the ship, it is necessary to introduce the public power grid on the shore through the shore power control system and convert the voltage and frequency.

[0095] However, the main circuit of the electric control system is mostly composed of frame circuit breakers and contactors, and the types of signals required by circuit breakers and contactors for normal operation are different. If the traditional electric control system is used, only a single type of signal can be provided, which cannot guarantee the normal operation of circuit breakers and contactors. Later, there appeared a solution of using additional controllers such as PLC to perform logic control of the main circuit, and a solution of using relays and switch contacts to build additional hardware logic. However, the solution of using additional controllers will greatly increase the hardware cost and require regular maintenance by professionals; the solution of using additional hardware to build logic will introduce a large number of components, which will increase costs and bring more failure points.

[0096] Based on this, this solution considers using the hardware and software platform of the inherent frequency converter in the system, and outputting different types of target output signals from different digital output points simultaneously according to the level control signal generated by the inverter module, so as to meet the requirements of circuit breakers and contactors that require different types of signals to work. In addition, this solution does not require the addition of additional components and controllers, which means that it will not cause additional cost increase and increase in failure rate.

[0097] The signal control method, device and computer-readable medium of the main loop provided by the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0098] The signal control method of the main circuit provided by this solution can be mainly applied to the inverter module and the control module in the main circuit. The signal control method of the main circuit provided by this solution is described from these two application perspectives.

[0099] 1. Control module angle

[0100] like Figure 1 As shown, the main loop signal control method 100 applied to the control module provided by the embodiment of the present invention may mainly include the following steps:

[0101] Step 101: obtaining a level control signal generated by an inverter module; wherein the level control signal is generated by the inverter module according to the on / off state of a signal introduction switch;

[0102] Step 102: Determine the level signal type corresponding to the level control signal;

[0103] Step 103: determining a target output signal corresponding to the level signal type according to the level signal type; wherein different target output signals correspond to different digital output points in the control module;

[0104] Step 104: Select a corresponding digital output point to output the determined target output signal.

[0105] In the embodiment of the present invention, when the main circuit is signal controlled, it is considered to use the inverter module in the main circuit to obtain the level control signal generated according to the on / off state of the signal introduction switch, further determine the type of the level control signal, and determine the target output signal to be output according to the type of the level signal, and output the corresponding target output signal through the corresponding digital output point. Since different target output signals correspond to different digital output points in the control module, that is, this solution can output multiple signals from different digital output points at the same time, thus meeting the working requirements of the circuit breaker and contactor in the main circuit for different types of signals.

[0106] It is worth noting that when implementing the signal control scheme, this solution does not require the addition of additional controllers, such as PLCs. The control scheme can be implemented by the control module in the main loop, which can avoid the hardware cost increased by using PLCs and does not require professional commissioning personnel to debug PLCs. In addition, this solution does not use additional components and can be implemented only by relying on the frequency converter of the electric control system. This not only reduces the hardware cost caused by components, but also avoids the failure points caused by the connection of a large number of components.

[0107] In this embodiment, the level signal type may include a high level signal and a low level signal, etc. The target output signal to be output may be determined according to the type of the level signal. For example, when the level control signal is a high level signal, the target output signal may include a closing pulse signal, and the level control signal of the high level signal type may be directly output at the same time; for another example, when the level control signal is a low level signal, the target output signal may include an opening pulse signal, and the level control signal of the low level signal type may be directly output at the same time.

[0108] When determining the type of level signal in step 103, it can be determined according to the corresponding input instruction. For example, the input instruction can be to output a closing pulse signal, an opening pulse signal, a high level signal, and a low level signal; it can also include outputting a closing pulse signal and a high level signal at the same time, and outputting an opening pulse signal and a low level signal at the same time. Of course, it can also include outputting four signals at the same time. For example, in some possible implementations, by introducing the signal of the inverter module into the switch to realize the complete process of "open-close-open", it is possible to simultaneously output a closing pulse signal, an opening pulse signal, a high level signal, and a low level signal.

[0109] When outputting the target output signal, different digital input points and output points can be configured. For example, the digital input point for the level control signal is configured as DI0, the digital output point DO4 is configured to output a closing pulse signal, the digital output point DO5 is configured to output an opening pulse signal, the digital output point DO6 is configured to output a high-level signal, and the digital output point DO7 is configured to output a low-level signal, etc. Of course, the digital output points configured to output closing pulse signals and opening pulse signals are connected to closing coils and opening coils, respectively, so as to realize the conversion of digital signals into closing pulse signals and opening pulse signals.

[0110] In some embodiments, the signal introduction switch in the inverter module can mainly divide the type of the level control signal into a high level signal and a low level signal according to the on and off state. The high level signal and the low level signal are described below respectively.

[0111] 1.1. The level control signal is a high level signal

[0112] When the type of the level control signal is a high level signal, step 104 selects the corresponding digital output point to output the determined target output signal, such as Figure 2 As shown, this can be achieved through the following steps:

[0113] Step 201: Generate a closing pulse signal according to a preset closing pulse signal generation program and an acquired level control signal of a high level signal type, and control a first digital output point to output the closing pulse signal;

[0114] Step 202: According to the acquired level control signal of the high level signal type, control the second digital output point to output a high level signal.

[0115] In this embodiment, when the type of the level control signal is a high level signal, the high level signal is introduced, and the high level signal is converted into a closing pulse signal using a pre-set closing pulse signal generation program, and then the generated closing pulse signal is output through the corresponding first digital output point. At the same time, the high level signal can be directly output from the pre-set second digital output point. It can be seen that this solution can output level signals and pulse signals at the same time, thereby meeting the requirements that circuit breakers and contactors require different types of signals to work.

[0116] Of course, in step 202, when controlling the second digital output point to output a high-level signal, the level control signal of the introduced high-level signal type can be filtered first to filter out some clutter that is not conducive to controlling the entire electronic control system, and then the high-level signal obtained after filtering is output from the second digital output point.

[0117] like Figure 3 As shown, when step 201 generates a closing pulse signal according to a preset closing pulse signal generation program and an acquired level control signal of a high level signal type, it can be implemented by the following steps:

[0118] Step 301: Detecting the rising edge of a level control signal of a high level signal type;

[0119] Step 302: When a rising edge of the level control signal is detected, a closing pulse signal is generated using a preset closing pulse signal generation program.

[0120] In this embodiment, when using the closing pulse signal generation program and the high-level signal to generate the closing pulse signal, the rising edge of the level control signal can be detected, and when the rising edge of the high-level signal is detected, the closing pulse signal is generated by the closing pulse signal generation program. In this way, the closing pulse signal can be generated in a timely and accurate manner according to the input level signal.

[0121] 1.2. The level control signal is a low level signal

[0122] When the type of the level control signal is a low level signal, step 104 selects the corresponding digital output point to output the determined target output signal, such as Figure 4 As shown, this can be achieved through the following steps:

[0123] Step 401: generating a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and an acquired level control signal of a low-level signal type, and controlling a third digital output point to output the gate-opening pulse signal; and,

[0124] Step 402: According to the acquired level control signal of the low level signal type, the fourth digital output point is controlled to output a low level signal.

[0125] In this embodiment, when the type of the level control signal is a low-level signal, the low-level signal is introduced, and the low-level signal is converted into a gate-opening pulse signal using a pre-set gate-opening pulse signal generation program, and then the generated gate-opening pulse signal is output through the corresponding third digital quantity output point. At the same time, the low-level signal can be directly output from the pre-set fourth digital quantity output point. It can be seen that this solution can simultaneously output pulse signals such as gate-opening pulse signals and low-level signals of digital signals, thereby meeting the requirements that circuit breakers and contactors require different types of signals to work.

[0126] Similarly, as when the type of the level control signal is a high level signal, when step 402 controls the fourth digital output point to output a low level signal, the introduced level control signal of the low level signal type can also be filtered, and then the low level signal obtained after filtering is output.

[0127] like Figure 5 As shown, when step 401 generates a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and an acquired level control signal of a low-level signal type, it can be implemented by the following steps:

[0128] Step 501: Detecting the falling edge of a level control signal of a low level signal type; and,

[0129] Step 502: When the falling edge of the level control signal is detected, a gate-opening pulse signal is generated using a preset gate-opening pulse signal generation program.

[0130] Similar to the case where the level control signal type is a high level signal, when using the opening pulse signal generation program and the low level signal to generate the opening pulse signal, the falling edge of the low level signal can be detected, and when the falling edge of the level control signal is detected, the opening pulse signal can be generated using the opening pulse signal generation program, thereby ensuring that the opening pulse signal can be generated in a timely and accurate manner according to the input level control signal.

[0131] 2. Inverter module angle

[0132] like Figure 6 As shown, the signal control method 600 applied to the main circuit of the inverter module provided in this embodiment may include the following steps:

[0133] Step 601: Detecting the on / off status of the signal introduction switch in the main circuit;

[0134] Step 602: Generate a level control signal according to the on / off state; wherein the level control signal is used by the control module to determine the level signal type and the target output signal according to the level control signal, and output the target output signal from the corresponding digital output point selected in the control module.

[0135] The inverter module is provided with a signal introduction switch, which generates a level control signal by turning the switch on and off. After the level control signal is introduced into the control module, the control module further determines the type of the level control signal and the target output signal, and then outputs the target output signal by selecting the corresponding digital output point, so as to realize the simultaneous output of different types of signals to meet the working requirements of the circuit breaker and the contactor at the same time.

[0136] In this embodiment, the generation of the level control signal is generated by the on / off of the introduction switch. For example, when it is detected that the signal introduction switch of the main circuit is in a closed state, the type of the level control signal generated includes a high level signal; when it is detected that the signal introduction switch of the main circuit is in an open state, the type of the level control signal generated includes a low level signal.

[0137] 3. Control module and inverter module angle

[0138] like Figure 7 The figure shows a signal control schematic diagram of a main circuit including a control module and an inverter module. The signal introduction switch 701 in the inverter module 71 generates a level control signal by closing and opening, and introduces the level control signal into a digital quantity input point 702 of the control module 72. The control module 72 outputs a target signal from a corresponding digital quantity output point 703 according to the target output signal to be output.

[0139] based on Figure 7 The signal control schematic diagram shown in Figure 8 As shown, the signal control method 800 of the main loop provided by this solution may include the following steps:

[0140] Step 801: The inverter module detects the on / off state of the signal introduction switch in the main circuit;

[0141] Step 802: the inverter module generates a level control signal according to the on / off of the signal introduction switch;

[0142] In this embodiment, the level control signal is generated by turning on and off the signal introduction switch of the inverter module. For example, when the signal introduction switch is in a closed state, a high level signal is generated; when the signal introduction switch is in an open state, a low level signal is generated.

[0143] Step 803: introducing the level control signal generated by the introduction switch into the control module;

[0144] In this embodiment, the control module includes multiple digital output points. When the signal of the inverter module is introduced into the switch to generate a level control signal, the level control signal is connected to a pre-set digital input point so that the control module can further process the level control signal to obtain a corresponding output signal.

[0145] Step 804: the control module determines the level signal type of the introduced level control signal;

[0146] In this embodiment, when the level control signal generated by the inverter module is introduced into the control module, the control module determines the level signal type of the level control signal, that is, determines whether the level control signal is a high level signal or a low level signal.

[0147] Step 805: the control module determines the target output signal according to the level signal type of the level control signal;

[0148] In this embodiment, the target output signal can be determined according to the input level control signal. For example, the target output signal may include a closing pulse signal, an opening pulse signal, a high level signal, and a low level signal. When the level control signal is a high level signal, the target output signal may include a closing pulse signal and a high level signal; when the level control signal is a low level signal, the target output signal may include an opening pulse signal and a low level signal. Of course, in some embodiments, the simultaneous output of four target output signals can also be achieved. For example, the input level control signal is a "disconnect-close-disconnect" process, and four target output signals can be output simultaneously.

[0149] In a possible implementation, the target output signal may also be determined according to a manual control command, such as manually pressing a button or typing a corresponding instruction to determine the corresponding target output signal.

[0150] Step 806: Select a corresponding digital output point to output a target output signal;

[0151] Since the level signal type of the level control signal can include high level signal and low level signal, we have:

[0152] When the level control signal is a high level signal, step 806 may include:

[0153] 806A: Generate a closing pulse signal according to the closing pulse signal generation program and the high-level signal, and output it from the digital output point corresponding to the closing pulse signal;

[0154] When generating the closing pulse signal, the rising edge of the level control signal may be detected, and when the rising edge is detected, the closing pulse signal may be generated using a pre-set closing pulse signal generating program.

[0155] 806B: Filter the high-level signal, and output the high-level signal obtained after filtering from the digital output point corresponding to the high-level signal.

[0156] When the level control signal is a low level signal, step 806 may include:

[0157] 806a: Generate a gate-opening pulse signal according to the gate-opening pulse signal generation program and the low-level signal, and output it from the digital output point corresponding to the gate-opening pulse signal;

[0158] When generating the opening pulse signal, the falling edge of the level control signal may be detected, and when the falling edge is detected, the opening pulse signal may be generated using a preset opening pulse signal generating program.

[0159] 806b: Filter the low-level signal, and output the low-level signal obtained after filtering from the digital output point corresponding to the low-level signal.

[0160] It should be noted that the pulse width of the closing pulse signal and the opening pulse signal can be determined by instructions. For example, by the instruction timec=200ms, timeo=200ms, the pulse width of the generated closing pulse can be 200ms, and the pulse width of the generated opening pulse can be 200ms.

[0161] In addition, there may be several digital output points, and the target output signal to be output by each digital output point can be defined by commands. For example, the command may include: p738=signalc, p739=signalo, p740=signalall, that is, the digital output point corresponding to P738 outputs a closing pulse signal, the digital output point corresponding to p739 outputs an opening pulse signal, and the digital output point corresponding to p740 outputs a high level signal or a low level signal.

[0162] like Fig. 9 As shown, an embodiment of the present invention provides a signal control device 900 for a main loop, which can be applied to a control module in the main loop. The device may include: a control signal acquisition module 901, a signal type determination module 902, an output signal determination module 903 and a signal output module 904;

[0163] The control signal acquisition module 901 is used to acquire the level control signal generated by the inverter module; wherein the level control signal is generated by the inverter module according to the on / off state of the signal introduction switch;

[0164] The signal type determination module 902 is used to determine the level signal type corresponding to the level control signal acquired by the control signal acquisition module 901;

[0165] The output signal determination module 903 is used to determine the target output signal corresponding to the level signal type according to the level signal type determined by the signal type determination module 902; wherein different target output signals correspond to different digital output points in the control module;

[0166] The signal output module 904 is used to select a corresponding digital output point to output the target output signal determined by the output signal determination module 903 .

[0167] In a possible implementation, when the type of the level control signal includes a high level signal and the corresponding digital output point is selected to output the determined target output signal, the signal output module 904 is configured to perform the following operations:

[0168] Generate a closing pulse signal according to a preset closing pulse signal generation program and the acquired level control signal of a high level signal type, and control the first digital output point to output the closing pulse signal; and

[0169] According to the acquired level control signal of the high level signal type, the second digital output point is controlled to output a high level signal.

[0170] In a possible implementation, the signal output module 904 is configured to perform the following operations when generating a closing pulse signal according to a preset closing pulse signal generation program and the acquired level control signal of a high level signal type:

[0171] Detecting a rising edge of a level control signal of a high level signal type; and,

[0172] When the rising edge of the level control signal is detected, a closing pulse signal is generated using a preset closing pulse signal generation program.

[0173] In a possible implementation, when the type of the level control signal includes a low level signal and the corresponding digital output point is selected to output the determined target output signal, the signal output module 904 is configured to perform the following operations:

[0174] Generate a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and the acquired level control signal of a low-level signal type, and control the third digital output point to output the gate-opening pulse signal; and,

[0175] According to the acquired level control signal of the low level signal type, the fourth digital output point is controlled to output a low level signal.

[0176] In a possible implementation, the signal output module 904 is configured to perform the following operations when generating the opening pulse signal according to the preset opening pulse signal generation program and the acquired level control signal of the low level signal type:

[0177] Detecting the falling edge of a level control signal of a low level signal type; and,

[0178] When the falling edge of the level control signal is detected, a gate-opening pulse signal is generated using a preset gate-opening pulse signal generation program.

[0179] like Fig.10 As shown, the embodiment of the invention provides a signal control device 1000 for a main circuit, which can be applied to an inverter module in the main circuit. The device may include: a switch-on / off state detection module 1001, and a control signal generation module 1002;

[0180] The on / off state detection module 1001 is used to detect the on / off state of the signal introduction switch in the main circuit;

[0181] The control signal generating module 1002 is used to generate a level control signal according to the on / off state detected by the on / off state detecting module 1001; wherein the level control signal is used by the control module to determine the level signal type and the target output signal according to the level control signal, and to output the target output signal from the corresponding digital output point selected in the control module.

[0182] like Fig.11 As shown, an embodiment of the present invention further provides a computing device 1100, including: at least one memory 1101 and at least one processor 1102;

[0183] At least one memory 1101, for storing a machine-readable program;

[0184] At least one processor 1102 is coupled to at least one memory 1101 and is used to call a machine-readable program to execute the main loop signal control method 100 / 600 / 800 provided in any of the above embodiments.

[0185] The present invention also provides a computer-readable medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the processor executes the signal control method 100 / 600 / 800 for the main circuit provided in any of the above embodiments. The present invention also provides a computer program product, including a computer program, which implements the signal control method 100 / 600 / 800 for the main circuit described in any of the above embodiments when executed by a processor. Specifically, a system or device equipped with a storage medium can be provided, on which a software program code for implementing the functions of any of the above embodiments is stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.

[0186] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0187] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0188] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0189] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0190] It should be noted that not all steps and modules in the above-mentioned processes and device structure diagrams are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in the above-mentioned embodiments can be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by multiple physical entities, or some components in multiple independent devices may be implemented together. Among them, the signal control device of the main loop and the signal control method of the main loop are based on the same inventive concept.

[0191] In the above embodiments, the hardware module can be implemented mechanically or electrically. For example, a hardware module can include permanent dedicated circuits or logic (such as special processors, FPGA or ASIC) to complete the corresponding operation. The hardware module can also include programmable logic or circuits (such as general-purpose processors or other programmable processors), which can be temporarily set by software to complete the corresponding operation. The specific implementation method (mechanical method, or dedicated permanent circuit, or temporarily set circuit) can be determined based on cost and time considerations.

[0192] The present invention is shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above multiple embodiments, those skilled in the art can know that the code review methods in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the protection scope of the present invention.

Claims

1. A signal control method for a main circuit, characterized in that: The main circuit includes: an inverter module and a control module; the signal control method is applied to the control module, and the method includes: Acquire a level control signal generated by the inverter module; wherein the level control signal is generated by the inverter module according to the on / off state of the signal introduction switch; Determining the level signal type corresponding to the level control signal; According to the level signal type, determining a target output signal corresponding to the level signal type; wherein different target output signals correspond to different digital output points in the control module; Select the corresponding digital output point to output the determined target output signal; When the type of the level control signal includes a high level signal, the step of selecting the corresponding digital output point to output the determined target output signal includes: generating a closing pulse signal according to a preset closing pulse signal generation program and the acquired level control signal of the high level signal type, and controlling the first digital output point to output the closing pulse signal; and controlling the second digital output point to output a high level signal according to the acquired level control signal of the high level signal type; When the type of the level control signal includes a low-level signal, the step of selecting the corresponding digital output point to output the determined target output signal includes: generating a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and an acquired level control signal of the low-level signal type, and controlling the third digital output point to output the gate-opening pulse signal; and, controlling the fourth digital output point to output a low-level signal according to the acquired level control signal of the low-level signal type.

2. The method according to claim 1, characterized in that The step of generating a closing pulse signal according to a preset closing pulse signal generation program and an acquired level control signal of a high level signal type comprises: Detecting a rising edge of the level control signal of the high level signal type; and, When the rising edge of the level control signal is detected, the closing pulse signal is generated by using a preset closing pulse signal generation program.

3. The method according to claim 1, characterized in that The step of generating a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and an acquired level control signal of a low-level signal type comprises: Detecting the falling edge of the level control signal of the low level signal type; and, When the falling edge of the level control signal is detected, the opening pulse signal is generated by using a preset opening pulse signal generation program.

4. The signal control method of the main circuit is characterized in that: The main circuit includes: an inverter module and a control module; the signal control method is applied to the inverter module, including: Detect the on / off status of the signal introduction switch in the main circuit; Generate a level control signal according to the on / off state; wherein the level control signal is used by the control module to determine the level signal type and the target output signal according to the level control signal, and output the target output signal from the corresponding digital output point selected in the control module; Wherein, the level control signal is also used for: when the type of the level control signal includes a high level signal, the control module generates a closing pulse signal according to a preset closing pulse signal generation program and the acquired level control signal of the high level signal type, and outputs the closing pulse signal from a first digital output point selected in the control module; and, the control module outputs a high level signal from a second digital output point selected in the control module according to the acquired level control signal of the high level signal type; wherein, when the type of the level control signal includes a low level signal, the control module generates an opening pulse signal according to a preset opening pulse signal generation program and the acquired level control signal of the low level signal type, and outputs the opening pulse signal from a third digital output point selected in the control module; and, the control module outputs a low level signal from a fourth digital output point selected in the control module according to the acquired level control signal of the low level signal type.

5. The method according to claim 4, characterized in that When it is detected that the signal introduction switch in the main loop is in a closed state, the level signal type includes a high level signal; and, When it is detected that the signal introduction switch in the main loop is in an open state, the level signal type includes a low level signal.

6. The signal control device of the main circuit is characterized by: The main circuit includes: an inverter module and a control module; the signal control device is applied to the control module; the device includes: a control signal acquisition module, a signal type determination module, an output signal determination module and a signal output module; The control signal acquisition module is used to acquire the level control signal generated by the inverter module; wherein the level control signal is generated by the inverter module according to the on / off state of the signal introduction switch; The signal type determination module is used to determine the level signal type corresponding to the level control signal acquired by the control signal acquisition module; The output signal determination module is used to determine a target output signal corresponding to the level signal type according to the level signal type determined by the signal type determination module; wherein different target output signals correspond to different digital output points in the control module; The signal output module is used to select a corresponding digital output point to output the target output signal determined by the output signal determination module; The signal output module is also used for: when the type of the level control signal includes a high level signal and the corresponding digital output point is selected to output the determined target output signal, it is configured to execute the operation of "generating a closing pulse signal according to a preset closing pulse signal generation program and the acquired level control signal of the high level signal type, controlling the first digital output point to output the closing pulse signal; and, according to the acquired level control signal of the high level signal type, controlling the second digital output point to output a high level signal"; when the type of the level control signal includes a low level signal and the corresponding digital output point is selected to output the determined target output signal, it is configured to execute the operation of "generating an opening pulse signal according to a preset opening pulse signal generation program and the acquired level control signal of the low level signal type, controlling the third digital output point to output the opening pulse signal; and, according to the acquired level control signal of the low level signal type, controlling the fourth digital output point to output a low level signal".

7. The device according to claim 6, characterized in that When the signal output module generates a closing pulse signal according to a preset closing pulse signal generation program and an acquired level control signal of a high level signal type, the signal output module is configured to perform the following operations: Detecting a rising edge of the level control signal of the high level signal type; and, When the rising edge of the level control signal is detected, the closing pulse signal is generated by using a preset closing pulse signal generation program.

8. The device according to claim 6, characterized in that When the signal output module generates a gate-opening pulse signal according to a preset gate-opening pulse signal generation program and an acquired level control signal of a low-level signal type, the signal output module is configured to perform the following operations: Detecting a falling edge of the level control signal of the low level signal type; and, When the falling edge of the level control signal is detected, the opening pulse signal is generated by using a preset opening pulse signal generation program.

9. The signal control device of the main circuit is characterized by: The main circuit includes: an inverter module and a control module; the signal control device is applied to the inverter module; the device includes: a switch-on / off state detection module and a control signal generation module; The on / off state detection module is used to detect the on / off state of the signal introduction switch in the main circuit; The control signal generating module is used to generate a level control signal according to the on / off state detected by the on / off state detecting module; wherein the level control signal is used by the control module to determine the level signal type and the target output signal according to the level control signal, and output the target output signal from the corresponding digital output point selected in the control module; Wherein, the level control signal is also used for: when the type of the level control signal includes a high level signal, the control module generates a closing pulse signal according to a preset closing pulse signal generation program and the acquired level control signal of the high level signal type, and outputs the closing pulse signal from a first digital output point selected in the control module; and, the control module outputs a high level signal from a second digital output point selected in the control module according to the acquired level control signal of the high level signal type; when the type of the level control signal includes a low level signal, the control module generates an opening pulse signal according to a preset opening pulse signal generation program and the acquired level control signal of the low level signal type, and outputs the opening pulse signal from a third digital output point selected in the control module; and, the control module outputs a low level signal from a fourth digital output point selected in the control module according to the acquired level control signal of the low level signal type.

10. A computing device, characterized in that include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is configured to call the machine-readable program to execute the method according to any one of claims 1 to 5.

11. A computer readable medium, characterized in that The computer readable medium stores computer instructions, which, when executed by a processor, cause the processor to perform any one of the methods of claims 1 to 5.

12. Computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.