Measurement and control system, measurement and control method and storage medium

By integrating board measurement interface expanders and control interface expanders onto non-smart boards and utilizing the I2C bus for status detection and control, the problem of high cost in upgrading non-smart boards to intelligent systems is solved, and low-cost status detection and control are achieved.

CN122018479APending Publication Date: 2026-05-12BEIJING HEXINRUITONG POWER TECH +2
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
BEIJING HEXINRUITONG POWER TECH
Filing Date
2025-11-10
Publication Date
2026-05-12

AI Technical Summary

Technical Problem

In existing technologies, the cost of intelligent transformation of non-smart boards is high, and they cannot effectively perform status detection and control.

Method used

By integrating a board measurement interface expander and a board control interface expander on a non-smart board and electrically connecting them to the control board via an I2C bus, the input and output pin modes of the interface expander can be configured to achieve status detection and control.

Benefits of technology

It reduces the cost of modifying non-smart boards, enables status detection and control of non-smart boards, and avoids the need to completely replace smart boards.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122018479A_ABST
    Figure CN122018479A_ABST
Patent Text Reader

Abstract

The invention provides a measurement and control system, a measurement and control method and a storage medium. The measurement and control system comprises a control board card, a measurement bus, a control bus, a board card measurement interface extender and a board card control interface extender, wherein the board card measurement interface extender and the board card control interface extender are integrated on a non-intelligent board card. Only the board card measurement interface expander and the board card control interface expander need to be integrated on the non-intelligent board card, and the board card measurement interface expander and the board card control interface expander are electrically connected with the control board card through the measurement bus and the control bus respectively. By configuring modes of input and output pins of a board card measurement interface expander and a board card control interface expander, a control board card can perform state detection and state control on a non-intelligent board card; compared with a scheme of completely replacing a non-intelligent board card by adopting an intelligent board card, the method provided by the invention fully utilizes the original hardware for simple transformation, and can greatly reduce the cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of measurement and control technology, specifically to a measurement and control system, a measurement and control method, and a storage medium. Background Technology

[0002] In power measurement and control scenarios, there are often a large number of non-intelligent boards. Non-intelligent boards refer to boards that do not have built-in processors, memory, and software, such as traditional circuit boards or embedded systems. Non-intelligent boards typically do not involve complex logic processing; their main functions are signal conversion and data transmission.

[0003] However, with increasingly stringent requirements, the demands for intelligence in non-smart boards have also risen. For example, it's necessary to be aware of whether a non-smart board is in an abnormal state and to perform relevant control operations when such an abnormality occurs. Current solutions typically require smart boards to completely replace non-smart boards, resulting in very high costs. Summary of the Invention

[0004] In view of the shortcomings of the existing technology, the present invention provides a measurement and control system, a measurement and control method and a storage medium.

[0005] In one embodiment, the present invention provides a measurement and control system, which includes a control board, a measurement bus, a control bus, and a board measurement interface extender and a board control interface extender integrated on a non-smart board. The input and output pins of the board measurement interface expander are configured to input mode and connected to the status detection signal output by the status detection module on the non-smart board. The status detection signal is used to control the pin input status of the input and output pins of the board measurement interface expander. The input / output pins of the board control interface expander are configured to output mode and output status control signals to the status control module on the non-smart board. The pin output status of the input / output pins of the board control interface expander is used to generate status control signals. The control board is electrically connected to the communication pins of the board's measurement interface expander via the measurement bus and to the communication pins of the board's control interface expander via the control bus. It is used to control the pin output states of the input and output pins of the board's control interface expander according to the pin input states of the input and output pins of the board's measurement interface expander.

[0006] In one embodiment, the board measurement interface expander has multiple input / output pins, and the board control interface expander has multiple input / output pins. The multiple input / output pins of the board measurement interface expander are respectively connected to the corresponding status detection signals, and the multiple input / output pins of the board control interface expander respectively output the corresponding status control signals. The control board is used to identify the first target board pin whose input state has changed among the multiple input / output pins of the board's measurement interface expander, and to change the pin output state of the second target board pin corresponding to the first target board pin among the multiple input / output pins of the board's control interface expander.

[0007] In one embodiment, the board measurement interface expander has an interrupt output function, and the control board is also electrically connected to the interrupt output pin of the board measurement interface expander. The board measurement interface expander is used to change the pin output state of its interrupt output pin when the pin input state of at least one input / output pin changes; The control board is used to detect the pin output status of the interrupt output pin of the board's measurement interface expander, and to determine whether there is at least one first target pin among the multiple input and output pins of the board's measurement interface expander based on the pin output status of the interrupt output pin of the board's measurement interface expander.

[0008] In one embodiment, multiple board measurement interface extenders and board control interface extenders are provided, with one board measurement interface extender corresponding to one board control interface extender and integrated on a non-smart board; the measurement and control system also includes a backplane, on which a backplane measurement interface extender is integrated, and the backplane measurement interface extender has an interrupt output function. Multiple input / output pins of the backplane measurement interface expander are configured in input mode and electrically connected to the interrupt output pins of the corresponding board measurement interface expanders. The interrupt output pins of the backplane measurement interface expander are electrically connected to the control board. The backplane measurement interface extender is used to change the pin output state of its interrupt output pin when the pin input state of at least one input / output pin changes; The control board is electrically connected to the communication pins of multiple board measurement interface expanders and the communication interface of the backplane measurement interface expander via the measurement bus, and is also electrically connected to the communication pins of multiple board control interface expanders via the control bus.

[0009] In one embodiment, the measurement and control system further includes a board measurement address configuration module corresponding to a plurality of board measurement interface expanders and a backplane measurement address configuration module corresponding to a backplane measurement interface expander. The address pins of multiple board measurement interface expanders are electrically connected to the corresponding board measurement address configuration modules; the board measurement address configuration modules are used to control the pin input states of the address pins of the board measurement interface expanders in order to configure the device address of the board measurement interface expanders. The address pins of the backplane measurement interface extender are electrically connected to the backplane measurement address configuration module. The backplane measurement address configuration module is used to control the pin input state of the address pins of the backplane measurement interface extender in order to configure the device address of the backplane measurement interface extender. The control board is used to communicate with the backplane measurement interface extender via the device address of the backplane measurement interface extender and identify the target backplane pin whose pin input state has changed among the multiple input and output pins of the backplane measurement interface extender. It also communicates with the board measurement interface extender via the device address of the board measurement interface extender corresponding to the target backplane pin and identifies the first target board pin whose pin input state has changed among the multiple input and output pins of the board measurement interface extender.

[0010] In one embodiment, the measurement and control system further includes a board control address configuration module corresponding to multiple board control interface expanders respectively; The address pins of multiple board control interface expanders are electrically connected to the corresponding board control address configuration modules; the board control address configuration modules are used to control the pin input states of the address pins of the board control interface expanders in order to configure the device address of the board control interface expanders. The control board is used to communicate with the corresponding board control interface expander through the device address of the board control interface expander and to change the pin output state of the corresponding second target board pin among the multiple input and output pins of the board control interface expander.

[0011] In one embodiment, the backplane also integrates a backplane control interface expander and an analog switch, and the control bus includes a first control bus and a second control bus. The control board is electrically connected to the communication pins of the backplane control interface expander and the input pins of the analog switch via the first control bus. Multiple input and output pins of the backplane control interface expander are configured to output mode and are electrically connected to the enable pins and control pins of the analog switch, respectively. Multiple output pins of the analog switch are electrically connected to the communication pins of the corresponding board control interface expander. The control board is used to change the pin output state of multiple input / output pins of the backplane control interface expander in order to change the pin input state of the enable and control pins of the analog switch. The analog switch is used to connect its input pin to its corresponding output pin according to the pin input state of its enable pin and control pin, so that the control board can communicate with the corresponding board control interface expander through the first control bus, the analog switch and the second control bus, and change the pin output state of the corresponding second target board pin among the multiple input and output pins of the board control interface expander.

[0012] Secondly, in one embodiment, the present invention provides a measurement and control method, which is applied to the measurement and control system in any of the above embodiments; the measurement and control method includes the following steps performed by a control board: The input and output states of the board's control interface expander are controlled based on the input and output states of the board's measurement interface expander.

[0013] In one embodiment, the measurement and control method is specifically applied to the measurement and control system in one of the above embodiments; controlling the pin output state of the input and output pins of the board control interface expander according to the pin input state of the board measurement interface expander includes: After detecting a change in the pin output state of the interrupt output pin of the backplane measurement interface extender, the device address of the backplane measurement interface extender is used to communicate with the backplane measurement interface extender and identify the target backplane pin whose pin input state has changed among the multiple input and output pins of the backplane measurement interface extender. The target board pin is identified by communicating with the board measurement interface extender via the device address corresponding to the target backplane pin and identifying the first target board pin whose input state changes among the multiple input / output pins of the board measurement interface extender. Change the pin output state of multiple input / output pins of the backplane control interface expander to change the pin input state of the enable and control pins of the analog switch; After the analog switch connects its input pin to its corresponding output pin according to the pin input states of its enable pin and control pin, it communicates with the board control interface expander corresponding to the board measurement interface expander through the first control bus, the analog switch and the second control bus, and changes the pin output state of the second target board pin corresponding to the first target board pin among the multiple input and output pins of the board control interface expander.

[0014] Thirdly, in one embodiment, the present invention provides a storage medium storing a computer program that, when executed by a processor, causes the processor to implement the measurement and control method in any of the above embodiments.

[0015] By using the aforementioned measurement and control system, method, and storage medium, only a board measurement interface expander and a board control interface expander need to be integrated on the non-intelligent board. These expanders are electrically connected to the control board via the measurement bus and control bus, respectively. By configuring the input / output pins of the expanders, the control board can perform status detection and control on the non-intelligent board. Compared to replacing the non-intelligent board entirely with an intelligent board, this invention fully utilizes existing hardware with simple modifications, significantly reducing costs. Attached Figure Description

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

[0017] Figure 1 This is a schematic diagram of the measurement and control system in one embodiment of the present invention; Figure 2 This is a schematic diagram of a specific circuit of a board measurement interface expander in one embodiment of the present invention; Figure 3 This is a schematic diagram of a specific circuit of a board control interface expander in one embodiment of the present invention; Figure 4 This is a schematic diagram of a non-intelligent board equipped with multiple time measurement and control systems in one embodiment of the present invention; Figure 5 This is a schematic diagram of a specific circuit of a backplane measurement interface extender in one embodiment of the present invention; Figure 6 This is a schematic diagram of the structure of the measurement and control system, which further includes a backplane control interface extender and an analog switch, in one embodiment of the present invention. Figure 7 This is a schematic diagram of the backplane control interface extender in one embodiment of the present invention; Figure 8 This is a schematic diagram of a specific circuit for an analog switch in one embodiment of the present invention. Detailed Implementation

[0018] 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 some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0019] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this application, "a plurality of" means two or more, unless otherwise explicitly specified. In this application, the term "exemplary" is used to mean "used as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to implement and use the invention. In the following description, details are set forth for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be implemented without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed herein.

[0020] Firstly, such as Figure 1 As shown, in one embodiment, the present invention provides a measurement and control system, which includes a control board, a measurement bus, a control bus, and a board measurement interface expander and a board control interface expander integrated on a non-smart board.

[0021] In this embodiment, both the measurement bus and the control bus can use the I2C bus. The I2C (Inter-Integrated Circuit) bus is a serial communication bus used to connect low-speed devices and is widely used in embedded systems. The I2C bus uses two lines for communication: SDA (serial data line, used for data transmission) and SCL (serial clock line, used for synchronous data transmission).

[0022] Specifically, when using the I2C bus, the measurement bus includes the measurement clock line SCL_M and the measurement data line SDA_M, and the control bus includes the control clock line SCL_C and the control data line SDA_C.

[0023] An interface expander (also known as a port expander) is a device or chip used to increase the number of available I / O ports in a system.

[0024] Specifically, when the bus uses the I2C bus, the interface expander is also a corresponding I2C interface expander.

[0025] The input / output pins of the board measurement interface expander are configured in input mode and connected to the status detection signal DETECT output by the status detection module on the non-smart board. The status detection signal DETECT is used to control the pin input status of the input / output pins of the board measurement interface expander.

[0026] When the status of a non-smart board becomes abnormal, the status detection signal DETECT will change, and the pin input status of the input and output pins of the board's measurement interface expander will also change.

[0027] The input / output pins of the board control interface expander are configured to output mode and output a status control signal DWN to the status control module on the non-smart board. The pin output status of the input / output pins of the board control interface expander is used to generate the status control signal DWN.

[0028] Among them, the status control signal DWN is used to control the non-smart board to complete the corresponding control operation, thereby solving the problem of abnormal status.

[0029] The control board is electrically connected to the communication pins of the board's measurement interface expander via the measurement bus (measurement clock line SCL_M and measurement data line SDA_M) and to the communication pins of the board's control interface expander via the control bus (control clock line SCL_C and control data line SDA_C). It is used to control the pin output states of the board's control interface expander based on the pin input states of the board's measurement interface expander.

[0030] The control board can communicate with the board measurement interface expander via a measurement bus to identify the pin input states of the expander's input and output pins. When a non-intelligent board experiences a status malfunction, the control board will detect the change in the pin input states of the expander's input and output pins, thus confirming the malfunction. The control board can also communicate with the board control interface expander via a control bus to control the pin output states of the expander's input and output pins. When a non-intelligent board is confirmed to be malfunctioning, the control board will change the pin output states of the expander's input and output pins, causing the expander to output corresponding status control signals to enable the non-intelligent board to perform the corresponding control operation.

[0031] By integrating a measurement interface expander and a control interface expander onto the non-intelligent board through the measurement and control system, and electrically connecting these expanders to the control board via the measurement bus and control bus respectively, the control board can perform status detection and control on the non-intelligent board by configuring the input / output pins of the expanders. Compared to the solution of completely replacing the non-intelligent board with an intelligent board, this invention makes full use of existing hardware for simple modification, which can greatly reduce costs.

[0032] In one embodiment, the board measurement interface expander has multiple input / output pins, and the board control interface expander has multiple input / output pins.

[0033] like Figure 2 As shown, multiple input / output pins of the board measurement interface expander U11 (such as pins 4, 5, 6, 7, 9, 10, 11, and 12) are connected to corresponding status detection signals (such as the board presence detection signal BOARD_PRESENCE_DETECT, the high temperature alarm detection signal TEMPERATURE_SENSOR_DETECT, the overcurrent alarm detection signal OVERCURRENT_MONITOR_DETECT, the overvoltage alarm detection signal OVERVOLTAGE_MONITOR_DETECT, the system 1 function alarm detection SYSTEM1_DETECT, the system 2 function alarm detection SYSTEM2_DETECT, the system 3 function alarm detection SYSTEM3_DETECT, and the system 4 function alarm detection SYSTEM4_DETECT).

[0034] The board measurement interface expander U11 is connected to the corresponding status detection signals through pull-up resistors R7, R8, R9, R10, R11, R12, R13, and R14. This ensures that the input and output pins of the board measurement interface expander U11 are at a high level by default. When an abnormal status occurs, the connected status detection signal will change the input status of the corresponding input and output pins from high to low.

[0035] like Figure 3As shown, multiple input / output pins of the board control interface expander U12 (such as pins 4, 5, 6, 7, 9, 10, 11, and 12) output corresponding status control signals (such as the control power disconnect signal POWER_DWN, the control system 1 output signal SYSTEM1_DWN, the control system 2 output signal SYSTEM2_DWN, the control system 3 output signal SYSTEM3_DWN, the control system 4 output signal SYSTEM4_DWN, the control system 5 output signal SYSTEM5_DWN, the control system 6 output signal SYSTEM6_DWN, and the control system 7 output signal SYSTEM7_DWN).

[0036] The board control interface expander U12 outputs corresponding status control signals through pull-up resistors R21, R22, R23, R24, R25, R26, R27, and R28, respectively. This ensures that the input and output pins of the board control interface expander U12 are at a high level by default. When an abnormal status occurs, the board's status control will change the output status of the corresponding input and output pins from high to low.

[0037] Among them, through Figure 2 and Figure 3 The 8-bit interface expander shown can realize the measurement and control of eight states on a non-smart board.

[0038] The control board is used to identify the first target board pin whose pin input state changes among the multiple input / output pins of the board measurement interface expander U11, and to change the pin output state of the second target board pin corresponding to the first target board pin among the multiple input / output pins of the board control interface expander U12.

[0039] When the control board communicates with the board measurement interface expander U11 via the measurement bus, the first target board pin whose pin input state changes can be determined by reading the register state of the board measurement interface expander U11. Similarly, when the control board communicates with the board control interface expander U12 via the control bus, the pin output state of the second target board pin corresponding to the first target board pin in the board control interface expander U12 can be changed by changing the register state of the board control interface expander U12.

[0040] like Figure 2 As shown, in one embodiment, the board measurement interface expander U11 has an interrupt output function, and the control board is also electrically connected to the interrupt output pin (such as pin 13) of the board measurement interface expander U11.

[0041] The board measurement interface expander U11 is used to change the pin output state of its interrupt output pin when the pin input state of at least one input / output pin changes.

[0042] Among them, the board measurement interface expander U11 outputs an interrupt signal BOARD1_INT#_M to the control board through the interrupt output pin. When the pin input state of at least one of the pins 4, 5, 6, 7, 9, 10, 11 and 12 changes, the interrupt signal BOARD1_INT#_M will also change.

[0043] The control board is used to detect the pin output status of the interrupt output pin of the board measurement interface expander U11, and to determine whether there is at least one first target board pin among the multiple input and output pins of the board measurement interface expander U11 based on the pin output status of the interrupt output pin.

[0044] Since the control board is electrically connected to the interrupt output pin of the board measurement interface expander U11, the pin output state of the interrupt output pin of the board measurement interface expander U11 can be detected. If it changes, it can be determined that at least one state is abnormal, that is, it can be determined that there is at least one first target board pin in the board measurement interface expander U11.

[0045] Furthermore, it is understandable that when the control board communicates with the board measurement interface expander U11, the control board can also determine the number and location of the first target board pins by reading the register status of the board measurement interface expander U11, thereby determining the number and type of abnormal status of the non-smart board.

[0046] like Figure 4 As shown, in one embodiment, the board measurement interface expander and the board control interface expander are each provided with multiple ( Figure 4 Only two are shown in this embodiment (more may be included in other embodiments). One board measurement interface expander corresponds to one board control interface expander and is integrated on a non-smart board. The measurement and control system also includes a backplane, on which a backplane measurement interface expander is integrated. The backplane measurement interface expander has an interrupt output function.

[0047] Multiple input / output pins of the backplane measurement interface extender are configured in input mode and electrically connected to the interrupt output pins of the corresponding board measurement interface extenders. The interrupt output pins of the backplane measurement interface extenders are electrically connected to the control board. The backplane measurement interface extender is used to change the pin output state of its interrupt output pin when the pin input state of at least one input / output pin changes.

[0048] The control board is electrically connected to the communication pins of multiple board measurement interface expanders and the communication interface of the backplane measurement interface expander via the measurement bus, and is also electrically connected to the communication pins of multiple board control interface expanders via the control bus.

[0049] Specifically, such as Figure 5 As shown, multiple input / output pins of the backplane measurement interface expander U21 (such as pins 4, 5, 6, 7, 9, 10, 11, and 12) are connected to corresponding interrupt signals (such as...). Figure 2 The interrupt signal BOARD1_INT#_M output by the board measurement interface expander U11 shown, and the interrupt signals BOARD2_INT#_M, BOARD3_INT#_M, BOARD4_INT#_M, BOARD5_INT#_M, BOARD6_INT#_M, BOARD7_INT#_M and BOARD8_INT#_M output by other board measurement interface expanders are shown.

[0050] The backplane measurement interface expander U21 is connected to corresponding interrupt signals through pull-up resistors R71, R81, R91, R101, R111, R121, R131, and R141. This ensures that the input and output pins of the backplane measurement interface expander U21 are at a high level by default. When an abnormal state occurs, the connected interrupt signal will change the input state of the corresponding input and output pins from high to low.

[0051] Among them, through Figure 5 The 8-bit interface expander shown can realize interrupt output detection for eight non-smart boards.

[0052] By adding a backplane measurement interface expander U12, the control board no longer needs to use multiple interfaces to electrically connect to the interrupt output pins of multiple board measurement interface expanders; it only needs to be electrically connected to the interrupt output pin of the backplane measurement interface expander U12. The control board can detect the pin output status of the interrupt output pin of the backplane measurement interface expander U12. If a change occurs, it can be determined that at least one non-smart board is in an abnormal state.

[0053] In one embodiment, the measurement and control system further includes a board measurement address configuration module corresponding to multiple board measurement interface expanders and a backplane measurement address configuration module corresponding to a backplane measurement interface expander.

[0054] The board measurement address configuration module can output the corresponding board measurement address configuration signal through pull-up resistors and pull-down resistors. Similarly, the backplane measurement address configuration module can also output the corresponding backplane measurement address configuration signal through pull-up resistors and pull-down resistors.

[0055] The address pins of multiple board measurement interface expanders are electrically connected to the corresponding board measurement address configuration modules. The board measurement address configuration modules are used to control the pin input state of the address pins of the board measurement interface expanders in order to configure the device address of the board measurement interface expanders.

[0056] Specifically, such as Figure 2 As shown, taking the board measurement interface expander U11 as an example, the address pins of the board measurement interface expander U11 (such as pin 1, pin 2, and pin 3) are respectively connected to the board measurement address configuration signals A0_M1, A1_M1, and A2_M1 output by the board measurement address configuration module. If the board measurement address configuration signals A0_M1, A1_M1, and A2_M1 are generated through pull-down resistors, pull-up resistors, and pull-up resistors respectively, they can be expressed as "001".

[0057] The address pins of the backplane measurement interface extender are electrically connected to the backplane measurement address configuration module. The backplane measurement address configuration module is used to control the pin input state of the address pins of the backplane measurement interface extender in order to configure the device address of the backplane measurement interface extender.

[0058] Specifically, such as Figure 5 As shown, the address pins (such as pins 1, 2, and 3) of the backplane measurement interface expander U21 are connected to the backplane measurement address configuration signals A0_M2, A1_M2, and A2_M2 output by the backplane measurement address configuration module, respectively. If the backplane measurement address configuration signals A0_M2, A1_M2, and A2_M2 are generated through pull-down resistors, pull-down resistors, and pull-down resistors, respectively, they can be represented as "000".

[0059] The control board is used to communicate with the backplane measurement interface extender via the device address of the backplane measurement interface extender and identify the target backplane pin whose pin input state has changed among the multiple input and output pins of the backplane measurement interface extender. It also communicates with the board measurement interface extender via the device address of the board measurement interface extender corresponding to the target backplane pin and identifies the first target board pin whose pin input state has changed among the multiple input and output pins of the board measurement interface extender.

[0060] When multiple non-smart boards are present, although the control board can determine which non-smart boards are abnormal through the backplane measurement interface extender U21, it cannot further determine what kind of abnormality the non-smart boards are experiencing. Therefore, in this embodiment, by configuring addresses, the control board can accurately communicate with the backplane measurement interface extender U21 and the board measurement interface extender based on the addresses. This not only allows it to determine which non-smart board is abnormal, but also what kind of abnormality the non-smart board is experiencing.

[0061] Specifically, refer to Figure 2 and Figure 5 If the non-smart board corresponding to the board measurement interface expander U11 is in an abnormal state, the interrupt signal BOARD1_INT#_M output by the interrupt output pin of the board measurement interface expander U11 changes, and the interrupt signal INT#_M output by the interrupt output pin of the backplane measurement interface expander U21 also changes. At this time, the control board can communicate with the backplane measurement interface expander U21 through the backplane measurement address and read the register status of the backplane measurement interface expander U21, thereby determining that the non-smart board corresponding to the board measurement interface expander U11 is in an abnormal state. Then, the control board communicates with the board measurement interface expander U11 again through the board measurement address corresponding to the board measurement interface expander U11 and reads the register status of the board measurement interface expander U11, thereby determining which type of abnormal state the non-smart board has experienced.

[0062] It should be noted that although the above embodiment mentions that interrupt output detection of eight non-smart boards can be achieved through the backplane measurement interface expander U21, there are only three address pins used to implement measurement address allocation, while the backplane measurement interface expander U21 needs to occupy one measurement address. Therefore, the actual number of board measurement interface expanders that can be connected is seven, that is, the actual number of non-smart boards that can be connected is seven.

[0063] In one embodiment, the measurement and control system further includes a board control address configuration module corresponding to multiple board control interface expanders.

[0064] Similarly, the board control address configuration module can output the corresponding board control address configuration signal through pull-up resistors and pull-down resistors.

[0065] The address pins of multiple board control interface expanders are electrically connected to the corresponding board control address configuration modules. The board control address configuration modules are used to control the pin input states of the address pins of the board control interface expanders in order to configure the device address of the board control interface expanders.

[0066] Specifically, such as Figure 3As shown, taking the board control interface expander U12 as an example, the address pins of the board control interface expander U12 (such as pin 1, pin 2, and pin 3) are respectively connected to the board control address configuration signals A0_C1, A1_C1, and A2_C1 output by the board control address configuration module. If the board control address configuration signals A0_C1, A1_C1, and A2_C1 output by the board control address configuration module are generated through pull-down resistors, pull-down resistors, and pull-up resistors, respectively, they can be expressed as "001".

[0067] The control board is used to communicate with the corresponding board control interface expander through the device address of the board control interface expander and to change the pin output state of the corresponding second target board pin among the multiple input and output pins of the board control interface expander.

[0068] When multiple non-smart boards are present, although the control board can determine which non-smart boards are in abnormal status through the backplane measurement interface expander U21, it cannot further control the status of those non-smart boards based on this information. Therefore, in this embodiment, by configuring an address, the control board can accurately communicate with the board control interface expander according to the address, thereby enabling status control of the non-smart boards.

[0069] In one embodiment, the backplane also integrates a backplane control interface extender and an analog switch, and the control bus includes a first control bus and a second control bus.

[0070] As mentioned in the above embodiments, refer to Figure 1 The control bus includes a control clock line SCL_C and a control data line SDA_C. In this embodiment, referring to... Figure 6 The first control bus includes a shared control clock line SCL_C and a first control data line SDA_C1, and the second control bus includes a shared control clock line SCL_C and a second control data line SDA_C2. In other embodiments, the control clock line SCL_C may also be split.

[0071] The control board is electrically connected to the communication pins of the backplane control interface expander and the input pins of the analog switch via the first control bus.

[0072] Specifically, such as Figure 6 As shown, the control board is electrically connected to the communication clock pin of the backplane control interface expander and the communication clock pin of the board control interface expander via the control clock line SCL_C, and is electrically connected to the communication data pin of the backplane control interface expander and the input pin of the analog switch via the first control data line SDA_C1.

[0073] Multiple input / output pins of the backplane control interface expander are configured in output mode and electrically connected to the enable and control pins of the analog switch, respectively, to output the enable signal EN#_C and the switch control signal SW#_C. The multiple output pins of the analog switch are electrically connected to the communication data pins of the corresponding board control interface expander.

[0074] The control board is used to change the pin output states of multiple input / output pins of the backplane control interface expander, thereby changing the pin input states of the enable and control pins of the analog switch. The analog switch is used to connect its input pins to their corresponding output pins according to the pin input states of its enable and control pins, so that the control board can communicate with the corresponding board control interface expander through the first control bus, the analog switch, and the second control bus, and change the pin output state of the corresponding second target board pin among the multiple input / output pins of the board control interface expander.

[0075] As mentioned in the above embodiments, when multiple non-smart boards are provided, the control board can control the status of a specific non-smart board through the board control address. However, the number of address pins used for address allocation is limited, resulting in a limited number of control addresses that can be allocated. When the number of non-smart boards is large, there will be insufficient control addresses, making reliable status control impossible. Therefore, this embodiment adds a backplane control interface extender and an analog switch, enabling the control board to communicate with the backplane control interface extender and output an enable signal EN#_C and a switch control signal SW#_C to the analog switch. This allows the analog switch to connect its input pin and corresponding output pin. Since the input pin of the analog switch is electrically connected to the control board and its output pin is electrically connected to the corresponding board control interface extender, the control board can communicate one-to-one with the board control interface extender through the analog switch, ultimately achieving status control of the non-smart board corresponding to the board control interface extender.

[0076] like Figure 7 and Figure 8As shown, multiple input / output pins (such as pins 4, 5, 6, and 7) of the backplane control interface expander U22 output corresponding first enable signal BOARD_EN#_C, first switch control signal BOARD1_SW#_C, second switch control signal BOARD2_SW#_C, and third switch control signal BOARD3_SW#_C to the enable pin (such as pin 6) and multiple control pins (such as pins 9, 10, and 11) of the analog switch U3. The input pins (such as pin 3) of the analog switch U3 are electrically connected to the control board via the first control data line SDA_C1. Multiple output pins of analog switch U3 (such as pin 1, pin 2, pin 5, pin 12, pin 13, pin 14, and pin 15) are electrically connected to the communication data pins of the corresponding board control interface expander via multiple second control data lines (such as control data line BOARD1_SDA_C, control data line BOARD2_SDA_C, control data line BOARD3_SDA_C, control data line BOARD4_SDA_C, control data line BOARD5_SDA_C, control data line BOARD6_SDA_C, and control data line BOARD7_SDA_C).

[0077] The first enable signal BOARD_EN#_C is used to control the operating status of analog switch U3, including working and stopping. The first switch control signal BOARD1_SW#_C, the second switch control signal BOARD2_SW#_C, and the third switch control signal BOARD3_SW#_C are used to control the channel status of analog switch U3, as detailed in Table 1. Table 1

[0078] As can be seen from Table 1, when the first enable signal BOARD_EN#_C is high (i.e., analog switch U3 is connected to "H"), the channel state is determined by the first switch control signal BOARD1_SW#_C, the second switch control signal BOARD2_SW#_C, and the third switch control signal BOARD3_SW#_C, which can achieve switching of eight channels.

[0079] It is understandable that the backplane control interface expander U22 and the analog switch U3 work together to achieve status control of eight non-smart boards. When the board measurement interface expander and the backplane measurement interface expander achieve reliable status detection by measuring the address, since the number of board measurement interface expanders is limited to seven, the analog switch U3 in this embodiment only needs to be electrically connected to seven board control interface expanders.

[0080] In other embodiments, an additional number of backplane control interface extenders and analog switches can be used to allocate control addresses to the backplane control interface extenders, ultimately enabling state control of a larger number of non-smart boards.

[0081] Similarly, the board measurement interface expander can also increase the number of detectable devices by configuring analog switches.

[0082] Secondly, in one embodiment, the present invention provides a measurement and control method, which is applied to the measurement and control system in any of the above embodiments; see reference. Figure 1 The measurement and control method includes the following steps performed by the control board: The input and output states of the board's control interface expander are controlled based on the input and output states of the board's measurement interface expander.

[0083] The measurement and control system using the above-described measurement and control method only requires integrating a board measurement interface expander and a board control interface expander on the non-intelligent board. These expanders are electrically connected to the control board via the measurement bus and control bus, respectively. By configuring the input / output pins of the expanders, the control board can perform status detection and control on the non-intelligent board. Compared to replacing the non-intelligent board entirely with an intelligent board, this invention fully utilizes existing hardware with simple modifications, significantly reducing costs.

[0084] In one embodiment, the measurement and control method is specifically applied to the measurement and control system described in one of the above embodiments; refer to Figure 6 The input and output states of the board's control interface expander are controlled based on the input and output states of the board's measurement interface expander, including: After detecting a change in the pin output state of the interrupt output pin of the backplane measurement interface extender, the device address of the backplane measurement interface extender is used to communicate with the backplane measurement interface extender and identify the target backplane pin whose pin input state has changed among the multiple input and output pins of the backplane measurement interface extender. The target board pin is identified by communicating with the board measurement interface extender via the device address corresponding to the target backplane pin and identifying the first target board pin whose input state changes among the multiple input / output pins of the board measurement interface extender. Change the pin output state of multiple input / output pins of the backplane control interface expander to change the pin input state of the enable and control pins of the analog switch; After the analog switch connects its input pin to its corresponding output pin according to the pin input states of its enable pin and control pin, it communicates with the board control interface expander corresponding to the board measurement interface expander through the first control bus, the analog switch and the second control bus, and changes the pin output state of the second target board pin corresponding to the first target board pin among the multiple input and output pins of the board control interface expander.

[0085] Thirdly, in one embodiment, the present invention provides a storage medium storing a computer program that, when executed by a processor, causes the processor to implement the measurement and control method in any of the above embodiments.

[0086] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.

[0087] The above provides a detailed description of the measurement and control system, measurement and control method, and storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

[0088] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

Claims

1. A measurement and control system, characterized in that, The measurement and control system includes a control board, a measurement bus, a control bus, and a board measurement interface expander and a board control interface expander integrated on the non-smart board. The input / output pins of the board measurement interface expander are configured in input mode and connected to the status detection signal output by the status detection module on the non-smart board. The status detection signal is used to control the pin input state of the input / output pins of the board measurement interface expander. The input / output pins of the board control interface expander are configured to output mode and output a status control signal to the status control module on the non-smart board. The pin output status of the input / output pins of the board control interface expander is used to generate the status control signal. The control board is electrically connected to the communication pins of the board measurement interface expander via the measurement bus and to the communication pins of the board control interface expander via the control bus, and is used to control the pin output states of the input and output pins of the board control interface expander according to the pin input states of the input and output pins of the board measurement interface expander.

2. The measurement and control system according to claim 1, characterized in that, The board measurement interface expander has multiple input / output pins, and the board control interface expander has multiple input / output pins; The multiple input / output pins of the board measurement interface expander are respectively connected to the corresponding status detection signals, and the multiple input / output pins of the board control interface expander respectively output the corresponding status control signals; The control board is used to identify a first target board pin whose pin input state changes among the multiple input / output pins of the board measurement interface expander, and to change the pin output state of a second target board pin corresponding to the first target board pin among the multiple input / output pins of the board control interface expander.

3. The measurement and control system according to claim 2, characterized in that, The board measurement interface expander has an interrupt output function, and the control board is also electrically connected to the interrupt output pin of the board measurement interface expander. The board measurement interface expander is used to change the pin output state of its interrupt output pin when the pin input state of at least one input / output pin changes; The control board is used to detect the pin output status of the interrupt output pin of the board measurement interface expander, and to determine whether at least one of the multiple input / output pins of the board measurement interface expander exists based on the pin output status of the interrupt output pin of the board measurement interface expander.

4. The measurement and control system according to claim 3, characterized in that, The board measurement interface extender and the board control interface extender are provided in multiple ways. One board measurement interface extender corresponds to one board control interface extender and is integrated on a non-smart board. The measurement and control system also includes a backplane. The backplane has an integrated backplane measurement interface extender, which has an interrupt output function. The multiple input / output pins of the backplane measurement interface extender are configured in input mode and electrically connected to the interrupt output pins of the corresponding board measurement interface extenders. The interrupt output pins of the backplane measurement interface extender are electrically connected to the control board. The backplane measurement interface extender is used to change the pin output state of its interrupt output pin when the pin input state of at least one input / output pin changes; The control board is electrically connected to the communication pins of multiple board measurement interface extenders and the communication interface of the backplane measurement interface extender via the measurement bus, and is also electrically connected to the communication pins of multiple board control interface extenders via the control bus.

5. The measurement and control system according to claim 4, characterized in that, The measurement and control system also includes board measurement address configuration modules corresponding to the plurality of board measurement interface extenders and a backplane measurement address configuration module corresponding to the backplane measurement interface extender. The address pins of the multiple board measurement interface expanders are electrically connected to the corresponding board measurement address configuration modules; the board measurement address configuration modules are used to control the pin input state of the address pins of the board measurement interface expanders in order to configure the device address of the board measurement interface expanders. The address pins of the backplane measurement interface extender are electrically connected to the backplane measurement address configuration module. The backplane measurement address configuration module is used to control the pin input state of the address pins of the backplane measurement interface extender in order to configure the device address of the backplane measurement interface extender. The control board is used to communicate with the backplane measurement interface extender via the device address of the backplane measurement interface extender and identify the target backplane pin whose pin input state has changed among the multiple input and output pins of the backplane measurement interface extender. It also communicates with the board measurement interface extender via the device address of the board measurement interface extender corresponding to the target backplane pin and identifies the first target board pin whose pin input state has changed among the multiple input and output pins of the board measurement interface extender.

6. The measurement and control system according to claim 5, characterized in that, The measurement and control system also includes board control address configuration modules corresponding to the multiple board control interface expanders respectively; The address pins of the multiple board control interface expanders are electrically connected to the corresponding board control address configuration modules; the board control address configuration modules are used to control the pin input state of the address pins of the board control interface expanders in order to configure the device address of the board control interface expanders. The control board is used to communicate with the corresponding board control interface extender through the device address of the corresponding board control interface extender and change the pin output state of the second target board pin among the multiple input and output pins of the board control interface extender.

7. The measurement and control system according to claim 5, characterized in that, The backplane also integrates a backplane control interface expander and an analog switch, and the control bus includes a first control bus and a second control bus. The control board is electrically connected to the communication pin of the backplane control interface expander and the input pin of the analog switch via the first control bus. Multiple input and output pins of the backplane control interface expander are configured in output mode and are electrically connected to the enable pin and control pin of the analog switch, respectively. Multiple output pins of the analog switch are electrically connected to the communication pin of the corresponding board control interface expander. The control board is used to change the pin output state of multiple input / output pins of the backplane control interface expander, so as to change the pin input state of the enable pin and control pin of the analog switch. The analog switch is used to connect its input pin to its corresponding output pin according to the pin input state of its enable pin and control pin, so that the control board can communicate with the corresponding board control interface expander through the first control bus, the analog switch and the second control bus, and change the pin output state of the second target board pin among the multiple input and output pins of the board control interface expander.

8. A measurement and control method, characterized in that, The measurement and control method is applied to the measurement and control system according to any one of claims 1 to 7; the measurement and control method includes the following steps performed by the control board: The pin output states of the input and output pins of the board control interface expander are controlled according to the pin input states of the input and output pins of the board measurement interface expander.

9. The measurement and control method according to claim 8, characterized in that, The measurement and control method is specifically applied to the measurement and control system of claim 7; the step of controlling the pin output state of the input and output pins of the board control interface expander according to the pin input state of the input and output pins of the board measurement interface expander includes: After detecting a change in the pin output state of the interrupt output pin of the backplane measurement interface extender, the device address of the backplane measurement interface extender is used to communicate with the backplane measurement interface extender and identify the target backplane pin whose pin input state has changed among the multiple input and output pins of the backplane measurement interface extender. The target board pin is identified by communicating with the board measurement interface extender via the device address corresponding to the target backplane pin and identifying the first target board pin whose pin input state changes among the multiple input / output pins of the board measurement interface extender. Change the pin output state of multiple input / output pins of the backplane control interface expander to change the pin input state of the enable pin and control pin of the analog switch; After the analog switch connects its input pin to its corresponding output pin according to the pin input states of its enable pin and control pin, it communicates with the board control interface expander corresponding to the board measurement interface expander through the first control bus, the analog switch and the second control bus, and changes the pin output state of the second target board pin corresponding to the first target board pin among the multiple input and output pins of the board control interface expander.

10. A storage medium, characterized in that, The device stores a computer program that, when executed by a processor, causes the processor to implement the measurement and control method as described in claim 8 or 9.