Input and output board card
By designing a 12-channel input and output board, the problems of limited channels and fixed voltage in traditional boards are solved, flexible signal processing and precise control are achieved, and costs are reduced.
Patent Information
- Application Number
- CN202422860816.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2034-11-22
AI Technical Summary
Traditional digital I/O and PWM I/O boards have a limited number of channels, and the acceptable digital signal input amplitude is fixed at 0V or 12V, which cannot adapt to different voltage requirements, increasing user costs and system complexity.
An input/output board is designed, which includes a master control unit module, a slave control unit module, an output amplitude control circuit module, an input threshold management circuit module, an output circuit module and a communication circuit module. It can be expanded to 12 input and output channels, with an output amplitude of 0V-15V and an input threshold of 0V-66V, supporting flexible signal processing.
It realizes the expansion of 12 input and output channels, supports a wide range of signal input of 0V-66V, improves the flexibility and precise control capability of the board, and reduces costs.
Smart Images

Figure CN223413631U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of boards and cards, in particular to an input and output board and card. Background Art
[0002] With the rapid development of industrial automation and intelligent control technology, digital I / O and PWM I / O boards are playing an increasingly important role in various fields. These boards are not only used for signal acquisition and control, but also involve precise power control, such as motor speed and LED brightness adjustment.
[0003] Digital input / output boards are widely used in industrial automation, embedded systems, and other fields for signal acquisition, control, and communication. PWM input / output boards are widely used in speed control, analog signal output, and other scenarios, especially in motor control and LED lighting.
[0004] Traditional digital I / O and PWM I / O boards offer only eight input and output channels. If this insufficient number of channels necessitates additional boards to expand functionality, this increases hardware costs and system complexity. Users may need to purchase and integrate additional boards, which not only increases costs but also creates additional maintenance and debugging efforts. Furthermore, traditional digital I / O and PWM I / O boards accept digital signal inputs with amplitudes of 0V or 12V. This binary signal range limits the boards' ability to process analog signals. Some applications may require processing a wider range of voltage signals, which the 0V or 12V restriction cannot meet. Fixed input voltages limit the boards' flexibility and prevent them from adapting to varying input voltage requirements. In some applications, the boards may need to accept signals at different voltage levels to accommodate different sensors or devices.
[0005] Traditional boards have the following technical problems:
[0006] 1. Traditional digital input / output and PWM input / output boards have a small number of channels, which increases user costs.
[0007] 2. Traditional digital input / output and PWM input / output boards can only accept digital signal input amplitudes of 0V or 12V, and their voltage is fixed and inflexible. Utility Model Content
[0008] The present invention solves the above-mentioned technical problem by providing an input / output board, comprising: a master control unit module, multiple slave control unit modules, an output amplitude control circuit module, multiple output circuit modules, multiple input threshold management circuit modules, multiple input circuit modules, and a communication circuit module. The output amplitude control circuit module is electrically connected to the master control unit module; the multiple output circuit modules are respectively electrically connected to the output amplitude control circuit module; every two input threshold management circuit modules are electrically connected to one slave control unit module; each input circuit module is electrically connected to one input threshold management circuit module; and the communication circuit module is electrically connected to the master control unit module via a CAN bus. The input / output board also includes multiple slave control units, which are connected to the master control unit module via an SPI bus.
[0009] Furthermore, the output amplitude of the output amplitude control circuit module is 0V-15V.
[0010] Furthermore, the input threshold of the input threshold management circuit module is 0V-66V.
[0011] Furthermore, the input and output board includes 12 input circuit modules.
[0012] Furthermore, the input and output board includes 12 input threshold management circuits.
[0013] Furthermore, the input and output board includes 12 output circuit modules.
[0014] The technical solution of this utility model can accurately control the signal amplitude and PWM parameters of the output channel through independent output amplitude management, which provides a solution for accurately controlling applications such as motor speed and LED brightness. This precise control capability can solve the problem of insufficient accuracy in existing technologies.
[0015] Independent input threshold management module: This board can accept any amplitude input signal within 66V through independent input threshold management. This wide range of signal input can solve the problem of fixed and inflexible input amplitude.
[0016] This board expands the input and output channel modules to 12 and the input channel modules to 12, solving the problem of small number of channels and high cost of use of traditional digital input and output boards. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0018] Figure 1 This is a schematic diagram of the structure of the input and output board of the present invention;
[0019] Figure 2 This is a schematic structural diagram of the input and output board card of the present invention.
[0020] Description of Figure Numbers:
[0021] Label name Label name 10 Main control unit module 50 Input threshold management circuit module 20 Slave control unit 60 Input circuit module 30 Output amplitude control circuit module 70 Communication circuit module 40 Output circuit module DETAILED DESCRIPTION
[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0023] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the various components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.
[0024] In addition, the terms "first," "second," and so on, used in this utility model are for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features specified as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of this utility model, "several" or "a plurality" means at least two, for example, two, three, etc., unless otherwise specifically defined.
[0025] In this utility model, unless otherwise specified or limited, the terms "connection" and "fixation" should be understood in a broad sense. For example, "fixation" can mean fixed connection, detachable connection, or integration; mechanical connection or electrical connection; direct connection or indirect connection through an intermediate medium; internal communication between two elements or interaction between two elements, unless otherwise specified. For those skilled in the art, the specific meanings of the above terms in this utility model can be understood according to specific circumstances.
[0026] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in this field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by this utility model.
[0027] The utility model provides an input and output board card, aiming to design a board card to solve the problems of a small number of channels and high use cost of traditional digital input and output boards.
[0028] The specific structure of the input and output board proposed by the present invention will be described in the following specific embodiments:
[0029] In the technical solution of this embodiment, Figure 1 As shown, an input-output board includes: a main control unit module 10, multiple slave control unit modules 20, an output amplitude control circuit module 30, multiple output circuit modules 40, multiple input threshold management circuit modules 51, multiple input circuit modules 60 and a communication circuit module 70, wherein the output amplitude control circuit module 30 is electrically connected to the main control unit module 10; the multiple output circuit modules 40 are respectively electrically connected to the output amplitude control circuit module 30; the multiple slave control unit modules 20 are connected to the main control unit module 10 through the SPI bus, and each slave control unit 20 is connected to the signal output ends of two input threshold management circuit modules 51; each input circuit module 60 is electrically connected to an input threshold management circuit module 51; and the communication circuit module 70 is electrically connected to the main control unit module 10 through the CAN bus.
[0030] As can be understood, the output circuit module 40 primarily consists of a voltage tracker TLE4251 and a dual H-bridge motor driver DRV8847. The TLE4251 output is connected to the DRV8847's power supply pin, the DRV8847's signal input pin is connected to the slave control unit 20's signal output, and the TLE4251 is connected to the master control unit's signal output pin. When the slave control unit 20 controls the signal output, the master control unit simply adjusts the TLE4251's output to change the output signal's amplitude.
[0031] The input threshold management circuit module 51 primarily consists of an MCP4728 digital-to-analog converter (DAC) chip and an LM2901 high-precision voltage comparator chip. The MCP4728 is connected to the slave control unit 20 via the I2C bus. The MCP4728's output pin is connected to the LM2901's input pin, and the external input signal is connected to the LM2901's input pin via an input circuit. Only when the external input signal amplitude exceeds the MCP4728's output amplitude is the signal further processed. Therefore, the slave control unit 20 can dynamically adjust the input signal's detectable threshold by simply adjusting the MCP4728's output amplitude.
[0032] Furthermore, the output amplitude of the output amplitude control circuit module 30 is 0V-15V.
[0033] Furthermore, the input threshold value of the input threshold value management circuit module 51 is 0V-66V.
[0034] Furthermore, the input / output board includes 12 input circuit modules 60 .
[0035] Furthermore, the input and output board includes 12 input threshold management circuits.
[0036] Furthermore, the input / output board includes 12 output circuit modules 40 .
[0037] Working Principle: After the signal from the input circuit module 60 reaches the input threshold management circuit module 51, it passes through a voltage comparator circuit. Only when the input threshold voltage exceeds the set threshold voltage does the input signal reach the main control unit module 10, at which point the main control unit module 10 can process the input signal. The output signal from the main control unit module 10 first reaches the output amplitude control circuit module 30, and after amplification, reaches the signal output terminal of the output circuit module 40.
[0038] Through the communication circuit module 70, the main control unit module 10 can receive instructions from the outside:
[0039] The instructions include:
[0040] 1. Set the signal amplitudes of all output circuit modules 40: This command is sent by an external device to the communication circuit module 70, which then forwards it to the main control unit module 10. Upon receiving the command, the main control unit module 10 sets the output amplitude of the output amplitude control circuit module 30 within a range of 0V-15V.
[0041] 2. Set the operating mode for a channel: This command is sent by an external device to the communication circuit module 70, which then forwards it to the main control unit module 10. Upon receiving the command, the main control unit module 10 sets the operating mode for that channel. Each channel can have its own operating mode, including trigger mode and PWM mode.
[0042] 3. Set the trigger condition for a channel: The command is sent by the external device to the communication circuit module 70, which forwards the command to the main control unit module 10. After receiving the command, the main control unit module 10 sets the trigger condition for the channel, including rising edge trigger, falling edge trigger, and any edge trigger.
[0043] 4. Set the trigger result of a channel: The instruction is sent by the external device to the communication circuit module 70, and the communication circuit module 70 forwards the instruction to the main control unit module 10. After receiving the instruction, the main control unit module 10 sets the trigger result of the channel, including output high level or output low level.
[0044] 5. Set input signal threshold: This instruction is sent by the external device to the communication circuit module 70, which forwards the instruction to the main control unit module 10. After receiving the instruction, the main control unit module 10 sets the input signal threshold, which can be set in the range of 0V-15V.
[0045] 6. Set the output PWM frequency: This command is sent by the external device to the communication circuit module 70, which forwards the command to the main control circuit. After receiving the command, the main control unit module 10 sets the output PWM frequency, which can be set in the range of 1Hz-50KHz.
[0046] 7. Set the output PWM duty cycle: This command is sent by the external device to the communication circuit module 70, which forwards the command to the main control unit module 10. After receiving the command, the main control unit module 10 sets the output PWM duty cycle, which can be set in the range of 0%-100%.
[0047] The board works in PWM mode: users can send instructions through external devices to make channel 1 work in PWM mode. At the same time, users can set the input signal threshold, output signal amplitude, output PWM frequency and output PWM duty cycle.
[0048] Suppose a user connects a PWM signal to the input circuit module 60. When the output signal amplitude of the input circuit module 60 exceeds a set threshold, the main control unit module 10 detects this signal. After performing data analysis, the main control unit module 10 transmits the detected information to an external device via the communication circuit module 70. The output circuit module 40 then outputs a PWM waveform with a specified frequency and duty cycle based on the user-set output signal amplitude, output PWM frequency, and output PWM duty cycle. The output amplitude is the user-set output signal amplitude.
[0049] The board operates in trigger mode: Users can send commands through an external device to enable channel 1 to operate in trigger mode. The user can also set the input signal threshold, output signal amplitude, trigger conditions, and trigger results. In trigger mode, the input circuit module 60 serves as the trigger source input, and the output circuit module 40 serves as the trigger result output.
[0050] Assume that the user sets the trigger condition for the first group of channels to a rising edge, the trigger result is a high-level output, the input signal threshold is 1.3V, and the output signal amplitude is 5V. Initially, if the input signal is lower than 1.3V, the output of the output circuit module 40 remains at 0V. When the input signal rises above 1.3V, the output of the output circuit module 40 rises to 5V because the trigger condition is met.
[0051] Assume that the user sets the trigger condition for the first group of channels to a falling edge, the trigger result is a low-level output, the input signal threshold is 1.3V, and the output signal amplitude is 5V. Initially, if the input signal is higher than 1.3V, the output of the output circuit module 40 remains at 5V. When the input signal drops below 1.3V, the output of the output circuit module 40 drops to 0V because the trigger condition is met.
[0052] The above description is merely a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in 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. An input and output board, characterized in that: include: Main control unit module; A plurality of slave control unit modules, wherein the slave control unit modules are electrically connected to the master control unit module via an SPI bus; an output amplitude control circuit module, the output amplitude control circuit module being electrically connected to the main control unit module; a plurality of output circuit modules, each of which is electrically connected to the output amplitude control circuit module; A plurality of input threshold management circuit modules, each of the slave control units being connected to signal output terminals of two of the input threshold management circuit modules; a plurality of input circuit modules, each of the input circuit modules being electrically connected to one of the input threshold management circuit modules; and A communication circuit module is electrically connected to the main control unit module via a CAN bus.
2. The input / output board according to claim 1, wherein: The output amplitude of the output amplitude control circuit module is 0V-15V.
3. The input / output board according to claim 1, wherein: The input threshold value of the input threshold value management circuit module is 0V-66V.
4. The input / output board according to claim 1, wherein: The input and output board includes 12 input circuit modules.
5. The input / output board according to claim 4, wherein: The input and output board includes 12 input threshold management circuits.
6. The input / output board according to claim 1, wherein: The input and output board includes 12 output circuit modules.