Switching value configuration device, switching value configuration method and electronic equipment
By connecting the processor module to the switch and using the gating actuator and gating controller to select solid-state relays, flexible configuration of the switching mode is achieved, which solves the problem of fixed and unconfigurable switching modes in the existing technology and realizes flexible switching and fast response according to needs.
Patent Information
- Application Number
- CN202511567301.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-30
- Publication Date
- 2026-01-30
AI Technical Summary
The input/output modes of existing switch quantities are fixed and cannot be configured, making it impossible to adjust them according to changes in usage requirements.
The processor module connects to the switch to receive switch configuration information. By using the gating actuator and gating controller to select the path of the solid-state relay, flexible configuration of switch input mode (active high, active low) and output mode (active high, active low) can be achieved.
It enables flexible switching based on different application scenarios and needs, quickly responds to changes in system functions, and solves the problem of the inability to configure switch quantity mode.
Smart Images

Figure CN121441284A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of embedded computers, and in particular to a switching quantity configuration device, a configuration method and electronic equipment. BACKGROUND
[0002] Switching quantity is a common input and output mode in power systems, and is usually used to control and detect the state of equipment. However, the input and output mode of the existing switching quantity is fixed and cannot be selected. The interface circuit of the switching quantity input needs level conversion + optoelectronic coupler, and the interface circuit of the switching quantity output needs level conversion + relay. The interface circuits of the two are different, which leads to the inability to configure the mode of the switching quantity according to changes in use requirements. SUMMARY
[0003] In view of the above defects or deficiencies in the prior art, it is desirable to provide a switching quantity configuration device, a configuration method and electronic equipment, which can solve the problem that the existing switching quantity mode cannot be configured according to changes in use requirements.
[0004] In a first aspect, the present application provides a switching quantity configuration device, comprising: a processor module connected to a switch, configured to receive switching quantity configuration information; a gating actuator connected to the processor module; a gating controller connected to the processor module and the gating actuator, configured to gate the passageway of a solid-state relay in the gating actuator based on the switching quantity configuration information, and realize high effective switching quantity input mode, low effective switching quantity input mode, high effective switching quantity output mode and low effective switching quantity output mode of the gating actuator.
[0005] In some embodiments, the gating actuator includes a first solid-state relay, a second solid-state relay, a third solid-state relay and a fourth solid-state relay.
[0006] In some embodiments, the high effective switching quantity input mode is that the first solid-state relay gates KGL_GND, the second solid-state relay gates KGL_IN_L, the third solid-state relay gates KGL_IN_H, and the fourth solid-state relay gates high resistance state.
[0007] In some embodiments, the low effective switching quantity input mode is that the first solid-state relay gates KGL_P28V5, the second solid-state relay gates KGL_IN_H, the third solid-state relay gates KGL_IN_L, and the fourth solid-state relay gates high resistance state.
[0008] In some embodiments, the switch output mode high effective is that the first solid state relay is selected KGL_P28V5, the second solid state relay is selected KGL_IN_H, the third solid state relay is selected high resistance state, and the fourth solid state relay is selected KGL_OUT.
[0009] In some embodiments, the switch output mode low effective is that the first solid state relay is selected KGL_GND, the second solid state relay is selected KGL_IN_L, the third solid state relay is selected high resistance state, and the fourth solid state relay is selected KGL_OUT.
[0010] In some embodiments, the switch configuration device further comprises a network module, and the network module comprises: a port physical layer chip connected to the processor module; a network transformer connected to the port physical layer chip on one side and connected to the switch on the other side.
[0011] In some embodiments, the switch configuration device further comprises a state acquisition module, and the state acquisition module comprises: a state acquisition microcontroller connected to the processor module; a sensor group connected to the state acquisition controller through a peripheral circuit.
[0012] In some embodiments, the switch configuration device further comprises a power module, and the power module is used to provide power for the processor module, the selection controller, the selection executor, the network module, and the state acquisition module.
[0013] In a second aspect, the application provides a switch configuration method applied to the switch configuration device as described in any one of the first aspect, comprising: receiving switch configuration information sent by the switch through the processor module; sending the switch configuration information to the selection controller; selecting the passageway of the solid state relay in the selection executor through the selection controller to realize the switch input mode high effective, the switch input mode low effective, the switch output mode high effective, and the switch output mode low effective of the selection executor.
[0014] In a third aspect, the application provides an electronic device comprising the switch configuration device as described in any one of the embodiments of the first aspect.
[0015] Compared with the prior art, the above technical solutions provided by the embodiments of the application have the following advantages: The switch quantity configuration device, the configuration method and the electronic equipment provided by the embodiment of the application can receive switch quantity configuration information sent by the switch through connecting the processor module with the switch, and can make the gate control unit gate the passageway of the solid-state relay in the gate executor based on the switch quantity configuration information, realize high effective switch quantity input mode, low effective switch quantity input mode, high effective switch quantity output mode and low effective switch quantity output mode of the gate executor, and can configure the mode of the switch quantity through software, and solve the problem that the mode of the switch quantity cannot be configured according to the change of the use demand. BRIEF DESCRIPTION OF DRAWINGS
[0016] The drawings incorporated in the specification and constituting a part of the specification illustrate embodiments consistent with the present application and, together with the specification, serve to explain the principles of the application.
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced below. Obviously, for those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
[0018] One or more embodiments are exemplarily illustrated by pictures in the drawings corresponding to the embodiments, and the exemplarily illustrations do not constitute a limitation on the embodiments, and elements with the same reference numerals in the drawings represent similar elements, unless otherwise specified, and the drawings do not constitute a proportional limitation.
[0019] Figure 1 The principle diagram of the switch quantity configuration device provided by an embodiment of the application; Figure 2 The software flowchart of the switch quantity configuration device provided by an embodiment of the application; Figure 3 The flow mechanism diagram of the gate control unit provided by an embodiment of the application; Figure 4 The flowchart of the switch quantity configuration method provided by an embodiment of the application. DETAILED DESCRIPTION
[0020] In order to make the purpose, the technical solutions and the advantages of the embodiments of the application more clear, the technical solutions in the embodiments of the application will be clearly and completely described below with reference to the drawings in the embodiments of the application. Obviously, the described embodiments are only a part of the embodiments of the application, but not all the embodiments of the application. Based on the embodiments in the application, all other embodiments obtained by those of ordinary skill in the art without any creative effort fall within the protection scope of the application.
[0021] The following disclosure provides numerous different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the scope of the invention. Furthermore, reference numerals and / or letters may be repeated in different examples. Such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed.
[0022] Switching signals are a common input / output method in power systems, typically used to control and detect the status of equipment. However, the traditional input / output modes of switching signals are fixed and unselectable. The interface circuit for switching input requires level conversion and an optocoupler, while the interface circuit for switching output requires level conversion and a relay. Since the interface circuits for the two are different, the modes of switching signals are not configurable. Due to changes in application background and usage requirements, configurable input / output switching signals are essential in certain specific environments, such as when the number of interface contacts is limited and the usage requirements are not yet clear.
[0023] Firstly, regarding the aforementioned technical issues, such as Figures 1-3 As shown in the figure, this application provides a switch quantity configuration device, including: The processor module, connected to the switch, is used to receive switch configuration information; The actuator is selected and connected to the processor module; A gating controller, connected to the processor module and the gating actuator, is used to select the path of the solid-state relay in the gating actuator based on the switch configuration information, thereby enabling the gating actuator to have switch input mode active high, switch input mode active low, switch output mode active high, and switch output mode active low.
[0024] It should be noted that the switch configuration device provided in this application embodiment achieves flexible configuration and reliable control of switch signals through the collaborative work of the processor module, the gating actuator, and the gating controller. The gating controller can realize multiple switch modes of the gating actuator based on the switch configuration information received by the processor module, including switch input mode active high, switch input mode active low, switch output mode active high, and switch output mode active low. This allows the switch configuration device provided in this application embodiment to freely switch the working mode according to different application scenarios and requirements. When the functional requirements of the system change, the gating controller can quickly respond and adjust the working mode of the gating actuator simply by sending new switch configuration information to the processor module through the switch.
[0025] It should be noted that the processor module also includes a digital input submodule and a digital output submodule. The digital input submodule is responsible for providing a digital input interface to the processor module. This submodule includes a level conversion circuit (or level conversion chip) and an optocoupler, used to acquire digital input signals and upload them to the processor module. Specifically, the level conversion chip in the digital input submodule is an AiP74LVC8T245TA24, and the optocoupler is a JXNG2801-4GR. By using an optocoupler and level conversion chip as the core of the digital input submodule, it is possible to decode... This addresses the issues of interference isolation and voltage adaptation when external switching signals are input. The switching output submodule provides a switching output interface for the processor module, including a level conversion circuit (or level conversion chip) and solid-state relay isolation, outputting the switching output signal of the processor module. The level conversion chip of the switching output submodule is AiP74LVC8T245TA24, and the solid-state relay of the switching output submodule is JGW-3023. By making the switching output submodule based on "level conversion chip + solid-state relay", the problems of power amplification and isolation protection of the processor's weak current signal driving strong current load can be solved.
[0026] It should be noted that the switch configuration device provided in this application embodiment is based on a ZYNQ processor. The processor module adopts a Fudan Microelectronics FMQL45T900 processor, which has interfaces such as DDR3, eMMC, SPI, UART, RGMII, and GPIO, and is equipped with an external 2GB DDR3 memory chip. The processor module is connected to the level conversion chip through the GPIO interface.
[0027] It should be noted that the gating controller is composed of ZK32F103 and the gating actuator is composed of JGW-3023. The gating controller communicates with the processor module FMQL46T900 through UART serial port, receives the switch configuration information from the processor module and feeds back the configuration completion signal to the processor module. After receiving the switch configuration information, the gating controller controls the gating actuator by configuring the status of multiple GPIOs. The gating actuator performs gating configuration and active level gating control on the switch input interface and switch output interface.
[0028] In some embodiments, the gating actuator includes a first solid-state relay, a second solid-state relay, a third solid-state relay, and a fourth solid-state relay.
[0029] It should be noted that, as Figure 3As shown, considering that the gating actuator used for switching signals needs to meet the requirements of 28.5V withstand voltage and 0.5A current carrying capacity, which integrated circuits such as analog electronic switches cannot meet, and electromagnetic relays cannot meet the requirements due to size limitations and high cost, this solution modifies solid-state relays to have single-pole double-throw and single-pole triple-throw functions, so as to complete the gating function with fewer solid-state relays. Among them, the first solid-state relay is the first relay, the second solid-state relay is the second relay, the third solid-state relay is the third relay, and the fourth solid-state relay is the fourth relay. By using multiple solid-state relays in conjunction with the gating controller, multiple modes such as active high for switching input, active low for switching input, active high for switching output, and active low for switching output can be implemented more flexibly. Different solid-state relays are responsible for different signal paths. Through combined control, the needs of complex and ever-changing application scenarios can be met.
[0030] In some embodiments, the active-high switch input mode is: the first solid-state relay selects KGL_GND, the second solid-state relay selects KGL_IN_L, the third solid-state relay selects KGL_IN_H, and the fourth solid-state relay selects a high-impedance state.
[0031] It should be noted that when the first solid-state relay is in the high-impedance state (KGL_GND, KGL_IN_L, KGL_IN_H, and KGL_GND), the digital output is disconnected. The digital input KGL_IN_H is connected to the rectangular connector core point KGL_I / O, and the digital input KGL_IN_L is connected to the rectangular connector core point KGL_GND. When KGL_I / O is 28.5V (high level), the input is turned on.
[0032] In some embodiments, the active-low mode of the digital input is: the first solid-state relay selects KGL_P28V5, the second solid-state relay selects KGL_IN_H, the third solid-state relay selects KGL_IN_L, and the fourth solid-state relay selects the high-impedance state.
[0033] It should be noted that when the first solid-state relay KGL_P28V5, the second solid-state relay KGL_IN_H, the third solid-state relay KGL_IN_L, and the fourth solid-state relay are in a high-impedance state, the digital output is disconnected. The digital input KGL_IN_L is connected to the rectangular connector core point KGL_I / O, and the digital input KGL_IN_H is connected to the rectangular connector core point KGL_P28V5. When KGL_I / O is GND, i.e., low level, the input is turned on.
[0034] In some embodiments, the active-high switching output mode is: the first solid-state relay selects KGL_P28V5, the second solid-state relay selects KGL_IN_H, the third solid-state relay selects the high-impedance state, and the fourth solid-state relay selects KGL_OUT.
[0035] It should be noted that when the first solid-state relay KGL_P28V5 is selected, the second solid-state relay KGL_IN_H is selected, the third solid-state relay is selected in high impedance mode, and the fourth solid-state relay KGL_OUT is selected, the digital input KGL_IN_L is disconnected, that is, the digital input mode is disabled. The digital output KGL_OUT_VREF is connected to the rectangular connector core point KGL_P28V5, and the digital output KGL_OUT is connected to the rectangular connector core point KGL_I / O. When the output is enabled, the conduction level is high.
[0036] In some embodiments, the active-low switching output mode is: the first solid-state relay selects KGL_GND, the second solid-state relay selects KGL_IN_L, the third solid-state relay selects the high-impedance state, and the fourth solid-state relay selects KGL_OUT.
[0037] It should be noted that when the first solid-state relay is selected (KGL_GND), the second solid-state relay is selected (KGL_IN_L), the third solid-state relay is selected (high impedance state), and the fourth solid-state relay is selected (KGL_OUT), the KGL_IN_H digital input is disconnected, i.e., the digital input mode is disabled. The KGL_OUT_VREF digital output is connected to the rectangular connector core point KGL_GND, and the KGL_OUT digital output is connected to the rectangular connector core point KGL_I / O. When the output is enabled, the conduction level is low.
[0038] In some embodiments, the switch configuration device further includes a network module, the network module comprising: A port physical layer chip is connected to the processor module; The network transformer connects to the physical layer chip of the port on one side and to the switch on the other side.
[0039] It should be noted that the port physical layer chip (i.e., PHY chip) is connected to the RGMII interface of the processor module and to the switch through the network transformer. The port physical layer chip is XYI8211QFNM and the network transformer is HST24022SXCR. The port physical layer chip (PHY chip) can perform format conversion and transmission optimization of signals transmitted from the network transmission medium (such as network cable). By connecting the network transformer (also known as network isolation transformer) in series between the port physical layer chip and the switch, electrical isolation function can be provided.
[0040] In some embodiments, the switch configuration device further includes a status acquisition module, the status acquisition module comprising: A status acquisition microcontroller is connected to the processor module; The sensor array is connected to the status acquisition controller via peripheral circuitry.
[0041] It should be noted that the sensor group includes a temperature sensor, a voltage sensor, and a current sensor. The temperature sensor, the voltage sensor, and the current sensor are respectively connected to the status acquisition microcontroller (MCU, Microcontroller Unit) through peripheral circuits. The status acquisition microcontroller is connected to the UART interface of the processor module. The status acquisition microcontroller adopts ZKC32F103. The ZKC32F103 collects data from the temperature sensor, the voltage sensor, and the current sensor and reports the collected temperature data, voltage data, and current data to the processor module through the UART bus. The ZKC32F103 also controls the power-on timing of the power module and receives power status feedback.
[0042] It should be noted that by configuring the aforementioned status acquisition microcontroller, it can directly interface with temperature sensors, voltage sensors, and current sensors, and complete data acquisition and preliminary processing through its own ADC (analog-to-digital converter) module without the need for the main processor (i.e., the processor module). Through the UART bus, the pre-processed sensor data (temperature data, voltage data, and current data) can be reported to the processor module in batches, reducing the I / O interface usage and data processing time of the processor module.
[0043] In some embodiments, the switch configuration device further includes a power supply module, which provides power to the processor module, the gating controller, the gating actuator, the network module, and the status acquisition module.
[0044] It should be noted that the power module uses the SM4644, which can provide feedback signals to the status acquisition module. On the one hand, the SM4644 power chip has multi-channel precise output, typically supporting 3-4 independent adjustable output channels, which can match the power supply characteristics of each core module in the device. On the other hand, the SM4644 power chip has programmable startup timing, and the startup delay time of each channel can be programmed and set through external resistors / capacitors or I2C interface, so that precise timing control can be achieved without the need for additional timing control chips.
[0045] It should be noted that the switch configuration device provided in this application embodiment uses ZYNQ as the core processing unit. By receiving configuration information network messages from an external switch, it communicates with a configurable gating control module to perform gating configuration on the switch input interface and switch output interface. The switch can be configured into four modes: switch input mode active high, switch input mode active low, switch output mode active high, and switch output mode active low. The configuration success information is fed back to the external switch through adaptive Ethernet, forming a closed-loop feedback of configuration information. At the same time, the soft-configurable switch device feeds back the device's status information to the external switch in real time, completing the real-time reporting of its own status information.
[0046] In summary, the switch configuration device provided in this application, by connecting the processor module to the switch, can receive switch configuration information sent by the switch; by connecting the processor module and the selector controller through the selector actuator, the selector controller can select the path of the solid-state relay in the selector actuator based on the switch configuration information, thereby realizing the switch input mode of the selector actuator as active high, switch input mode as active low, switch output mode as active high, and switch output mode as active low. It can configure the switch mode through software and solve the current problem that it is impossible to configure the switch mode according to changes in usage requirements.
[0047] Secondly, such as Figure 4 As shown, this application provides a switch quantity configuration method, applied to a switch quantity configuration device as described in any one of the first aspects, comprising: S101: Receive the switch configuration information sent by the switch through the processor module; S102: Send the switch configuration information to the gating controller; S103: The gate controller selects the path of the solid-state relay in the gate actuator to realize the gate actuator's active-high switch input mode, active-low switch input mode, active-high switch output mode, and active-low switch output mode.
[0048] It should be noted that the specific steps are as follows: Step 1, after the switch configuration device is powered on, and after the processor module system starts up, the network module receives network packets sent by the external switch and transmits them to the processor module. The processor module obtains the specific information on the configuration switch input / output status and effective level, and performs information decomposition and packaging; Step 2, after the processor module system starts up, the switch input (sub) module and switch output (sub) module complete power-on initialization, and the interface signal is transmitted to the gating control module (including the gating controller and the gating actuator). The gating control module receives the data from the processor module via serial... After the UART sends the switch configuration information, the gating information is allocated according to the gating mode, which includes four modes: active high for switch input, active low for switch input, active high for switch output, and active low for switch output. Step three: After configuring the switch input / output mode and active level mode in the gating control module, a configuration success message is sent to the processor module via the UART serial port as feedback for the configuration signal. Step four: After receiving the configuration success message from the gating control module via the UART serial port, the processor module reports it to the external switch via the network module, forming a configuration signal feedback. Simultaneously, the processor module collects sensor information from the status acquisition module in real time and feeds back the status information of the soft-configurable switch device to the external switch in real time via the Ethernet module.
[0049] It should be noted that the implementation logic of the gating control module is as follows: there are four modes, and the specific implementation is as follows: Mode 1 (i.e., the active-high switch input mode): When the received configuration requirement is: switch input, active-high: The gating controller sends a control signal MCU_Cn_3:0 of 1010, where n represents the nth configurable switch quantity. At this time, relay ① selects KGL_GND, relay ② selects KGL_IN_L, relay ③ selects KGL_IN_H, and relay ④ selects the high-impedance state. At this time, the switch quantity output is disconnected, and the switch quantity input KGL_IN_H is connected to the rectangular connector core point KGL_I / O, and the switch quantity input KGL_IN_L is connected to the rectangular connector core point KGL_GND. When KGL_I / O is 28.5V, i.e., high level, the input is turned on.
[0050] Mode 2 (the switch input mode is active low): When the received configuration requirement is: switch input, active low. The strobe controller sends control signal MCU_Cn_3:0 as 1101. At this time, relay ① is strobed by KGL_P28V5, relay ② by KGL_IN_H, relay ③ by KGL_IN_L, and relay ④ by high impedance. The digital output is disconnected. The digital input KGL_IN_L is connected to the rectangular connector pin KGL_I / O, and the digital input KGL_IN_H is connected to the rectangular connector pin KGL_P28V5. When KGL_I / O is GND (low level), the input is on.
[0051] Mode 3 (i.e., the active high mode for switch output): When the received configuration requirement is: switch output, active high. The strobe controller sends control signal MCU_Cn_3:0 as 0111. At this time, relay ① selects KGL_P28V5, relay ② selects KGL_IN_H, relay ③ selects high impedance mode, and relay ④ selects KGL_OUT. At this time, the digital input KGL_IN_L is disconnected, that is, the digital input mode is disabled. The digital output KGL_OUT_VREF is connected to the rectangular connector core point KGL_P28V5, and the digital output KGL_OUT is connected to the rectangular connector core point KGL_I / O. When the output is enabled, the conduction level is high.
[0052] Mode 4 (the aforementioned switch output mode is active low): When the received configuration requirement is: switch output, active high. The strobe controller sends control signal MCU_Cn_3:0 as 0110. At this time, relay ① is strobe KGL_GND, relay ② is strobe KGL_IN_L, relay ③ is strobe high impedance, and relay ④ is strobe KGL_OUT. The digital input KGL_IN_H is disconnected, i.e., digital input mode is disabled. The digital output KGL_OUT_VREF is connected to the rectangular connector core point KGL_GND, and the digital output KGL_OUT is connected to the rectangular connector core point KGL_I / O. When the output is enabled, the conduction level is low.
[0053] It should be noted that, as Figure 2 As shown, exemplarily, the specific implementation steps of the switch quantity configuration device provided in this application embodiment can be as follows: Step 1: After the device is powered on, the processor module is initialized, the switch input (sub) module and the switch output (sub) module are initialized, the status acquisition module is initialized, and the status acquisition module reports the status information to the processor module and then sends it to the external switch to realize the status information reporting of the switch configuration device. Step 2: After initialization, the switch configuration device determines whether it has received network packet configuration information from the external switch. If it has not received it, it continues to wait. If it has received it, it parses the packet content and sends it to the gating control module (including the gating controller and the gating actuator). Step 3: After receiving the configuration information, the gating control module configures the gating actuator to realize the function of configuring the switch interface in software, and feeds back the status of successful or unsuccessful configuration to the external switch through the processor module.
[0054] Thirdly, embodiments of this application provide an electronic device including a switch configuration device as described in any of the embodiments of the first aspect.
[0055] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0056] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented using software plus a general-purpose hardware platform, or of course, using hardware. Based on this understanding, the above technical solutions, in essence or the parts that contribute to the related technology, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0057] It should be understood that the terminology used herein is for the purpose of describing particular exemplary embodiments only and is not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms “a,” “an,” and “described” as used herein may also mean including the plural forms. The terms “comprising,” “including,” “containing,” and “having” are inclusive and therefore indicate the presence of stated features, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, steps, operations, elements, components, and / or combinations thereof. The method steps, processes, and operations described herein are not construed as requiring them to be performed in a specific order described or illustrated unless the order of execution is explicitly indicated. It should also be understood that additional or alternative steps may be used. The above description is merely a specific embodiment of the invention to enable those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A switching amount configuring device characterized by comprising: The application relates to a switch quantity configuration device, which comprises the following parts: a processor module connected with a switch, used for receiving switch quantity configuration information; a gating actuator connected with the processor module; a gating controller connected with the processor module and the gating actuator, used for gating the pass of solid-state relays in the gating actuator based on the switch quantity configuration information, so as to realize the high effective switch quantity input mode, the low effective switch quantity input mode, the high effective switch quantity output mode and the low effective switch quantity output mode of the gating actuator.
2. The switch volume configuration apparatus according to claim 1, wherein The gating actuator comprises a first solid-state relay, a second solid-state relay, a third solid-state relay and a fourth solid-state relay.
3. The switch volume configuration apparatus according to claim 2, wherein The high effective switch quantity input mode is that the first solid-state relay is gated by KGL_GND, the second solid-state relay is gated by KGL_IN_L, the third solid-state relay is gated by KGL_IN_H and the fourth solid-state relay is gated by a high resistance state.
4. The switching quantity configuring apparatus according to claim 2, wherein The low effective switch quantity input mode is that the first solid-state relay is gated by KGL_P28V5, the second solid-state relay is gated by KGL_IN_H, the third solid-state relay is gated by KGL_IN_L and the fourth solid-state relay is gated by a high resistance state.
5. The switching quantity configuration apparatus according to claim 2, wherein The high effective switch quantity output mode is that the first solid-state relay is gated by KGL_P28V5, the second solid-state relay is gated by KGL_IN_H, the third solid-state relay is gated by a high resistance state and the fourth solid-state relay is gated by KGL_OUT.
6. The switching quantity configuration apparatus according to claim 2, wherein The low effective switch quantity output mode is that the first solid-state relay is gated by KGL_GND, the second solid-state relay is gated by KGL_IN_L, the third solid-state relay is gated by a high resistance state and the fourth solid-state relay is gated by KGL_OUT.
7. The apparatus of claim 1, wherein The application further comprises a network module, which comprises: a port physical layer chip connected with the processor module; a network transformer connected with one side of the port physical layer chip and the other side of the switch.
8. The switch volume configuration apparatus according to claim 7, wherein The application further comprises a state acquisition module, which comprises: a state acquisition microcontroller connected with the processor module; a sensor group connected with the state acquisition controller through a peripheral circuit.
9. The switch volume configuration apparatus of claim 8, wherein The application further comprises a power module, which is used for providing electric energy for the processor module, the gating controller, the gating actuator, the network module and the state acquisition module.
10. A method of configuring a switching amount, characterized by, The application is applied to the switch quantity configuration device as claimed in any one of claims 1-9, which comprises the following parts: receiving the switch quantity configuration information sent by the switch through the processor module; sending the switch quantity configuration information to the gating controller; gating the pass of solid-state relays in the gating actuator through the gating controller, so as to realize the high effective switch quantity input mode, the low effective switch quantity input mode, the high effective switch quantity output mode and the low effective switch quantity output mode of the gating actuator.