Superposed signal sampling apparatus and sampling method
09935796 ยท 2018-04-03
Assignee
Inventors
Cpc classification
H04L25/062
ELECTRICITY
H04L7/0334
ELECTRICITY
International classification
H04W4/00
ELECTRICITY
H04L7/033
ELECTRICITY
G08B29/00
PHYSICS
Abstract
The present disclosure relates to a superposed signal sampling apparatus, including: a signal receiving module, a signal extracting module, and a signal output module. The signal receiving module is used to receive a superposed signal. The signal extracting module is used to determine whether the received superposed signal is within a preset threshold range of a direct current signal; if the received superposed signal is within the threshold range, extract a previously received signal as a direct current signal to be output; and if the received superposed signal is beyond the threshold range, extract a currently received signal as a direct current signal to be output. The signal output module is used to integrate the direct current signal extracted by the signal extracting module, and then output the direct current signal. The present disclosure further relates to a superposed signal sampling method.
Claims
1. A superposed signal sampling apparatus, configured to extract a direct current signal from a superposed signal, wherein the apparatus comprise a processor configured to: receive a superposed signal; determine whether the received superposed signal is within a preset threshold range of a direct current signal; wherein if the received superposed signal is within the threshold range, the signal extracting module will extract a previously received signal as a direct current signal to be output; and if the received superposed signal is beyond the threshold range, the signal extracting module will extract a currently received signal as a direct current signal to be output; integrate the direct current signal extracted by the signal extracting module, and then output the direct current signal; and perform filtering processing on the superposed signal received by the signal receiving module.
2. The superposed signal sampling apparatus according to claim 1, wherein the processor comprises a window filter.
3. The superposed signal sampling apparatus according to claim 1, wherein the superposed signal is a HART protocol signal.
4. The superposed signal sampling apparatus according to claim 3, wherein the processor is further configured to determine whether the received HART protocol signal is performing HART communication; wherein if the HART protocol signal is not performing HART communication, the processor will extract the currently received signal as a direct current signal to be output; and if the HART protocol signal is performing HART communication, the processor will continue to perform determining of the foregoing threshold range.
5. The superposed signal sampling apparatus according to claim 2, wherein the superposed signal is a HART protocol signal.
6. A superposed signal sampling method, used to extract a direct current signal from a superposed signal, wherein the method comprises: (a) receiving a superposed signal; (b) determining whether the received superposed signal is within a preset threshold range of a direct current signal; if the received superposed signal is within the threshold range, performing step (c); otherwise, performing step (d); (c) extracting a previously received signal as a direct current signal to be output; (d) extracting a currently received signal as a direct current signal to be output; (e) integrating the direct current signal extracted in step (c) or (d), and then outputting the direct current signal, and returning to step (a), wherein, prior to step (b) filtering processing on the received superposed signal is performed.
7. The superposed signal sampling method according to claim 6, wherein the filtering processing is a window filtering processing.
8. The superposed signal sampling method according to claim 6, wherein the superposed signal is a HART protocol signal.
9. The superposed signal sampling method according to claim 8, before step (b), further comprising the following step: determining whether the received HART protocol signal is performing HART communication; if the received HART protocol signal is performing HART communication, performing step (b); otherwise, performing step (d).
10. The superposed signal sampling method according to claim 7, wherein the superposed signal is a HART protocol signal.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1) The present disclosure may be understood in a better way by describing the implementation manners of the present embodiments with reference to the accompanying drawings, and in the accompanying drawings:
(2)
(3)
(4)
(5)
(6)
(7)
DETAILED DESCRIPTION
(8) The following will describe specific implementation manners of the present disclosure. It should be noted that, in the specific description process of these implementation manners, in order to make terse and concise descriptions, it is impossible to describe in the specification all features of an actual implementation manner in detail. It should be understood that, in an actual implementation process of any one implementation manner, as in a process of any one project or design project, in order to achieve the developers' specific goals, or in order to meet system-related or business-related limitations, various specific decisions may usually be made, and the decisions may change from one embodiment to another embodiment. In addition, it can also be understood that, although efforts made in the development process may be complicated and lengthy, for a person of ordinary skill in the art related to the content disclosed in the present application, some changes, such as in design, manufacturing, or production, made based on the technical content disclosed in the disclosure are common technical means, and should be construed that the content of the disclosure is not sufficient.
(9) Unless otherwise defined, the technical terms or scientific terms used in the claims and specification should be the ordinary meaning understood by a person of ordinary skill in the technical field of the present disclosure. First, second and similar words used in the patent application specification and claims do not denote any order, quantity, or importance, but are just used to distinguish different components. A or an and other similar words do not denote quantity limitations, but denote that at least one exists. Comprises or comprising and other similar words imply that an element or object appearing before the comprises or comprising covers enumerated elements or objects and equivalents elements thereof appearing after the comprises or comprising, and other elements or objects are not excluded. Connected or coupled and other similar words are not limited to physical or mechanical connections, but may include electrical connections, either in a direct or indirect manner.
(10) Refer to
(11) In the example in
(12) Refer to
(13) When sampling is performed on a HART protocol signal 100, sampling is separately performed on a direct current signal and an alternating current signal that are on the HART protocol signal 100, so as to perform subsequent data processing according to an obtained independent direct current signal and independent alternating current signal. For example, a function of a corresponding apparatus is adjusted according to a parameter change in a time range in the direct current signal. Because the subsequent data processing is not an invention point in the present disclosure, a specific example is not provided herein. In addition, the superposed signal sampling apparatus 10 in the present invention performs sampling processing only on the direct current signal in the HART protocol signal 100, while a sampling processing part of the alternating current signal may be implemented by using a conventional technology, so that a specific example is not provided herein either.
(14) Generally, the subsequent data processing according to the direct current signal in the HART protocol signal 100 is generally performed by a subsequent data processing system (not shown). To save costs, the superposed signal sampling apparatus 10 may be a part of an internal data processing unit in the subsequent data processing system, for example, a part of a single-chip microcomputer. Because the data processing system is an existing hardware device but not a hardware device disposed independently and dedicatedly, no additional costs are added if the superposed signal sampling apparatus 10 is built in the data processing system. Certainly, if factors such as costs are not considered, an independent hardware device may also be introduced to implement a function of the superposed signal sampling apparatus 10.
(15) Refer to
(16) In step 31, the signal receiving module 12 receives a HART protocol signal (such as the HART protocol signal 100 in
(17) In step 32, the signal extracting module 16 determines whether the HART signal 41 is performing HART communication, that is, whether the HART protocol signal 41 is in a transmission state that the alternating current signal is superposed on the direct current signal. For example, time ranges T0-T1 and T3-T4 shown in
(18) In step 33, because the result of the foregoing determining is the transmission state of only the direct current signal, for example, time range T0-T1 in
(19) In step 34, because the result of the foregoing determining is the state that the alternating current signal is superposed on the direct current signal, for example, time range T1-T3 in
(20) In step 35, in this case, the value of the HART signal 41 falls within the threshold range, and therefore it is considered that a direct current signal in the HART signal 41 does not have an amplitude change itself. The deviation is due to interference of an alternating current signal on the HART signal 41, and therefore, in this case, a previously received signal is extracted as a direct current signal to be output, for example, time range T1-T2 in
(21) In step 36, according to the signals generated in the foregoing step 33 and step 35, the signal output module 18 integrates the signals in the two steps and then outputs the signals. Then, return to step 31 and repeat the foregoing steps. As shown in
(22) Refer to
(23) Continue to refer to
(24) Although the present disclosure is described with reference to specific implementation manners, a person skilled in the art should understand that, many modifications and variations may be made for the present disclosure. Therefore, it should be noted that, intention of the claims lies in all the modifications and variations covered in a real concept and scope of the present disclosure.