Sensor signal conversion and communication signal conversion device
Through signal conditioning, digital conversion and protocol conversion modules, the problem of inaccurate transmission of sensor signals in high-interference environments is solved, high-quality and stable signal transmission is achieved, and seamless communication and compatibility between devices are ensured.
Patent Information
- Application Number
- CN202410321919.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-20
- Publication Date
- 2025-08-08
AI Technical Summary
When the sensor signal is converted in a high-interference environment, the signal accuracy is affected by electromagnetic interference, resulting in inaccurate transmission.
The signal conditioning module, digital signal conversion module, signal processing unit and communication protocol conversion module are adopted to improve signal quality and stability through technical means such as filtering, amplification, linearization, Fourier transform and CRC verification, and ensure the accuracy and compatibility of signal transmission.
Effectively reduce noise interference, improve signal quality and stability, realize seamless communication and signal exchange between devices, and enhance system universality and compatibility.
Smart Images

Figure CN120448316A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of communication signal conversion, and in particular to a sensor signal conversion device for converting a communication signal. Background Art
[0002] Devices that convert sensor signals into communication signals are typically used to convert sensor signals into digital signals and transmit them to other devices or systems via a communication interface. This allows for remote monitoring, control, and processing of sensor data.
[0003] However, a problem with current sensor signal conversion is that it only converts sensor signals into communication signals. However, the conversion device's use extends beyond areas with high interference, such as industrial plants. Industrial production sites often contain numerous sources of electromagnetic interference, such as motors, inverters, and welding machines. These devices generate strong electromagnetic interference, which in turn affects the accuracy of sensor signals. Therefore, when the conversion device converts sensor signals, it may be subject to significant noise interference, resulting in reduced signal accuracy. Summary of the Invention
[0004] In view of this, embodiments of the present invention hope to provide a sensor signal to communication signal conversion device to solve or alleviate the technical problems existing in the prior art and at least provide a beneficial option.
[0005] The technical solution of the embodiment of the present invention is implemented as follows: a sensor signal conversion and communication signal conversion device includes a housing, a plurality of signal output interfaces are provided on one side of the exterior of the housing, a digital or analog input interface is provided on the other side of the exterior of the housing, and a conversion system is provided inside the housing;
[0006] The conversion system includes a signal conditioning module, a digital signal conversion module, a data processing unit, a communication protocol conversion module, and a signal output module;
[0007] The signal conditioning module is used to receive the electrical signal transmitted by the sensor and condition the collected sensor signal;
[0008] The digital signal conversion module conditions the sensor signal obtained by the signal conditioning module and converts the analog signal into a digital signal;
[0009] The signal processing unit is used to process the digital signal transmitted by the digital signal to improve its signal quality;
[0010] The communication protocol conversion module is used to convert the digital signal processed by the data processing unit into a communication protocol corresponding to the receiving device.
[0011] Preferably, the signal conditioning module filters, amplifies, and linearizes the analog signal read through a filter and an amplifier. When amplifying the analog signal, the amplified signal is marked as Vout, and the received original sensor signal value is marked as Vs. According to the formula:
[0012] Vout=Vs*Gai
[0013] ; Where Gain is the amplification factor.
[0014] Preferably, the linearization process can make the output and input of the signal have a linear relationship, which is used to correct the nonlinear characteristics of the sensor output. When the sensor electrical signal is linearized, the linearized signal value is marked as Vz, and the received original sensor signal value is marked as Vs according to the formula:
[0015] Vz=a*Vs+b
[0016] Wherein, a and b are linearization coefficients, and both a and b are greater than 0.
[0017] Preferably, after continuously receiving the sensor electrical signal sent by the signal conditioning module, the digital signal conversion module converts the continuously received sensor electrical signal into a discrete digital signal to convert the analog signal value of the sensor into a discrete digital signal value, wherein the converted digital signal is marked as Dv and the analog signal value is marked as Vin, according to the formula:
[0018]
[0019] ; In the formula, v1 and v2 are the minimum and maximum values of the analog signal respectively, n is the number of bits of the analog-to-digital converter, and v1, v2, and n are all greater than 0.
[0020] Preferably, after receiving the electrical signal from the sensor, the digital signal conversion module will identify whether the electrical signal is a switch quantity or an analog quantity. If the electrical signal is a switch quantity, the digital signal conversion module will convert it into a corresponding analog signal; if the electrical signal is an analog quantity, the digital signal conversion module will directly digitize the analog signal to obtain a digital signal output.
[0021] Preferably, after receiving the digital signal transmitted by the digital signal conversion module, the signal processing unit performs the following steps: first, performing a Fourier transform on the received digital signal to convert the signal from the time domain to the frequency domain. Next, performing frequency domain analysis to identify different frequency components in the signal. Subsequently, a filter is used to perform noise reduction on the frequency domain signal while retaining the main frequency components.
[0022] Preferably, during the frequency domain analysis process, different frequency components in the signal are identified, including the intensity and distribution of the frequency, and the main frequency components include but are not limited to fundamental frequency, harmonics, noise frequency, cutoff frequency, narrowband frequency, resonant frequency, fundamental and harmonic ratio, and spectral density.
[0023] Preferably, the communication protocol conversion module will parse the digital signal output by the data processing unit and split it into corresponding data fields, including data content, data type, check bit and other information. After the conversion is completed, the communication protocol conversion module will perform a check operation through CRC check to ensure that the converted data meets the specification requirements of the target communication protocol. The communication protocol conversion module sends the converted data to the receiving device to ensure that it is compatible with the communication protocol of the receiving device.
[0024] Preferably, the signal output interface includes but is not limited to RS-232, RS-485, and RS-422.
[0025] The embodiment of the present invention adopts the above technical solution, which has the following advantages:
[0026] The present invention conditions and processes sensor signals through a signal conditioning module and a signal processing unit, effectively improving signal quality and stability and reducing the impact of noise interference, thereby ensuring accurate and reliable transmitted signals. Furthermore, the communication protocol conversion module is capable of converting the converted digital signal into a variety of communication protocol formats, making it compatible with the communication protocols of various receiving devices. This enables seamless communication and signal exchange between devices, further improving signal processing and communication efficiency.
[0027] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present invention will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0029] Figure 1 This is a schematic diagram of the three-dimensional structure of the communication device of the present invention;
[0030] Figure 2 This is a second schematic diagram of the three-dimensional structure of the communication device of the present invention;
[0031] Figure 3 This is a system block diagram of the present invention.
[0032] Reference numerals: 1. housing; 2. signal output interface; 3. digital or analog input interface. DETAILED DESCRIPTION
[0033] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, these example embodiments are provided so that the description of this disclosure will be thorough and complete and will fully convey the concepts of the example embodiments to those skilled in the art.
[0034] like Figure 1-3 As shown, an embodiment of the present invention provides a sensor signal conversion and communication signal conversion device, comprising a housing 1, a plurality of signal output interfaces 2 being provided on one side of the exterior of the housing 1, a digital or analog input interface 3 being provided on the other side of the exterior of the housing 1, and a conversion system being provided inside the housing 1;
[0035] The conversion system includes a signal conditioning module, a digital signal conversion module, a data processing unit, a communication protocol conversion module, and a signal output module;
[0036] The signal conditioning module is used to receive the electrical signals transmitted by the sensor and condition the collected sensor signals; the signal conditioning module and the digital signal conversion module can accurately condition and convert the sensor signals, which helps to improve the quality and accuracy of the signals.
[0037] The digital signal conversion module conditions the sensor signals received by the signal conditioning module and converts the analog signals into digital signals. Converting analog signals into digital signals helps improve signal stability and anti-interference capabilities. The transmission and processing of digital signals is more convenient and reliable, reducing distortion and loss of analog signals during transmission.
[0038] The signal processing unit is used to process the digital signal transmitted by the digital signal to improve its signal quality; the signal processing unit can process the digital signal to improve the quality and stability of the signal, thereby improving the reliability and stability of the data.
[0039] The communication protocol conversion module converts the digital signals processed by the data processing unit into a communication protocol suitable for the receiving device. This module can convert the digital signals processed by the data processing unit into a communication protocol suitable for the receiving device, enabling data exchange and transmission between different devices. This improves the system's versatility and compatibility, making data transmission between different devices more convenient and reliable.
[0040] In this embodiment, the signal conditioning module filters, amplifies, and linearizes the analog signal received through a filter and an amplifier. When amplifying the analog signal, the amplified signal is marked as Vout, and the received original sensor signal value is marked as Vs. According to the formula:
[0041] Vout=Vs*Gai
[0042] Where Gain is the amplification factor. Filtering an analog signal with a filter can reduce noise and interference, thereby improving signal quality and accuracy. Amplifying an analog signal with an amplifier can increase its amplitude, making it easier to detect and analyze, and improving its sensitivity and reliability. Linearization adjusts the signal to an output signal that is proportional to the input signal, making the relationship between the output and input signals simpler and more predictable, facilitating subsequent data processing and analysis.
[0043] In this embodiment, the linearization process can make the output and input of the signal have a linear relationship, which is used to correct the nonlinear characteristics of the sensor output. When the sensor electrical signal is linearized, the linearized signal value is marked as Vz, and the received original sensor signal value is marked as Vs according to the formula:
[0044] Vz=a*Vs+b
[0045] Where a and b are linearization coefficients, and both a and b are greater than 0. Linearization eliminates nonlinear errors in the sensor output, making the measurement results more accurate and reliable. This helps improve the system's measurement accuracy.
[0046] In this embodiment, after continuously receiving the sensor electrical signals sent by the signal conditioning module, the digital signal conversion module converts the continuously received sensor electrical signals into discrete digital signals to convert the analog signal values of the sensor into discrete digital signal values. The converted digital signal is marked as Dv, and the analog signal value is marked as Vin, according to the following formula:
[0047]
[0048] Where v1 and v2 are the minimum and maximum values of the analog signal, respectively, and n is the number of bits of the analog-to-digital converter. V1, v2, and n are all greater than 0. By converting the sensor's analog signal values into discrete digital signal values, the signal can be processed and analyzed by the digital system. This helps improve the stability and reliability of the system and reduces distortion and errors in analog signal transmission and processing. The digital signal conversion module can accurately convert analog signal values into digital signal values, maintaining signal accuracy and reliability. This helps improve the system's measurement accuracy and data accuracy, meeting the signal accuracy requirements of practical applications. By converting analog signal values into discrete digital signal values, the converted digital signal is labeled Dv, and the value of each data point can be clearly identified and recorded. This makes data easier to manage, transmit, and analyze, improving the efficiency and reliability of data processing.
[0049] In this embodiment, after receiving the sensor electrical signal, the digital signal conversion module will identify whether the electrical signal is a switch quantity or an analog quantity. If the electrical signal is a switch quantity, the digital signal conversion module will convert it into a corresponding analog quantity signal; if the electrical signal is an analog quantity, the digital signal conversion module will directly digitize the analog signal and obtain a digital signal output. The digital signal conversion module can identify whether the sensor electrical signal is a switch quantity or an analog quantity, and thus perform corresponding processing according to different types of signals. The digital signal conversion module can directly process different types of sensor signals and convert them into a unified digital signal output. This simplifies the system design and integration process and reduces the complexity and cost of the system.
[0050] In this embodiment, after the signal processing unit receives the digital signal transmitted by the digital signal conversion module, it will perform the following steps: First, perform Fourier transform on the received digital signal to convert the signal from the time domain to the frequency domain. Next, perform frequency domain analysis to identify the different frequency components in the signal, and then use a filter to perform noise reduction processing on the frequency domain signal and retain the main frequency components. The Fourier transform converts the signal from the time domain to the frequency domain, so that the frequency characteristics of the signal can be displayed. Through frequency domain analysis, you can gain an in-depth understanding of the frequency components of the signal, including the main frequency and the noise frequency. During the noise reduction process, the signal processing unit will retain the main frequency components to ensure that the processed signal can still effectively reflect the characteristics and trends of the original signal.
[0051] In this embodiment, the frequency domain analysis process will identify different frequency components in the signal, including the intensity and distribution of the frequency, and the main frequency components include but are not limited to fundamental frequency, harmonics, noise frequency, cutoff frequency, narrowband frequency, resonant frequency, fundamental and harmonic ratio, and spectral density. Frequency domain analysis can not only identify different frequency components, but also analyze the intensity and distribution of the frequency. By analyzing the intensity of the frequency, the importance and influence of different frequency components in the signal can be understood. Frequency domain analysis can identify different frequency components in the signal, including fundamental frequency, harmonics, noise frequency, cutoff frequency, narrowband frequency, and resonant frequency.
[0052] In this embodiment, the communication protocol conversion module parses the digital signal output by the data processing unit and splits it into corresponding data fields, including information such as data content, data type, and check bits. After the conversion is completed, the communication protocol conversion module performs a verification operation through CRC check to ensure that the converted data meets the specification requirements of the target communication protocol. The communication protocol conversion module sends the converted data to the receiving device to ensure that it is compatible with the communication protocol of the receiving device. The communication protocol conversion module can parse the digital signal and split it into corresponding data fields, including information such as data content, data type, and check bits. This enables the receiving device to accurately understand and process the data, ensuring the accuracy and reliability of data transmission. The communication protocol conversion module performs a verification operation on the converted data through CRC check to ensure the integrity and consistency of the data. This helps prevent errors or damage during data transmission and improves the reliability and stability of data transmission.
[0053] In this embodiment, the signal output interface includes but is not limited to RS-232, RS-485, and RS-422.
[0054] The above formulas are all dimensionless and numerical calculations. The formulas are obtained by collecting a large amount of data and performing software simulation to obtain the most recent real situation. The preset parameters in the formulas are set by technicians in this field according to actual conditions.
[0055] The above description is merely illustrative of certain exemplary embodiments of the present invention. It goes without saying that those skilled in the art will be able to modify the described embodiments in various ways without departing from the spirit and scope of the present invention. Therefore, the above drawings and description are illustrative in nature and should not be construed as limiting the scope of protection of the claims.
[0056] It should be noted that, in this document, if there are relational terms such as first and second, etc., they are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises", "includes" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device that includes the element.
[0057] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0058] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0059] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0060] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0061] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, and may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment as needed.
[0062] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0063] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0064] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.
Claims
1. A sensor signal conversion communication signal conversion device for a sensor, characterized in that: It comprises a housing (1), a plurality of signal output interfaces (2) being provided on one side of the exterior of the housing (1), a digital or analog input interface (3) being provided on the other side of the exterior of the housing (1), and a conversion system being provided inside the housing (1); The conversion system includes a signal conditioning module, a digital signal conversion module, a data processing unit, a communication protocol conversion module, and a signal output module; The signal conditioning module is used to receive the electrical signal transmitted by the sensor and condition the collected sensor signal; The digital signal conversion module conditions the sensor signal obtained by the signal conditioning module and converts the analog signal into a digital signal; The signal processing unit is used to process the digital signal transmitted by the digital signal to improve its signal quality; The communication protocol conversion module is used to convert the digital signal processed by the data processing unit into a communication protocol corresponding to a receiving device.
2. The sensor signal to communication signal conversion device according to claim 1, characterized in that: The signal conditioning module filters, amplifies, and linearizes the analog signal it reads through filters and amplifiers. When amplifying the analog signal, the amplified signal is marked as Vout, and the received original sensor signal value is marked as Vs. The formula is: Vout=Vs*Gai Where Gain is the amplification factor.
3. The sensor signal to communication signal conversion device according to claim 1, characterized in that: The linearization process can make the output and input of the signal have a linear relationship, which is used to correct the nonlinear characteristics of the sensor output. When the sensor electrical signal is linearized, the linearized signal value is marked as Vz, and the received original sensor signal value is marked as Vs according to the formula: Vz=a*Vs+b Where a and b are linearization coefficients, and both a and b are greater than 0.
4. The sensor signal to communication signal conversion device according to claim 1, characterized in that: After continuously receiving the sensor electrical signals sent by the signal conditioning module, the digital signal conversion module converts the continuously received sensor electrical signals into discrete digital signals to convert the analog signal values of the sensors into discrete digital signal values. The converted digital signal is marked as Dv and the analog signal value is marked as Vin, according to the following formula: Where v1 and v2 are the minimum and maximum values of the analog signal, respectively, n is the number of bits of the analog-to-digital converter, and v1, v2, and n are all greater than 0.
5. The sensor signal to communication signal conversion device according to claim 1, characterized in that: After receiving the electrical signal from the sensor, the digital signal conversion module will identify whether the electrical signal is a switch quantity or an analog quantity. If the electrical signal is a switch quantity, the digital signal conversion module will convert it into a corresponding analog signal; if the electrical signal is an analog quantity, the digital signal conversion module will directly digitize the analog signal and obtain a digital signal output.
6. The sensor signal to communication signal conversion device according to claim 1, characterized in that: After receiving the digital signal from the digital signal conversion module, the signal processing unit performs the following steps: First, it performs a Fourier transform on the received digital signal to convert the signal from the time domain to the frequency domain. Next, it performs frequency domain analysis to identify the different frequency components in the signal. Finally, it applies a filter to reduce noise in the frequency domain signal, preserving the main frequency components.
7. The sensor signal to communication signal conversion device according to claim 1, characterized in that: During the frequency domain analysis process, different frequency components in the signal will be identified, including the frequency intensity and distribution. The main frequency components include but are not limited to fundamental frequency, harmonics, noise frequency, cutoff frequency, narrowband frequency, resonant frequency, fundamental and harmonic ratio, and spectral density.
8. The sensor signal to communication signal conversion device according to claim 1, characterized in that: The communication protocol conversion module will parse the digital signal output by the data processing unit and split it into corresponding data fields, including data content, data type, check bits and other information. After the conversion is completed, the communication protocol conversion module will perform a verification operation through CRC check to ensure that the converted data meets the specification requirements of the target communication protocol. The communication protocol conversion module will send the converted data to the receiving device to ensure that it is compatible with the communication protocol of the receiving device.
9. The sensor signal to communication signal conversion device according to claim 1, characterized in that: The signal output interface includes but is not limited to RS-232, RS-485, and RS-422.