MOSFET-based industrial digital input / output circuit

CN224861863UActive Publication Date: 2026-10-16SICHUAN ZERO POINT AUTOMATION SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522454555.X
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-11-19
Publication Date
2026-10-16
Estimated Expiration
2035-11-19

AI Technical Summary

Technical Problem

[0004]本实用新型所要解决的技术问题是现有技术需要通过单独的数字量输入电路和数字量输出电路分别实现,结构布线的复杂度较高,目的在于提供一种基于MOSFET的工业数字输入输出电路,微控制器通过控制MOS驱动单元驱动第一MOSFET和第二MOSFET的导通和关断,以实现数字量信号的输入和输出;同时利用电流源和电流阱的两种实现方式设置,以使得本电路能够满足IEC61131-2 TYPE-1/2/3源型数字量和漏型数字量的输入特性,从而解决了现有技术需要通过单独的数字量输入电路和数字量输出电路分别实现,结构布线的复杂度较高的技术问题

Benefits of technology

在本实用新型中,微控制器通过控制MOS驱动单元驱动第一MOSFET和第二MOSFET的导通和关断,以实现数字量信号的输入和输出;同时利用电流源和电流阱的两种实现方式设置,以使得本电路能够满足IEC61131-2 TYPE-1/2/3源型数字量和漏型数字量的输入特性,从而解决了现有技术需要通过单独的数字量输入电路和数字量输出电路分别实现,结构布线的复杂度较高的技术问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN224861863U_ABST
    Figure CN224861863U_ABST
Patent Text Reader

Abstract

The utility model discloses an industrial digital quantity input output circuit based on MOSFET, specifically related to digital circuit technical field, its technical key points are: the digital quantity input output circuit includes MOS drive unit, first MOSFET, second MOSFET and comparator, one end of MOS drive is connected with microcontroller, the other end of MOS drive unit is connected with the grid of first MOSFET and the grid of second MOSFET, the drain of first MOSFET is connected with power, the source of first MOSFET is connected with the source of second MOSFET, the drain of second MOSFET is connected with current trap and comparator, and the drain of second MOSFET is also connected with PLC / remote IO port, the comparator is connected with microcontroller, has solved the technical problem that the structure wiring complexity is higher of the prior art and needs to realize respectively through separate digital quantity input circuit and digital quantity output circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of digital circuit technology, and specifically to an industrial digital input / output circuit based on MOSFET. Background Technology

[0002] With the rapid development of industrial automation, control systems are becoming increasingly prevalent across various industries, and some of these systems involve digital inputs and outputs. In industrial control IO (input / output) circuits, achieving DI (digital input) and DO (digital output) typically requires separate digital input and output circuits, resulting in high complexity in the wiring and structure.

[0003] Therefore, the present invention aims to provide an industrial digital input / output circuit based on MOSFETs to solve the aforementioned problems. Utility Model Content

[0004] The technical problem this invention aims to solve is that existing technologies require separate digital input and output circuits, resulting in high structural and wiring complexity. The purpose is to provide a MOSFET-based industrial digital input / output circuit. A microcontroller controls the MOS driving unit to turn on and off the first and second MOSFETs to achieve digital signal input and output. Simultaneously, by utilizing both current source and current sink implementation methods, this circuit can meet the input characteristics of source and sink digital signals according to IEC61131-2 TYPE-1 / 2 / 3, thus solving the technical problem of existing technologies requiring separate digital input and output circuits and resulting in high structural and wiring complexity.

[0005] This utility model is achieved through the following technical solution: An industrial digital input / output circuit based on MOSFETs is disclosed. The digital input / output circuit includes a MOSFET driving unit, a first MOSFET, a second MOSFET, and a comparator. One end of the MOSFET driving unit is connected to a microcontroller, and the other end of the MOSFET driving unit is connected to the gates of the first MOSFET and the second MOSFET. The drain of the first MOSFET is connected to a power supply, and the source of the first MOSFET is connected to the source of the second MOSFET. The drain of the second MOSFET is connected to a current trap and a comparator, and the drain of the second MOSFET is also connected to a PLC / remote I / O terminal. The comparator is connected to the microcontroller.

[0006] Furthermore, the MOS driving unit adopts one of NPN transistor, NMOS, or optocoupler.

[0007] Furthermore, the microcontroller is one of MCU, CPU, DSP, FPGA or CPLD.

[0008] Furthermore, the first MOSFET and the second MOSFET are P-channel MOSFETs.

[0009] Furthermore, the first MOSFET and the second MOSFET are P-channel MOSFETs with a source-drain breakdown voltage greater than or equal to 60V.

[0010] The present invention also provides an industrial digital input / output circuit based on MOSFET, the digital input / output circuit including a MOSFET driving unit, a first MOSFET, a second MOSFET, and a comparator; one end of the MOSFET driving unit is connected to a microcontroller, and the other end of the MOSFET driving unit is connected to the gate of the first MOSFET and the gate of the second MOSFET; the drain of the first MOSFET is grounded, and the source of the first MOSFET is connected to the source of the second MOSFET; a current source and a comparator are connected to the drain of the second MOSFET, and the drain of the second MOSFET is also connected to a PLC / remote I / O terminal; the comparator is connected to the microcontroller.

[0011] Furthermore, the MOS driving unit adopts one of PNP transistor, PMOS, or optocoupler.

[0012] Furthermore, the microcontroller is one of MCU, CPU, DSP, FPGA or CPLD.

[0013] Furthermore, the first MOSFET and the second MOSFET are N-channel MOSFETs.

[0014] Furthermore, the first MOSFET and the second MOSFET are N-channel MOSFETs with a source-drain breakdown voltage greater than or equal to 60V.

[0015] Compared with the prior art, this utility model has the following advantages and beneficial effects: In this invention, the microcontroller controls the MOS driving unit to drive the first MOSFET and the second MOSFET to turn on and off, thereby realizing the input and output of digital signals. At the same time, it uses both current source and current sink implementation methods to enable the circuit to meet the input characteristics of source and sink digital signals of IEC61131-2 TYPE-1 / 2 / 3, thus solving the technical problem that the prior art requires separate digital input circuits and digital output circuits, resulting in high complexity of structural wiring. Attached Figure Description

[0016] To more clearly illustrate the technical solutions of the exemplary embodiments of this utility model, the drawings used in the embodiments will be briefly described below. It should be understood that the following drawings only show some embodiments of this utility model and should not be considered as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort. In the drawings: Figure 1 This is a circuit diagram of an industrial digital input / output circuit based on MOSFET in Embodiment 1. Figure 2 This is a schematic diagram illustrating three implementation methods of the MOS driving unit in Embodiment 1. Figure 3 This is a circuit diagram of an industrial digital input / output circuit based on MOSFETs in Embodiment 2. Figure 4 This is a schematic diagram of three implementation methods of the MOS driving unit in Embodiment 2. Detailed Implementation

[0017] The exemplary embodiments of this disclosure are described below with reference to the accompanying drawings, including various details of the embodiments to aid understanding, and should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope of this disclosure. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.

[0018] In this disclosure, unless otherwise stated, the use of terms such as "first," "second," etc., to describe various elements is not intended to limit the positional, temporal, or importance relationships of these elements; such terms are merely used to distinguish one element from another. In some examples, the first element and the second element may refer to the same instance of that element, while in other cases, based on the context, they may refer to different instances.

[0019] The terminology used in the description of the various examples in this disclosure is for the purpose of describing particular examples only and is not intended to be limiting. Unless the context explicitly indicates otherwise, an element may be one or more unless the number of elements is specifically limited. Furthermore, the term "and / or" as used in this disclosure covers any one of the listed items and all possible combinations thereof.

[0020] Example 1

[0021] See Figure 1 , Figure 1A circuit diagram of an industrial digital input / output circuit based on MOSFETs is shown. The digital input / output circuit includes a MOSFET driver unit, a first MOSFET, a second MOSFET, and a comparator. One end of the MOSFET driver unit is connected to a microcontroller, and the other end of the MOSFET driver unit is connected to the gates of the first MOSFET and the second MOSFET. The drain of the first MOSFET is connected to a power supply, and the source of the first MOSFET is connected to the source of the second MOSFET. The drain of the second MOSFET is connected to a current trap and a comparator, and the drain of the second MOSFET is also connected to a PLC / remote I / O terminal. The comparator is connected to the microcontroller.

[0022] It should be noted that, in this embodiment, one end of the digital input / output circuit is connected to the GPIO port of the microcontroller, and the other end of the digital input / output circuit is connected to the PLC / remote IO terminal as a digital input / output port.

[0023] Additionally, it should be noted that, see Figure 2 , Figure 2 Three implementation methods for the MOS driving unit are given. Specifically, the MOS driving unit can be one of NPN transistor, NMOS, or optocoupler. In this embodiment, an NPN transistor is used as the MOS driving unit. Other MOS driving units can also be used in other embodiments, and no further restrictions are imposed here.

[0024] It should also be noted that the microcontroller is one of MCU, CPU, DSP, FPGA or CPLD; in this embodiment the microcontroller is MCU, but in other embodiments other MOS drive units may also be used, and no further restrictions are imposed here.

[0025] It should also be noted that the first MOSFET and the second MOSFET are P-channel MOSFETs with a source-drain breakdown voltage of 60V or higher. In this embodiment, the MOSFET model LP8615DT1A is used. In other embodiments, other MOSFET models can be used, and no further restrictions are imposed here.

[0026] Specifically, in this embodiment, the microcontroller controls the MOS driving unit to drive the first MOSFET and the second MOSFET to turn on and off, thereby realizing the input and output of digital signals. At the same time, it uses both current source and current sink implementation methods to enable the circuit to meet the input characteristics of source-type and sink-type digital signals of IEC61131-2 TYPE-1 / 2 / 3, thereby solving the technical problem that the prior art requires separate digital input circuits and digital output circuits, resulting in high complexity of structural wiring.

[0027] Working principle: When used as a digital output circuit, the microcontroller controls the first MOSFET and the second MOSFET to turn on through the MOS drive unit to complete the source-type digital signal output "1" logic. The microcontroller controls the first MOSFET and the second MOSFET to turn off through the MOS drive to complete the source-type digital signal output "0" logic. When used as a digital input circuit, the microcontroller controls the first and second MOSFETs to turn off through the MOS drive unit. The current sink makes the input electrical characteristics meet the IEC61131-2 TYPE-1 / 2 / 3 sinking digital input characteristics. After the signal is converted by the comparator, the microcontroller reads the digital input signal.

[0028] Example 2

[0029] See Figure 3 , Figure 3 A circuit diagram of an industrial digital input / output circuit based on MOSFETs is also shown, wherein the digital input / output circuit includes a MOSFET driving unit, a first MOSFET, a second MOSFET, and a comparator; one end of the MOSFET driving unit is connected to a microcontroller, and the other end of the MOSFET driving unit is connected to the gate of the first MOSFET and the gate of the second MOSFET; the drain of the first MOSFET is grounded, and the source of the first MOSFET is connected to the source of the second MOSFET; a current source and a comparator are connected to the drain of the second MOSFET, and the drain of the second MOSFET is also connected to a PLC / remote I / O terminal; the comparator is connected to the microcontroller.

[0030] It should be noted that, in this embodiment, one end of the digital input / output circuit is connected to the GPIO port of the microcontroller, and the other end of the digital input / output circuit is connected to the PLC / remote IO terminal as a digital input / output port.

[0031] Additionally, it should be noted that, see Figure 4 , Figure 4 Three implementation methods for the MOS driving unit are given. Specifically, the MOS driving unit can be one of PNP transistor, PMOS, or optocoupler. In this embodiment, PMOS is used as the MOS driving unit. Other MOS driving units can also be used in other embodiments, and no further restrictions are imposed here.

[0032] It should also be noted that the microcontroller is one of MCU, CPU, DSP, FPGA or CPLD; in this embodiment the microcontroller is a CPU, but in other embodiments other MOS drive units may also be used, and no further restrictions are imposed here.

[0033] It should also be noted that the first MOSFET and the second MOSFET are N-channel MOSFETs with a source-drain breakdown voltage of 60V or greater. In this embodiment, an N-channel MOSFET of model CJAE28SN06 is used. In other embodiments, other models of N-channel MOSFETs can be used, and no further restrictions are imposed here.

[0034] Specifically, in this embodiment, the microcontroller controls the MOS driving unit to drive the first MOSFET and the second MOSFET to turn on and off, thereby realizing the input and output of digital signals. At the same time, it uses both current source and current sink implementation methods to enable the circuit to meet the input characteristics of source-type and sink-type digital signals of IEC61131-2 TYPE-1 / 2 / 3, thereby solving the technical problem that the prior art requires separate digital input circuits and digital output circuits, resulting in high complexity of structural wiring.

[0035] Working principle: When used as a digital output circuit, the microcontroller controls the first MOSFET and the second MOSFET to turn on through the MOS driving unit to complete the output of the drained digital signal "1" logic. The microcontroller controls the first MOSFET and the second MOSFET to turn off through the MOS driving unit to complete the output of the drained digital signal "0" logic. When used as a digital input circuit, the microcontroller controls the first and second MOSFETs to turn off through the MOS drive unit. The current source makes the input electrical characteristics meet the IEC61131-2 TYPE-1 / 2 / 3 source-type digital input characteristics. After the signal is converted by the comparator, the microcontroller reads the digital input signal.

[0036] The specific embodiments described above further illustrate the purpose, technical solution, and beneficial effects of this utility model. It should be understood that the above description is only a specific embodiment of this utility model and is not intended to limit the scope of protection of this utility model. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this utility model should be included within the scope of protection of this utility model.

Claims

1. An industrial digital input / output circuit based on MOSFETs, characterized in that, The digital input / output circuit includes a MOS driver unit, a first MOSFET, a second MOSFET, and a comparator; one end of the MOS driver is connected to a microcontroller, and the other end of the MOS driver unit is connected to the gate of the first MOSFET and the gate of the second MOSFET; the drain of the first MOSFET is connected to a power supply, and the source of the first MOSFET is connected to the source of the second MOSFET; the drain of the second MOSFET is connected to a current trap and a comparator, and the drain of the second MOSFET is also connected to a PLC / remote I / O terminal; the comparator is connected to the microcontroller.

2. The MOSFET-based industrial digital input / output circuit according to claim 1, characterized in that, The MOS driving unit uses one of the following: NPN transistor, NMOS, or optocoupler.

3. The MOSFET-based industrial digital input / output circuit according to claim 1, characterized in that, The microcontroller is one of MCU, CPU, DSP, FPGA or CPLD.

4. The MOSFET-based industrial digital input / output circuit according to claim 1, characterized in that, The first MOSFET and the second MOSFET are P-channel MOSFETs.

5. The MOSFET-based industrial digital input / output circuit according to claim 4, characterized in that, The first MOSFET and the second MOSFET are P-channel MOSFETs with a source-drain breakdown voltage greater than or equal to 60V.

6. An industrial digital input / output circuit based on MOSFETs, characterized in that, The digital input / output circuit includes a MOS driver unit, a first MOSFET, a second MOSFET, and a comparator; one end of the MOS driver is connected to a microcontroller, and the other end of the MOS driver unit is connected to the gate of the first MOSFET and the gate of the second MOSFET; the drain of the first MOSFET is grounded, and the source of the first MOSFET is connected to the source of the second MOSFET; a current source and a comparator are connected to the drain of the second MOSFET, and the drain of the second MOSFET is also connected to a PLC / remote I / O terminal; the comparator is connected to the microcontroller.

7. The MOSFET-based industrial digital input / output circuit according to claim 6, characterized in that, The MOS driving unit uses one of the following: PNP transistor, PMOS, or optocoupler.

8. The MOSFET-based industrial digital input / output circuit according to claim 6, characterized in that, The microcontroller is one of MCU, CPU, DSP, FPGA or CPLD.

9. The MOSFET-based industrial digital input / output circuit according to claim 6, characterized in that, The first MOSFET and the second MOSFET are N-channel MOSFETs.

10. The MOSFET-based industrial digital input / output circuit according to claim 9, characterized in that, The first MOSFET and the second MOSFET are N-channel MOSFETs with a source-drain breakdown voltage greater than or equal to 60V.