Search

CN-122018479-A - Measurement and control system, measurement and control method and storage medium

CN122018479ACN 122018479 ACN122018479 ACN 122018479ACN-122018479-A

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, a measurement bus, a control bus, a board measurement interface expander and a board control interface expander, wherein the board measurement interface expander and the board control interface expander are integrated on a non-intelligent board. Only the board card measuring interface expander and the board card control interface expander are integrated on the non-intelligent board card, the board card measuring interface expander and the board card control interface expander are electrically connected with the control board card through a measuring bus and a control bus respectively, and the control board card can perform state detection and state control on the non-intelligent board card by configuring the modes of input pins and output pins of the board card measuring interface expander and the board card control interface expander; compared with the scheme of adopting the intelligent board card to completely replace the non-intelligent board card, the invention fully utilizes the original hardware to carry out simple transformation and can greatly reduce the cost.

Inventors

  • CHEN JIANHUA
  • XU JUN
  • SUN ZENGXIAN

Assignees

  • 北京和信瑞通电力技术股份有限公司
  • 上海正泰自动化软件系统有限公司
  • 正泰电气股份有限公司

Dates

Publication Date
20260512
Application Date
20251110

Claims (10)

  1. 1. The measurement and control system is characterized by comprising a control board, a measurement bus, a control bus, a board measurement interface expander and a board control interface expander, wherein the board measurement interface expander and the board control interface expander are integrated on a non-intelligent board; The input/output pins of the board card measurement interface expander are configured into an input mode and are connected with state detection signals output by a state detection module on the non-intelligent board card, and the state detection signals are used for controlling the pin input states of the input/output pins of the board card measurement interface expander; The input/output pins of the board card control interface expander are configured into an output mode and output a state control signal to a state control module on the non-intelligent board card, and the pin output state of the input/output pins of the board card control interface expander is used for generating the state control signal; The control board card is electrically connected with the communication pins of the board card measurement interface expander through the measurement bus and is electrically connected with the communication pins of the board card control interface expander through the control bus, and is used for controlling the pin output states of the input and output pins of the board card control interface expander according to the pin input states of the input and output pins of the board card measurement interface expander.
  2. 2. The measurement and control system of claim 1, wherein the board measurement interface extender has a plurality of input-output pins and the board control interface extender has a plurality of input-output pins; the plurality of input and output pins of the board card measurement interface expander are respectively connected with corresponding state detection signals, and the plurality of input and output pins of the board card control interface expander are respectively connected with corresponding state control signals; The control board card is used for identifying a first target board card pin with a changed pin input state in a plurality of input/output pins of the board card measurement interface expander, and changing a pin output state of a second target board card pin corresponding to the first target board card pin in a plurality of input/output pins of the board card control interface expander.
  3. 3. The measurement and control system of claim 2, wherein the board measurement interface extender has an interrupt output function, and the control board is further electrically connected to an interrupt output pin of the board measurement interface extender; the board card measurement interface expander is used for changing the pin output state of the interrupt output pin when the pin input state of at least one input/output pin is changed; The control board card is used for detecting the pin output state of the interrupt output pin of the board card measurement interface expander, and determining whether at least one first target pin exists in a plurality of input and output pins of the board card measurement interface expander according to the pin output state of the interrupt output pin of the board card measurement interface expander.
  4. 4. The measurement and control system according to claim 3, wherein a plurality of board measurement interface expanders and a plurality of board control interface expanders are respectively arranged, and one board measurement interface expander corresponds to one board control interface expander and is integrated on one non-intelligent board; The multiple input and output pins of the backboard measurement interface expander are configured into an input mode and are respectively and electrically connected with the interrupt output pins of the corresponding board card measurement interface expander, and the interrupt output pins of the backboard measurement interface expander are electrically connected with the control board card; the backboard measurement interface expander is used for changing the pin output state of the interrupt output pin when the pin input state of at least one input/output pin is changed; The control board card is respectively and electrically connected with the communication pins of the board card measurement interface expanders and the communication interfaces of the backboard measurement interface expanders through the measurement buses and is respectively and electrically connected with the communication pins of the board card control interface expanders through the control buses.
  5. 5. The measurement and control system of claim 4, further comprising a board measurement address configuration module corresponding to a plurality of the board measurement interface expanders and a back board measurement address configuration module corresponding to the back board measurement interface expanders, respectively; The device comprises a plurality of board card measurement interface expanders, a board card measurement address configuration module, a plurality of control module and a plurality of control module, wherein the address pins of the board card measurement interface expanders are respectively and electrically connected with the corresponding board card measurement address configuration modules; The back plate measurement address configuration module is used for controlling the pin input state of the address pin of the back plate measurement interface expander so as to configure the equipment address of the back plate measurement interface expander; The control board card is used for communicating with the backboard measurement interface expander through the equipment address of the backboard measurement interface expander and identifying a target backboard pin with a changed pin input state in a plurality of input/output pins of the backboard measurement interface expander, and communicating with the board card measurement interface expander through the equipment address of the board card measurement interface expander corresponding to the target backboard pin and identifying a first target board card pin with a changed pin input state in a plurality of input/output pins of the board card measurement interface expander.
  6. 6. The measurement and control system of claim 5, further comprising a board control address configuration module corresponding to each of the plurality of board control interface expanders; The board card control address configuration module is used for controlling the pin input state of the address pins of the board card control interface expander so as to configure the equipment address of the board card control interface expander; the control board card is used for communicating with the board card control interface expander through the equipment address of the corresponding board card control interface expander and changing the pin output state of the corresponding second target board card pin in the plurality of input/output pins of the board card control interface expander.
  7. 7. The measurement and control system of claim 5, wherein the back board is further integrated with a back board control interface extender and an analog switch, the control bus comprising a first control bus and a second control bus; The control board card is respectively and electrically connected with the communication pins of the backboard control interface expander and the input pins of the analog switch through the first control bus, the plurality of input and output pins of the backboard control interface expander are configured into an output mode and are respectively and electrically connected with the enabling pins and the control pins of the analog switch, and the plurality of output pins of the analog switch are respectively and electrically connected with the communication pins of the corresponding board card control interface expander; The control board card is used for changing the pin output states of a plurality of input and output pins of the backboard control interface extender so as to change the pin input states of an enabling pin and a control pin of the analog switch; The analog switch is used for communicating the input pins of the analog switch with the corresponding output pins according to the pin input states of the enabling pins and the control pins, so that the control board card communicates with the corresponding board card control interface expander through the first control bus, the analog switch and the second control bus and changes the pin output states of the corresponding second target board card pins in the multiple input and output pins of the board card control interface expander.
  8. 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, and the measurement and control method comprises the following steps executed by the control board card: and controlling the pin output state of the input/output pins of the board card control interface expander according to the pin input state of the input/output pins of the board card measurement interface expander.
  9. 9. The measurement and control method according to claim 8, wherein the measurement and control method is specifically applied to the measurement and control system according to claim 7, the controlling the pin output state of the input/output pin of the board control interface extender according to the pin input state of the input/output pin of the board measurement interface extender comprises: After detecting that the pin output state of the interrupt output pin of the back plate measurement interface expander changes, communicating with the back plate measurement interface expander through the equipment address of the back plate measurement interface expander and identifying a target back plate pin with the changed pin input state in a plurality of input/output pins of the back plate measurement interface expander; The method comprises the steps of communicating with a board measurement interface expander through an equipment address of the board measurement interface expander corresponding to a target backboard pin and identifying a first target board pin with a changed pin input state in a plurality of input and output pins of the board measurement interface expander; Changing the pin output states of a plurality of input and output pins of the backboard control interface extender to change the pin input states of an enabling pin and a control pin of the analog switch; After the analog switch communicates the input pins with the corresponding output pins according to the pin input states of the enabling pins and the control pins, the analog switch communicates with the corresponding board card control interface expander through the first control bus, the analog switch and the second control bus, and changes the pin output states of the second target board card pins corresponding to the first target board card pins in the multiple input and output pins of the board card control interface expander.
  10. 10. A storage medium storing a computer program which, when executed by a processor, causes the processor to implement the measurement and control method of claim 8 or 9.

Description

Measurement and control system, measurement and control method and storage medium Technical Field The invention relates to the technical field of measurement and control, in particular to a measurement and control system, a measurement and control method and a storage medium. Background In the power measurement and control scenario, there are a large number of non-smart cards, which means that there are no built-in processors, memories, software, etc., such as conventional circuit boards or embedded systems. Non-intelligent board cards generally do not involve complex logic processing, and the main functions are signal conversion, data transmission, and the like. However, with the increase of the related requirements, the intelligent requirements for the non-intelligent board card are correspondingly increased, for example, whether the state of the non-intelligent board card is abnormal or not needs to be known, and related control operations are performed when the state is abnormal. The existing scheme can only adopt the intelligent board card to completely replace the non-intelligent board card, so that the cost is quite high. Disclosure of Invention Aiming at the defects existing in the prior art, the invention provides a measurement and control system, a measurement and control method and a storage medium. In a first aspect, the present invention provides a measurement and control system comprising a control board card, a measurement bus, a control bus, and a board card measurement interface extender and a board card control interface extender integrated on a non-smart board card; The input/output pins of the board card measurement interface expander are configured into an input mode and are connected with state detection signals output by a state detection module on the non-intelligent board card, and the state detection signals are used for controlling the pin input states of the input/output pins of the board card measurement interface expander; The input/output pins of the board card control interface expander are configured into an output mode and output state control signals to the state control module on the non-intelligent board card, and the pin output states of the input/output pins of the board card control interface expander are used for generating the state control signals; The control board card is electrically connected with the communication pins of the board card measurement interface expander through the measurement bus and the communication pins of the board card control interface expander through the control bus, and is used for controlling the pin output state of the input and output pins of the board card control interface expander according to the pin input state of the input and output pins of the board card measurement interface expander. In one embodiment, the board measurement interface extender has a plurality of input-output pins and the board control interface extender has a plurality of input-output pins; The plurality of input and output pins of the board card measurement interface expander are respectively connected with corresponding state detection signals, and the plurality of input and output pins of the board card control interface expander are respectively connected with corresponding state control signals; The control board card is used for identifying a first target board card pin with a changed pin input state in a plurality of input/output pins of the board card measurement interface expander, and changing a pin output state of a second target board card pin corresponding to the first target board card pin in a plurality of input/output pins of the board card control interface expander. In one embodiment, the board card measurement interface expander has an interrupt output function, and the control board card is further electrically connected with an interrupt output pin of the board card measurement interface expander; the board card measurement interface expander is used for changing the pin output state of the intermediate output pin when the pin input state of at least one input/output pin is changed; the control board card is used for detecting the pin output state of the interrupt output pin of the board card measurement interface expander, and determining whether at least one first target pin exists in a plurality of input and output pins of the board card measurement interface expander according to the pin output state of the interrupt output pin of the board card measurement interface expander. In one embodiment, a plurality of board measurement interface expanders and a plurality of board control interface expanders are respectively arranged, and one board measurement interface expander corresponds to one board control interface expander and is integrated on one non-intelligent board; The plurality of input and output pins of the backboard measurement interface expander are configured into an input mode and are respectively and electrically connected