IO modular configuration system of upper computer
The upper computer IO modular configuration system solves the problems of slot, IO template, redundancy design and hardware configuration alignment in traditional configuration software, realizes automated configuration, multiple redundancy and personalized customization, and improves development efficiency and transmission efficiency.
Patent Information
- Application Number
- CN202511481832.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-16
- Publication Date
- 2026-02-17
AI Technical Summary
Traditional configuration software has shortcomings in configuring slots, IO templates, data types, redundancy design, and hardware and host computer configuration alignment, and cannot meet the requirements of modularity, personalization, and triple redundancy.
A host computer I/O modular configuration system is provided, including analog input, analog output, digital input, digital output and custom modules. It adopts an architecture of hardware abstraction layer, module management layer, channel logic layer and application interface layer, supports channel-level configuration and cross-module data mapping, and realizes automated configuration and visual display.
It achieves automatic configuration alignment between upper and lower level machines, improves development efficiency, reduces transmission bandwidth requirements, supports multiple redundant configurations and personalized customization, and allows real-time online modification of configuration files and display of hardware changes.
Smart Images

Figure CN121541586A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial automated host computer system technology, and in particular to a host computer I / O modular configuration system that supports full customization at the channel level. Background Technology
[0002] Supervisory Control and Data Acquisition (SCADA) software is specialized software for data acquisition and monitoring control. It enables the rapid construction of industrial automation control systems through modular combinations, supporting functions such as real-time data acquisition, device communication, and human-machine interface development. While existing patent CN115629864 A proposes the concept of a programmable configuration system, it does not address the issues of modular configuration and flexible channel-level configuration. CN 118175124 A, although involving the concept of modularity, focuses more on lower-level machine configuration.
[0003] It is evident that traditional configuration software has the following drawbacks:
[0004] When configuring a chassis using traditional configuration software, the chassis selection is limited to pre-designed template chassis with fixed slot numbers. If you want to add or delete slots, the programmer has to modify the code, resulting in a long development cycle.
[0005] Traditional configuration software can only use built-in IO configuration templates, which cannot be modified, meaning the number of channels cannot be freely added. Since built-in templates can only collect the same data type at a time, they cannot meet the requirement of a single IO module collecting multiple data types. This does not satisfy the need for modularity.
[0006] For the same acquisition channel, it cannot meet the requirement of inconsistent data types and attributes acquired by different acquisition channel numbers. Traditional acquisition type templates contain multiple variable attributes, but many of these are useless, consuming transmission bandwidth and reducing transmission efficiency. This also fails to meet personalized customization needs.
[0007] Traditional configuration software does not meet the requirements of triple redundancy design, that is, it can only configure one slave device at a time. It also does not meet the requirements of personalized triple redundancy configuration, that is, it only needs to configure one slave device and automatically generate configuration files for the other two slave devices.
[0008] Traditional configuration software cannot automatically generate relevant configuration settings on the host computer's configuration page after the hardware device is assembled. It is necessary to manually align the configuration settings of the host computer software with the actual hardware device status. In other words, the configurations of the host computer and the host computer must be consistent; otherwise, the configuration file cannot be configured and will not take effect. Summary of the Invention
[0009] In view of the above problems, the present invention provides a host computer I / O modular configuration system for overcoming or at least partially solving the above problems.
[0010] This invention provides the following solution:
[0011] A modular configuration system for host computer I / O, comprising:
[0012] The configuration system is deployed on the host computer of the control system, and the host computer can communicate with at least three slave computers of the control system; the configuration system includes analog input modules, analog output modules, digital input modules, digital output modules, and custom modules;
[0013] The architecture of the configuration system includes a hardware abstraction layer, a module management layer, a channel logic layer, and an application interface layer.
[0014] The hardware abstraction layer is used to provide a unified hardware driver interface to support the access of I / O modules from different manufacturers.
[0015] The module management layer is used to manage the loading, unloading, parameter configuration, and status monitoring of IO modules;
[0016] The channel logic layer is used to implement channel-level configuration and cross-module data mapping;
[0017] The application interface layer is designed to provide at least REST API, OPC UA, and MQTT standard interfaces, and to support at least SCADA and MES system integration.
[0018] Preferably, the analog input module is used to configure the number of AI channels and customize key AI parameters;
[0019] The AI channel configuration includes customizing the number of AI channels and programming each AI channel independently;
[0020] The key AI parameters include measurement range, sampling rate, filtering algorithm, alarm threshold, and signal processing.
[0021] Preferably, the analog output module is used to configure the number of AO channels and customize key AO parameters;
[0022] The AO channel number configuration includes customizing the AO channel number and independently programming each AO channel;
[0023] The key parameters of AO include output mode, slope limit, and safety value.
[0024] Preferably, the digital input module is used to configure the number of DI channels and customize key DI parameters;
[0025] The DI channel number configuration includes a custom DI channel number and supports dry contacts and wet contacts;
[0026] The key parameters of the DI include debounce time and trigger adjustment.
[0027] Preferably, the digital output module is used to configure the number of DO channels and customize key DO parameters;
[0028] The DO channel number configuration includes a custom DO channel number, with each DO channel controlled independently;
[0029] The key parameters of the DO include the output mode and the security status.
[0030] Preferably, the custom module is used to implement custom-added chassis attributes, custom-added module attributes, and custom-added channel-level attributes;
[0031] The newly added custom chassis attributes include determining the chassis name, determining the number of rack slots, determining the chassis sorting rules, modifying the number of rack slots, and determining the restrictions.
[0032] The custom-added module attributes include determining the module name, the number of channels, the channel address sorting method, the channel number, and selecting the channel type by right-clicking;
[0033] The newly added custom channel-level attributes include custom configuration of physical channels and configuration of attributes for each channel.
[0034] Preferably, the configuration system is also used to receive the current device configuration status uploaded by the lower-level hardware via the network, so that the upper-level computer can generate relevant configuration configuration files and interface configuration displays in real time.
[0035] Preferably, the configuration system is also used to display the changes in real time on the host computer configuration interface after the hardware device is hot-swapped; and after the configuration is modified and saved, the relevant configuration file will be sent to the slave computer, which will run immediately after receiving the new configuration file.
[0036] Preferably, the configuration system is also used to implement visual configuration, which includes providing a three-dimensional configuration view, including a physical view, a logical view, and a performance monitoring view.
[0037] According to specific embodiments provided by the present invention, the present invention discloses the following technical effects:
[0038] This application provides a modular configuration system for host computer I / O, which solves the problem of traditional configuration software requiring manual alignment of configuration information with the lower-level machine (actual hardware device) configuration. It automatically aligns the upper and lower-level machine configurations with a single click. Under multiple redundant configurations (i.e., multiple master control MCUs), it achieves multiple configurations generated from a single configuration, adapting to different MCUs. The new I / O configuration significantly improves development efficiency, moving away from requiring source code modification to configuration configuration. Through channel-level optimization, the number of modules used is reduced; only the necessary channels and attributes need to be configured, greatly reducing bandwidth requirements and data transmission volume. Customized hardware for different projects can be quickly implemented through configuration without hardware modification. Configuration files can be modified online in real time, taking effect immediately. The system automatically acquires the hardware device configuration status and changes, generates relevant configuration files, and displays them on the configuration interface.
[0039] Of course, any product implementing this invention does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the embodiments will be briefly described below. Obviously, the drawings described below are merely some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.
[0041] Figure 1 This is a schematic diagram of the custom chassis slot provided in an embodiment of the present invention;
[0042] Figure 2 This is a schematic diagram of module customization provided in an embodiment of the present invention;
[0043] Figure 3 This is a schematic diagram of channel customization provided in an embodiment of the present invention;
[0044] Figure 4 This is a system workflow diagram provided in an embodiment of the present invention;
[0045] Figure 5 This is a schematic diagram illustrating the compilation and generation of three configuration files provided in an embodiment of the present invention. Detailed Implementation
[0046] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention are within the scope of protection of the present invention.
[0047] This invention provides a host computer I / O modular configuration system, which may include:
[0048] The configuration system is deployed on the host computer of the control system, and the host computer can communicate with at least three slave computers of the control system; the configuration system includes analog input modules, analog output modules, digital input modules, digital output modules, and custom modules;
[0049] The architecture of the configuration system includes a hardware abstraction layer, a module management layer, a channel logic layer, and an application interface layer.
[0050] The hardware abstraction layer is used to provide a unified hardware driver interface to support the access of I / O modules from different manufacturers.
[0051] The module management layer is used to manage the loading, unloading, parameter configuration, and status monitoring of IO modules;
[0052] The channel logic layer is used to implement channel-level configuration and cross-module data mapping;
[0053] The application interface layer is designed to provide at least REST API, OPC UA, and MQTT standard interfaces, and to support at least SCADA and MES system integration.
[0054] In specific implementation, the embodiments of this application can provide the analog input module for configuring the number of AI channels and customizing key AI parameters;
[0055] The AI channel configuration includes customizing the number of AI channels and programming each AI channel independently;
[0056] The key AI parameters include measurement range, sampling rate, filtering algorithm, alarm threshold, and signal processing.
[0057] The analog output module is used to configure the number of AO channels and customize key AO parameters.
[0058] The AO channel number configuration includes customizing the AO channel number and independently programming each AO channel;
[0059] The key parameters of AO include output mode, slope limit, and safety value.
[0060] The digital input module is used to configure the number of DI channels and customize key DI parameters.
[0061] The DI channel number configuration includes a custom DI channel number and supports dry contacts and wet contacts;
[0062] The key parameters of the DI include debounce time and trigger adjustment.
[0063] The digital output module is used to configure the number of DO channels and customize key DO parameters.
[0064] The DO channel number configuration includes a custom DO channel number, with each DO channel controlled independently;
[0065] The key parameters of the DO include the output mode and the security status.
[0066] The custom module is used to implement custom newly added chassis attributes, custom newly added module attributes, and custom newly added channel-level attributes;
[0067] The newly added custom chassis attributes include determining the chassis name, determining the number of rack slots, determining the chassis sorting rules, modifying the number of rack slots, and determining the restrictions.
[0068] The custom-added module attributes include determining the module name, the number of channels, the channel address sorting method, the channel number, and selecting the channel type by right-clicking;
[0069] The newly added custom channel-level attributes include custom configuration of physical channels and configuration of attributes for each channel.
[0070] The configuration system is also used to receive the current device configuration status uploaded by the lower-level hardware via the network, so that the upper-level computer can generate relevant configuration files and interface configuration displays in real time.
[0071] The configuration system is also used to display the changes in real time on the host computer configuration interface after the hardware device is hot-swapped; and after the configuration is modified and saved, the relevant configuration file will be sent to the slave computer, which will run immediately after receiving the new configuration file.
[0072] The configuration system is also used to implement visual configuration, which includes providing a three-dimensional configuration view, including a physical view, a logical view, and a performance monitoring view.
[0073] The host computer I / O modular configuration system provided in this application supports triple redundancy design, i.e., configuring the main controller once automatically generates configuration files for the other two main controllers. It supports free combination of chassis and modification and addition of various chassis configuration attributes. It supports free combination and customized configuration of I / O modules. It supports changes in the number of channels and customized configuration of channel acquisition variable attributes. It supports automatic configuration of upper and lower computer linkage; after the host computer is connected to the network, it can automatically report the status of the lower computer (i.e., the hardware devices) to the host computer, and the host computer automatically generates relevant configurations and displays them on the page.
[0074] The following is a detailed description of the host computer I / O modular configuration system provided in the embodiments of this application.
[0075] 1. System Architecture Design:
[0076] This system adopts a modular, channel-level editable, and dynamically adjustable attribute design concept, supporting the free combination and configuration of IO modules such as AI (analog input), AO (analog output), DI (digital input), DO (digital output), and custom modules. The system architecture is divided into four layers:
[0077] Hardware Abstraction Layer: Provides a unified hardware driver interface, supporting the access of I / O modules from different manufacturers.
[0078] Module management layer: manages the loading, unloading, parameter configuration, and status monitoring of IO modules.
[0079] Channel logic layer: Implements channel-level configuration (such as sampling rate, range, filtering, alarm, etc.) and cross-module data mapping.
[0080] Application Interface Layer: Provides standard interfaces such as REST API, OPC UA, and MQTT, and supports system integration with SCADA, MES, and other systems.
[0081] 2. Modular I / O design.
[0082] AI module (analog input module).
[0083] Channel configuration: Supports 8 / 16 / 32 channels (standard), or you can customize the number of channels. Each channel can be programmed independently.
[0084] Key parameters can be customized:
[0085] Measuring range: 0-10V, ±5V, 4-20mA, RTD (PT100 / PT1000), thermocouple (K / J / T type).
[0086] Sampling rate: 1Hz~100kHz (can be set channel by channel).
[0087] Filtering algorithms: moving average, IIR low-pass, median filtering.
[0088] Alarm thresholds: Upper and lower limits can be set, and alarms can be set based on the rate of change.
[0089] Signal processing: Supports linear / non-linear scaling (e.g., converting 4-20mA to 0-800 RPM).
[0090] AO (Analog Output Module).
[0091] Channel configuration: Supports 8 / 16 / 32 channels (standard), or you can customize the number of channels. Each channel can be programmed independently.
[0092] Key parameters can be customized:
[0093] Output modes: constant voltage / current, waveform output (sine wave, square wave, custom array).
[0094] Slope limit: 0.1~100V / s
[0095] Safety value: Automatically switches to preset safety output in case of failure.
[0096] DI (Digital Input Module).
[0097] Channel configuration: Supports 8 / 16 / 32 channels (standard), or you can customize the number of channels. Supports dry contacts and wet contacts.
[0098] Key parameters can be customized:
[0099] Debounce time: 0.1~1000ms (to prevent mechanical switch jitter)
[0100] Triggering conditions: rising edge / falling edge / double edge trigger
[0101] DO (Digital Output Module).
[0102] Channel configuration: Supports 8 / 16 / 32 channels (standard), or you can customize the number of channels, each channel can be controlled independently.
[0103] Key parameters can be customized:
[0104] Output modes: Level output, Pulse output, PWM (Pulse Width Modulation)
[0105] Safety state: Automatically switches to preset state upon power failure.
[0106] Custom modules.
[0107] Chassis:
[0108] like Figure 1 As shown, to add a new chassis: enter the chassis name, select the number of rack slots, and select the chassis sorting rule.
[0109] Edit rack: Modify the number of rack slots
[0110] Restrictions: Click on the specific slot number to add restrictions, and select what type of module the slot module can be, what type it can not be, etc.
[0111] Module:
[0112] like Figure 2As shown, to add a new module: enter the module name, select the number of channels, and select the channel address sorting method.
[0113] Editing module: Select the channel number, right-click and select the channel type.
[0114] Channel level:
[0115] like Figure 3 As shown, the new types include: The default channel types are AI (analog input), AO (analog output), DI (digital input), and DO (digital output). Physical channels can be customized. Each channel's attributes can be configured independently, such as module parameters like range, filtering, and alarms, or custom parameters can be added.
[0116] 3. Dynamic reconfiguration and hot-swapping.
[0117] Runtime modification: No need to restart software and hardware devices. After the template configuration file is downloaded for the first time, the lower-level machine will upload the current device configuration status on the hardware device to the upper-level machine in real time via the network. The upper-level machine will also generate the relevant configuration configuration file and interface configuration display in real time.
[0118] Hot-swappable: After hot-swapping hardware devices, the changes will be displayed in real time on the host computer configuration interface; after the host computer modifies and saves the configuration, the relevant configuration file will be immediately sent to the slave computer (this happens automatically and requires no additional operation from the user), and the slave computer will run it immediately upon receiving the new configuration file.
[0119] It updates in real time online without requiring a restart; relevant configuration parameters are updated directly online.
[0120] 4. Visual configuration.
[0121] Provides a 3D configuration interface, supporting:
[0122] Physical view: Displays the actual layout of the modules.
[0123] Logical view: Drag-and-drop signal flow configuration.
[0124] Performance monitoring view: Displays various channel attribute values in real time.
[0125] It is understood that the workflow of the host computer I / O modular configuration system provided in this application embodiment is as follows: Figure 4 As shown. Simultaneously, the host computer can connect to three slave computers, forming a triple redundancy system with one active and two backups, as shown. Figure 5As shown, the configuration system deployed on the host computer can generate three configuration files simultaneously. If a fault occurs in the currently controlling slave device, the status of the other two slave devices can be assessed, and one can be selected to take over control. Because the host computer uploads its operating parameters in real time during operation, each configuration file configured by the host computer is identical to the currently controlling slave device, ensuring that the slave device taking over can immediately perform the same operations as the current slave device.
[0126] In summary, the host computer I / O modular configuration system provided in this application solves the problem of manually aligning configuration information with the lower-level machine (actual hardware device) configuration information required by traditional configuration software. It can automatically align the upper and lower-level machine configuration configurations with a single click. Under multiple redundant configurations (i.e., multiple master control MCUs), it achieves multiple configurations generated from a single configuration, adapting to different MCUs. The new I / O configuration significantly improves development efficiency, moving away from requiring source code modification to configuration configuration. Through channel-level optimization, the number of modules used is reduced; only the necessary channels and attributes need to be configured, greatly reducing bandwidth requirements and data transmission volume. Customized hardware for different projects can be quickly implemented through configuration without hardware modification. Configuration files can be modified online in real time, taking effect immediately. The system automatically obtains the hardware device configuration status and changes, generates relevant configuration files, and displays them on the configuration interface.
[0127] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0128] As can be seen from the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a 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 various embodiments or some parts of the embodiments of this application.
[0129] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, for system or system embodiments, since they are basically similar to method embodiments, the description is relatively simple, and relevant parts can be referred to the descriptions in the method embodiments. The systems and system 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. Those skilled in the art can understand and implement this without creative effort.
[0130] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A host computer IO modular configuration system, characterized by, The application relates to a configuration system and a method for realizing the configuration system. The configuration system is arranged on an upper computer of a control system and is communicatively connected with at least three lower computers of the control system; the configuration system comprises an analog input module, an analog output module, a digital input module, a digital output module and a self-defined module; The architecture of the configuration system comprises a hardware abstraction layer, a module management layer, a channel logic layer and an application interface layer; The hardware abstraction layer is used for providing a unified hardware driving interface so as to support IO module access of different manufacturers; The module management layer is used for managing loading, unloading, parameter configuration and state monitoring of the IO module; The channel logic layer is used for realizing channel-level configuration and cross-module data mapping; The application interface layer is used for providing at least REST API, OPC UA and MQTT standard interfaces and supporting at least SCADA and MES system integration.
2. The host computer IO modular configuration system of claim 1, wherein, The analog input module is used for realizing AI channel number configuration and AI key parameter customization; The AI channel number configuration comprises self-defined AI channel numbers and independent programming of each AI channel; The AI key parameters comprise a range, a sampling rate, a filtering algorithm, an alarm threshold and signal processing.
3. The host computer IO modular configuration system of claim 1, wherein, The analog output module is used for realizing AO channel number configuration and AO key parameter customization; The AO channel number configuration comprises self-defined AO channel numbers and independent programming of each AO channel; The AO key parameters comprise an output mode, a slope limit and a safety value.
4. The host computer IO modular configuration system of claim 1, wherein, The digital input module is used for realizing DI channel number configuration and DI key parameter customization; The DI channel number configuration comprises self-defined DI channel numbers and supports dry contacts and wet contacts; The DI key parameters comprise a de-bouncing time and trigger adjustment.
5. The host computer IO modular configuration system of claim 1, wherein, The digital output module is used for realizing DO channel number configuration and DO key parameter customization; The DO channel number configuration comprises self-defined DO channel numbers and independent control of each DO channel; The DO key parameters comprise an output mode and a safety state.
6. The host computer IO modular configuration system of claim 1, wherein, The self-defined module is used for realizing self-defined newly-added chassis attributes, self-defined newly-added module attributes and self-defined newly-added channel-level attributes; The self-defined newly-added chassis attributes comprise determining a chassis name, determining a cabinet slot number, determining a chassis sorting rule, modifying a cabinet slot number and determining a limitation condition; The self-defined newly-added module attributes comprise determining a module name, determining a channel number, determining a channel address sorting mode, determining a channel number and selecting a channel type through right-clicking; The self-defined newly-added channel-level attributes comprise self-defined configuration of a physical channel and configuration of attributes of each channel.
7. The host computer IO modular configuration system of claim 1, wherein, The configuration system is also used for realizing receiving current device configuration states uploaded by a lower computer hardware through a network, so that the upper computer generates relevant configuration files and interface configuration displays in real time.
8. The host computer IO modular configuration system of claim 1, wherein, The configuration system is also used for realizing real-time display of change conditions on the upper computer configuration interface after a hardware device is hot-plugged; and after configuration modification and saving, relevant configuration files are sent to the lower computer, and the lower computer runs immediately after receiving the new configuration files.
9. The host computer IO modular configuration system of claim 1, wherein, The configuration system is also used to implement a visualization configuration that includes providing a three-dimensional configuration view that includes a physical view, a logical view, and a performance monitoring view.
Citation Information
Patent Citations
Free configuration IO expansion system and method
CN118175124A