CN117789437A - Wired M-BUS water meter reading equipment and method - Google Patents

Wired M-BUS water meter reading equipment and method Download PDF

Info

Publication number
CN117789437A
CN117789437A CN202311698872.5A CN202311698872A CN117789437A CN 117789437 A CN117789437 A CN 117789437A CN 202311698872 A CN202311698872 A CN 202311698872A CN 117789437 A CN117789437 A CN 117789437A
Authority
CN
China
Prior art keywords
signal
module
filtering
bus
unit
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
CN202311698872.5A
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.)
Hunan Weiming Energy Technology Co Ltd
Original Assignee
Hunan Weiming Energy Technology 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 Hunan Weiming Energy Technology Co Ltd filed Critical Hunan Weiming Energy Technology Co Ltd
Priority to CN202311698872.5A priority Critical patent/CN117789437A/en
Publication of CN117789437A publication Critical patent/CN117789437A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses wired M-BUS water meter reading equipment, which comprises the following components: the resistor current detection module, the filter module, the ADC sampling module and the MCU main control module are electrically connected in sequence; the resistance flow detection module is connected with the M-BUS water meter; the resistance current detection module is used for converting a modulation current signal of the M-BUS water meter in the downlink into a voltage signal; the filtering module is used for filtering the interference signals with fixed frequency; the ADC sampling module is used for converting the acquired voltage signals into digital signals; the MCU main control module is used for carrying out secondary filtering, encoding, checking and correction processing on the data transmitted by the ADC sampling module. The invention also discloses a wired M-BUS water meter reading method, which carries out rising edge and falling edge judgment and then detection according to the principle of current transient of digital modulation of the M-BUS chip, thereby realizing meter reading under the condition of complex current disturbance. The invention solves the technical problem that the M-BUS water meter can not realize accurate meter reading under the condition of large current interference.

Description

Wired M-BUS water meter reading equipment and method
Technical Field
The invention relates to the technical field of intelligent meter reading, in particular to wired M-BUS water meter reading equipment and method.
Background
At present, along with the continuous development of water, electricity, gas and heat intelligent terminals, data transmission modes are more and more diversified, traditional M-BUS communication is simple in wiring, misconnection caused by polarity can be avoided, and the anti-interference capability of transmission signals is high, so that the method has become the mainstream of wired meter reading of water meters. At present, the M-BUS communication adopts a BUS communication mode, but the whole line communication is often failed due to the occurrence of a BUS problem, and the problem is particularly represented by the occurrence of a table, and the whole line is broken down. The M-BUS adopts a nonpolar twisted pair, transmits a voltage signal in an uplink mode and transmits a current signal in a downlink mode, and if one or more meter currents are abnormal in the BUS, such as frequent reset, poor line aging contact and the like, the whole BUS cannot meter reading due to current change, and the meter reading success rate and the water metering data of a user are affected. The patent document with the application number 201910255707.X provides an automatic installation method of an MBUS remote meter reading system, which does not relate to meter reading under the condition of current disturbance, wherein an M-BUS basically has disturbed the modulation current of the M-BUS when the current disturbance is 11mA-20mA or above, and the disturbance signal has covered the normal communication signal. Therefore, a device and a method for reading meter of a wired M-BUS water meter are needed to be provided, and the technical problem that the M-BUS water meter cannot realize accurate meter reading under the condition of large current interference is solved.
Disclosure of Invention
The invention mainly aims to provide wired M-BUS water meter reading equipment and a wired M-BUS water meter reading method, and aims to solve the technical problem that the M-BUS water meter cannot realize accurate meter reading under the condition of large current interference.
In order to achieve the above object, the present invention provides a wired M-BUS water meter reading device, wherein the wired M-BUS water meter reading device includes: the resistor current detection module, the filter module, the ADC sampling module and the MCU main control module are electrically connected in sequence; the resistance flow detection module is connected with the M-BUS water meter;
the resistance current detection module is used for converting a modulation current signal of the M-BUS water meter in the downlink into a voltage signal;
the filtering module is used for filtering the interference signals with fixed frequency;
the ADC sampling module is used for converting the acquired voltage signals into digital signals;
the MCU main control module is used for carrying out secondary filtering, encoding, checking and correction processing on the data transmitted by the ADC sampling module.
In one of the preferred schemes, the filtering module comprises a passive filtering unit;
the passive filtering unit is connected with the resistance current detection module;
the passive filtering unit is used for filtering spike signals of the current interference signals.
In one of the preferred embodiments, the filtering module includes an active filtering unit;
the active filtering unit is respectively connected with the passive filtering unit and the ADC sampling module;
the active filtering unit is used for setting a cut-off frequency so as to filter high-frequency interference signals.
The MCU main control module comprises a software filtering unit and a waveform storage unit;
the software filtering unit is respectively connected with the ADC sampling module and the waveform storage unit;
the software filtering unit is used for carrying out secondary filtering on the abrupt change signal in the digital signal uploaded by the ADC sampling module;
the waveform storage unit is used for storing the digital signals after the secondary filtering.
The MCU main control module comprises a data analysis and coding unit, and the data analysis and coding unit is connected with the waveform storage unit; the data analysis and encoding unit is used for encoding the data stored in the waveform storage unit.
In one of the preferred schemes, the MCU main control module comprises a CRC check unit and a waveform correction unit;
the CRC unit is respectively connected with the data analysis and coding unit and the waveform correction unit;
the CRC unit is used for carrying out CRC on the data of the M-BUS water meter;
the waveform correction unit is used for correcting the data which does not pass the CRC check.
A wired M-BUS water meter reading method comprises the following steps:
s1, an MCU main control module initiates a meter reading command, and an uplink voltage signal is output to an M-BUS water meter through a voltage conversion and control module;
s2, the M-BUS water meter receives a meter reading command issued by the upstream, transmits a modulated current signal to the resistance current detection unit, and converts the modulated current signal into a voltage signal through the resistance current detection module;
s3, the filtering module carries out passive filtering and active filtering on the voltage signals in sequence;
s4, the ADC sampling module converts the acquired voltage signal into a digital signal;
s5, the MCU main control module sequentially carries out secondary filtering, storage, encoding, verification and correction processing on the digital signals.
In one preferred embodiment, in step S5, the MCU main control module performs secondary filtering on the digital signal, specifically:
calculating a digital signal X i The slope between each adjacent sampling points in the array is obtained to obtain a slope set K ij The slope set K ij Is { K i1 、K i2 、...、K ij };
If the slope sets K ij In which there is a slope absolute value of K il When the I is larger than the threshold A, the digital signal X is considered i The first+1st sampling point in the meter is a mutation signal, wherein the mutation signal comprises a mutation signal for interfering the mutation signal and a mutation signal for modulating current of the M-BUS water meter; wherein l is less than or equal to j;
judging the category of the abrupt change signal, and removing the sampling point corresponding to the interference abrupt change signal.
In one preferred embodiment, the determining the type of the mutation signal specifically includes:
if the slope is absoluteValue |K il The absolute values of slopes corresponding to at least three continuous sampling points after the sampling point corresponding to the absolute value are smaller than the threshold A, and the absolute values of slopes are the absolute value of the slope il After the corresponding sampling points, at least ten sampling points are provided, and the corresponding slope of the sampling points is smaller than a threshold value A, the abrupt change signal is considered to be the abrupt change signal of the M-BUS water meter modulation current; otherwise, the signal is the interference mutation signal.
In one preferred embodiment, in step S5, the MCU main control module encodes a digital signal, specifically:
if the slope sets K ij Absolute value of medium slope |K il I is greater than threshold a, and the absolute value of the slope is K il Absolute value of slope |K of three consecutive sampling points after |corresponds to sampling point il+1 |、|K il+2 |、|K il+3 When the I is smaller than the threshold A, the rising edge is considered to be started; or if the slope sets K ij Absolute value of medium slope |K il I is less than threshold-a, and the absolute value of the slope K il Absolute value of slope |K of three consecutive sampling points after |corresponds to sampling point il+1 |、|K il+2 |、|K il+3 When the I is larger than the threshold value-A and smaller than 0, the falling edge is determined to be cut off, and the digital signal X is sent out i Encoding to 0; otherwise, the digital signal X i The code is 1.
In the technical scheme of the invention, the wired M-BUS water meter reading equipment comprises: the resistor current detection module, the filter module, the ADC sampling module and the MCU main control module are electrically connected in sequence; the resistance flow detection module is connected with the M-BUS water meter; the resistance current detection module is used for converting a modulation current signal of the M-BUS water meter in the downlink into a voltage signal; the filtering module is used for filtering the interference signals with fixed frequency; the ADC sampling module is used for converting the acquired voltage signals into digital signals; the MCU main control module is used for carrying out secondary filtering, encoding, checking and correction processing on the data transmitted by the ADC sampling module. The invention solves the technical problem that the M-BUS water meter can not realize accurate meter reading under the condition of large current interference.
In the invention, the mutation signal which is interfered by the mutation signal and the mutation signal of the modulation current of the M-BUS water meter are distinguished, so that the M-BUS water meter is prevented from interfering with the modulation current of the M-BUS water meter by 11mA-20mA under the condition that the current is disturbed by 11mA to 20mA or more.
In the present invention, in the case of current disturbance, data stored in the waveform storage unit is encoded using the data analysis and encoding unit.
In the invention, the waveform correction unit is used for checking the data which does not pass the CRC check, so that the data is recovered to be normal.
In the invention, the M-BUS water meter reading data is filtered through the double filtering of the filtering module and the software filtering unit, so that the interference of the interference abrupt change signal and the high-frequency signal is avoided.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are required in the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the description below are only some embodiments of the invention, and that other drawings may be obtained from the structures shown in these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a meter reading device of a wired M-BUS water meter according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a wired M-BUS meter reading method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an original waveform under a current disturbance environment according to an embodiment of the present invention;
FIG. 4 is a diagram of a dual filtered waveform according to an embodiment of the present invention;
FIG. 5 is a diagram of the waveform of the code and the corrected code according to the embodiment of the present invention.
Reference numerals illustrate:
1. a resistance current detection module; 2. a filtering module; 3. an ADC sampling module; 4. an MCU main control module; 5. a voltage conversion and control module; 6. M-BUS water meter;
21. a passive filtering unit; 22. an active filtering unit;
41. a software filtering unit; 42. a waveform storage unit; 43. a data analysis and encoding unit; 44. a CRC check unit; 45. and a waveform correction unit.
The achievement of the object, functional features and advantages of the present invention will be further described with reference to the drawings in connection with the embodiments.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all embodiments of the invention. All other embodiments, based on the embodiments of the invention, which are apparent to those of ordinary skill in the art without inventive faculty, are intended to be within the scope of the invention.
Furthermore, descriptions such as those referred to as "first," "second," and the like, are provided for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implying an order of magnitude of the indicated technical features in the present disclosure. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature.
Moreover, the technical solutions of the embodiments of the present invention may be combined with each other, but it is necessary to be based on the fact that those skilled in the art can implement the embodiments, and when the technical solutions are contradictory or cannot be implemented, it should be considered that the combination of the technical solutions does not exist, and is not within the scope of protection claimed by the present invention.
Referring to fig. 1, according to an aspect of the present invention, the present invention provides a wired M-BUS water meter reading apparatus, wherein the wired M-BUS water meter reading apparatus includes: the resistor current detection module 1, the filter module 2, the ADC sampling module 3 and the MCU main control module 4 are electrically connected in sequence; the resistance flow detection module 1 is connected with the M-BUS water meter 6;
the resistance current detection module 1 is used for converting a modulation current signal of the descending of the M-BUS water meter 6 into a voltage signal;
the filtering module 2 is used for filtering the interference signals with fixed frequency;
the ADC sampling module 3 is used for converting the acquired voltage signals into digital signals;
the MCU main control module 4 is used for carrying out secondary filtering, encoding, checking and correction processing on the data transmitted by the ADC sampling module 3.
Specifically, in this embodiment, the wired M-BUS meter reading device further includes a voltage conversion and control module 5; the voltage conversion and control module 5 is connected with the MCU main control module 4; the voltage conversion and control module 5 is used for receiving a meter reading command of the MCU main control module 4, converting the meter reading command into an uplink voltage signal and outputting the uplink voltage signal to the M-BUS water meter 6.
Specifically, in the present embodiment, the filtering module 2 includes a passive filtering unit 21 and an active filtering unit 22; the passive filtering unit 21 is respectively connected with the resistance current detecting module 1 and the active filtering unit 22, and the active filtering unit 22 is connected with the ADC sampling module 3; the passive filtering unit 21 is configured to filter spike signals of the current interference signal, and through RC design, power supply is not required, and filtering is generally performed on signals above 1M; the active filtering unit 22 is configured to set a cut-off frequency, so as to filter out a high-frequency interference signal; by adding active filtering on the basis of the passive filtering unit 21 and adopting operational amplifier construction, the design of cut-off frequency is utilized to filter high-frequency signals, and interference signals of 100K and above can be effectively filtered.
Specifically, in this embodiment, the ADC sampling module 3 uses 12-bit sar ADC, samples a single value 128 times to perform averaging, and uses an oversampling technique, where the sampling speed needs to satisfy 10M/s, so as to ensure stability and reliability of the sampling value.
Specifically, in this embodiment, the MCU main control module 4 includes a software filtering unit 41 and a waveform storage unit 42; the software filtering unit 41 is respectively connected with the ADC sampling module 3 and the waveform storage unit 42; the software filtering unit 41 is configured to perform secondary filtering on the abrupt change signal in the digital signal uploaded by the ADC sampling module 3; the waveform storage unit 42 is used for storing the digital signal after the secondary filtering.
Specifically, in this embodiment, the MCU main control module 4 includes a data analysis and encoding unit 43, and the data analysis and encoding unit 43 is connected to the waveform storage unit 42; the data analysis and encoding unit 43 is configured to encode the data stored in the waveform storage unit 42, and encode the data at a transmission rate of 2400bps, with a BIT width of 1/2400=416.7us in one BIT.
Specifically, in the present embodiment, the MCU main control module 4 includes a CRC check unit 44 and a waveform correction unit 45; the CRC check unit 44 is connected to the data analysis and encoding unit 43 and the waveform correction unit 45, respectively; the CRC check unit 44 is used for performing CRC check on the data of the M-BUS water meter 6; the waveform correction unit 45 is used for correcting the data which do not pass the CRC check, the waveform correction unit 45 performs analogy according to the data which are read for many times, self-learning is performed, and error coding is corrected until the CRC check passes.
Referring to fig. 2, according to another aspect of the present invention, the present invention provides a wired M-BUS water meter reading method, wherein the wired M-BUS water meter reading method includes the steps of:
s1, an MCU main control module 4 initiates a meter reading command, and outputs an uplink voltage signal to an M-BUS water meter 6 through a voltage conversion and control module 5, wherein the voltage signal is 24V-36V;
s2, the M-BUS water meter 6 receives a meter reading command issued by the uplink, the M-BUS water meter 6 modulates current, 1 is a null sign, 0 is a modulated current signal, the data bit is 0, and the modulated current is increased to 11mA-20mA; the modulation current signal is transmitted to a resistance current detection unit, the modulation current signal is converted into a voltage signal through a resistance current detection module 1, the resistance value of a sampling resistor adopted by the resistance current detection module 1 is 6R to 12R, and the invention is not particularly limited; referring to fig. 3, the abscissa is sampling time, and the ordinate is AD sampling value;
s3, the filtering module 2 carries out passive filtering and active filtering on the voltage signals in sequence; the passive filtering unit 21 filters the voltage signal with the frequency of more than 1M, the burr is removed, the passive filtering is carried out, the active filtering is carried out, the low-pass high resistance is realized through the active filtering unit 22, and the interference of 100K and more is eliminated, so that the voltage signal entering the ADC sampling module 3 is basically a low-frequency signal;
s4, the ADC sampling module 3 converts the acquired voltage signals into digital signals;
s5, the MCU main control module 4 sequentially carries out secondary filtering, storage, encoding, verification and correction processing on the digital signals; referring to fig. 4, a waveform diagram after dual filtering of hardware and software is shown, compared with fig. 3, the abrupt peak and burr are filtered; see fig. 5 for a hardware and software filtered encoded waveform, where the abscissa is the sampling time and the ordinate is the encoded values 1 and 0.
Specifically, in this embodiment, in step S4, the ADC sampling module 3 converts the collected voltage signal into a digital signal, and converts the converted signal into BIT BITs respectively: x is X 1 、X 2 、...、X N Wherein N is less than 500, N being 429 as defined according to the 188 protocol; x is X 1 、X 2 、X 3 All represent 1BIT, the baud rate is 2400bps, 1BIT is 416us, at present, the sampling speed of the ADC is 10m/s, the hardware is arranged in the ADC sampling module 3 for oversampling, 64 sampling values are averaged, and 1BIT samples 65 sampling points, namely X 1 From X 11 、X 12 、...、X 165 Composition, X 2 、...、X N And the same is true.
Specifically, in this embodiment, in step S5, the MCU main control module 4 performs secondary filtering on the digital signal, specifically:
calculating a digital signal X i The slope between each adjacent sampling points in the array is obtained to obtain a slope set K ij The slope set K ij Is { K i1 、K i2 、...、K ij -a }; wherein i is more than or equal to 1 and less than or equal to N; in the present invention, j=65, the present invention is not particularly limited, and may be specifically set as needed;
if the slope sets K ij In which there is a slope absolute value of K il When the I is larger than the threshold A, the digital signal X is considered i The first+1st sampling point in the (1) is a mutation signal, wherein the mutation signal comprises an interference mutation signal and a mutation signal of the M-BUS water meter 6 for modulating current; wherein l is less than or equal to j; in the present invention, the threshold value a is 1.732, that is, the included angle is 60 °, the present invention is not particularly limited, and may be specifically selected according to the needSetting;
judging the category of the abrupt change signal, and removing the sampling point corresponding to the interference abrupt change signal.
Specifically, in this embodiment, the determining the type of the mutation signal specifically includes:
if the absolute value of the slope is K il The absolute values of slopes corresponding to at least three continuous sampling points after the sampling point corresponding to the absolute value are smaller than the threshold A, and the absolute values of slopes are the absolute value of the slope il After the corresponding sampling points, at least ten sampling points are provided, and the corresponding slope of the sampling points is smaller than a threshold value A, the abrupt change signal is considered to be the abrupt change signal of the M-BUS water meter 6 for modulating current; otherwise, the signal is the interference mutation signal.
Specifically, in this embodiment, after storing the digital signal after the secondary filtering, the MCU main control module 4 in the step S5 encodes the digital signal, and the M-BUS water meter 6 may determine the transient when modulating the current according to the absolute value of the slope, and determine the rising edge and the falling edge according to the principle of the M-BUS chip digital modulation current transient, so as to detect the rising edge and the falling edge, thereby realizing meter reading under the complex current disturbance condition; the method comprises the following steps:
if the slope sets K ij Absolute value of medium slope |K il I is greater than threshold a, and the absolute value of the slope is K il Absolute value of slope |K of three consecutive sampling points after |corresponds to sampling point il+1 |、|K il+2 |、|K il+3 When the I is smaller than the threshold A, the rising edge is considered to be started; or if the slope sets K ij Absolute value of medium slope |K il I is less than threshold-a, and the absolute value of the slope K il Absolute value of slope |K of three consecutive sampling points after corresponding sampling point il+1 |、|K il+2 |、|K il+3 When the I is larger than the threshold value-A and smaller than 0, the falling edge is determined to be cut off, and the digital signal X is sent out i Encoding to 0; otherwise, the digital signal X i The code is 1.
Specifically, in this embodiment, the encoded data is subjected to CRC check by the CRC check unit 44, and if the check is passed, the data of the meter reading is considered to be normal; if the verification is not passed, the waveform correction unit 45 corrects the current signal due to disturbance to be the pull-in currentEffect, multiple meter reading, if the digital signal X i This BIT has two different values 0 or 1, takes a larger value 1 according to the empirical value, corrects the waveform, and re-passes the CRC check unit 44 to perform the CRC check until the check passes, and the data returns to normal.
Specifically, in this embodiment, the current detection module converts the modulated current signal into the voltage signal, the voltage signal removes the peak signal of the high-frequency signal superimposed in the reflux signal of the M-BUS water meter 6 through the passive filtering unit 21, then the high-resistance low-pass is realized through the active filtering unit 22, further the high-frequency signal returned by the M-BUS water meter 6 is filtered, for example, when the MCU is started up after the M-BUS water meter 6 is reset, a sudden change current is generated, the signal filtering module 2 can filter, after the hardware filtering, the ADC sampling module 3 collects the current signal, after the collected signal is subjected to data processing, the software filtering unit 41 in the MCU main control module 4 performs secondary filtering to filter the sudden change high-frequency signal, that is, the interference sudden change signal basically retains the low-frequency signal, the abrupt change signal of the modulated current superimposed by the low-frequency signal is an gradual change analog interference signal, the analog is a gradual change process, the modulated current signal of the M-BUS water meter 6 is digital in the conversion process of 0 and 1, the abrupt change speed is extremely high, the conversion of 11mA to 20mA is carried out according to the abrupt change speed, the MCU main control module 4 is used for processing the ADC sampling value output by the ADC sampling module 3, namely the converted digital signal thereof, the digital signals 0 and 1 are encoded by the data analysis and encoding unit 43, then CRC check is carried out, the data is considered to be reliable data after the check is successful, the check is not passed, the meter reading is carried out for multiple times, the self-learning correction is carried out by a waveform more than a single person, the meter reading is further carried out after the correction is successful until the check of the CRC check unit 44 is successful, so as to obtain the metering data of the normal M-BUS water meter 6.
Specifically, in the embodiment, the invention can realize the meter reading of the M-BUS water meter 6 in a complex environment, the M-BUS water meter 6 can not interfere with the modulation current 11mA-20mA of the M-BUS water meter 6 when the current is disturbed by 11mA to 20mA or more, the BUS meter reading and BUS communication are affected, and the whole BUS paralysis caused by the current disturbance is avoided.
The foregoing description of the preferred embodiments of the present invention should not be construed as limiting the scope of the invention, but rather as utilizing equivalent structural changes made in the description of the present invention and the accompanying drawings or directly/indirectly applied to other related technical fields under the inventive concept of the present invention.

Claims (10)

1. A wired M-BUS water meter reading device, comprising: the resistor current detection module, the filter module, the ADC sampling module and the MCU main control module are electrically connected in sequence; the resistance flow detection module is connected with the M-BUS water meter;
the resistance current detection module is used for converting a modulation current signal of the M-BUS water meter in the downlink into a voltage signal;
the filtering module is used for filtering the interference signals with fixed frequency;
the ADC sampling module is used for converting the acquired voltage signals into digital signals;
the MCU main control module is used for carrying out secondary filtering, encoding, checking and correction processing on the data transmitted by the ADC sampling module.
2. The wired M-BUS meter reading device of claim 1, wherein the filtering module comprises a passive filtering unit;
the passive filtering unit is connected with the resistance current detection module;
the passive filtering unit is used for filtering spike signals of the current interference signals.
3. A wired M-BUS meter reading device according to claim 2, wherein the filtering module comprises an active filtering unit;
the active filtering unit is respectively connected with the passive filtering unit and the ADC sampling module;
the active filtering unit is used for setting a cut-off frequency so as to filter high-frequency interference signals.
4. A wired M-BUS meter reading device according to any one of claims 1-3, wherein the MCU master control module comprises a software filtering unit and a waveform storage unit;
the software filtering unit is respectively connected with the ADC sampling module and the waveform storage unit;
the software filtering unit is used for carrying out secondary filtering on the abrupt change signal in the digital signal uploaded by the ADC sampling module;
the waveform storage unit is used for storing the digital signals after the secondary filtering.
5. The wired M-BUS water meter reading device according to claim 4, wherein the MCU main control module comprises a data analysis and coding unit, and the data analysis and coding unit is connected with the waveform storage unit; the data analysis and encoding unit is used for encoding the data stored in the waveform storage unit.
6. The wired M-BUS water meter reading equipment according to claim 5, wherein the MCU main control module comprises a CRC (cyclic redundancy check) unit and a waveform correction unit;
the CRC unit is respectively connected with the data analysis and coding unit and the waveform correction unit;
the CRC unit is used for carrying out CRC on the data of the M-BUS water meter;
the waveform correction unit is used for correcting the data which does not pass the CRC check.
7. A method of reading a meter of a wired M-BUS water meter according to any one of claims 1 to 6, comprising the steps of:
s1, an MCU main control module initiates a meter reading command, and an uplink voltage signal is output to an M-BUS water meter through a voltage conversion and control module;
s2, the M-BUS water meter receives a meter reading command issued by the upstream, transmits a modulated current signal to the resistance current detection unit, and converts the modulated current signal into a voltage signal through the resistance current detection module;
s3, the filtering module carries out passive filtering and active filtering on the voltage signals in sequence;
s4, the ADC sampling module converts the acquired voltage signal into a digital signal;
s5, the MCU main control module sequentially carries out secondary filtering, storage, encoding, verification and correction processing on the digital signals.
8. The wired M-BUS meter reading method according to claim 7, wherein the MCU master control module in step S5 performs secondary filtering on the digital signal, specifically:
calculating a digital signal X i The slope between each adjacent sampling points in the array is obtained to obtain a slope set K ij The slope set K ij Is that
If the slope sets K ij In which there is a slope absolute value of K il When the I is larger than the threshold A, the digital signal X is considered i The first+1st sampling point in the meter is a mutation signal, wherein the mutation signal comprises a mutation signal for interfering the mutation signal and a mutation signal for modulating current of the M-BUS water meter; wherein l is less than or equal to j;
judging the category of the abrupt change signal, and removing the sampling point corresponding to the interference abrupt change signal.
9. The wired M-BUS meter reading method according to claim 8, wherein the determining the type of the mutation signal specifically includes:
if the absolute value of the slope is K il The absolute values of slopes corresponding to at least three continuous sampling points after the sampling point corresponding to the absolute value are smaller than the threshold A, and the absolute values of slopes are the absolute value of the slope il After the corresponding sampling points, at least ten sampling points are provided, and the corresponding slope of the sampling points is smaller than a threshold value A, the abrupt change signal is considered to be the abrupt change signal of the M-BUS water meter modulation current; otherwise, the signal is the interference mutation signal.
10. The wired M-BUS meter reading method according to claim 9, wherein the MCU master control module in step S5 encodes the digital signal, specifically:
if the slope sets K ij Absolute value of medium slope |K il I is greater than threshold a, and the absolute value of the slope is K il Absolute value of slope |K of three consecutive sampling points after |corresponds to sampling point il+1 |、|K il+2 |、|K il+3 When the I is smaller than the threshold A, the rising edge is considered to be started; or if the slope sets K ij Absolute value of medium slope |K il I is less than threshold-a, and the absolute value of the slope K il Absolute value of slope |K of three consecutive sampling points after |corresponds to sampling point il+1 |、|K il+2 |、|K il+3 When the I is larger than the threshold value-A and smaller than 0, the falling edge is determined to be cut off, and the digital signal X is sent out i Encoding to 0; otherwise, the digital signal X i The code is 1.
CN202311698872.5A 2023-12-12 2023-12-12 Wired M-BUS water meter reading equipment and method Pending CN117789437A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311698872.5A CN117789437A (en) 2023-12-12 2023-12-12 Wired M-BUS water meter reading equipment and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311698872.5A CN117789437A (en) 2023-12-12 2023-12-12 Wired M-BUS water meter reading equipment and method

Publications (1)

Publication Number Publication Date
CN117789437A true CN117789437A (en) 2024-03-29

Family

ID=90395340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311698872.5A Pending CN117789437A (en) 2023-12-12 2023-12-12 Wired M-BUS water meter reading equipment and method

Country Status (1)

Country Link
CN (1) CN117789437A (en)

Similar Documents

Publication Publication Date Title
CN102714406A (en) Control system, transformer, security control device, and bitstream memory unit
CN101458290A (en) Multi-core cable sequence measuring method based on frequency modulation digital code and apparatus thereof
CN103901797A (en) Safety-instrument data processing diagnosis circuit and method based on microcontroller redundancy technology
CN117789437A (en) Wired M-BUS water meter reading equipment and method
CN110579679A (en) power distribution network line fault detection system based on negative sequence current vector analysis and detection method thereof
CN114325027A (en) Household variable relation recognition device, method, terminal and topological structure recognition system
CN211699196U (en) Receiving circuit of M-Bus instrument Bus
CN105071770A (en) System for monitoring operation condition of photovoltaic power station
JP2911748B2 (en) Communication device in fieldbus system
CN111223286A (en) Meter BUS-based data acquisition device and method
CN109991895A (en) A kind of diagnostic system and method for electric current input channel
CN102306444B (en) Receiving circuit of meter-BUS (M-BUS) master station and data receiving method for receiving circuit
CN101447807B (en) High-efficient two-wire system power modulation bus and implementing method thereof
CN201312308Y (en) High-efficiency two-wire system power modulation bus
Jingchao et al. Prototype design of multicoset sampling based on compressed sensing
CN112187766A (en) Modbus protocol conversion terminal configuration method and Modbus protocol conversion terminal
CN102201836A (en) High-efficiency two-wire system power supply modulation bus and realization method thereof
CN114583853B (en) Wireless charging transmitting terminal, data demodulation method, device, equipment and storage medium
CN110365368A (en) A kind of power line carrier communication control method and system
CN112003635B (en) Networking and topology identification system and method under pure reactive current pulse signal
CN204947713U (en) A kind of transforming plant lead-in backup auto-activating device
CN218331732U (en) Signal acquisition processing system applied to feeder terminal
CN107422177B (en) Signal acquisition circuit and method, protection circuit and method, and motor
CN109450558A (en) A kind of anti-interference remote communication method in underground ground
CN213398823U (en) Circuit detection device

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