A multi-channel automatic switching device
The automatic switching of multi-channel modules is achieved through MCU processing circuits and relay circuits, which solves the problem of low efficiency in manual testing, improves the accuracy and efficiency of testing, and is suitable for industrial electronic manufacturing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- ZHONGKONG TECH CO LTD
- Filing Date
- 2025-06-18
- Publication Date
- 2026-06-30
Smart Images

Figure CN224436469U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the technical field of industrial electronic manufacturing, and in particular relates to a multi-channel automatic switching device. Background Technology
[0002] Currently, most multi-channel module testing relies on manual operation, meaning testers need to test each channel of the module individually. This traditional manual testing method not only significantly extends the overall testing time and reduces testing efficiency, but also places extremely high demands on the professional skills and proficiency of the operators. Even slight carelessness can lead to deviations or errors in the test results. Utility Model Content
[0003] The purpose of this invention is to provide a multi-channel automatic switching device that can realize the automatic channel switching function during multi-channel module testing.
[0004] To solve the above problems, the technical solution of this utility model is as follows:
[0005] A multi-channel automatic switching device includes: an MCU processing circuit, a system power supply voltage regulator circuit, a serial communication circuit, a latch circuit, a relay circuit, and an I / O port indicator light circuit;
[0006] The MCU processing circuit interacts with the PC via a serial communication circuit. The MCU processing circuit is electrically connected to the latch circuit, the latch circuit is electrically connected to the relay circuit, the relay circuit is electrically connected to the MCU processing circuit, and the MCU processing circuit is electrically connected to the I / O port indicator circuit. The system power supply voltage regulator circuit is electrically connected to the MCU processing circuit.
[0007] According to one embodiment of the present invention, the serial communication circuit is used to realize reliable communication between the MCU processing circuit and a PC with a standard RS232 device.
[0008] According to one embodiment of the present invention, the MCU processing circuit is used to receive and process instructions issued by the PC, and to achieve channel switching by adjusting the level of the IO port.
[0009] According to one embodiment of the present invention, pins 25, 26, 27, and 28 of the MCU chip in the MCU processing circuit are connected to the enable pins of the latch in the latch circuit, and pins 11-17 of the MCU chip are connected to the input pins of the latch.
[0010] According to one embodiment of the present invention, the latch circuit is used to assist the MCU processing circuit in controlling the relay in the relay circuit to complete the switching of the switching state.
[0011] According to one embodiment of the present invention, the latch circuit includes a latch chip and a driver chip. Pins 16-19 of the latch chip are respectively connected to pins 4-1 of the driver chip. The latch chip converts a high level to a low level through the driver chip to control the relay.
[0012] According to one embodiment of the present invention, an LED is connected in parallel between pins 1 and 8 of each relay in the relay circuit, and pin 8 of the relay is connected to the output terminal of the driver chip.
[0013] When the output of the driver chip is low, the coils of pins 1 and 8 of the relay are energized, and pins 3 and 4 of the relay are energized with pins 5 and 6 respectively, thereby closing a certain channel. At the same time, the LED lights up to indicate that the channel has been opened.
[0014] When the output of the driver chip is high, the coils of pins 1 and 8 of the relay are not energized, and pins 2 and 3 of the relay, as well as pins 6 and 7, are closed respectively, disconnecting the channel. At the same time, the LED light goes out, indicating that the channel has been closed.
[0015] According to one embodiment of the present invention, a diode is connected in parallel across the two ends of the LED lamp to prevent the LED lamp from being reverse-biased and broken down.
[0016] According to one embodiment of the present invention, the IO port indicator circuit is connected to the IO port via LEDs to display the current status of the IO port in real time.
[0017] According to one embodiment of the present invention, a resistor is connected in series with the positive terminal of the LED to prevent the LED from being damaged.
[0018] Because of the adoption of the above technical solution, this utility model has the following advantages and positive effects compared with the prior art:
[0019] This utility model presents a multi-channel automatic switching device that optimizes the existing manual channel switching process for multi-channel testing. It achieves automatic switching through an MCU, latches, relays, and other components, transforming the previously cumbersome manual, one-by-one testing approach into an advanced and efficient automatic channel testing mode. This not only shortens the testing cycle and improves the reliability and accuracy of testing, but also allows testers to handle more testing tasks in parallel, thus improving overall work efficiency. Attached Figure Description
[0020] Figure 1 This is a schematic diagram of a multi-channel automatic switching device in one embodiment of the present invention;
[0021] Figure 2This is a schematic diagram of the MCU processing circuit in one embodiment of the present invention;
[0022] Figure 3 This is a schematic diagram of a serial communication circuit in one embodiment of the present invention;
[0023] Figure 4 This is a schematic diagram of a latch circuit in one embodiment of the present invention;
[0024] Figure 5 This is a schematic diagram of a relay circuit in one embodiment of the present invention;
[0025] Figure 6 This is a schematic diagram of the IO port indicator circuit in one embodiment of the present invention. Detailed Implementation
[0026] The following detailed description, in conjunction with the accompanying drawings and specific embodiments, provides a multi-channel automatic switching device according to this utility model. The advantages and features of this utility model will become clearer from the following description and claims.
[0027] The existing multi-channel module testing solution involves manually testing each channel one by one. Operators need to use an external calibrator to test each channel individually, comparing the calibrator results with the standards required in the process specification to check for compliance, and so on, until all channel signals are tested. Afterwards, additional software is needed to test other module functions, such as HART and power functions.
[0028] Existing technologies have drawbacks; this testing scheme is cumbersome and time-consuming, especially when there are many multi-channel modules and strict testing requirements, where the efficiency bottleneck is particularly prominent. Testing each channel requires the full participation and monitoring of testers, which not only increases the workload of testers but also limits the parallel processing capabilities of the testing work.
[0029] To address the aforementioned issues, this embodiment provides a multi-channel automatic switching device that enables automatic switching between multiple channels during the testing process. This circuit is optimized for the testing process, utilizing an MCU, latches, relays, and other components to achieve automatic switching. This transforms the previously cumbersome manual, one-by-one testing approach into an advanced and efficient channel-based automatic testing mode. This solution not only shortens the testing cycle and improves testing reliability and accuracy but also allows testers to handle more testing tasks in parallel, thus improving overall work efficiency.
[0030] Please refer to Figure 1 The multi-channel automatic switching device includes: MCU processing circuit, system power supply voltage regulator circuit, serial communication circuit, latch circuit, relay circuit and IO port indicator circuit;
[0031] The MCU processing circuit interacts with the PC via a serial communication circuit. The MCU processing circuit is electrically connected to the latch circuit, the latch circuit is electrically connected to the relay circuit, the relay circuit is electrically connected to the MCU processing circuit, and the MCU processing circuit is electrically connected to the I / O port indicator circuit. The system power supply voltage regulator circuit is electrically connected to the MCU processing circuit.
[0032] For details, please refer to Figure 2 The MCU processing circuit is responsible for receiving and processing instructions from the PC host computer, and realizing automatic switching function by controlling the high and low level changes of the IO ports. For example, the enable of the SN74HC573 latch in the latch circuit is controlled by the MCU's pins 25, 26, 27, and 28, and the input of the latch is controlled by the MCU's pins 11-17.
[0033] like Figure 3 As shown, the serial communication circuit is responsible for enabling reliable communication between the microcontroller (MCU) and the standard RS-232 device (PC). The MAX3232 RS-232 transceiver chip performs bidirectional conversion between TTL / CMOS and RS-232 levels.
[0034] like Figure 4 As shown, the latch circuit assists the MCU in controlling different relays to complete the switching of their states. This latch circuit includes a latch chip SN74HC573 and a driver chip ULN2003. Pins 16-19 of the latch chip are connected to pins 4-1 of the driver chip, respectively. The latch chip converts a high level to a low level through the driver chip to control the relay.
[0035] When pin 1 of the SN74HC573 latch is pulled low and pin 11 is pulled high, output pins 12-19 will change according to the input pins 2-9; when pin 11 is pulled low, output pins 12-19 will remain in their current state. When the SN74HC573 outputs a high level, it is turned low by the ULN2003, thereby controlling the relay and realizing the function of driving a large voltage with a small voltage.
[0036] like Figure 5As shown, the relay circuit includes multiple relays responsible for controlling the on / off state of different channels, realizing multi-channel switching functionality. Relay pin 8 is connected to the output of the ULN2003. When the ULN2003 output is low, the coils at pins 1 and 8 are energized, and relay pins 3 and 4, along with pins 5 and 6, are engaged, closing a specific channel. Simultaneously, the LED illuminates, indicating that the channel is open. When the ULN2003 output is high (24V), the coils at pins 1 and 8 are de-energized, and relay pins 2 and 3, along with pins 6 and 7, are closed, disconnecting the channel and eliminating interference to other channels. The LED turns off, indicating that the channel is closed. Additionally, an SS14 diode is connected in parallel across the LED to protect the circuit and prevent reverse voltage damage to the LED.
[0037] like Figure 6 As shown, the IO port indicator circuit uses LEDs connected to the IO ports to display the current status of the IO ports in real time. At the same time, a protective resistor is added to prevent the LEDs from being damaged.
[0038] The aforementioned multi-channel automatic switching device improves automation in the electronic manufacturing process of industrial production, enhancing the accuracy and reliability of testing; it enables operators to handle more test tasks in parallel, greatly improving testing efficiency; it enhances testing flexibility and scalability, employing a modular design that allows for flexible configuration and expansion according to different testing needs; as the types and quantities of cards under test continue to increase, the device can be adjusted and upgraded to meet more new testing requirements; and it is suitable for batch module testing in electronic manufacturing.
[0039] The embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to the above embodiments. Even if various changes are made to the present invention, if these changes fall within the scope of the claims of the present invention and their equivalents, they shall still fall within the protection scope of the present invention.
Claims
1. A multi-channel automatic switching device, characterized in that, include: MCU processing circuit, system power supply voltage regulator circuit, serial communication circuit, latch circuit, relay circuit and I / O port indicator circuit; The MCU processing circuit interacts with the PC via a serial communication circuit. The MCU processing circuit is electrically connected to the latch circuit, the latch circuit is electrically connected to the relay circuit, the relay circuit is electrically connected to the MCU processing circuit, and the MCU processing circuit is electrically connected to the I / O port indicator circuit. The system power supply voltage regulator circuit is electrically connected to the MCU processing circuit.
2. The multi-channel automatic switching device as described in claim 1, characterized in that, The serial communication circuit is used to enable reliable communication between the MCU processing circuit and a PC with a standard RS232 device.
3. The multi-channel automatic switching device as described in claim 1, characterized in that, The MCU processing circuit is used to receive and process instructions issued by the PC, and to switch channels by adjusting the level of the IO port.
4. The multi-channel automatic switching device as described in claim 1, characterized in that, In the MCU processing circuit, pins 25, 26, 27, and 28 of the MCU chip are connected to the enable pins of the latch circuit, and pins 11-17 of the MCU chip are connected to the input pins of the latch.
5. The multi-channel automatic switching device as described in claim 1, characterized in that, The latch circuit is used to assist the MCU processing circuit in controlling the relays in the relay circuit to complete the switching of the switching state.
6. The multi-channel automatic switching device as described in claim 5, characterized in that, The latch circuit includes a latch chip and a driver chip. Pins 16-19 of the latch chip are connected to pins 4-1 of the driver chip, respectively. The latch chip converts a high level to a low level through the driver chip to control the relay.
7. The multi-channel automatic switching device as described in claim 6, characterized in that, The relay An LED is connected in parallel between pins 1 and 8 of each relay in the circuit, and pin 8 of the relay is connected to the output terminal of the driver chip. When the output of the driver chip is low, the coils of pins 1 and 8 of the relay are energized, and pins 3 and 4 of the relay are energized with pins 5 and 6 respectively, thereby closing a certain channel. At the same time, the LED lights up to indicate that the channel has been opened. When the output of the driver chip is high, the coils of pins 1 and 8 of the relay are not energized, and pins 2 and 3 of the relay, as well as pins 6 and 7, are closed respectively, disconnecting the channel. At the same time, the LED light goes out, indicating that the channel has been closed.
8. The multi-channel automatic switching device as described in claim 7, characterized in that, A diode is connected in parallel across the two ends of the LED to prevent the LED from being reverse-biased and broken down.
9. The multi-channel automatic switching device as described in claim 1, characterized in that, The IO port indicator circuit is connected to the IO port via LEDs to display the current status of the IO port in real time.
10. The multi-channel automatic switching device as described in claim 9, characterized in that, A resistor is connected in series with the positive terminal of the LED to prevent the LED from being damaged.