A multi-channel digital input module
By employing a three-state detection and dual redundancy design for the multi-channel digital input module, the problems of single state detection, insufficient number of channels, and weak anti-interference capability of existing digital input modules are solved, achieving high reliability and stability in industrial environments.
Patent Information
- Application Number
- CN202522811439.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-30
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2035-12-30
AI Technical Summary
Existing digital input modules have limited status detection functions, insufficient number of channels, low communication and power supply reliability, and weak anti-interference capabilities, making them difficult to meet the high requirements of complex industrial scenarios.
It adopts a main control unit, a digital input unit, dual CAN communication units, a status indication unit, a three-state detection unit, and a dual power supply unit, combined with a protection unit, to realize three-state detection, dual bus redundancy design, and dual power supply redundancy, thereby enhancing anti-interference capability and fault detection accuracy.
It achieves accurate three-state identification of input signals, ensuring the continuity and reliability of data transmission, reducing the difficulty of troubleshooting and maintenance costs, and improving adaptability and stability in industrial environments.
Smart Images

Figure CN225032366U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to a multi-channel digital input module that supports multiple channels and has functions for wire breakage detection and status diagnosis, belonging to the field of signal acquisition technology in industrial automation control systems. Background Technology
[0002] In industrial automation control systems, digital input modules are core components that connect passive switching devices (such as pushbuttons, limit switches, proximity switches, etc.) in the field with the main control system. They are widely used in intelligent manufacturing production lines, industrial equipment monitoring, automated production lines, and other scenarios. Their core function is to collect the on / off signals of passive switches and transmit them to the main control system, providing basic data for equipment operation control and status monitoring. Their performance directly affects the reliability and stability of the entire control system. However, existing digital input modules have obvious shortcomings in practical applications and are difficult to adapt to the high requirements of complex industrial scenarios.
[0003] The shortcomings of traditional digital input modules are particularly prominent: First, their status detection function is limited, with most only able to identify "on" and "off" states, failing to detect line breakage faults, leading to difficulties in troubleshooting and low maintenance efficiency after a fault occurs; second, the number of detection channels is limited, commonly 8 or 16 channels, which is insufficient to meet the needs of simultaneous acquisition of multiple switch signals in large industrial equipment; third, redundancy design is lacking, with communication often using a single bus mode and power supply using a single power supply mode, meaning that a bus or power supply failure will directly lead to signal transmission interruption or module shutdown, severely affecting system continuity; fourth, their anti-interference and protection capabilities are weak, with complex environments such as static electricity, surges, and electromagnetic interference in industrial sites easily causing module signal acquisition errors, and the lack of a sound reverse connection protection and isolation protection mechanism results in a high module failure rate. Summary of the Invention
[0004] This invention aims to solve the technical problems of existing digital input modules, such as single status detection, insufficient number of channels, low communication and power supply reliability, and weak anti-interference ability. It provides a multi-channel digital input module with three-state acquisition function, multiple channels, high redundancy, and strong protection.
[0005] To address the aforementioned technical issues, this utility model provides a multi-channel digital input module, comprising a main control unit, digital input units communicatively connected to the main control unit, a dual CAN communication unit, a status indicator unit, and a tri-state detection unit. The main control unit can send configuration parameters to the digital input units and the dual CAN communication unit via an SPI interface, and can read the signal and current data transmitted by the digital input units in real time. It then combines the judgment logic of the tri-state detection unit to output tri-state results, package them, and interact with external systems via the dual CAN communication unit. A protection unit is connected between the digital input units and the tri-state detection unit. The main control unit is also connected to a dual power supply unit and can monitor the operating status of the dual power supply unit and the protection unit, trigger fault switching or protection commands, and control the status indicator unit to provide feedback on the operating conditions.
[0006] The digital input unit uses four MAX22190 chips. The eight input channels of each MAX22190 chip correspond to the modules DI1~DI8, DI9~DI16, DI17~DI24, and DI25~DI32 terminals, respectively. The VCC pin of the MAX22190 chip is connected to a DC24V field power supply. The SPI interface of the MAX22190 chip is connected to the SPI interface of the main control unit through an NSI8260W0-DSWR isolation chip. A 1.5kΩ current-limiting resistor is connected in series between the input terminal and the input pin of the MAX22190 chip.
[0007] The protection unit includes an NSI8260W0-DSWR isolated SPI chip, an NSI8240W1-DSWR isolated chip, a TVS diode, a discharge diode, and a reverse connection protection diode. The digital input unit is connected to the NSI8260W0-DSWR isolated SPI chip of the protection unit through the SPI interface to synchronously transmit digital signals and current data to the main control unit.
[0008] The three-state detection unit includes an external diagnostic resistor connected in series in each input channel and a detection chip. The diagnostic resistor can convert the field power supply into an input current that can be detected by the detection chip. The detection chip monitors the current in real time and feeds the data back to the main control unit.
[0009] The dual power supply unit consists of two independent DC-DC power modules, reverse polarity protection diodes, filter capacitors, and a voltage monitoring chip. The 24V1 and 0V pins of the POWER1 terminal of one DC-DC power module are connected to the output of the first power module, and the 24V2 and 0V pins of the POWER2 terminal of the other DC-DC power module are connected to the output of the second power module. The outputs of the two DC-DC power modules are connected in parallel and then converted to 3.3V and 5V voltages by a voltage regulator chip. The input terminal of the voltage monitoring chip is connected to the output terminal of the DC-DC power module, and the output terminal of the voltage monitoring chip is connected to the GPIO port of the main control unit.
[0010] The NSI8260W0-DSWR chip is connected in series in the SPI circuit between the main control unit and the digital input unit. Two NSI8240W1-DSWR isolation chips are connected in series in the CS chip select and READY pins of the SPI signal circuit, respectively, to achieve full-link electrical isolation of the SPI circuit, block interference transmission, and not affect the real-time performance of the signal. The TVS diode and the discharge diode are connected in parallel at the CAN terminal, the input terminal, and the power terminal. The reverse connection protection diode is connected in series in the power circuit.
[0011] The core of the main control unit adopts an STM32G0B1CBT6 microcontroller. The SPI interface of the STM32G0B1CBT6 microcontroller is connected to the MAX22190 chip through an isolation chip. The CAN interface is connected to the dual CAN bus transceivers. The I / O ports are connected to the five indicator lights of the status indicator unit and the fault detection pin of the protection unit. The power supply pin is connected to the regulated output of the dual power supply unit.
[0012] The dual CAN communication unit consists of two ADM3053 CAN transceivers, CAN bus protection devices, and terminals. The TXD and RXD pins of one ADM3053 CAN transceiver are connected to the PA12 and PA11 pins of the main control unit, respectively. The TXD and RXD pins of the other ADM3053 CAN transceiver are connected to the PB0 and PB1 pins of the main control unit, respectively. The VCC pins of both ADM3053 isolated CAN transceivers are connected to a 5V power supply. Both CAN buses simultaneously transmit the same data, achieving redundant data transmission. The dual CAN communication unit is the core channel for reliable bidirectional data interaction between the module and the external main control system, and the dual-bus redundancy design ensures communication continuity.
[0013] The tri-state detection unit consists of an external diagnostic resistor connected in series with each input channel and a current detection circuit built into the MAX22190 detection chip. One end of the diagnostic resistor is connected to the positive terminal of the DC24V field power supply, and the other end is connected to the common point of the channel, forming a series connection with the input loop. The field power supply generates a standard input current through the diagnostic resistor. The current detection circuit built into the MAX22190 detection chip monitors the loop current of each channel in real time, converts the current value into a digital quantity, and stores it in the chip's internal register for the main control unit to read. The main control unit reads the current data in the register and combines it with a preset threshold to complete the tri-state determination.
[0014] The advantages of this utility model are: This invention uses the main control unit as its core hub. The dual power supply unit first connects to a wide DC 18-36V voltage range, and after reverse connection protection and filtering, supplies power to all units while simultaneously feeding back the power supply status to the main control unit. After power-on, the main control unit completes initialization, configuring the parameters of the digital input unit and dual CAN communication unit via the SPI interface (through the isolation chip of the protection unit), and synchronously setting the drive logic of the status indicator unit. The digital input unit connects to field passive switch signals via terminals, which are filtered and converted into digital and current data by the MAX22190 chip and transmitted to the main control unit. The three-state detection unit relies on the diagnostics of the input units. The resistor and detection chip are controlled by the main control unit to determine the three states of "conduction-disconnection-break". The main control unit packages the processed data according to the CAN2.0A protocol and transmits it to the external system through dual CAN communication. At the same time, it receives external commands and feeds them back to the main control unit. When the dual CAN communication unit encounters a fault, it automatically switches the bus. The protection unit provides isolation, anti-static and surge protection throughout the process and feeds back fault signals. The status indication unit is controlled by the main control unit and provides real-time feedback on the dual power supply, module operation and dual CAN communication status, forming a closed-loop collaborative mechanism of "power supply-acquisition-diagnosis-transmission-protection-feedback" to ensure the stable and reliable operation of the module. Attached Figure Description
[0015] Figure 1 This is a schematic diagram of the principle of the multi-channel digital input module of this utility model; Figure 2 This is a schematic diagram of the main control unit circuit of the multi-channel digital input module of the present invention; Figure 3 This is a schematic diagram of the digital input unit circuit of the multi-channel digital input module of this utility model; Figure 4 This is a schematic diagram of the dual CAN communication unit circuit of the multi-channel digital input module of this utility model.
[0016] Figure 5 This is a circuit diagram of the dual power supply unit of the multi-channel digital input module of this utility model.
[0017] Figure 6 This is a schematic diagram of the three-state detection unit circuit of the multi-channel digital input module of this utility model.
[0018] Figure 7 This is a schematic diagram of the protection unit circuit of the multi-channel digital input module of this utility model. Detailed Implementation
[0019] The multi-channel digital input module of this utility model will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0020] like Figure 1 As shown, the multi-channel digital input module of this utility model includes a main control unit, a digital input unit, a dual CAN communication unit, a status indicator unit, a three-state detection unit, a dual power supply unit, and a protection unit. The main control unit can send configuration parameters to the digital input unit and the dual CAN communication unit through the SPI interface and read the signal and current data transmitted by the digital input unit in real time. It also outputs the three-state result in combination with the judgment logic of the three-state detection unit, packages it, and interacts with the outside through the dual CAN communication unit. The protection unit is connected between the digital input unit and the three-state detection unit. The main control unit is also connected to the dual power supply unit and can monitor the working status of the dual power supply unit and the protection unit through the main control unit, trigger fault switching or protection commands, and control the status indicator unit to provide feedback on the working condition.
[0021] The digital input unit uses four MAX22190 chips. The eight input channels of each MAX22190 chip correspond to the modules DI1~DI8, DI9~DI16, DI17~DI24, and DI25~DI32 terminals, respectively. The VCC pin of the MAX22190 chip is connected to a DC24V field power supply. The SPI interface (CS, SCK, MOSI, MISO) of the MAX22190 chip is connected to the SPI interface of the main control unit through the NSI8260W0-DSWR isolation chip. Each input channel is connected in series with a 1.5kΩ current-limiting resistor. This allows the digital input unit to receive the field passive switch signal through the common point of the terminals and the DI passive access point. The four MAX22190 chips filter the signal to remove interference and convert the analog on / off signal into a digital value. Through the SPI interface (via the isolation chip of the protection unit), the digital signal and current data are synchronously transmitted to the main control unit to provide basic data for the three-state detection unit.
[0022] The three-state detection unit includes a diagnostic resistor and a detection chip connected in series in each input channel. The diagnostic resistor converts the field power supply into an input current detectable by the detection chip, which monitors this current in real time and feeds the data back to the main control unit. Figure 6As can be seen, the three-state detection unit consists of an external 82KΩ diagnostic resistor connected in series with each input channel and the current detection circuit built into the MAX22190 detection chip. One end of the diagnostic resistor is connected to the positive terminal of the DC24V field power supply, and the other end of the diagnostic resistor is connected to the common point of the channel, forming a series connection with the input loop. The field power supply generates a standard input current of 300µA through the 82KΩ diagnostic resistor. The current detection circuit built into the MAX22190 detection chip monitors the loop current of each channel in real time, converts the current value into a digital quantity, and stores it in the chip's internal register for the main control unit to read. The main control unit reads the current data in the register and combines it with a preset threshold to complete the three-state determination. The core function of the three-state detection unit is to break through the limitations of traditional two-state detection and achieve accurate identification of the three states of the input signal: "conduction", "discontinuity", and "breakdown". Its operation relies on the collaboration of an external diagnostic resistor and a digital input unit: the diagnostic resistor first converts the field power supply into an input current that the chip can detect. The chip monitors the current in real time and feeds the data back to the main control unit. The main control unit determines the state according to preset rules: when the current is stable, it is determined to be "conduction state" (corresponding to the passive switch being closed and the signal circuit being complete); when the current is 0, it is determined to be "discontinuity state" (corresponding to the passive switch being normally opened and the circuit being broken); when the current is below the set breakdown threshold for more than 20ms, it is determined to be "breakdown state" (corresponding to signal line breakage, poor contact, and other fault-type breakdowns). This design can accurately distinguish between normal continuity and fault breakdown, solving the pain point of traditional modules being unable to identify line faults.
[0023] The dual CAN communication unit consists of two ADM3053 CAN transceivers, CAN bus protection devices, and terminals. The TXD and RXD pins of one ADM3053 CAN transceiver are connected to the PA12 and PA11 pins of the main control unit, respectively. The TXD and RXD pins of the other ADM3053 CAN transceiver are connected to the PB0 and PB1 pins of the main control unit, respectively. The VCC pins of both ADM3053 isolated CAN transceivers are connected to a 5V power supply. The dual CAN communication unit is the core channel for reliable bidirectional data exchange between the module and the external main control system. A dual-bus redundancy design ensures communication continuity. The dual CAN communication unit first receives the packaged tri-state detection results and module operating status data from the main control unit, according to CAN 2.0A... After the protocol completes frame format encapsulation, it is transmitted synchronously through two buses. At the same time, it monitors the control commands issued by the external master control system in real time. After filtering out invalid interference frames by the built-in filter, the valid commands are transmitted to the master control unit for execution. When a fault such as disconnection or signal interference occurs on one of the buses, the unit will immediately report the fault signal to the master control unit. The master control unit will then trigger the redundancy switching logic to seamlessly switch to another normal bus to continue communication, avoiding data transmission interruption and comprehensively ensuring the real-time performance and reliability of data transmission in industrial scenarios.
[0024] The dual power supply unit consists of two independent DC-DC power modules, reverse polarity protection diodes, filter capacitors, and voltage monitoring chips. The 24V1 and 0V pins of the POWER1 terminal of one DC-DC power module are connected to the output of the first power module, and the 24V2 and 0V pins of the POWER2 terminal of the other DC-DC power module are connected to the output of the second power module. Both DC-DC power modules output 5V voltage, and these two 5V outputs are connected in parallel to integrate into a stable 5V power supply bus. This 5V bus directly powers components that require 5V power, such as the dual CAN communication unit, and is also converted to 3.3V voltage by a voltage regulator chip (AMS1117-3.3V) to power functional units that require 3.3V power, such as the main control unit and digital input unit. The dual power supply unit is the core energy source for the stable operation of the module. It adopts a dual-redundancy design to ensure continuous power supply in industrial scenarios. The dual power supply unit first uses a built-in reverse connection protection circuit to prevent hardware burnout caused by reverse polarity connection. Then, the filter circuit filters out ripple and surge voltage in the power supply and outputs a stable DC voltage to power all core components such as the main control unit, digital input unit, dual CAN communication unit, protection unit, and status indicator unit. It is the energy foundation for the full-function operation of the module. At the same time, the unit feeds back the input voltage and operating status data of the two power supplies to the main control unit in real time. The main control unit continuously monitors the power supply stability. When a fault such as a line break occurs in one power supply, the main control unit immediately triggers the redundancy switching logic to seamlessly cut off the faulty circuit. The other normal power supply takes over all power supply tasks, ensuring that the module will not stop due to a single power supply failure and further improving the overall anti-interference capability of the module.
[0025] The protection unit includes an NSI8260W0-DSWR isolated SPI chip, two NSI8240W1-DSWR isolation chips, a TVS diode, a discharge diode, and a reverse connection protection diode. The digital input unit connects to the NSI8260W0-DSWR isolated SPI chip in the protection unit via an SPI interface to synchronously transmit digital signals and current data to the main control unit. The two NSI8240W1-DSWR isolation chips are connected in series in the CS chip select and READY pins of the SPI signal loop, respectively, to achieve full-link electrical isolation, blocking interference conduction without affecting signal real-time performance. The TVS diode and discharge diode are connected in parallel at the CAN terminal, input terminal, and power terminal to quickly absorb static electricity and surge energy, limiting terminal voltage within a safe range. The reverse connection protection diode is connected in series in the power circuit to prevent reverse power connection from burning out the hardware. When the protection unit triggers protection, it feeds back a fault signal to the main control unit via GPIO. The main control unit records the fault information and triggers emergency logic such as alarms and pauses data acquisition, constructing a protection system covering the entire signal, communication, and power link to ensure stable module operation. The status indicator unit includes 5 LED indicators (2 white, 1 green, and 2 blue) and a 3kΩ current-limiting resistor. The anode of the indicator is connected to a 5V power supply through the current-limiting resistor, and the cathode is connected to the GPIO port of the main control unit. PW1 (white) corresponds to the POWER1 power supply, PW2 (white) corresponds to the POWER2 power supply, RUN (green) corresponds to the module operating status, CAN1 (blue) corresponds to the CAN1 bus communication status, and CAN2 (blue) corresponds to the CAN2 bus communication status. The status indicator unit is controlled by the main control unit. According to the status of the dual power supply units, PW1 / PW2 will be constantly lit (normal power supply) or off (fault). According to the operating status of the main control unit, RUN will flash green (normal) or show an abnormality. According to the status of the dual CAN communication units, CAN1 / CAN2 will flash blue (normal communication) or off (fault), providing intuitive feedback on the module's operating status.
[0026] The core of the main control unit uses an STM32G0B1CBT6 microcontroller. The STM32G0B1CBT6's SPI interface is connected to the MAX22190 chip via an isolation chip. The CAN interfaces (CAN1, CAN2) are connected to dual CAN bus transceivers. I / O ports are connected to the five indicator lights of the status indicator unit and the fault detection pin of the protection unit. The power pin is connected to the regulated output of the dual power supply unit. After the module is powered on, the STM32G0B1CBT6 microcontroller first completes clock configuration, GPIO port initialization, and SPI and CAN interface configuration. Then, it sends configuration commands sequentially to the four MAX22190 chips via the SPI interface, writing filter parameters, acquisition frequency, and enabling the disconnection detection function, setting the disconnection current threshold to 300µA. It reads the input status register and current monitoring register data from the MAX22190 chip, verifies the data for each channel, and determines a three-state condition according to preset logic: "conduction" is determined when the current is 16mA, and "conduction" is determined when the current is ≤10µA. When the current is less than 300µA and lasts for more than 20ms, it is determined as "disconnected". The three-state results are then integrated with the channel number and the acquisition timestamp into a 32-byte data frame.
[0027] The integrated data frame is encapsulated according to the CAN2.0A protocol and sent simultaneously through CAN1 and CAN2 buses. The CAN bus receive buffer is monitored in real time. When an external master control system command is received, the command parameters are parsed after verification by the filter, the acquisition frequency of the MAX22190 chip is reconfigured, and the command response is completed. The output voltage of the dual power supply unit is acquired in real time through the DC interface. When the voltage of one channel is lower than 18V or higher than 36V, the GPIO port is triggered to output a control signal, cut off the fault power supply circuit, and switch to the other power supply. When the surge and electrostatic trigger signals of the protection unit are received, the SPI data acquisition is immediately paused, the CAN bus transmission function is turned off, the RUN indicator light is kept on as an alarm, and the fault code is reported through the normal CAN bus.
[0028] The two contacts of the passive switching device in the field are connected to the common point of the corresponding channel (connected to the DC24V positive terminal) and the passive access point (connected to the input pin of the MAX22190 chip), forming a signal loop. When the switch is closed, the loop is open, and the chip's input pin receives a DC24V voltage; when the switch is open, the loop is closed, and the input pin has no voltage. The MAX22190 chip performs hardware low-pass filtering on the input voltage signal according to the filtering parameters configured by the main control unit, filtering out electromagnetic interference noise above 1kHz in the industrial environment to ensure signal stability.
[0029] The filtered analog voltage signal is converted into a digital quantity, and the channel loop current is collected by the chip's built-in current detection circuit and converted into a digital quantity. According to the acquisition instructions of the main control unit, the digital signal and current data are transmitted to the main control unit in batches through the SPI interface, with a transmission delay of ≤1ms.
[0030] This utility model uses a main control unit as its core, with each unit working together to form a closed-loop workflow of "power supply - acquisition - diagnosis - transmission - protection - feedback": the dual power supply unit provides stable power to all units after preprocessing; the main control unit completes initialization and configures the parameters of each unit; the digital input unit receives field signals and converts them into digital quantities and current data; the three-state detection unit uses a reference current to determine "conduction-disconnection-breakage"; the dual CAN communication unit completes data interaction and fault switching through a redundant bus; the protection unit provides isolation, anti-static surge, and reverse connection protection; and the status indicator unit provides visual feedback on the operating status through indicator lights. The core advantages of the module are that it breaks through the limitations of traditional two-state detection, accurately locates line faults with three-state diagnosis, ensures continuous operation with dual bus and dual power supply redundancy design, enhances adaptability to industrial environments with multiple protection mechanisms, adapts to complex scenario requirements with high-density channels, and significantly reduces maintenance costs with visual status indication and fault recording, fully meeting the requirements of industrial automation for reliability, accuracy, and convenience.
[0031] Of course, the above description is not intended to limit the present utility model, and the present utility model is not limited to the examples given above. Any changes, modifications, additions or substitutions made by those skilled in the art within the scope of the present utility model should also fall within the protection scope of the present utility model.
Claims
1. A multi-channel digital input module, characterized in that: The system includes a main control unit, a digital input unit connected to the main control unit, a dual CAN communication unit, a status indicator unit, and a tri-state detection unit. The main control unit can send configuration parameters to the digital input unit and the dual CAN communication unit via the SPI interface, and can read the signal and current data transmitted by the digital input unit in real time. It can also output tri-state results based on the judgment logic of the tri-state detection unit, package them, and interact with the outside via the dual CAN communication unit. A protection unit is connected between the digital input unit and the tri-state detection unit. The main control unit is also connected to a dual power supply unit and can monitor the working status of the dual power supply unit and the protection unit, trigger fault switching or protection commands, and control the status indicator unit to provide feedback on the working condition.
2. The multi-channel digital input module according to claim 1, characterized in that: The digital input unit uses four MAX22190 chips. The eight input channels of each MAX22190 chip correspond to the modules DI1~DI8, DI9~DI16, DI17~DI24, and DI25~DI32 terminals, respectively. The VCC pin of the MAX22190 chip is connected to a DC24V field power supply. The SPI interface of the MAX22190 chip is connected to the SPI interface of the main control unit through an NSI8260W0-DSWR isolation chip. A 1.5kΩ current-limiting resistor is connected in series between the input terminal and the input pin of the MAX22190 chip.
3. The multi-channel digital input module according to claim 1 or 2, characterized in that: The protection unit includes an NSI8260W0-DSWR isolated SPI chip, an NSI8240W1-DSWR isolated chip, a TVS diode, a discharge diode, and a reverse connection protection diode. The digital input unit is connected to the NSI8260W0-DSWR isolated SPI chip of the protection unit through the SPI interface to synchronously transmit digital signals and current data to the main control unit.
4. The multi-channel digital input module according to claim 3, characterized in that: The three-state detection unit includes an external diagnostic resistor connected in series in each input channel and a detection chip. The diagnostic resistor can convert the field power supply into an input current that can be detected by the detection chip. The detection chip monitors the current in real time and feeds the data back to the main control unit.
5. The multi-channel digital input module according to claim 1, 2 or 4, characterized in that: The dual power supply unit consists of two independent DC-DC power modules, reverse polarity protection diodes, filter capacitors, and a voltage monitoring chip. The 24V1 and 0V pins of the POWER1 terminal of one DC-DC power module are connected to the output of the first power module, and the 24V2 and 0V pins of the POWER2 terminal of the other DC-DC power module are connected to the output of the second power module. The outputs of the two DC-DC power modules are connected in parallel and then converted to 3.3V and 5V voltages by a voltage regulator chip. The input terminal of the voltage monitoring chip is connected to the output terminal of the DC-DC power module, and the output terminal of the voltage monitoring chip is connected to the GPIO port of the main control unit.
6. The multi-channel digital input module according to claim 3, characterized in that: The NSI8260W0-DSWR chip is connected in series in the SPI circuit between the main control unit and the digital input unit. Two NSI8240W1-DSWR isolation chips are connected in series in the CS chip select and READY terminals of the SPI signal circuit, respectively. The TVS diode and the discharge diode are connected in parallel at the CAN terminal, the input terminal, and the power supply terminal. The reverse connection protection diode is connected in series in the power supply circuit.
7. The multi-channel digital input module according to claim 1, 2, 4 or 6, characterized in that: The core of the main control unit adopts an STM32G0B1CBT6 microcontroller. The SPI interface of the STM32G0B1CBT6 microcontroller is connected to the MAX22190 chip through an isolation chip. The CAN interface is connected to the dual CAN bus transceivers. The I / O ports are connected to the five indicator lights of the status indicator unit and the fault detection pin of the protection unit. The power supply pin is connected to the regulated output of the dual power supply unit.
8. The multi-channel digital input module according to claim 7, characterized in that: The dual CAN communication unit consists of two ADM3053 CAN transceivers, CAN bus protection devices, and terminals. The TXD and RXD pins of one ADM3053 CAN transceiver are connected to the PA12 and PA11 pins of the main control unit, respectively. The TXD and RXD pins of the other ADM3053 CAN transceiver are connected to the PB0 and PB1 pins of the main control unit, respectively. The VCC pins of both ADM3053 isolated CAN transceivers are connected to a 5V power supply.
9. The multi-channel digital input module according to claim 8, characterized in that: The three-state detection unit consists of an external diagnostic resistor connected in series with each input channel and a current detection circuit built into the MAX22190 detection chip. One end of the diagnostic resistor is connected to the positive terminal of the DC24V field power supply, and the other end is connected to the common point of the channel, forming a series connection with the input loop. The field power supply generates a standard input current through the diagnostic resistor. The current detection circuit built into the MAX22190 detection chip monitors the loop current of each channel in real time, converts the current value into a digital quantity, and stores it in the chip's internal register for the main control unit to read. The main control unit reads the current data in the register and combines it with a preset threshold to complete the three-state determination.
