Highly configurable digital signal output module
By designing a highly configurable digital signal output module, flexible configurations of high and low levels and suspended three states are realized, solving the problem that traditional modules cannot adapt to different voltage requirements, and improving the universality and economicality of the system.
Patent Information
- Application Number
- CN202510569110.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-08-08
AI Technical Summary
The traditional discrete output module has a single function and a fixed output level range, so it cannot flexibly adapt to equipment with different voltage requirements, resulting in complex system design, high cost and insufficient compatibility.
A digital signal output module including an isolation driver module, a main control chip, a communication module and a power supply circuit is designed. The flexible configuration of high and low levels and suspended three states is achieved through the signal amplifier and the isolation chip, which is suitable for a variety of application scenarios.
Improves the versatility of modules, reduces the demand for hardware types in system design, and improves portability and economy.
Smart Images

Figure CN120447439A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of industrial automation control, and more particularly to a highly configurable digital signal output module. Background Art
[0002] Currently, in industrial automation control systems, discrete output modules are important components for achieving equipment control. They are used to convert control signals into switching outputs (such as high or low levels) to drive relays, solenoid valves, or other actuators.
[0003] However, traditional discrete output modules usually have a single function and a fixed output level range, and cannot flexibly adapt to devices with different voltage requirements.
[0004] In addition, existing modules often require different hardware configurations when facing various control scenarios, resulting in complex system design, high cost and insufficient compatibility.
[0005] In summary, there is an urgent need for a discrete output module that can flexibly configure the output level range and adapt to various control requirements to improve the versatility and economy of the system.
[0006] The preceding description is intended to provide general background information and does not necessarily constitute prior art. Summary of the Invention
[0007] The purpose of the present invention is to provide a highly configurable digital signal output module that can achieve flexible configuration of high and low levels and adapt to a variety of application scenarios, greatly improving the versatility of the module, reducing the need for a wide variety of hardware in system design, and improving portability and economy.
[0008] The present invention provides a highly configurable digital signal output module, comprising an isolation drive module, a main control chip, a communication module and a power supply circuit; the isolation drive module is connected to the main control chip, and the main control chip is connected to the communication module; the power supply circuit is respectively connected to the isolation drive module, the main control chip and the communication module, for supplying power to the isolation drive module, the main control chip and the communication module; the isolation drive module comprises a first isolation drive circuit and a second isolation drive circuit; the first isolation drive circuit comprises a current limiting resistor RA1, a current limiting resistor RB1, a current limiting resistor RB2, a current limiting resistor RB3, a current limiting resistor RB4, a current limiting resistor RB5, a current limiting resistor RB6, a current limiting resistor RB7, a current limiting resistor RB8, a current limiting resistor RB9, a current limiting resistor RB10, a current limiting resistor RB11, a current limiting resistor RB12, a current limiting resistor RB13, a current limiting resistor RB14, a current limiting resistor RB15, a current limiting resistor RB16, a current limiting resistor RB17, a current limiting resistor RB18, a current limiting resistor RB19, a current limiting resistor RB21, a current limiting resistor RB22, a current limiting resistor RB23, a current limiting resistor RB24, a current limiting resistor RB25, a current limiting resistor RB26, a current limiting resistor RB27, a current limiting resistor RB28, a current limiting resistor RB29, a current limiting resistor RB30, a current limiting resistor RB31, a current limiting resistor RB32, a current limiting resistor RB33, a current limiting resistor RB34, a current limiting resistor RB35, a current limiting resistor RB36, Resistor RC1, signal indicator DA1, signal amplifier Q1 and isolation chip U1; the current limiting resistor RA1 is respectively connected to the 5V pull-up power supply and the pin 1 of the isolation chip U1, the current limiting resistor RB1 is respectively connected to the 5V pull-up power supply and the positive electrode of the signal indicator DA1, the signal indicator DA1 is respectively connected to the current limiting resistor RB1 and the pin 2 of the isolation chip U1, the current limiting resistor RC1 is respectively connected to the control terminal PC_0 of the main control chip and the base of the signal amplifier Q1, the collector of the signal amplifier Q1 is connected to the pin 2 of the isolation chip U1 The emitter of the signal amplifier Q1 is connected to the main control chip GND, the pin 3 of the isolation chip U1 is connected to the digital signal high level D_PW through the fuse F1, and the pin 4 of the isolation chip U1 is connected to the output digital signal CH0; the second isolation drive circuit includes a current limiting resistor RA2, a current limiting resistor RB2, a current limiting resistor RC2, a signal indicator light DA2, a signal amplifier Q2 and an isolation chip U2; the current limiting resistor RA2 is respectively connected to the 5V pull-up power supply and the pin 1 of the isolation chip U2, and the current limiting resistor RB2 is respectively connected to the 5V pull-up power supply and the The positive pole of the signal indicator light DA2 is connected, and the signal indicator light DA2 is respectively connected to the current limiting resistor RB2 and pin 2 of the isolation chip U2, the current limiting resistor RC2 is respectively connected to the control terminal PC_1 of the main control chip and the base of the signal amplifier Q2, the collector of the signal amplifier Q2 is connected to pin 2 of the isolation chip U2, the emitter of the signal amplifier Q2 is connected to the main control chip GND, the pin 3 of the isolation chip U2 is connected to the digital signal low level D_GND through the fuse F2, and the pin 4 of the isolation chip U2 is connected to the output digital signal CH0.
[0009] With the above technical solution, when the main control chip controls the PC_0 pin to output a high level, the signal is amplified by the signal amplifier Q1 and then drives the isolation chip U1. After the isolation chip U is turned on, its pin 4 and pin 3 are connected. At this time, the output digital signal CH0 is connected to the digital signal high level D_PW, and a high level signal is output;
[0010] When the main control chip controls the PC_1 pin to output a high level, the signal is amplified by the signal amplifier Q2 and drives the isolation chip U2. After the isolation chip U2 is turned on, its pin 4 and pin 3 are connected. At this time, the output digital signal CH0 is connected to the digital signal low level D_GND, and a low level signal is output;
[0011] In summary, the output digital signal CH0 can be composed of a configurable digital signal with three states: high, low, and floating.
[0012] Furthermore, the signal amplifier Q1 and the signal amplifier Q2 are both S8050J3Y model current amplifiers.
[0013] Furthermore, the isolation chip U1 and the isolation chip U2 are both G3VM-41AY isolation chips.
[0014] Furthermore, the main control chip is an STM32F373 model main control chip.
[0015] Furthermore, the communication module is a TD321S485H-E model communication chip.
[0016] The present invention provides a highly configurable digital signal output module. During high-level output, the main control chip controls the PC_0 pin to output a high level, amplifies the signal through the signal amplifier Q1, and drives the isolation chip U1. After the isolation chip U1 is turned on, pin 4 of the chip is connected to pin 3. At this time, the output digital signal CH0 is connected to the digital signal high level D_PW, outputs a high-level signal, and is displayed through the communication module. At the same time, the signal indicator DA1 is lit to indicate a high-level state. During low-level output, the main control chip controls the PC_1 pin to output a high level, amplifies the signal through the signal amplifier Q2, and drives the isolation chip U2. After the isolation chip U2 is turned on, pin 4 of the chip is connected to pin 3. At this time, the output digital signal CH0 is connected to the digital signal low level D_GND, outputs a low-level signal, and is displayed through the communication module. At the same time, the signal indicator DA2 is lit to indicate a low-level state. The module of the present invention can realize flexible configuration of high, low, and floating three states, adapt to various application scenarios, greatly improve versatility, reduce the demand for a wide variety of hardware in system design, and improve portability and economy. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram of a highly configurable digital signal output module provided in an embodiment of the present invention.
[0018] Figure 2 for Figure 1 Schematic diagram of a first isolation drive circuit of a highly configurable digital signal output module.
[0019] Figure 3 for Figure 1 A circuit diagram of a second isolation drive circuit of a highly configurable digital signal output module.
[0020] The reference numerals and components in the drawings are as follows:
[0021] 100. Isolation driver module
[0022] 110. First isolation drive circuit
[0023] 120. Second isolation drive circuit
[0024] 200, main control chip
[0025] 300, Communication Module
[0026] 400, power supply circuit DETAILED DESCRIPTION
[0027] The following embodiments of the present invention are described in further detail with reference to the accompanying drawings and examples. The following examples are used to illustrate the present invention but are not intended to limit the scope of the present invention.
[0028] The terms "first", "second", "third", "fourth", etc. in the description and claims of the present invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0029] Example 1
[0030] Figure 1 A schematic diagram of a highly configurable digital signal output module provided by an embodiment of the present invention is provided. Figure 2 for Figure 1 A circuit diagram of a first isolation drive circuit of a highly configurable digital signal output module, Figure 3 for Figure 1 The circuit diagram of the second isolation drive circuit of the digital signal output module that can be configured in the high-precision mode. Figure 1 、 Figure 2 、 Figure 3 , the highly configurable digital signal output module provided by the embodiment of the present invention includes an isolation drive module 100, a main control chip 200, a communication module 300 and a power supply circuit 400; the isolation drive module 100 is connected to the main control chip 200, and the main control chip 200 is connected to the communication module 300; the power supply circuit 400 is respectively connected to the isolation drive module 100, the main control chip 200 and the communication module 300, for supplying power to the isolation drive module 100, the main control chip 200 and the communication module 300; the isolation drive module 100 includes a first isolation drive circuit 110 and a second isolation drive circuit 120;
[0031] like Figure 2 As shown, the first isolation drive circuit of the present invention includes a current limiting resistor RA1, a current limiting resistor RB1, a current limiting resistor RC1, a signal indicator light DA1, a signal amplifier Q1 and an isolation chip U1; the current limiting resistor RA1 is respectively connected to a 5V pull-up power supply and pin 1 of the isolation chip U1, the current limiting resistor RB1 is respectively connected to a 5V pull-up power supply and the positive electrode of the signal indicator light DA1, the signal indicator light DA1 is respectively connected to the current limiting resistor RB1 and pin 2 of the isolation chip U1, the current limiting resistor RC1 is respectively connected to the control terminal PC_0 of the main control chip 200 and the base of the signal amplifier Q1, the collector of the signal amplifier Q1 is connected to pin 2 of the isolation chip U1, the emitter of the signal amplifier Q1 is connected to the GND of the main control chip 200, the pin 3 of the isolation chip U1 is connected to the digital signal high level D_PW through the fuse F1, and the pin 4 of the isolation chip U1 is connected to the output digital signal CH0;
[0032] like Figure 3 As shown, the second isolation drive circuit of the present invention includes a current limiting resistor RA2, a current limiting resistor RB2, a current limiting resistor RC2, a signal indicator light DA2, a signal amplifier Q2 and an isolation chip U2; the current limiting resistor RA2 is respectively connected to the 5V pull-up power supply and pin 1 of the isolation chip U2, the current limiting resistor RB2 is respectively connected to the 5V pull-up power supply and the positive pole of the signal indicator light DA2, the signal indicator light DA2 is respectively connected to the current limiting resistor RB2 and pin 2 of the isolation chip U2, the current limiting resistor RC2 is respectively connected to the control terminal PC_1 of the main control chip 200 and the base of the signal amplifier Q2, the collector of the signal amplifier Q2 is connected to pin 2 of the isolation chip U2, the emitter of the signal amplifier Q2 is connected to the main control chip 200GND, the pin 3 of the isolation chip U2 is connected to the digital signal low level D_GND through the fuse F2, and the pin 4 of the isolation chip U2 is connected to the output digital signal CH0.
[0033] When high level output:
[0034] The main control chip controls the PC_0 pin to output a high level. After the signal is amplified by the signal amplifier Q1, it drives the isolation chip U1. After the isolation chip U1 is turned on, its pin 4 and pin 3 are connected. At this time, the output digital signal CH0 is connected to the digital signal high level D_PW, outputting a high-level signal and displaying it through the communication module. At the same time, the signal indicator DA1 lights up to indicate a high-level state.
[0035] When low level output:
[0036] The main control chip controls the PC_1 pin to output a high level, and the signal is amplified by the signal amplifier Q2 to drive the isolation chip U2. After the isolation chip U2 is turned on, its pin 4 and pin 3 are connected. At this time, the output digital signal CH0 is connected to the digital signal low level D_GND, and the low level signal is output and displayed through the communication module. At the same time, the signal indicator DA2 lights up to indicate the low level state;
[0037] For example: the resistance of the current-limiting resistor RC1 / RC2 is 1kΩ, the operating voltage range of the signal amplifier Q1 / Q2 is 0-5V, and the 5V pull-up power supply and the isolation chip U1 / U2 can achieve an output range of 0-5V digital signal; to ensure the control accuracy and safety of the main control chip 200, the actual output range can be set to 0-4.5V, leaving a certain margin; therefore, this circuit can be configured to output high level (such as 5V) and low level (such as 0V); according to the actual application environment, replacing the resistance value of the current-limiting resistor RA1 / RA2 or the current-limiting resistor RB1 / RB2 can adapt to the output requirements of different level ranges.
[0038] The highly configurable digital signal output module of the present invention can realize flexible configuration of high, low and floating three states, adapt to a variety of application scenarios, greatly improve versatility, reduce the demand for a wide variety of hardware in system design, and improve portability and economy.
[0039] Furthermore, the signal amplifier Q1 of the present invention and the signal amplifier Q2 are both S8050J3Y model current amplifiers; it should be noted that the S8050 J3Y is an NPN transistor with high current gain and fast switching characteristics, suitable for digital signal amplification and driving, and widely used in industrial control and signal processing fields; its main function is to amplify the control signal of the main control chip to ensure that the isolation chip can be reliably triggered.
[0040] Furthermore, the isolation chip U1 of the present invention and the isolation chip U2 are both G3VM-41AY model isolation chips; it should be noted that G3VM-41AY is a high-performance solid-state relay chip that provides excellent electrical isolation performance and fast response capability, supports voltage switching up to 40V, and can effectively isolate the control end and the output end to prevent high voltage from interfering with the low-voltage side circuit.
[0041] Furthermore, the main control chip 200 of the present invention is an STM32F373 model main control chip. It should be noted that the STM32F37x series microcontroller integrates a 32-bit ARM Cortex-M4 core with DSP and FPU instructions and an operating frequency of 72MHz, supporting multi-channel I / O control and real-time processing. This circuit design uses the main control chip's GPIO ports (PC_0 / PC_1) for digital signal control and transmits data through a serial communication interface.
[0042] Furthermore, the communication module 300 of the present invention is a TD321S485H-E communication chip. It should be noted that the TD321S485H-E is a high-performance RS485 communication module that supports the MODBUS protocol, has a data transmission rate of up to 115,200 bps, and has strong anti-interference capabilities and good stability, making it suitable for data transmission and status display in industrial environments.
[0043] Based on the above description, it can be seen that the advantages of the present invention are:
[0044] The present invention discloses a highly configurable digital signal output module. When a high-level output occurs, the main control chip controls the PC_0 pin to output a high level, and drives the isolation chip U1 after the signal is amplified by the signal amplifier Q1. After the isolation chip U1 is turned on, pin 4 of the chip is connected to pin 3. At this time, the output digital signal CH0 is connected to the digital signal high level D_PW, a high-level signal is output, and displayed through the communication module. At the same time, the signal indicator DA1 is lit to indicate a high-level state. When a low-level output occurs, the main control chip controls the PC_1 pin to output a high level, and drives the isolation chip U2 after the signal is amplified by the signal amplifier Q2. After the isolation chip U2 is turned on, pin 4 of the chip is connected to pin 3. At this time, the output digital signal CH0 is connected to the digital signal low level D_GND, a low-level signal is output, and displayed through the communication module. At the same time, the signal indicator DA2 is lit to indicate a low-level state. The module of the present invention can realize flexible configuration of high, low and suspended three states, adapt to a variety of application scenarios, greatly improve versatility, reduce the demand for a wide variety of hardware in system design, and improve portability and economy.
[0045] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A highly configurable digital signal output module, characterized in that: It comprises an isolation drive module (100), a main control chip (200), a communication module (300) and a power supply circuit (400); The isolation drive module (100) is connected to the main control chip (200), and the main control chip (200) is connected to the communication module (300); the power supply circuit (400) is respectively connected to the isolation drive module (100), the main control chip (200), and the communication module (300), and is used to supply power to the isolation drive module (100), the main control chip (200), and the communication module (300); The isolation driving module (100) comprises a first isolation driving circuit (110) and a second isolation driving circuit (120); The first isolation driving circuit includes a current limiting resistor RA1, a current limiting resistor RB1, a current limiting resistor RC1, a signal indicator light DA1, a signal amplifier Q1 and an isolation chip U1; The current limiting resistor RA1 is respectively connected to the 5V pull-up power supply and the pin 1 of the isolation chip U1, the current limiting resistor RB1 is respectively connected to the 5V pull-up power supply and the positive electrode of the signal indicator light DA1, the signal indicator light DA1 is respectively connected to the current limiting resistor RB1 and the pin 2 of the isolation chip U1, the current limiting resistor RC1 is respectively connected to the control terminal PC_0 of the main control chip (200) and the base of the signal amplifier Q1, the collector of the signal amplifier Q1 is connected to the pin 2 of the isolation chip U1, the emitter of the signal amplifier Q1 is connected to the GND of the main control chip (200), the pin 3 of the isolation chip U1 is connected to the digital signal high level D_PW through the fuse F1, and the pin 4 of the isolation chip U1 is connected to the output digital signal CH0; The second isolation driving circuit includes a current limiting resistor RA2, a current limiting resistor RB2, a current limiting resistor RC2, a signal indicator light DA2, a signal amplifier Q2 and an isolation chip U2; The current limiting resistor RA2 is respectively connected to the 5V pull-up power supply and the pin 1 of the isolation chip U2, the current limiting resistor RB2 is respectively connected to the 5V pull-up power supply and the positive electrode of the signal indicator light DA2, the signal indicator light DA2 is respectively connected to the current limiting resistor RB2 and the pin 2 of the isolation chip U2, the current limiting resistor RC2 is respectively connected to the control terminal PC_1 of the main control chip (200) and the base of the signal amplifier Q2, the collector of the signal amplifier Q2 is connected to the pin 2 of the isolation chip U2, the emitter of the signal amplifier Q2 is connected to the GND of the main control chip (200), the pin 3 of the isolation chip U2 is connected to the digital signal low level D_GND through the fuse F2, and the pin 4 of the isolation chip U2 is connected to the output digital signal CH0.
2. The highly configurable digital signal output module according to claim 1, characterized in that: The signal amplifier Q1 and the signal amplifier Q2 are both S8050J3Y model current amplifiers.
3. The highly configurable digital signal output module according to claim 1, wherein: The isolation chip U1 and the isolation chip U2 are both G3VM-41AY isolation chips.
4. The highly configurable digital signal output module according to claim 1, wherein: The main control chip (200) is an STM32F373 model main control chip.
5. The highly configurable digital signal output module according to claim 1, wherein: The communication module (300) is a TD321S485H-E model communication chip.