Multi-mode signal transmission device
By designing a multi-mode signal transmission device, the problem of not being able to transmit multiple modes of signals simultaneously in wireless communication was solved, enabling flexible switching and conversion of signals, improving production efficiency, and reducing the complexity and cost of cable laying.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN CHEVEN TECH
- Filing Date
- 2025-12-23
- Publication Date
- 2026-05-05
AI Technical Summary
In existing technologies, wireless communication can only transmit single-mode signals and cannot support the transmission of multiple modes of signals at the same time. Furthermore, the communication protocols of different modes of signals are incompatible, which leads to the need to frequently re-lay cables when equipment is moved or production lines are adjusted, thus affecting production efficiency.
Design a multi-mode signal transmission device, including a mode selection module, a main control module, a signal acquisition module, a gating module, and a communication module. The device converts multiple mode signals into wireless standard signals through mode selection and gating commands, and realizes signal switching and conversion during transmission.
It enables the switching of multiple signal transmission modes according to user needs, avoids conflicts between multiple communication protocols, improves production efficiency, and reduces the complexity and cost of cable laying.
Smart Images

Figure CN121985308A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of signal transmission technology, and more specifically to a multi-mode signal transmission device. Background Technology
[0002] As industrial technology continues to advance to new heights, sensors are being used more and more widely in the industrial field. However, the connection between equipment and sensors mostly relies on wired cables. These cables are not only complex and costly to lay, but also require a lot of time and manpower to re-lay cables when equipment needs to be moved or production lines need to be adjusted, which seriously affects production efficiency.
[0003] The application of wireless communication technology enables wireless data transmission between devices, eliminating the need for cumbersome wiring. Therefore, existing technologies utilize wireless communication for data transmission between electronic devices. However, wireless signal transmission can only transmit single-mode signals. For example, RS-485 communication requires differential signal circuitry (A / B lines) and half-duplex control logic; analog signals require dedicated signal conditioning and analog-to-digital conversion circuits; and digital signals require digital input / output and opto-isolation circuits. Hardware cannot simultaneously support the electrical characteristics of these three signals; only one signal processing channel can be active at a time. Furthermore, during data transmission, RS-485 modules are designed for transparent transmission of serial data streams, analog modules must digitize continuous signals before transmission, and digital signals require status detection and encoding, making them incompatible with the RS-485 data packet format. The conversion mechanisms of the three signals are mutually exclusive and cannot be processed in parallel. Moreover, the communication protocols for different signal modes also differ. Summary of the Invention
[0004] This invention provides a multi-mode signal transmission device to solve the problem in the prior art that multiple modes of signals cannot be transmitted when transmitting signals based on wireless communication.
[0005] To address the aforementioned technical problems, the present invention provides a multi-mode signal transmission device, the transmission device comprising: The first mode selection module is used to acquire the first mode selection signal input by the user, generate a first transmission instruction for the first target mode signal corresponding to the first mode selection signal, and output the first transmission instruction to the first main control module. The first main control module is configured to generate a gating instruction for selecting the first target mode signal from multiple mode signals according to the first transmission instruction, and output the gating instruction to the first gating module; and to convert the first target mode signal output by the first gating module into a wireless standard signal, and then output it to the first communication module. The signal acquisition module is used to acquire multiple modes of signals input from the outside and output the acquired signals to the first gating module; The first gating module is used to select the first target mode signal from multiple mode signals according to the gating instruction, and then output it to the first main control module, wherein the wireless standard signal is a recognizable signal of the first communication module; The first communication module is used to wirelessly transmit the wireless standard signal to the receiving module; The receiving module is used to convert the wireless standard signal into a second target mode signal among the multiple mode signals and then output it.
[0006] Compared with the prior art, the multi-mode signal transmission device provided by the present invention has the following beneficial effects: This invention can acquire signals of multiple modes through a signal acquisition module, and determine the first target mode signal desired by the user through a first mode selection module that inputs a first mode selection signal. Then, based on this desired first target mode signal, a first gating module switches between the multiple signal modes to select the first target mode signal, and converts the first target mode signal into a wireless standard signal. In summary, this invention can switch between multiple signal modes as needed, based on the user's current requirements, and avoids the need for multiple communication protocols when transmitting multiple signals. Furthermore, by converting various signal modes into a standard mode signal during transmission, this invention solves the problem of the inability to transmit multi-mode signals in existing technologies. Attached Figure Description
[0007] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and not all embodiments. For those skilled in the art, other drawings obtained from these drawings without creative effort are all within the scope of protection of this application.
[0008] Figure 1 This is a schematic diagram of the structure of a multi-mode signal transmission device provided in an embodiment of the present invention.
[0009] Figure 2 yes Figure 1 A schematic diagram of the structure of the first gating module.
[0010] Figure 3 This is a structural diagram of a signal receiving switching circuit provided in an embodiment of the present invention.
[0011] Figure 4 yes Figure 1 A schematic diagram of the receiving module.
[0012] Figure 5 This is a schematic diagram of the connection circuit of the sensor provided in an embodiment of the present invention.
[0013] Figure 6 This is a schematic diagram of the signal processing circuit provided in an embodiment of the present invention.
[0014] Figure 7 This is another schematic diagram of the signal processing circuit provided in an embodiment of the present invention.
[0015] Figure 8 This is a schematic diagram of another charging pile charging system provided in an embodiment of the present invention. Detailed Implementation
[0016] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.
[0017] To make the description of this disclosure more detailed and complete, illustrative descriptions of the embodiments and specific examples of the present invention are provided below; however, this is not the only form of implementing or applying the specific examples of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0018] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in sequences other than those illustrated or described herein.
[0019] In the description of the embodiments of the present invention, unless otherwise stated, " / " means "or". For example, A / B can mean A or B. The word "and / or" in the text is merely a description of the relationship between related objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, and B exists alone. In addition, in the description of the embodiments of this application, "multiple" means two or more. Other quantifiers should be understood similarly. The preferred embodiments described herein are only used to illustrate and explain the present invention and are not intended to limit the present invention. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.
[0020] like Figure 1The above is a structural diagram of a multi-mode signal transmission device provided in an embodiment of the present invention, which includes a first mode selection module 110, a first main control module 120, a signal acquisition module 130, a first gating module 140, a first communication module 150, and a receiving module 160.
[0021] The first mode selection module 110 is used to acquire the first mode selection signal input by the user, generate a first transmission instruction for the first target mode signal corresponding to the first mode selection signal, and output the first transmission instruction to the first main control module 120. The first main control module 120 is configured to generate a gating instruction for selecting the first target mode signal from multiple mode signals according to the first transmission instruction, and output the gating instruction to the first gating module 140; and to convert the first target mode signal output by the first gating module 140 into a wireless standard signal, and then output it to the first communication module 150. The signal acquisition module 130 is used to acquire multiple modes of signals input from the outside and output the acquired signals to the first gating module 140; The first gating module 140 is used to select the first target mode signal from multiple mode signals according to the gating instruction, and then output it to the first main control module 120, wherein the wireless standard signal is an identifiable signal of the first communication module 150. The first communication module 150 is used to wirelessly transmit the wireless standard signal to the receiving module 160; The receiving module 160 is used to convert the wireless standard signal into a second target mode signal among the multiple mode signals and then output it.
[0022] Specifically, the first mode selection module 110 may include two touch buttons and one organic light-emitting diode (OLED) screen, and the first main control module 120 may be an industrial-grade microcontroller unit (MCU).
[0023] One end of the tactile button can be connected to a 3.3V power supply, and the other end can be connected to the GPIO1 and GPIO2 pins of the MCU through a 1kΩ pull-up resistor. This allows the pull-up resistor to keep the General Purpose Input / Output (GPIO) pin at a high level of 3.3V when the tactile button is not pressed. When the tactile button is pressed, the button is turned on, the GPIO pin is grounded and goes low, and the MCU recognizes the button operation by detecting the level change. The pull-up resistor can prevent false triggering caused by the pin being left floating.
[0024] The OLED's serial data line (SDA) pin can be connected to the MCU's I2C1_SDA (PB7), and the serial clock line (SCL) pin can be connected to the MCU's I2C1_SCL (PB6). VCC can be connected to 3.3V, and GND can be grounded. This allows the I2C bus to achieve bidirectional communication between the MCU and the OLED with only two wires, adapting to the OLED's I2C communication protocol, while saving MCU pin resources and realizing the display function of the current signal mode.
[0025] The first communication module 150 can be a communication chip. The MCU's UART1_TX (PA9) is connected to the communication chip's UART_RX pin, and the MCU's UART1_RX (PA10) is connected to the communication chip's UART_TX pin. Both have VCC connected to 3.3V and GND grounded. It can be understood that the Universal Asynchronous Receiver / Transmitter (UART) is an asynchronous serial communication interface that can realize byte-level data transmission between the MCU and the communication chip. It adapts to the UART communication interface requirements of the communication chip and encapsulates the signal processed by the MCU into a serial data frame that the communication chip can recognize.
[0026] Specifically, the receiving module 160 may include a communication chip of the same model as the first communication module 150, and an MCU of the same model as the first main control module 120; and the UART_TX / RX of the communication chip in the receiving module 160 is connected to the UART1_RX / TX of the MCU, VCC is connected to 3.3V, and GND is grounded; the UART connection logic of the receiving module 160 and the transmitting part is consistent, realizing the serial data transmission of the wireless signal received by the communication module to the MCU.
[0027] Thus, this embodiment of the invention can acquire signals of multiple modes through the signal acquisition module, and determine the first target mode signal desired by the user through the first mode selection module inputting the first mode selection signal. Then, based on this desired first target mode signal, the first gating module switches between the multiple signal modes to select the first target mode signal, and converts the first target mode signal into a wireless standard signal. In summary, this embodiment of the invention can switch between transmitting signals of multiple modes according to the user's current needs, and to avoid the need for multiple communication protocols for transmitting multiple signals, this embodiment of the invention converts signals of various modes into standard mode signals during transmission, thus solving the problem of the inability to transmit multi-mode signals in the prior art.
[0028] In one alternative implementation, Figure 2 The diagram shown is a structural diagram of the first gating module 140. Figure 2 As shown, the first gating module 140 includes a first sub-gating module 141 and a second sub-gating module 142; The first sub-gating module 141 is used to receive the gating instruction sent by the first main control module 120, and match the target mode category to which the first target mode signal belongs according to the gating instruction; it is also used to receive the multiple mode signals sent by the signal acquisition module 130, select the signals of various modes included in the target mode category from the multiple mode signals, and output them to the second sub-gating module 142. The second sub-gating module 142 is used to select the first target mode signal from the signals of each mode included in the target mode classification output by the first sub-gating module 141 according to the gating instruction output by the first main control module 120, and then output it to the first main control module 120. The first main control module 120 converts the first target mode signal into a wireless standard signal and then outputs it to the first communication module 150.
[0029] Specifically, for the signal acquisition module 130, which inputs multi-mode signals including 485 signals, analog signals, and digital signals, the signals can be divided into two categories based on their signal processing characteristics (first category: 485 signals and analog signals; second category: digital signals). A two-level gating module is designed. The first sub-gating module 141 is responsible for coarse screening by category (excluding signals from irrelevant categories), and the second sub-gating module 142 is responsible for fine screening within each category (locating the target signal). By using layered gating, the signal processing pressure of a single module is reduced, and cross-interference between different types of signals is avoided.
[0030] The mixed signal input interface of the first sub-gating module 141 can adopt a combination of differential signal interface (adapted to the differential transmission characteristics of 485 signals or analog signals) and single-ended signal interface (adapted to the single-ended transmission characteristics of switch signals), and directly connect to pin 3 or pin 4 of the M12 interface of the signal acquisition module 130; thereby enabling compatibility with multi-mode signals with different transmission characteristics and ensuring that all sensor signals can be completely input to the module; The classification control signal interface of the first sub-gating module 141 can adopt a 2-channel digital control interface to connect with the control signal link of the first main control module 120 (independent of the precise gating control link); thereby receiving the classification gating instructions output by the first main control module 120 (transmitted in the form of digital level combination, such as high level and low level corresponding to gating the first mode classification, and low level and high level corresponding to gating the second mode classification). The classification signal output interface can adopt a combination interface that matches the input interface, outputting only all signals of the selected classification (forming a signal group, such as the 485 and analog signal group of the first mode classification), directly connecting to the signal input interface of the second sub-gating module 142; thereby realizing the coarse screening function, intercepting signals of irrelevant classifications (such as excluding switch signals when gating the first mode classification) in this module, and only transmitting the signal group of the target classification to subsequent modules, reducing the amount of data processed later.
[0031] It is understandable that by setting the first sub-gating module 141, a signal path switching unit can be integrated inside the transmission device. Through the level combination command received by the classification control signal interface, the internal path switching is driven to achieve the goal of only conducting the transmission path corresponding to the target classification signal and disconnecting the paths of other classification signals, thereby realizing the filtering output of classification signals.
[0032] Specifically, the classification signal input interface of the second sub-gating module 142 is fully matched with the classification signal output interface of the first sub-gating module 141 (differential or single-ended combined interface of the same type), realizing seamless connection between the two-level modules; this can ensure that the signal group output by the first sub-gating module 141 can be input to the module completely and without distortion; The control signal interface of the second sub-gating module 142 can adopt a 3-channel digital control interface, which is connected to another independent control signal link of the first main control module 120. This enables the receiving of precise gating instructions output by the first main control module 120 (such as transmission in the form of a 3-channel level combination, so that 001 corresponds to gating the 485 signal and 010 corresponds to gating the analog signal). The target signal output interface can adopt multiple independent interfaces (1 interface connected to the MCU's UART2 interface and 1 interface connected to the MCU's ADC interface), respectively adapting to the subsequent processing requirements of different target signals. This enables the transmission of a single target signal (such as the 485 signal) after precise gating to the corresponding processing interface of the first main control module 120, ensuring that the signal can be correctly parsed and processed by the MCU.
[0033] It is understandable that multi-mode signal transmission devices, by integrating a multi-channel signal selection unit within them, can drive the selection unit to only conduct the path corresponding to the target signal in the signal group (such as only conducting the path of the 485 signal from the 485 signal and analog signal groups) by precisely controlling the level combination command received by the signal interface, and disconnect the paths of other signals in the same group, thereby achieving precise pickup of the target signal.
[0034] Understandably, after parsing the instructions from the first mode selection module 110, the first main control module 120 synchronously generates classification gating instructions and precise gating instructions, which are transmitted to the two-level sub-gating modules through two independent control links to ensure that the two-level gating actions are executed synchronously and to avoid gating errors caused by signal transmission delays.
[0035] In one optional implementation, the first gating module 140 includes a relay, and each common contact of the relay is connected to the signal acquisition module 130. The contacts corresponding to each mode category of the relay are respectively connected to the pins of the control signal links corresponding to each mode category of the first main control module 120. According to the target mode category to which the first target mode signal belongs, the gating instruction selects or disconnects the contacts of the relay corresponding to the target mode category and the pins of the control signal links corresponding to the target mode category, so that the signal belonging to the target mode category is output to the second sub-gating module 142.
[0036] Specifically, the relay in this implementation can be an industrial-grade electromagnetic relay, which can include two sets of common contacts (COM1, COM2), two sets of normally open contacts (NO1, NO2), and two sets of normally closed contacts (NC1, NC2) to meet the signal transmission reliability requirements of industrial scenarios.
[0037] More specifically, the relay common contact COM1 pin can be connected to pin 3 of the 130M12 interface of the signal acquisition module, and the relay common contact COM2 pin can be connected to pin 4 of the M12 interface; pin 3 or pin 4 of the M12 interface transmits the mixed signals output by the sensor (485 differential signal, analog differential signal, and single-ended digital signal). The common contact serves as a unified input terminal for the mixed signals, ensuring that all mode signals can be connected to the relay for classification and filtering.
[0038] The first mode classification (485 signal and analog signal) corresponds to the following contacts: pin NO1 is connected to the differential signal input pin 1 of the second sub-gating module 142, and pin NC1 is left floating; pin NO2 is connected to the differential signal input pin 2 of the second sub-gating module 142, and pin NC2 is left floating. The second mode classification (switching signal) corresponds to the following contacts: COM1's normally closed contact NC1 is spared, and COM1's normally open contact NO1 is bypassed to an independent pin (Pin-X), which is connected to the GPIO7 pin of the first main control module 120. It is understandable that by dividing the contact function according to the signal transmission characteristics, NO1 and NO2 are differential signal channels to adapt to the differential transmission requirements of 485 signals and analog signals; the independent pins are single-ended signal channels to adapt to the single-ended transmission requirements of switch signals, thus realizing the physical path isolation of different types of signals and avoiding cross-interference.
[0039] More specifically, the positive terminal (VCC) of the relay coil is connected to the GPIO3 pin of the first main control module 120, and the negative terminal (GND) of the coil is connected to the system ground (GND). In this way, since the first main control module 120 controls the coil's on / off state by outputting high and low levels through GPIO3, when GPIO3 outputs a high level, the coil is energized and generates a magnetic field, driving the contacts to close; when it outputs a low level, the coil is de-energized and the contacts are reset, realizing the electronic control logic of classification and selection.
[0040] More specifically, the first mode classification control link of the first main control module 120 (corresponding to the high-level signal of GPIO3) is directly associated with the relay coil control terminal, and the second mode classification control link (corresponding to the low-level signal of GPIO3) is associated by default through hardware logic; in this way, the classification selection instruction of the main control module is directly bound to the contact action of the relay without the need for additional intermediate circuits, simplifying the control logic and improving the response speed.
[0041] Thus, when the first mode classification (485 signal and analog signal) is selected, the first main control module 120 parses the instruction of the first mode selection module 110, and GPIO3 outputs a high level, thereby energizing the relay coil, causing the common contacts (COM1, COM2) to close with the normally open contacts (NO1, NO2). In this way, the 485 differential signal and the analog differential signal transmitted by pins 3 and 4 of the M12 interface are transmitted to the differential input pin of the second sub-selection module 142 through pins NO1 and NO2, realizing the coarse screening output of the first mode classification signal; When the second mode classification (switching signal) is selected, the GPIO3 of the first main control module 120 outputs a low level, which de-energizes the relay coil, causing the common contact (COM1) and normally closed contact (NC1) to reset and close (or through a bypass link designed in hardware). This allows the single-ended switching signal transmitted from pin 3 of the M12 interface to be directly transmitted to the GPIO7 pin of the first main control module 120 through an independent pin (Pin-X), without needing to enter the second sub-selection module 142, thus achieving direct selection output of the second mode classification signal. In this way, since the relay contacts have a physically isolated structure, they can effectively block electromagnetic interference between different classification signals, which is especially suitable for signal transmission requirements in strong electromagnetic environments in industrial scenarios. At the same time, the contact switching life is long, which meets the needs of frequent switching scenarios.
[0042] In one optional implementation, the second sub-gating module 142 includes an analog switch. The input terminal of the analog switch is connected to each output contact of the relay, and the output terminal of the analog switch is connected to the pin of the signal transmission link corresponding to each mode signal included in the target mode classification in the first main control module 120. According to the gating instruction, the output terminal of the analog switch is selected to the pin of the signal transmission link corresponding to the first target mode signal, so that the first target mode signal is output to the first main control module 120. After the first main control module 120 converts the first target mode signal into a wireless standard signal, it is output to the first communication module 150.
[0043] Specifically, in this implementation, the second sub-gating module 142 uses an analog switch as the core signal selection device, and achieves precise gating of the target signal by switching the channels of the analog switch.
[0044] Specifically, the second sub-gating module 142 can be an 8-channel analog switch chip, which can include one common input pin (IN), eight channel output pins (OUT0-OUT7), and three channel selection pins (A, B, C), adapting to the low-distortion transmission requirements of 485 signals (serial differential) and analog signals.
[0045] The analog switch's common input pin IN can be divided into two paths (IN+, IN-), which are used to connect to the NO1 (differential signal +) and NO2 (differential signal -) pins of the relay in the first sub-selection module 141, respectively. In this way, it can receive the first mode classification signal group (485 and analog differential signals) output by the first sub-selection module 141 as a signal source for precise selection. The differential input design ensures anti-interference capability during signal transmission.
[0046] The analog switch channel selection pin A is connected to GPIO4 pin of the first main control module 120, pin B is connected to GPIO5 pin, and pin C is connected to GPIO6 pin. In this way, the three channel selection pins form eight level combinations (000-111), corresponding to eight output channels. The first main control module 120 selects the target channel by outputting different level combinations, realizing precise selection of the electronic control logic. The three-pin control meets the redundancy design requirements of two types of target signals (485 and analog signals).
[0047] The analog switch output pins OUT1 and OUT2 serve as 485 signal output channels. OUT1 is connected to the UART2_TX pin (485 signal +) of the first main control module 120, and OUT2 is connected to the UART2_RX pin (485 signal -). OUT3 and OUT4 serve as analog signal output channels, with OUT3 connected to the ADC1_IN0 pin (analog signal +) of the first main control module 120, and OUT4 connected to the ADC1_IN1 pin (analog signal -). The remaining output pins (OUT0, OUT5-OUT7) can be grounded via 10kΩ pull-down resistors. This allows for the allocation of output channels according to the processing requirements of the target signal. The UART2 interface adapts to the serial communication characteristics of the 485 signal, and the ADC interface adapts to the analog-to-digital conversion requirements of analog signals. The pull-down resistors prevent signal interference caused by idle channels being left floating, ensuring the stability of the output signal.
[0048] The analog switch power supply VDD pin can be connected to a 3.3V power supply, the VEE pin is grounded, and the VSS pin is grounded. In this way, the 3.3V power supply provides the operating voltage for the internal logic circuit and switching transistor of the analog switch, ensuring a fast response of the switch action and adapting to the real-time signal transmission requirements of industrial scenarios.
[0049] When the first target mode signal is selected as a 485 signal, the first main control module 120 parses the instruction and outputs a level combination of 001 through GPIO4-GPIO6, which enables the internal 485 signal channel (IN+ to OUT1, IN- to OUT2) of the analog switch to be turned on. This allows the 485 differential signal output by the first sub-selection module 141 to be transmitted to the UART2 interface of the first main control module 120 through the OUT1 and OUT2 pins for the MCU to perform serial data parsing. When the first target mode signal is an analog signal, the first main control module 120 outputs a level combination of 010. The internal analog signal channels (IN+ to OUT3, IN- to OUT4) of the analog switch are turned on. The analog differential signal is transmitted to the analog-to-digital converter (ADC) interface of the first main control module 120 through the OUT3 and OUT4 pins. The MCU converts the analog signal into a digital signal through the ADC peripheral. It is understandable that the analog switch is a contactless switch, avoiding the wear and bounce problems of mechanical contacts. It has a fast switching speed and low on-resistance, effectively reducing signal attenuation and ensuring the transmission fidelity of 485 signals and analog signals, thus meeting the high-precision signal acquisition requirements in industrial scenarios.
[0050] As a concrete example, Figure 3 The diagram shown is a structural diagram of a signal receiving switching circuit. Figure 3As shown, this circuit implements a multi-type signal input switching function. Its core objective is to dynamically select between 485 communication signals, digital input signals, or analog input signals on the same set of external terminals based on control requirements. The entire switching logic is accomplished by a relay and several auxiliary components. The core of this circuit is a double-pole double-throw electromagnetic relay K10, which has two independent sets of contacts, labeled COM1 / XQ1 and COM2 / XQ2 respectively. In the default state (i.e., when the relay coil is not energized), COM1 is connected to OUT1, and COM2 is connected to OUT2; when the coil is energized, the contacts actuate, switching COM1 to OUT3 and COM2 to OUT4. This structure allows two signals to share a single output port, with the relay's state determining which signal is activated. Furthermore, OUT1 is connected to the N / P INPUT, which is the digital input signal processed in the previous circuit, originating from an NPN or PNP type sensor; OUT2 is connected to A / V (AL_A and AL_V), representing the analog input channel, used to receive the converted voltage signal; while OUT3 and OUT4 correspond to the A line (485A / AI-V) and B line (485B / AI-A) of the 485 communication, respectively, used for serial data transmission. Therefore, when the system needs to acquire digital or analog signals, the relay remains in the released state, allowing the external terminals to connect to the N / P INPUT and analog signals respectively; when 485 communication is required, the control system issues a switching command, driving the relay to engage, switching the external terminals to 485A and 485B, thereby connecting to the communication line. The key component driving the relay is the NPN transistor Q23, whose base receives a control signal named NCH_Mode_SW through the current-limiting resistor R183. When the signal is high, Q23 conducts, and current flows from the power supply V3P3D through the relay coil and Q23 to ground, causing the relay to engage. When the signal is low, Q23 is off, the coil is de-energized, and the relay resets. To prevent the relay coil from generating a reverse electromotive force that could damage Q23 at the moment of de-energization, a freewheeling diode D43 is connected in parallel across the coil. This diode short-circuit the induced voltage back, providing protection. Additionally, R184 is a pull-down resistor connected between the base of Q23 and ground, ensuring reliable cutoff of the transistor when the control signal is floating or uncertain, preventing malfunctions. A pull-up resistor R198 is also connected to the enable pin EN# of the U3 chip to ensure the chip is always operational unless actively disabled.
[0051] The U3 is a logic control chip that performs signal conditioning, level conversion, and multiplexing coordination. Its input pin IN receives commands from the main control system, and in conjunction with selection signals such as S1B and S2B, ultimately outputs control logic via DC or DB. Overall, this circuit cleverly utilizes the physical switching capability of relays, combined with transistor driving and logic control, to achieve multiplexing of three commonly used industrial signal types. It not only saves hardware interface resources but also improves system flexibility and adaptability, making it particularly suitable for space-constrained embedded controllers or intelligent I / O modules that need to support multiple input modes. Seamless switching between communication, digital switching, and analog sensing can be achieved through a simple digital control signal.
[0052] In one alternative implementation, the signals of multiple modes include 485 signals, analog signals, and digital signals, wherein the 485 signals and analog signals belong to two different modes of signals in the first mode classification, and the digital signals belong to the mode signals in the second mode classification.
[0053] Specifically, the 485 signal is a differential serial digital signal, which is transmitted using the RS-485 bus protocol. The transmission rate supports 1200bps-115200bps and the transmission distance can reach 1200 meters. The signal form is a differential voltage pair (e.g., a voltage difference of 200mV-6V between line A and line B represents logic 1, and -200mV to -6V represents logic 0).
[0054] Analog signals are continuously changing analog signals. In this solution, they are specifically industrial standard analog signals. The signal amplitude changes continuously with the measured physical quantity (such as temperature and flow rate) and has no fixed logic level.
[0055] Switch signals are discrete digital signals, containing only two states: high level (e.g., 3.3V) and low level (e.g., 0V), corresponding to the presence or absence of a signal, or the device being on or off. They have low transmission rates but strong anti-interference capabilities.
[0056] The first mode category includes both 485 signals and analog signals because both require differential transmission or "high-precision transmission." 485 signals use differential digital transmission, while analog signals use differential analog transmission. During transmission, a differential interface is needed to avoid electromagnetic interference, and both signals must enter the second sub-gating module 142 for precise selection (485 signals are adapted to the UART interface, and analog signals are adapted to the ADC interface). The second mode category only includes digital signals because digital signals are single-ended transmission signals, do not require a differential interface, and have simple signal processing logic (only level reading is needed). They do not need to enter the second sub-gating module 142 and can be directly selected to the MCU's GPIO interface through the first sub-gating module 141, simplifying the transmission link.
[0057] In one alternative implementation, Figure 4 The diagram shown is a structural diagram of a receiving module 160 provided in an embodiment of the present invention. The receiving module 160 includes a second communication module 161, a second mode selection module 162, a second main control module 163, and a second gating module 164. The second communication module 161 is paired and connected with the first communication module 150, and is used to transmit the wireless standard signal to the second main control module 163; The second mode selection module 162 is used to acquire the second mode selection signal for input, generate a second transmission instruction for the second target mode signal corresponding to the second mode selection signal, and output the second transmission instruction to the second main control module 163. The second main control module 163 is used to convert the wireless standard signal into multiple mode output signals and output them to the second gating module 164, and to generate a gating instruction to select a second target mode signal from the multiple mode output signals according to the second transmission instruction, and output the gating instruction to the second gating module 164. The second gating module 164 is used to select the second target mode signal from the output signals of the multiple modes according to the gating instruction and then output it.
[0058] Specifically, the second communication module 161 is a communication chip of the same model as the first communication module 150. The UART_TX pin of this communication chip is connected to the UART1_RX pin of the second main control module 163, and the UART_RX pin is connected to the UART1_TX pin of the second main control module 163. VCC is connected to a 3.3V power supply, and GND is grounded. The communication chip corresponding to the second communication module 161 is paired with the communication chip corresponding to the first communication module 150 (wireless link binding is achieved through a pre-configured pairing code). It can receive the wireless standard signal transmitted by the first communication module 150 and convert the wireless signal into a serial electrical signal through the UART interface and transmit it to the second main control module 163, ensuring the compatibility and stability of wireless communication.
[0059] The second mode selection module 162 can be completely identical to the first mode selection module 110 (e.g., two tactile buttons and one OLED screen); one end of the tactile button is connected to a 3.3V power supply, and the other end is connected to the GPIO8 and GPIO9 pins of the second main control module 163 through a 1kΩ pull-up resistor; the SDA and SCL pins of the OLED screen are connected to the I2C2_SDA (PB9) and I2C2_SCL (PB8) pins of the second main control module 163; in this way, the tactile button can obtain the user's second mode selection signal (select the target signal mode to be output), generate a second transmission command and transmit it to the second main control module 163; the OLED display can display the current output mode in real time (e.g., output mode: 485), the pull-up resistor avoids the button pins from being floating and triggering erroneously, the I2C connection saves MCU pin resources, and maintains operational consistency with the transmitting section.
[0060] The second main control module 163 can be an industrial-grade MCU of the same model as the first main control module 120. The MCU's UART1 interface can be connected to the second communication module 161, the I2C2 interface can be connected to the second mode selection module 162, the GPIO10 pin can be connected to the control terminal of the second gating module 164, and the signal output pins (UART3 and ADC2 interfaces) can be connected to the signal input pins of the second gating module 164. In this way, after receiving the serial signal from the second communication module 161, the wireless standard signal can be reversed and restored to output signals of multiple modes. At the same time, the second transmission command of the second mode selection module 162 is parsed, and a second gating command is generated and transmitted to the second gating module 164, realizing the dual functions of signal restoration and gating control.
[0061] Specifically, the signal input pin of the second gating module 164 is connected to the UART3 and ADC2 interfaces of the second main control module 163, the control terminal is connected to the GPIO10 pin of the second main control module 163, and the signal output pin is connected to the signal receiving interface of the external host computer. In this way, it can receive the gating command of the second main control module 163, select the second target mode signal from the restored multiple mode output signals, and transmit it to the host computer through the output interface, thus adapting to the signal receiving requirements of the industrial host computer.
[0062] In one alternative implementation, the multiple output signals include 485 signal mode and switch signal mode.
[0063] Specifically, in this implementation, the 485 signal mode is a differential serial digital signal, which is fully compatible with the industrial RS-485 bus protocol and supports a transmission rate of 1200bps-115200bps (configurable through the second main control module 163). The signal form is a differential voltage pair (the voltage difference between line A and line B conforms to the RS-485 standard).
[0064] The switch signal is a single-ended discrete digital signal with an industrial standard output level. It supports both active output (requires an external power supply) and passive output (powered internally by the module). Specifically, the 485 signal output link connects the UART3 interface (PA11 / PA12) of the second main control module 163 to the 485 signal input pin of the second gating module 164, and the MCU outputs the restored 485 digital signal through the UART3 peripheral; the switch signal output link connects the GPIO11 / GPIO12 pins of the second main control module 163 to the switch signal input pin of the second gating module 164, and the MCU outputs switch signals by outputting high and low levels through GPIO; in this way, independent transmission links are allocated according to signal type to avoid cross-interference between the two signals and ensure the transmission fidelity after signal restoration.
[0065] The second gating module 164 reserves a 485 signal input channel and a switch signal input channel. The channel interface is adapted to the transmission characteristics of differential signals (485) and single-ended signals (switching signals), respectively, so as to receive the two output signals restored by the second main control module 163 and switch to the corresponding output channel through the gating command to adapt to the signal reception requirements of different host computers.
[0066] More specifically, the RS-485 output pins (A and B lines) of the second gating module 164 are connected to the RS-485 interface of the host computer (such as pin 3 and line A, pin 8 and line B of the host computer) through shielded twisted pair cables, and the shielding layer is grounded.
[0067] The second gating module 164's switch output pin is connected to the host computer's DI interface (such as the host computer's I0.0 pin), and a 1 kΩ current-limiting resistor is connected in series.
[0068] In one alternative implementation, the signal acquisition module 130 includes multiple sensors, each of which is connected to the first gating module 140 via an M12 interface, and each sensor is used to acquire signals of different modes.
[0069] Specifically, sensors can include three types of commonly used industrial sensors, covering multi-mode signal acquisition needs. These three types of sensors include 485 bus sensors, analog transmitters, and digital sensors. Among them, 485 bus sensors, such as RS-485 temperature and humidity sensors, output 485 differential signals for acquiring ambient temperature and humidity data; analog transmitters, such as 4-20mA pressure transmitters, output 4-20mA analog current signals for acquiring equipment pressure data; and digital sensors, such as photoelectric switches, output high and low level digital signals for detecting the presence or absence of objects.
[0070] The M12 interface can be an industrial-grade M12 plug-in interface, adapted to dusty and moisture environments in industrial settings, and supports frequent plugging and unplugging. Pin 1 of the M12 plug-in interface corresponds to the sensor power positive, pin 2 to the sensor power negative, pin 3 to the signal positive (differential signal +, single-ended signal output), and pin 4 to the signal negative (differential signal -, switch signal left floating). This standardized pin definition allows one type of interface to adapt to multiple types of sensors, eliminating the need to design dedicated interfaces for different sensors and reducing hardware design complexity.
[0071] More specifically, the power supply pins (VCC and GND) of the 485 sensor are connected to pins 1 and 2 of the M12 interface, and the 485 signal pins (A and B) of the sensor are connected to pins 3 and 4 of the M12 interface. In this way, the 12V power supply can power the sensor, and pins 3 and 4 can transmit the 485 differential signal to adapt to the signal output characteristics of the 485 sensor.
[0072] The transmitter power pins (VCC and GND) of the analog transmitter are connected to pins 1 and 2 of the M12 interface, and the transmitter signal output pins (current positive and negative) are connected to pins 3 and 4 of the M12 interface; thus, the 12V power supply powers the transmitter, and pins 3 and 4 transmit 4-20mA differential current signals, ensuring that the analog signal is transmitted without attenuation.
[0073] The power supply pins (VCC and GND) of the digital sensor are connected to pins 1 and 2 of the M12 interface, the signal output pin is connected to pin 3 of the M12 interface, and pin 4 is left floating. This allows the 12V power supply to power the sensor. Pin 3 transmits a single-ended digital signal, and pin 4 is pulled down to ground to avoid false triggering caused by the signal being floating.
[0074] Pins 3 and 4 of the M12 interface are connected to the mixed signal input interface of the first gating module 140 via a shielded cable, with both ends of the shielding layer grounded. This reduces electromagnetic interference in the industrial environment (such as interference from motors and frequency converters) through the shielded cable, ensuring that the multi-mode mixed signal is completely transmitted to the first gating module 140, laying the foundation for subsequent gating.
[0075] Figure 5 The diagram shows the connection circuit of the sensor. Figure 5As shown, J22 is a 4-pin connector used to connect the sensor cable or to a pre-amplified M12 interface converter board. Pin 4 of J22 is connected to VIN, which is used to output the positive power supply; this pin provides power to the connected sensor. Pin 3 of J22 is connected to OUT1, used to input a signal of one mode; this is one of the core multi-function signal pins. Pin 4 of J22 is connected to OUT2, used to input a signal of another mode; this is another core multi-function signal pin. Pin 4 of J22 is connected to GND, used to output the ground supply, which, along with VIN, powers the sensor. It can be understood that this is a multiplexed interface; after connecting the sensor via an external M12 connector, the internal circuitry will dynamically switch the four pins of this interface to different internal processing circuits according to the user-selected mode.
[0076] More specifically, after the sensor collects signals in various modes, these signals need to be processed to ultimately obtain signals in various modes that can be processed by the internal circuitry.
[0077] As a concrete example, Figure 6 The diagram shows a schematic of the circuit structure for processing digital input signals. Figure 6 As shown, the circuit is divided into two symmetrical parts, handling NPN and PNP inputs respectively. The input source signal for the NPN signal input channel comes from the sensor circuit's acquisition signal. Q9 is an NPN bipolar transistor used as a switch; R95 is a pull-up resistor connected to the microcontroller's I / O port power supply voltage. When the sensor is disconnected (open circuit), this resistor pulls the MCU input pin high; R96 is a base limiting current resistor used to protect the base of transistor Q9; D16 is a freewheeling diode or protection diode used to suppress the reverse induced electromotive force that may be generated when the sensor is disconnected, protecting Q9; TVS7 is a transient voltage suppressor diode (TVS) used to protect against surges and electrostatic discharge, protecting subsequent circuits; R101 is a pull-up resistor used to stabilize the N / P INPUT node at a high level when there is no external signal input, preventing floating false triggering, and together with C114 and TVS7, it forms an anti-interference and protection circuit. Understandably, when the connected NPN proximity switch receives a signal, its output transistor turns on, pulling the signal input low to near GND. This low level reduces the base current of Q9 through R96, causing Q9 to turn off. The MCU's input pin N / P INPUT is pulled high through pull-up resistor R95, and the MCU reads it as a logic 1. When the sensor has no output, the sensor output is floating or high. Q9 receives base current through R96 and saturates, pulling the N / P INPUT pin low to near GND, and the MCU reads it as a logic 0.
[0078] The input source for the PNP signal input channel is PNP_OUT_SIG_INPUT. R97 is a pull-down resistor, ensuring that the base of Q8 is low when there is no signal. Q8 is a PNP transistor. When PNP_OUT_SIG_INPUT is high, the base of Q8 is high, Q8 conducts, pulling the anode of D18 low. When PNP_OUT_SIG_INPUT is low, Q8 is off, and D18 does not conduct. D18 is a diode, similar to D16, serving as isolation and level clamping. R98 and R99 are current-limiting resistors. TVS7 is grounded, providing bidirectional protection against low-level readings by the MCU.
[0079] Figure 7 The diagram shows the structure of an analog input receiving circuit. Figure 7 As shown, this circuit contains two completely symmetrical channels, processing two analog input signals named AL_V and AL_A respectively. In the upper part of the circuit, the AL_V signal is input from the left. It first passes through resistor R205, which acts as a current limiter and protects against external abnormal voltages directly impacting the subsequent operational amplifier. Next, the signal is grounded through capacitor C114, a high-frequency filter capacitor used to filter out noise or interference that may couple into the signal line. Simultaneously, one end of R204 is connected to the node between R205 and C114, and the other end is grounded; it is a pull-down resistor that ensures that when the external signal source is disconnected or floating, the op-amp's input is not in an uncertain floating state but is reliably pulled to ground, avoiding false triggering or random fluctuations. Afterward, the signal enters the non-inverting input of operational amplifier U10A. U10A is connected as a voltage follower, and its output is directly connected back to the inverting input (-), therefore the output voltage is strictly equal to the input voltage. This structure features extremely high input impedance and extremely low output impedance. Its main function is to isolate the pre-amplifier signal source from the subsequent circuitry, preventing the load of the subsequent stage from affecting the normal operation of the sensor or transmitter. The output of U10A then passes through a series resistor R203 to further limit current, suppress high-frequency oscillations, and improve drive stability. Finally, a capacitor C115 is connected in parallel with ground at the output terminal INPUT_V to stabilize the output voltage, absorb transient glitches, and ensure a cleaner signal sent to the subsequent stage.
[0080] The lower half of this circuit has the same AL_A channel structure. The signal is current-limited by R207, filtered by C120, pulled down by R206, and then enters the voltage follower formed by U21B. Finally, it is output as INPUT_A through R208 and C116. The entire design is simple and practical, with a focus on signal integrity, anti-interference capability, and electrical isolation.
[0081] In one optional implementation, the first mode selection module 110 includes a button submodule and a display submodule. The button submodule is connected to the display submodule and the first main control module 120, respectively. The button submodule is used to acquire the first mode selection signal selected by the user when pressed by the user, generate a first transmission instruction for a first target mode signal corresponding to the first mode selection signal, and output it to the first main control module 120. The display submodule is used to display the currently selected signal mode.
[0082] Specifically, the first mode selection module 110 adopts a collaborative hardware design of button submodule 111 and display submodule 112, which is used to implement the functions of mode selection input and current mode display.
[0083] Specifically, the button submodule 111 can use two industrial-grade tactile buttons to meet the frequent operation requirements of industrial scenarios; the display submodule 112 uses an OLED display screen to support low-power display and meet the visualization requirements of industrial sites.
[0084] Furthermore, the two tactile buttons are defined as a mode switch button (KEY1) and an confirmation button (KEY2), respectively. One end of the button (pin 1) is connected to a 3.3V power supply, and the other end (pin 2) is connected to the GPIO1 (KEY1) and GPIO2 (KEY2) pins of the first main control module 120 through a 1kΩ pull-up resistor. At the same time, the button pin 2 is grounded through a 0.1µF capacitor. In this way, when the tactile button is not pressed, the pull-up resistor keeps GPIO1 and GPIO2 at a high level of 3.3V, avoiding electromagnetic interference caused by floating pins and false triggering. When the tactile button is pressed, the button is turned on, and the GPIO pin becomes low level through the button ground. The MCU recognizes the button operation by detecting the high-to-low level transition. The 0.1µF capacitor is a decoupling capacitor to filter out the level jitter caused by button bounce (anti-bouncing design) and ensure the stability of the button signal.
[0085] The VCC pin of the OLED display is connected to a 3.3V power supply, and the GND pin is grounded. The SDA (serial data pin) is connected to the I2C1_SDA (PB7) pin of the first main control module 120, and the SCL (serial clock pin) is connected to the I2C1_SCL (PB6) pin of the first main control module 120. In this way, the I2C bus only requires two wires to realize bidirectional communication between the MCU and the OLED, saving MCU pin resources compared to the SPI interface. The 3.3V power supply is adapted to the operating voltage of the OLED to avoid damage to the device due to overvoltage. Through I2C communication, the MCU can transmit the currently selected signal mode (such as 485 mode, analog mode, and switch mode) to the OLED for display, realizing operation feedback.
[0086] In this implementation, when the user presses the mode switch key (KEY1), the GPIO1 level changes, triggering an interrupt response from the first main control module 120, switching the target mode (achieving a cyclic switching between 485-analog and digital signals). Pressing the confirmation key (KEY2) further causes the GPIO2 level to change, allowing the MCU to confirm the current mode and generate the corresponding first transmission command, which is then output to the core logic of the main control module. After the MCU switches and confirms the mode, it sends a display command to the OLED via the I2C bus. The OLED displays the current mode name in a designated area (such as the upper half of the screen) and simultaneously displays the mode switching status (such as switching in progress and confirmed), ensuring the user's operation is visualized.
[0087] In one optional implementation, the multi-mode signal transmission device further includes a power supply module 170, which includes a DC-DC converter and an LDO regulator. The DC-DC converter is connected to the LDO regulator and is used to step down the input industrial DC voltage to a first preset standard voltage and then output it to the LDO regulator. The LDO regulator is used to step down and stabilize the first preset standard voltage to a second preset standard voltage and then output it to the first mode selection module 110, the first main control module 120, the signal acquisition module 130, the first gating module 140, the first communication module 150, and the receiving module 160.
[0088] Specifically, in this implementation, the power module 170 adopts a two-stage voltage conversion architecture of DC-DC step-down and LDO regulation, which is the core function of industrial wide voltage input and stable standard voltage output, adapting to the power supply requirements of each module.
[0089] Specifically, the DC-DC converter can use an industrial-grade non-isolated DC-DC step-down chip, which supports a wide input voltage range and is suitable for 12-24V fluctuating input in industrial scenarios; the LDO regulator can use a high-precision LDO chip, which supports low ripple output and is suitable for precision devices such as MCUs and communication modules.
[0090] Specifically, a 12-24V industrial DC voltage can be connected to the Vin (input) pin of the DC-DC step-down chip via a 2A fuse. A 1000µF electrolytic capacitor and a 0.1µF ceramic capacitor are connected in parallel between the Vin pin and GND (ground). In this way, the fuse provides overcurrent protection (it blows when the current exceeds 2A to prevent short circuit damage to the chip); the electrolytic capacitor filters out low-frequency ripple of the input voltage, and the ceramic capacitor filters out high-frequency interference, ensuring stable input voltage. Furthermore, the Vout (output) pin of the DC-DC buck chip outputs a 5.7V voltage. A 470µF electrolytic capacitor and a 0.1µF ceramic capacitor are connected in parallel between Vout and GND. The enable pin of the DC-DC buck chip is connected to a 3.3V power supply (normally enabled), and the feedback pin is connected to the voltage output pin through a voltage divider resistor. In this way, the capacitor combination at the output end can filter out the ripple of the 5.7V voltage. The voltage divider resistor adjusts the output voltage through the feedback mechanism to ensure that the DC-DC buck chip outputs a stable 5.7V (the input voltage range of the LDO regulator is 2.5-15V). The normally enabled design ensures that the power module 170 works immediately upon power-up without the need for additional control signals.
[0091] More specifically, the 5.7V output from the DC-DC buck converter is connected to the Vin pin of the LDO chip. A 100µF electrolytic capacitor and a 0.1µF ceramic capacitor are connected in parallel between Vin and GND. This further filters out residual ripple in the output voltage of the DC-DC buck converter, providing a stable input voltage for the LDO chip. The LDO chip's output pin outputs 3.3V, and a 100µF electrolytic capacitor and a 0.1µF ceramic capacitor are connected in parallel between the output pin and the ground pin. The LDO chip's GND pin is grounded, and the NC (no-connect) pin is left floating. In this way, the LDO chip regulates the 5.7V voltage to 3.3V, outputting a ripple voltage that meets the low-ripple power supply requirements of precision devices such as MCUs, communication modules, and OLEDs. The capacitor combination at the output end further reduces ripple and provides instantaneous current compensation.
[0092] As a concrete example, Figure 8 The diagram shows the connection structure of the power supply interface. This diagram defines the external physical interface and power input path of the entire module. Figure 8 As shown, power supply interface J2 (CON1) is a terminal block or connector, marked CON1, used to connect to an external DC power supply. Power supply interface J3 (CON1) is another identical power supply interface, used to provide redundant power or for easy wiring. GND is the clearly marked power ground wire. It can be understood that the structure shown in this figure can provide operating power (12-24V DC voltage) for the entire transmission device.
[0093] The technical solutions provided in this application have been described in detail above. Specific examples have been used in this application to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
[0094] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0095] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0096] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0097] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0098] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A multi-mode signal transmission device, characterized in that, include: The first mode selection module is used to acquire the first mode selection signal input by the user, generate a first transmission instruction for the first target mode signal corresponding to the first mode selection signal, and output the first transmission instruction to the first main control module. The first main control module is configured to generate a gating instruction for selecting the first target mode signal from multiple mode signals according to the first transmission instruction, and output the gating instruction to the first gating module; and to convert the first target mode signal output by the first gating module into a wireless standard signal, and then output it to the first communication module. The signal acquisition module is used to acquire multiple modes of signals input from the outside and output the acquired signals to the first gating module; The first gating module is used to select the first target mode signal from multiple mode signals according to the gating instruction, and then output it to the first main control module, wherein the wireless standard signal is a recognizable signal of the first communication module; The first communication module is used to wirelessly transmit the wireless standard signal to the receiving module; The receiving module is used to convert the wireless standard signal into a second target mode signal among the multiple mode signals and then output it.
2. The multi-mode signal transmission device according to claim 1, characterized in that, The first gating module includes: The first sub-gating module is used to receive the gating instruction sent by the first main control module, and match the target mode category to which the first target mode signal belongs according to the gating instruction; it is also used to receive the multiple mode signals sent by the signal acquisition module, select the signals of various modes included in the target mode category from the multiple mode signals, and output them to the second sub-gating module. The second sub-gating module is used to select the first target mode signal from the signals of each mode included in the target mode classification output by the first sub-gating module according to the gating instruction output by the first main control module, and then output it to the first main control module. The first main control module converts the first target mode signal into a wireless standard signal and then outputs it to the first communication module.
3. The multi-mode signal transmission device according to claim 2, characterized in that, The first gating module includes a relay, and each common contact of the relay is connected to the signal acquisition module. The contacts corresponding to each mode category of the relay are respectively connected to the pins of the control signal links corresponding to each mode category of the first main control module. According to the target mode category to which the first target mode signal belongs, the gating instruction selects or disconnects the contacts of the relay corresponding to the target mode category from the pins of the control signal links corresponding to the target mode category, so that the signal belonging to the target mode category is output to the second sub-gating module.
4. The multi-mode signal transmission device according to claim 3, characterized in that, The second sub-gating module includes an analog switch. The input terminal of the analog switch is connected to each output contact of the relay, and the output terminal of the analog switch is connected to the pin of the signal transmission link corresponding to each mode signal included in the target mode classification in the first main control module. According to the gating instruction, the output terminal of the analog switch is selected to the pin of the signal transmission link corresponding to the first target mode signal, so that the first target mode signal is output to the first main control module. After the first main control module converts the first target mode signal into a wireless standard signal, it is output to the first communication module.
5. The multi-mode signal transmission device according to claim 4, characterized in that, The signals of various modes include 485 signals, analog signals, and digital signals. The 485 signals and analog signals belong to two different modes of signals in the first mode classification, while the digital signals belong to the mode signals in the second mode classification.
6. The multi-mode signal transmission device according to claim 1, characterized in that, The receiving module includes: The second communication module is paired with the first communication module and is used to transmit the wireless standard signal to the second main control module; The second mode selection module is used to acquire the second mode selection signal for input, generate a second transmission instruction for the second target mode signal corresponding to the second mode selection signal, and output the second transmission instruction to the second main control module. The second main control module is used to convert the wireless standard signal into multiple mode output signals and output them to the second gating module, and to generate a gating instruction to select a second target mode signal from the multiple mode output signals according to the second transmission instruction, and to output the gating instruction to the second gating module. The second gating module is used to select the second target mode signal from the output signals of the multiple modes according to the gating instruction and then output it.
7. The multi-mode signal transmission device according to claim 6, characterized in that, The output signals in the various modes include 485 signal mode and switch signal mode.
8. The multi-mode signal transmission device according to claim 1, characterized in that, The signal acquisition module includes multiple sensors, each of which is connected to the first gating module via an M12 interface, and each sensor is used to acquire signals of different modes.
9. The multi-mode signal transmission device according to claim 1, characterized in that, The first mode selection module includes a button submodule and a display submodule. The button submodule is connected to the display submodule and the first main control module respectively. The button submodule is used to acquire the first mode selection signal selected by the user when it is pressed by the user, generate a first transmission instruction for the first target mode signal corresponding to the first mode selection signal, and output it to the first main control module. The display submodule is used to display the currently selected signal mode.
10. The multi-mode signal transmission device according to claim 1, characterized in that, It also includes a power supply module, which comprises a DC-DC converter and an LDO regulator. The DC-DC converter is connected to the LDO regulator and is used to step down the input industrial DC voltage to a first preset standard voltage and then output it to the LDO regulator. The LDO regulator is used to step down and stabilize the first preset standard voltage to a second preset standard voltage and then output it to the first mode selection module, the first main control module, the signal acquisition module, the first gating module, the first communication module, and the receiving module.