CN116232292A - Electrical instrument device and method based on automatic identification and switching of anode and cathode and intelligent remote IO device - Google Patents

Electrical instrument device and method based on automatic identification and switching of anode and cathode and intelligent remote IO device Download PDF

Info

Publication number
CN116232292A
CN116232292A CN202310099653.9A CN202310099653A CN116232292A CN 116232292 A CN116232292 A CN 116232292A CN 202310099653 A CN202310099653 A CN 202310099653A CN 116232292 A CN116232292 A CN 116232292A
Authority
CN
China
Prior art keywords
switch
measuring device
positive
matrix
switching
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310099653.9A
Other languages
Chinese (zh)
Inventor
王建林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Yushun Electric Co ltd
Original Assignee
Shanghai Yushun Electric Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Yushun Electric Co ltd filed Critical Shanghai Yushun Electric Co ltd
Priority to CN202310099653.9A priority Critical patent/CN116232292A/en
Publication of CN116232292A publication Critical patent/CN116232292A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/55Testing for incorrect line connections
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/002Switching arrangements with several input- or output terminals
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S20/00Management or operation of end-user stationary applications or the last stages of power distribution; Controlling, monitoring or operating thereof
    • Y04S20/30Smart metering, e.g. specially adapted for remote reading

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

According to the electric instrument device and method based on automatic positive and negative electrode identification and switching and the intelligent remote IO device, the automatic positive and negative electrode identification and switching of the multi-channel sensor signals from each measuring device are realized through the matrix switch module, the operational amplifier, the AD converter and the processing module which are sequentially connected in series. The invention discards the original lag method that the traditional instrument and meter wiring must distinguish positive and negative polarities, the wiring will not distinguish positive and negative polarities manually, the wiring is arbitrary, the back end instrument can automatically detect positive and negative polarities, and after the polarity of a certain measuring device is found to be reversed, the polarity is automatically and physically exchanged, and then the back end instrument is connected with an amplifier for carrying out back processing, thereby greatly reducing the work load of checking the polarity of the field wiring and greatly simplifying the field installation work.

Description

Electrical instrument device and method based on automatic identification and switching of anode and cathode and intelligent remote IO device
Technical Field
The invention relates to the technical field of measurement, in particular to an electric instrument device and method based on automatic identification and switching of positive and negative electrodes and an intelligent remote IO device.
Background
The electronic measurement generally adopts measuring devices such as a sensor with positive and negative polarities, a transmitter and the like to collect sensor signals, and then the sensor signals are converted into measured data of a measured medium through an electric instrument (secondary instrument); sensors such as K, E, S, T are often deployed in actual use in a number that is typically greater than the number of controllers and require frequent readings of the values of the individual sensors in order to grasp environmental parameters in real time. In the field installation wiring engineering, the sensor device has positive and negative polarities, so that the measuring instrument cannot accurately measure parameters in case of wrong connection of the positive and negative polarities.
Because the sensitivity of the measuring device is low, the secondary measuring instrument is used for amplifying signals firstly and then converting the signals into corresponding measured data, and an operational amplifier is generally used for amplifying weak signals of microvolts and millivolts.
In the prior art, an operational amplifier is generally adopted for amplification measurement, the measurement method requires that the polarity of a sensor signal connected into the operational amplifier is correct, a correct amplified output signal cannot be obtained by wrong reverse wiring, and thus correct measurement is affected.
However, the situation of wrong wiring polarity happens sometimes, for example, for a large thermal power plant, only a boiler side temperature measuring device has hundreds of thermocouples, thousands of temperature measuring points have thousands of thermocouples, so a great number of thermocouples must be carefully and reversely connected when wiring is installed, otherwise, the later stage must be reversely checked, the wiring is corrected, only polarity marks and recognition workload are quite heavy and complicated, and more confusing is that when the temperature of the hot ends of the thermocouples is equal, the millivolt value of an output signal is 0, the voltage gear of a universal meter is simply taken, the measurement cannot be distinguished at all, the measurement can only be carried out to distinguish which is positive and which is negative, the measurement can only be carried out after the temperature difference is generated by actively heating the hot ends, or the judgment can be carried out firstly, the polarity is firstly and randomly guessed, the passive waiting of the boiler is discovered that the temperature is not opposite after the ignition temperature is raised, and the positive and negative polarity are exchanged for correction is carried out.
Therefore, how to realize automatic polarity recognition of multiple acquisitions of sensor data is one of the important and difficult points of research in the field.
Disclosure of Invention
In view of the above drawbacks of the prior art, an object of the present invention is to provide an electrical instrument device, a method and an intelligent remote IO device based on automatic identification and switching of positive and negative electrodes, which are used for solving the above technical problems in the prior art.
To achieve the above and other related objects, the present invention provides an electric meter device based on automatic identification and switching of positive and negative electrodes, the device comprising: the matrix switch module, the operational amplifier, the AD converter and the processing module are sequentially connected in series; the matrix switch module is connected with the anode and the cathode of one or more measuring devices and is used for respectively transmitting input signals of the measuring devices in the current switch state; the operational amplifier is used for respectively inputting each input signal transmitted by the matrix switch module and outputting a corresponding amplified analog signal so that the AD converter can perform analog-to-digital conversion on each amplified analog signal to obtain a corresponding digital signal; the processing module is in communication connection with the matrix switch module and is used for identifying whether the positive electrode and the negative electrode of each measuring device are reversely connected based on each digital signal obtained through conversion of each amplified analog signal, and controlling the matrix switch module to switch the current switch state of the matrix switch module under the condition that the positive electrode and the negative electrode of each measuring device are reversely connected, so that the positive electrode and the negative electrode of the corresponding measuring device are switched.
In an embodiment of the present invention, the matrix switch module includes: one or more matrix switch units respectively corresponding to the anode and the cathode of a measuring device; each matrix switch unit is used for controlling the current switch state to be switched into a polarity switching state by the processing module under the condition that the current measuring device is identified to be reversely connected so as to carry out polarity conversion transmission on an input signal of the current measuring device; and when the current measuring device is not identified to be reversely connected, the processing module controls the current switch state to be in a normal polarity state so as to normally transmit the input signal of the current measuring device.
In an embodiment of the present invention, the matrix switch unit includes: the first switch matrix is respectively connected with the anode and the cathode of the current measuring device; the first switch matrix is connected with the homodromous input end of the operational amplifier; the second switch matrix is connected with the reverse input end of the operational amplifier.
In an embodiment of the present invention, the first switch matrix includes: a first switch and a second switch connected in parallel; the second switch matrix includes: a third switch and a fourth switch connected in parallel; the first switch is connected with the third switch in series, and the second switch is connected with the fourth switch in series; when the matrix switch unit is in the polarity switching state, the second switch and the third switch are in a closed state, and the first switch and the fourth switch are in an open state; when the matrix switch unit is in the normal polarity state, the first switch and the fourth switch are in a closed state, and the second switch and the third switch are in an open state.
In one embodiment of the present invention, the processing module includes: a signal input unit for receiving each digital signal output by the AD converter; the positive and negative electrode identification unit is connected with the signal input unit and is used for judging whether the corresponding amplified analog signal output by the operational amplifier is negative or not based on each digital signal so as to identify whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected or not; the switch state switching control module is connected with the anode and cathode identification units and is used for sending a state switching instruction to the matrix switch unit corresponding to the measuring device under the condition that the anode and cathode of the corresponding measuring device are identified to be reversely connected, so as to control the matrix switch unit to be switched into a polarity switching state; and under the condition that the positive electrode and the negative electrode of the corresponding measuring device are not reversely connected, sending a polarity normal instruction to a matrix switch unit corresponding to the measuring device so as to control the matrix switch unit to be in a polarity normal state.
In an embodiment of the invention, the positive and negative electrode identifying unit is configured to identify whether the positive and negative electrodes of the corresponding measurement device are reversely connected by determining whether the amplified analog signal output by the operational amplifier is negative according to each digital signal of the corresponding measurement device based on a threshold value determining rule; wherein the threshold judgment rule includes: a time threshold judgment rule and/or a number threshold judgment rule; the time threshold judgment rule comprises: judging whether the number of negative amplified analog signals output by the operational amplifier in the time threshold accords with a set threshold or not based on each digital signal of the corresponding measuring device in the time threshold, and identifying whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected or not; the number threshold judgment rule includes: and judging whether the number of negative amplified analog signals output by the operational amplifier exceeds a set number threshold value based on each digital signal of the corresponding measuring device, and identifying whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected.
In one embodiment of the invention, the electrical meter device further comprises: and the protection front diodes are respectively arranged in front of each matrix switch unit.
In an embodiment of the invention, the measuring device is a thermocouple.
To achieve the above and other related objects, the present invention provides a method for automatically identifying and switching positive and negative electrodes, which is applied to an electrical instrument device, and comprises: the matrix switch module, the operational amplifier and the AD converter are sequentially connected in series; the matrix switch module is connected with the anode and the cathode of one or more measuring devices and is used for respectively transmitting the input signals of each measuring device in the current switch state so that the operational amplifier can output corresponding amplified analog signals based on the transmitted input signals; the method comprises the following steps: receiving and carrying out analog-to-digital conversion by the AD converter based on the corresponding amplified analog signal output by the operational amplifier to obtain a corresponding digital signal; and identifying whether the anode and the cathode of each measuring device are reversely connected based on each digital signal, and controlling the matrix switch module to switch the current switch state of the matrix switch module under the condition that the anode and the cathode of each measuring device are reversely connected so as to switch the anode and the cathode of the corresponding measuring device.
To achieve the above and other related objects, the present invention provides an intelligent remote IO device, comprising: the electric instrument device based on the automatic identification and switching of the positive electrode and the negative electrode.
As described above, the invention relates to an electric instrument device and method based on automatic identification and switching of positive and negative electrodes and an intelligent remote IO device, which has the following beneficial effects: the invention realizes the automatic identification and switching of the positive and negative poles of the multi-path sensor signals from each measuring device through the matrix switch module, the operational amplifier, the AD converter and the processing module which are sequentially connected in series. The invention discards the original lag method that the traditional instrument and meter wiring must distinguish positive and negative polarities, the wiring will not distinguish positive and negative polarities manually, the wiring is arbitrary, the back end instrument can automatically detect positive and negative polarities, and after the polarity of a certain measuring device is found to be reversed, the polarity is automatically and physically exchanged, and then the back end instrument is connected with an amplifier for carrying out back processing, thereby greatly reducing the work load of checking the polarity of the field wiring and greatly simplifying the field installation work.
Drawings
Fig. 1 is a schematic flow chart of an electrical meter device based on automatic identification and switching of positive and negative electrodes according to an embodiment of the invention.
Fig. 2 is a schematic diagram of a matrix switch unit according to an embodiment of the invention.
Fig. 3 is a flow chart illustrating an automatic positive-negative-electrode-based identification and switching method according to an embodiment of the invention.
FIG. 4 is a schematic diagram of an intelligent remote IO device in an embodiment of the present invention.
FIG. 5 is a schematic diagram illustrating a configuration of an intelligent remote IO device in an embodiment of the present invention.
Fig. 6 is a schematic diagram showing normal wiring of a thermocouple in an embodiment of the present invention.
FIG. 7 is a schematic diagram of a thermocouple miswiring in an embodiment of the present invention.
FIG. 8 is a schematic diagram showing thermocouple electrode switching in an embodiment of the invention.
Detailed Description
Other advantages and effects of the present invention will become apparent to those skilled in the art from the following disclosure, which describes the embodiments of the present invention with reference to specific examples. The invention may be practiced or carried out in other embodiments that depart from the specific details, and the details of the present description may be modified or varied from the spirit and scope of the present invention. It should be noted that the following embodiments and features in the embodiments may be combined with each other without conflict.
In the following description, reference is made to the accompanying drawings, which illustrate several embodiments of the invention. It is to be understood that other embodiments may be utilized and that mechanical, structural, electrical, and operational changes may be made without departing from the spirit and scope of the present invention. The following detailed description is not to be taken in a limiting sense, and the scope of embodiments of the present invention is defined only by the claims of the issued patent. The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Spatially relative terms, such as "upper," "lower," "left," "right," "lower," "below," "lower," "above," "upper," and the like, may be used herein to facilitate a description of one element or feature as illustrated in the figures relative to another element or feature.
Throughout the specification, when a portion is said to be "connected" to another portion, this includes not only the case of "direct connection" but also the case of "indirect connection" with other elements interposed therebetween. In addition, when a certain component is said to be "included" in a certain section, unless otherwise stated, other components are not excluded, but it is meant that other components may be included.
The first, second, and third terms are used herein to describe various portions, components, regions, layers and/or sections, but are not limited thereto. These terms are only used to distinguish one portion, component, region, layer or section from another portion, component, region, layer or section. Thus, a first portion, component, region, layer or section discussed below could be termed a second portion, component, region, layer or section without departing from the scope of the present invention.
Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. It will be further understood that the terms "comprises," "comprising," "includes," and/or "including" specify the presence of stated features, operations, elements, components, items, categories, and/or groups, but do not preclude the presence, presence or addition of one or more other features, operations, elements, components, items, categories, and/or groups. The terms "or" and/or "as used herein are to be construed as inclusive, or meaning any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: a, A is as follows; b, a step of preparing a composite material; c, performing operation; a and B; a and C; b and C; A. b and C). An exception to this definition will occur only when a combination of elements, functions or operations are in some way inherently mutually exclusive.
The invention provides an electric instrument device and method based on automatic positive and negative electrode identification and switching and an intelligent remote IO device, which realize the automatic positive and negative electrode identification and switching of multi-channel sensor signals from all measuring devices through a matrix switch module, an operational amplifier, an AD converter and a processing module which are sequentially connected in series. The invention discards the original lag method that the traditional instrument and meter wiring must distinguish positive and negative polarities, the wiring will not distinguish positive and negative polarities manually, the wiring is arbitrary, the back end instrument can automatically detect positive and negative polarities, and after the polarity of a certain measuring device is found to be reversed, the polarity is automatically and physically exchanged, and then the back end instrument is connected with an amplifier for carrying out back processing, thereby greatly reducing the work load of checking the polarity of the field wiring and greatly simplifying the field installation work.
The embodiments of the present invention will be described in detail below with reference to the attached drawings so that those skilled in the art to which the present invention pertains can easily implement the present invention. This invention may be embodied in many different forms and is not limited to the embodiments described herein.
Fig. 1 shows a schematic structural diagram of an electrical meter device based on automatic identification and switching of positive and negative electrodes in an embodiment of the invention.
The device comprises:
a matrix switch module 1, an operational amplifier 2, an AD converter 3 and a processing module 4 which are sequentially connected in series; specifically, the matrix switch module 1 is connected to the unidirectional input end and the reverse input end of the operational amplifier 2, the output end of the operational amplifier 2 is connected to the AD converter 3, and the AD converter 3 is connected to the processing module 4.
The matrix switch module 1 is connected with the anode and the cathode of one or more measuring devices and is used for respectively transmitting input signals of the measuring devices in the current switch state; the measuring device can be all sensors with positive and negative polarities, transmitters and the like, such as a thermocouple, a sensor with positive and negative polarities, input signals of the transmitters for 0-5V, 4-20mA and the like.
The operational amplifier 2 is configured to input each input signal transmitted by the matrix switch module 1 and output a corresponding amplified analog signal, so that the AD converter 3 performs analog-to-digital conversion on each amplified analog signal to obtain a corresponding digital signal; the AD converter can comprise one or more AD conversion chips, and the number selected by the AD conversion chips is related to the number of measuring devices needing to input sensor signals; for example, 8 measuring device loops correspond to an AD conversion chip.
The processing module 4 is in communication connection with the matrix switch module 1, and is configured to identify whether the positive and negative poles of each measurement device are reversely connected based on each digital signal obtained by converting each amplified analog signal, and control the matrix switch module 1 to switch the current switch state of the measurement device if the positive and negative poles are reversely connected, so as to switch the positive and negative poles of the corresponding measurement device.
In one embodiment, the matrix switch module 1 comprises:
one or more matrix switch units 101-104 respectively corresponding to the anode and the cathode of a measuring device; in the figure, only 4 are taken as an example, and the matrix switch units 101-104 are respectively connected with a measuring device;
wherein, each matrix switch unit 101-104 is used for being controlled by the processing module 4 to switch the current switch state to the polarity switching state when the current measuring device is identified as reversely connected, so as to carry out polarity conversion transmission on the input signal of the current measuring device; and when the current measuring device is not identified to be reversely connected, the processing module controls the current switch state to be in a normal polarity state so as to normally transmit the input signal of the current measuring device.
In one embodiment, as shown in fig. 2, the matrix switch unit includes:
a first switch matrix 11 and a first switch matrix 12 respectively connected with the anode and the cathode of the current measuring device; the first switching matrix 11 and the second switching matrix 12 are connected with the positive electrode of the current measuring device and the negative electrode of the connecting device.
The first switch matrix 11 is connected with the same-direction input end of the operational amplifier; the second switch matrix 12 is connected to the inverting input of the operational amplifier.
Under the normal condition of the positive and negative poles, the first switch matrix 11 is connected to the positive pole of the current measuring device, the second switch matrix 12 is connected to the negative pole of the current measuring device, and at this time, the output of the operational amplifier is positive, and the digital signal output by the AD converter is normal.
Under the condition that the positive electrode and the negative electrode are connected reversely, the first switch matrix 11 is connected with the negative electrode of the current measuring device, the second switch matrix 12 is connected with the positive electrode of the current measuring device, at the moment, the output of the operational amplifier is negative, and the digital signal output by the AD converter works abnormally.
In one embodiment, as shown in fig. 2, the first switch matrix 1101 includes: a first switch S1 and a second switch S2 connected in parallel; specifically, one end of the first switch S1 and one end of the second switch S2 are connected to any pole (positive pole or negative pole) of the corresponding measuring device, and the other end of the first switch S1 and the other end of the second switch S2 are connected to the same-direction input end of the operational amplifier; the second switch matrix 1102 includes: a third switch S3 and a fourth switch S4 connected in parallel; specifically, one ends of the third switch S3 and the fourth switch S4 are connected to the other pole (positive pole or negative pole) of the corresponding measuring device, and the other ends of the third switch S3 and the fourth switch S4 are connected to the inverting input end of the operational amplifier; and the first switch S1 is connected in series with the third switch S3, and the second switch S2 is connected in series with the fourth switch S4.
When the matrix switch unit is in the polarity switching state, the second switch S2 and the third switch S3 are in a closed state, and the first switch S1 and the fourth switch S4 are in an open state.
When the matrix switch unit is in the normal polarity state, the first switch S1 and the fourth switch S4 are in a closed state, and the second switch S2 and the third switch S3 are in an open state.
The first switch S1, the second switch S2, the third switch S3, and the fourth switch S4 may be electronic switches, or may be mechanical switches or relays.
In one embodiment, the processing module comprises:
a signal input unit for receiving each digital signal output by the AD converter;
the positive and negative electrode identification unit is connected with the signal input unit and is used for judging whether the corresponding amplified analog signal output by the operational amplifier is negative or not based on each digital signal so as to identify whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected or not;
the switch state switching control module is connected with the anode and cathode identification units and is used for sending a state switching instruction to the matrix switch unit corresponding to the measuring device under the condition that the anode and cathode of the corresponding measuring device are identified to be reversely connected, so as to control the matrix switch unit to be switched into a polarity switching state; and under the condition that the positive electrode and the negative electrode of the corresponding measuring device are not reversely connected, sending a polarity normal instruction to a matrix switch unit corresponding to the measuring device so as to control the matrix switch unit to be in a polarity normal state.
In an embodiment, the switch state switching control module is further configured to control the matrix switch unit to be in a normal polarity state in an initial state.
In one embodiment, to avoid that a negative signal may temporarily appear if an erroneous judgment (such as a spike of a high-frequency interference signal occasionally) is based on a threshold judgment rule, whether the amplified analog signal output by the operational amplifier is negative is judged based on each digital signal of the corresponding measuring device, so as to identify whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected;
wherein the threshold judgment rule includes: a time threshold judgment rule and/or a number threshold judgment rule;
the time threshold judgment rule comprises: judging whether the number of negative amplified analog signals output by the operational amplifier in the time threshold accords with a set threshold or not based on each digital signal of the corresponding measuring device in the time threshold, and identifying whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected or not; if the set threshold is met, the negative electrode and the positive electrode of the corresponding measuring device are identified to be reversely connected; if the positive electrode does not meet the threshold value, the positive electrode and the negative electrode of the corresponding measuring device are identified to be not reversely connected;
the number threshold judgment rule includes: judging whether the number of negative amplified analog signals output by the operational amplifier exceeds a set number threshold value based on each digital signal of the corresponding measuring device, and identifying whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected; if the number exceeds the set number threshold, the positive electrode and the negative electrode of the corresponding measuring device are identified to be reversely connected; if the number of the measuring devices does not exceed the set number threshold, the positive and negative poles of the corresponding measuring devices are identified not to be reversely connected.
For example, the CPU may sample multiple times, and when a negative signal is sampled within 10 seconds, the signal is judged to be inverted, and the polarity exchange task is started to exchange the polarity.
In an embodiment, the electrical meter device further comprises: and the protection front diodes are respectively arranged in front of each matrix switch unit. For protecting the devices in the apparatus.
In one embodiment, the thermocouple is a temperature sensing element and is a meter. It directly measures the temperature and converts the temperature signal into a thermoelectromotive signal, which is converted into the temperature of the medium to be measured by an electric instrument (secondary instrument). The basic principle of thermocouple temperature measurement is that two conductors made of materials with different components form a closed loop; when a temperature gradient exists at both ends, a current flows through the loop, and an electromotive force, i.e. a thermoelectromotive force, exists between the two ends, which is called a Seebeck effect. The two homogeneous conductors of different compositions are thermodes, the one with higher temperature being the working end and the one with lower temperature being the free end, the free end usually being at a certain constant temperature. According to the functional relation between the thermal electromotive force and the temperature, a measuring instrument can be connected during temperature measurement, and the temperature of the measured medium can be known after the thermal electromotive force is measured. In the field installation wiring engineering, the thermocouple has positive and negative polarities, so that the measuring instrument cannot accurately measure the temperature in case of wrong connection of the positive and negative polarities.
Thus, the measuring device is a thermocouple; and then the invention realizes the automatic polarity recognition of the multi-channel acquisition of the thermocouple sensor data.
Similar to the principles of the above embodiments, the present invention provides a method for automatically identifying and switching between positive and negative electrodes.
Specific embodiments are provided below with reference to the accompanying drawings:
fig. 3 shows a flow chart of an automatic positive and negative electrode identification and switching method in an embodiment of the invention.
Applied to an electrical meter device as shown in fig. 1, comprising: the matrix switch module, the operational amplifier and the AD converter are sequentially connected in series; the matrix switch module is connected with the anode and the cathode of one or more measuring devices and is used for respectively transmitting the input signals of each measuring device in the current switch state so that the operational amplifier can output corresponding amplified analog signals based on the transmitted input signals; the method comprises the following steps:
step S1: the receiving AD converter performs analog-to-digital conversion based on the corresponding amplified analog signal output by the operational amplifier to obtain a corresponding digital signal.
Step S2: and identifying whether the anode and the cathode of each measuring device are reversely connected based on each digital signal, and controlling the matrix switch module to switch the current switch state of the matrix switch module under the condition that the anode and the cathode of each measuring device are reversely connected so as to switch the anode and the cathode of the corresponding measuring device.
In one embodiment, the matrix switch module comprises: one or more matrix switch units respectively corresponding to the anode and the cathode of a measuring device; each matrix switch unit is used for controlling the current switch state to be switched into a polarity switching state by the processing module under the condition that the current measuring device is identified to be reversely connected so as to carry out polarity conversion transmission on an input signal of the current measuring device; and when the current measuring device is not identified to be reversely connected, the processing module controls the current switch state to be in a normal polarity state so as to normally transmit the input signal of the current measuring device.
In an embodiment, the matrix switch unit comprises: the first switch matrix is respectively connected with the anode and the cathode of the current measuring device; the first switch matrix is connected with the homodromous input end of the operational amplifier; the second switch matrix is connected with the reverse input end of the operational amplifier.
In an embodiment, the first switch matrix comprises: a first switch and a second switch connected in parallel; the second switch matrix includes: a third switch and a fourth switch connected in parallel; the first switch is connected with the third switch in series, and the second switch is connected with the fourth switch in series; when the matrix switch unit is in the polarity switching state, the second switch and the third switch are in a closed state, and the first switch and the fourth switch are in an open state; when the matrix switch unit is in the normal polarity state, the first switch and the fourth switch are in a closed state, and the second switch and the third switch are in an open state.
In one embodiment, step S2 includes: judging whether the corresponding amplified analog signals output by the operational amplifier are negative or not based on the digital signals to identify whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected or not; under the condition that the positive electrode and the negative electrode of the corresponding measuring device are identified to be reversely connected, a state switching instruction is sent to a matrix switch unit corresponding to the measuring device so as to control the matrix switch unit to be switched into a polarity switching state; and under the condition that the positive electrode and the negative electrode of the corresponding measuring device are not reversely connected, sending a polarity normal instruction to a matrix switch unit corresponding to the measuring device so as to control the matrix switch unit to be in a polarity normal state.
In an embodiment, determining whether the corresponding amplified analog signal output by the operational amplifier is negative based on each digital signal to identify whether the positive and negative poles of the corresponding measuring device are reversed includes: based on a threshold judgment rule, judging whether the amplified analog signal output by the operational amplifier is negative or not based on each digital signal of the corresponding measuring device, so as to identify whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected or not; wherein the threshold judgment rule includes: a time threshold judgment rule and/or a number threshold judgment rule; the time threshold judgment rule comprises: judging whether the number of negative amplified analog signals output by the operational amplifier in the time threshold accords with a set threshold or not based on each digital signal of the corresponding measuring device in the time threshold, and identifying whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected or not;
the number threshold judgment rule includes: and judging whether the number of negative amplified analog signals output by the operational amplifier exceeds a set number threshold value based on each digital signal of the corresponding measuring device, and identifying whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected.
In an embodiment, the electrical meter device further comprises: and the protection front diodes are respectively arranged in front of each matrix switch unit.
In one embodiment, the measuring device is a thermocouple.
FIG. 4 shows a schematic diagram of an intelligent remote IO device in an embodiment of the present disclosure.
The intelligent remote I/O is a data acquisition/transmission module with a communication function, and has no control and regulation function. Only the multi-channel analog signals of the field sensor such as a thermal resistance thermocouple and the transmitters of pressure, flow, rotating speed, material level and the like are subjected to A/D conversion and then the sampled data are sent to a control center (such as DCS, PLC and the like), or the data of the control center are received, so that the field device is controlled. Intelligent remote I/O communication is many, and each manufacturer has its own standards, such as free-mouth communication, PROFIBUS, MODBUS, etc. In the past, people had to connect one time when laying the existing line between the line and the box, which greatly increased the cost and construction time of the cable, and if the distance was far, it was also necessary to face the problems of voltage decay, etc. And this problem can be effectively solved by the remote IO module. If the distance between the cabinet and the site is 200 meters, and remote IO is not used, each signal line is paid out by 200 meters, and then a remote IO module is installed on the site, so that a large amount of cable cost can be saved for the user in terms of cost, and the construction complexity is reduced.
In short, sometimes, some IOs are placed far from the central control, and then are connected back to the central control room through optical fibers, so that cable purchasing and construction are saved. Sometimes, a "remote" is logically required because the number of "local IO" allows is not enough to meet the actual needs, and so a "remote IO template" is required, as the case may be.
In addition, the cabinet body is generally placed on the site of the equipment. However, some control signals, such as emergency stop, bypass, etc., are implemented in the control room, and thus a remote IO module is required to transmit these signals to the control system in the machine room.
Based on the above implementation environment and the automatic polarity recognition requirement for multi-channel analog signal acquisition, the intelligent remote IO device is adopted to measure the sensor data of the measuring device.
The intelligent remote IO device includes: the above-mentioned electric meter device 41 based on the automatic identification and switching of the positive and negative electrodes.
Since the structure and implementation principle of the electrical meter device 41 based on the automatic identification and switching of the positive and negative electrodes have been described in the above embodiments, the description thereof will be omitted herein.
In order to better illustrate the intelligent remote IO device, the following specific embodiments are provided in the present invention.
Example 1: an intelligent remote IO device. Fig. 5 is a schematic structural diagram of the intelligent remote IO device in this embodiment.
The intelligent remote IO device integrates 3A/D chips, 32 channel cross switches, a programmable cloud computing amplifier and an A/D converter are arranged in each A/D chip, 96 channel cross switch matrix electronic switches K1, K2, K3 and K4. are arranged in the whole set of device, 24 differential thermocouples can be connected, and 24 thermocouples can be connected randomly without distinguishing positive and negative polarities.
Wherein, the intelligent remote IO device further comprises: the programmable cloud computing amplifier, a protection front-end diode connected with each pole and a CPU; wherein the A/D chip and CPU are not shown. The CPU judges that the sign of the model connection is negative in the output signal of the measuring operational amplifier.
The corresponding method for automatic identification and switching of the positive electrode and the negative electrode is described with respect to the first thermocouple device.
Under the condition of correct normal wiring, the device is started, the default K1 and K4 are initialized to be closed, the default K2 and K3 are opened, as shown in FIG. 6, the output of the operational amplifier is positive, and the system works normally.
Under the condition of wrong wiring, the positive and negative polarities are reversely connected, the device is started to initialize default or K1 and K4 are closed, K2 and K3 are opened, as shown in FIG. 7, the output of the operational amplifier is 0 or less than 0 at the moment, a negative signal is output, and the AD system works abnormally.
At this time, the CPU sends out a cross switch matrix electronic switch switching instruction, and switches to K1 and K4 to be opened, and K2 and K3 to be closed, as shown in FIG. 8, the polarity switching task is started to switch the polarity, so that the manual switching on the wiring terminals of the manual disaster area devices is not needed to correct the positive and negative polarities. And after polarity exchange, performing internal zero and fullness calibration, completing the exchange procedure, and entering normal measurement output.
In summary, the electric instrument device, the method and the intelligent remote IO device based on automatic identification and switching of the positive electrode and the negative electrode realize automatic identification and switching of the positive electrode and the negative electrode of the multi-path sensor signals from each measuring device through the matrix switch module, the operational amplifier, the AD converter and the processing module which are sequentially connected in series. The invention discards the traditional method for distinguishing the positive and negative polarities, the rear-end instrument automatically detects the positive and negative polarities, and automatically performs physical exchange on the polarities after finding out the polarity reverse connection of a certain measuring device, and then the polarities are connected into an amplifier for rear treatment, thereby greatly reducing the workload of a field junction box and greatly simplifying the field installation work. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The above embodiments are merely illustrative of the principles of the present invention and its effectiveness, and are not intended to limit the invention. Modifications and variations may be made to the above-described embodiments by those skilled in the art without departing from the spirit and scope of the invention. It is therefore contemplated that all equivalent modifications or changes, such as discrete designs, combined external crossbar, external independent op-amp and external independent a/D converter, etc., as well as semi-integrated, fully integrated designs, will be apparent to those skilled in the art without departing from the spirit and scope of the present invention.
It should be noted that, the discrete design mentioned herein refers to that the external crossbar is an independent chip, the external independent operational amplifier is another chip, and the independent a/D converter is another chip. Semi-integrated means that the three are optionally integrated in one chip, fully integrated design means that the three are integrated in one chip, and modifications or changes of any combination of the above are still covered by the claims of the present invention.

Claims (10)

1. An electrical meter device based on automatic identification and switching of positive and negative electrodes, the device comprising:
the matrix switch module, the operational amplifier, the AD converter and the processing module are sequentially connected in series;
the matrix switch module is connected with the anode and the cathode of one or more measuring devices and is used for respectively transmitting input signals of the measuring devices in the current switch state;
the operational amplifier is used for respectively inputting each input signal transmitted by the matrix switch module and outputting a corresponding amplified analog signal so that the AD converter can perform analog-to-digital conversion on each amplified analog signal to obtain a corresponding digital signal;
the processing module is in communication connection with the matrix switch module and is used for identifying whether the positive electrode and the negative electrode of each measuring device are reversely connected based on each digital signal obtained through conversion of each amplified analog signal, and controlling the matrix switch module to switch the current switch state of the matrix switch module under the condition that the positive electrode and the negative electrode of each measuring device are reversely connected, so that the positive electrode and the negative electrode of the corresponding measuring device are switched.
2. The electrical meter device based on automatic identification and switching of positive and negative electrodes according to claim 1, wherein the matrix switch module comprises:
one or more matrix switch units respectively corresponding to the anode and the cathode of a measuring device;
each matrix switch unit is used for controlling the current switch state to be switched into a polarity switching state by the processing module under the condition that the current measuring device is identified to be reversely connected so as to carry out polarity conversion transmission on an input signal of the current measuring device;
and when the current measuring device is not identified to be reversely connected, the processing module controls the current switch state to be in a normal polarity state so as to normally transmit the input signal of the current measuring device.
3. The positive and negative electrode automatic identification and switching-based electric meter device according to claim 2, wherein the matrix switch unit comprises:
the first switch matrix is respectively connected with the anode and the cathode of the current measuring device;
the first switch matrix is connected with the homodromous input end of the operational amplifier; the second switch matrix is connected with the reverse input end of the operational amplifier.
4. The positive and negative electrode automatic identification and switching-based electrical meter device according to claim 3, wherein the first switch matrix comprises: a first switch and a second switch connected in parallel; the second switch matrix includes: a third switch and a fourth switch connected in parallel; the first switch is connected with the third switch in series, and the second switch is connected with the fourth switch in series;
when the matrix switch unit is in the polarity switching state, the second switch and the third switch are in a closed state, and the first switch and the fourth switch are in an open state;
when the matrix switch unit is in the normal polarity state, the first switch and the fourth switch are in a closed state, and the second switch and the third switch are in an open state.
5. The electrical meter device based on automatic identification and switching of positive and negative electrodes according to claim 4, wherein the processing module comprises:
a signal input unit for receiving each digital signal output by the AD converter;
the positive and negative electrode identification unit is connected with the signal input unit and is used for judging whether the corresponding amplified analog signal output by the operational amplifier is negative or not based on each digital signal so as to identify whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected or not;
the switch state switching control module is connected with the anode and cathode identification units and is used for sending a state switching instruction to the matrix switch unit corresponding to the measuring device under the condition that the anode and cathode of the corresponding measuring device are identified to be reversely connected, so as to control the matrix switch unit to be switched into a polarity switching state; and under the condition that the positive electrode and the negative electrode of the corresponding measuring device are not reversely connected, sending a polarity normal instruction to a matrix switch unit corresponding to the measuring device so as to control the matrix switch unit to be in a polarity normal state.
6. The electrical instrument device based on automatic identification and switching of positive and negative electrodes according to claim 5, wherein the positive and negative electrode identification unit is configured to identify whether the positive and negative electrodes of the corresponding measurement device are reversed by determining whether the amplified analog signal output by the operational amplifier is negative according to each digital signal of the corresponding measurement device based on a threshold value determination rule;
wherein the threshold judgment rule includes: a time threshold judgment rule and/or a number threshold judgment rule;
the time threshold judgment rule comprises: judging whether the number of negative amplified analog signals output by the operational amplifier in the time threshold accords with a set threshold or not based on each digital signal of the corresponding measuring device in the time threshold, and identifying whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected or not;
the number threshold judgment rule includes: and judging whether the number of negative amplified analog signals output by the operational amplifier exceeds a set number threshold value based on each digital signal of the corresponding measuring device, and identifying whether the positive electrode and the negative electrode of the corresponding measuring device are reversely connected.
7. The electrical meter device based on automatic identification and switching of positive and negative electrodes according to claim 1, further comprising: and the protection front diodes are respectively arranged in front of each matrix switch unit.
8. The electrical meter device based on automatic identification and switching of positive and negative electrodes according to claim 1, wherein the measuring device is a thermocouple.
9. The automatic anode and cathode identification and switching method is characterized by being applied to an electric instrument device and comprising the following steps: the matrix switch module, the operational amplifier and the AD converter are sequentially connected in series; the matrix switch module is connected with the anode and the cathode of one or more measuring devices and is used for respectively transmitting the input signals of each measuring device in the current switch state so that the operational amplifier can output corresponding amplified analog signals based on the transmitted input signals; the method comprises the following steps:
receiving and carrying out analog-to-digital conversion by the AD converter based on the corresponding amplified analog signal output by the operational amplifier to obtain a corresponding digital signal;
and identifying whether the anode and the cathode of each measuring device are reversely connected based on each digital signal, and controlling the matrix switch module to switch the current switch state of the matrix switch module under the condition that the anode and the cathode of each measuring device are reversely connected so as to switch the anode and the cathode of the corresponding measuring device.
10. An intelligent remote IO device, comprising:
the electrical meter device according to any one of claims 1 to 8, which is based on automatic identification and switching of anodes and cathodes.
CN202310099653.9A 2023-02-10 2023-02-10 Electrical instrument device and method based on automatic identification and switching of anode and cathode and intelligent remote IO device Pending CN116232292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310099653.9A CN116232292A (en) 2023-02-10 2023-02-10 Electrical instrument device and method based on automatic identification and switching of anode and cathode and intelligent remote IO device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310099653.9A CN116232292A (en) 2023-02-10 2023-02-10 Electrical instrument device and method based on automatic identification and switching of anode and cathode and intelligent remote IO device

Publications (1)

Publication Number Publication Date
CN116232292A true CN116232292A (en) 2023-06-06

Family

ID=86590495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310099653.9A Pending CN116232292A (en) 2023-02-10 2023-02-10 Electrical instrument device and method based on automatic identification and switching of anode and cathode and intelligent remote IO device

Country Status (1)

Country Link
CN (1) CN116232292A (en)

Similar Documents

Publication Publication Date Title
CN104391480B (en) Expert system based numerically-controlled machine tool fault diagnosis system
CN104122826B (en) The intelligent data acquisition in the electric room of a kind of prepackage type and monitoring module
CN101881671A (en) Virtual program control temperature test instrument
CN201464044U (en) Non-contact temperature measuring device
CN205882314U (en) Integrated smart jack that observes and controls
JPH0580974B2 (en)
CN208488188U (en) Multichannel temperature sensor detecting device applied to nuclear power station
CN211979065U (en) Cable aging detection system
CN116232292A (en) Electrical instrument device and method based on automatic identification and switching of anode and cathode and intelligent remote IO device
CN106018925A (en) DC system intelligent sensor
CN207163548U (en) A kind of faint strain bridge signal transmitting device of two-wire system
CN107687905A (en) A kind of platinum resistance temperature harvester
CN109708691B (en) Multichannel temperature and stress strain online measurement integrated system and method
CN207798877U (en) A kind of acceleration detecting and automobile
CN107168413A (en) Apply the thermostatic control system in full-automatic food safely and fast detector
CN206096256U (en) A power sensor for RF power reflectometer
CN207036296U (en) A kind of optical cable temperature measurement early warning system based on DTS
CN202502157U (en) Apparatus for measuring resistance-type parameter and equipment voltage
CN214011774U (en) Communication circuit and communication system
CN216082911U (en) Direct current measuring instrument for teaching experiments
CN218496294U (en) Pressure detection device
CN208765865U (en) Temperature measurement system and device
US20230266176A1 (en) Method for Determining Sensor Types and Sensor Wiring
CN205049651U (en) Alternating voltage's wireless real -time monitoring system
CN211374959U (en) Failure recognition device of temperature acquisition circuit

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination