A module connection switching circuit and apparatus

By combining the main control module, switching module, storage module and wireless communication module, automatic switching of SDIO signals is realized, which solves the problems of complex operation and low reliability in the existing technology, and improves switching efficiency and system stability.

CN225032464UActive Publication Date: 2026-11-27GUANGZHOU ZHOULIGONG SCM DEV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202522661673.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2025-12-16
Publication Date
2026-11-27
Estimated Expiration
2035-12-16

AI Technical Summary

Technical Problem

In existing technologies, switching SDIO signals using analog switches requires manual operation or occupies GPIO resources, resulting in high operational complexity and low reliability.

Method used

The system employs a combination of a main control module, a switching module, a storage module, and a wireless communication module. It automatically switches the SDIO signal through the module detection port, achieving automatic switching without manual or software intervention.

Benefits of technology

It improves the efficiency and reliability of SDIO signal switching, avoids the complexity of manual operation and resource consumption problems in traditional methods, and realizes automatic and fast channel switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN225032464U_ABST
    Figure CN225032464U_ABST
Patent Text Reader

Abstract

The utility model discloses a module connection switching circuit and equipment, module connection switching circuit includes: main control module, switching module, storage module and wireless communication module, the serial communication port of main control module is connected with the public port of switching module, the serial communication port of storage module is connected with the first channel port of switching module, the serial communication port of wireless communication module is connected with the second channel port of switching module, the module detection port of storage module is connected with the control port of switching module, the utility model discloses through introducing controllable switching module between main control module and multiple external module, realizes the automatic distribution and dynamic switching of serial communication link, the switching structure of the utility model not only reduces main control port resource occupation, still avoided the timing interference of traditional multiple interface design, wiring complex and interface idle problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This utility model relates to the field of serial communication, and in particular to a module connection switching circuit and device. Background Technology

[0002] Currently, in the development of industrial products, one SDIO signal can usually only connect to one SD card or one WIFI module. It is necessary to switch the connection of the SDIO signal by setting an analog switch in the circuit.

[0003] In existing technologies, if analog switches are manually operated, additional manual steps are required, increasing operational complexity. If software-controlled switching is used, GPIO resources are consumed and additional software code is added, leading to low system reliability. Existing analog switch solutions for SDIO signal switching suffer from cumbersome switching operations, high hardware resource consumption, and low reliability. Summary of the Invention

[0004] This invention provides a module connection switching circuit and device to solve the technical problem in the prior art that when a serial communication signal is connected to an SD card or wireless communication module, the switching operation is cumbersome and the reliability is low due to the reliance on analog switch switching.

[0005] In a first aspect, the present invention provides a module connection switching circuit, including: a main control module, a switching module, a storage module, and a wireless communication module; The serial communication port of the main control module is connected to the common port of the switching module; The first channel port of the switching module is connected to the serial communication port of the storage module, and the second channel port of the switching module is connected to the serial communication port of the wireless communication module. The module detection port of the storage module is connected to the control port of the switching module.

[0006] Secondly, embodiments of the present invention provide a module connection switching device, including the module connection switching circuit described in the first aspect.

[0007] The module connection switching circuit provided in this embodiment includes a main control module, a switching module, a storage module, and a wireless communication module. The serial communication port of the main control module is connected to the common port of the switching module, used to send control commands to the switching module. The first channel port of the switching module is connected to the serial communication port of the storage module, and the second channel port is connected to the serial communication port of the wireless communication module, used to selectively establish communication paths with the storage module or the wireless communication module according to the commands of the main control module. The module detection port of the storage module is connected to the control port of the switching module, used to feed back the status information of the storage module to the switching module, thereby assisting the switching module in switching paths and realizing reliable communication management between the main control module, the storage module, and the wireless communication module. Attached Figure Description

[0008] Figure 1 This is a circuit diagram of a module connection switching circuit commonly used in existing technologies.

[0009] Figure 2 This is a schematic diagram of a module connection switching circuit provided in an embodiment of the present utility model.

[0010] Figure 3 This is a schematic diagram of a module connection switching circuit with an indicator module provided for an embodiment of the present utility model.

[0011] Figure 4 This is a circuit diagram of an indicator module provided for an embodiment of the present utility model.

[0012] Figure 5 This is a circuit diagram of a module connection switching circuit with a pull-up resistor provided for an embodiment of the present invention.

[0013] Figure 6 This is a circuit diagram of a module connection switching circuit with a series terminating resistor provided for an embodiment of the present utility model.

[0014] Figure 7 This is a circuit diagram of a module connection switching circuit provided in an embodiment of the present utility model.

[0015] Figure 8 This is a schematic diagram of a module connection switching device provided in an embodiment of the present utility model. Detailed Implementation

[0016] To make the technical problems solved by this utility model, the technical solutions adopted, and the technical effects achieved clearer, the technical solutions of the embodiments of this utility model are further described in detail below. Obviously, the described embodiments are only some embodiments of this utility model, and not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.

[0017] In the description of this utility model, unless otherwise explicitly specified and limited, the terms "connected," "linked," and "fixed" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances.

[0018] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" of the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.

[0019] like Figure 1 As shown, Figure 1 This is a circuit diagram of a commonly used module connection switching circuit in existing technology, where U1 is the main control module, U2 is an analog switch, U3 is a WIFI module, and U4 is an SD card. The selection signal SEL of the analog switch U2 is controlled through the GPIO interface of the main control module U1. By changing the output level of the GPIO on the main control module U1, the SDIO signals of the WIFI module U3 and the SD card U4 connected to the analog switch U2 can be switched. Alternatively, the level of the SEL signal can be directly set using the shorting cap J1, thereby switching the connection state of the SDIO signal.

[0020] However, the existing circuit technology has defects. When the analog switch is switched manually, each switch requires manual operation, which increases the operation steps. When the switch is switched using software control, additional software code needs to be written, which consumes GPIO resources. Moreover, the switching reliability is not high, and the switching may fail due to software abnormalities or GPIO conflicts.

[0021] In summary, this study aims to address the technical problems in existing technologies, such as complex operation, high software resource consumption, and the inability to intuitively determine the signal status when switching SDIO signals connected to analog switches.

[0022] like Figure 2 As shown, this embodiment of the utility model provides a module connection switching circuit. Figure 2 This utility model provides a schematic diagram of a module connection switching circuit, which includes: a main control module 1, a switching module 2, a wireless communication module 3, and a storage module 4. The serial communication port of the main control module 1 is connected to the common port of the switching module 2; The first channel port of the switching module 2 is connected to the serial communication port of the storage module 4, and the second channel port of the switching module 2 is connected to the serial communication port of the wireless communication module 3. The module detection port of the storage module 4 is connected to the control port of the switching module 2.

[0023] In this embodiment, the module connection switching circuit includes a main control module 1, a switching module 2, a wireless communication module 3, and a storage module 4. The serial communication port of the main control module 1 is connected to the common port of the switching module 2 to achieve communication control of the switching module 2. The first channel port of the switching module 2 is connected to the serial communication port of the storage module 4 to transmit or receive data to or from the storage module 4; the second channel port of the switching module 2 is connected to the serial communication port of the wireless communication module 3 to transmit or receive data to or from the wireless communication module 3. Furthermore, the module detection port of the storage module 4 is connected to the control port of the switching module 2 so that the switching module 2 can switch channels according to the state of the storage module 4, thereby achieving serial communication connection between different modules.

[0024] More specifically, the main control module 1 can be a microcontroller, microprocessor, programmable logic device, or system-on-a-chip, used to send control commands to the switching module 2, receive status feedback, and manage communication scheduling between different modules. The switching module 2 can be an analog multiplexer, digital multiplexer, controllable relay module, or dedicated communication switching chip, used to select the channel connecting to the storage module 4 or the wireless communication module 3 according to the control signals from the main control module 1. The wireless communication module 3 can be a WIFI module, Bluetooth module, ZigBee module, LoRa module, cellular communication module, or other radio frequency communication module, used to realize wireless data transmission with remote devices, cloud platforms, or other terminals. The storage module 4 can be an SD card, eMMC, EEPROM, SPI Flash, NAND Flash, or other storage devices supporting serial or parallel interfaces, used to store system operating parameters, data logs, communication records, or data collected by sensors. The serial communication port of the main control module 1 can be UART, SPI, I2C, or other standard serial interfaces, and its port is connected to the common port of the switching module 2 to realize channel selection and status control of the switching module 2. The first channel port of the switching module 2 is used to connect to the serial communication port of the storage module 4 to realize data transmission or reading from the storage module 4; the second channel port is used to connect to the serial communication port of the wireless communication module 3 to realize data interaction with the wireless communication module 3. Simultaneously, the module detection port of the storage module 4 can be connected to the control port of the switching module 2, so that the switching module 2 can dynamically select the connection channel according to the status of the storage module 4. For example, it automatically switches to the first channel when the storage module 4 is active, and switches to the second channel when the wireless communication module 3 has data transmission requirements. In one embodiment, the switching module 2 may also have a status indication function, reporting the current channel connection status to the main control module 1 through indicator lights, status registers, or feedback signals, thereby improving the reliability and operability of the system.

[0025] Optionally, such as Figure 3 As shown, Figure 3 This is a schematic diagram of a module connection switching circuit with an indicator module provided for an embodiment of the present utility model. The module connection switching circuit also includes an indicator module 5. One end of the indicator module 5 is connected to the power supply, and the other end is connected to the module detection port of the storage module 4.

[0026] In this embodiment, when the storage module 4 is active or has a data request, the indication module 5 can provide feedback on the status in a visual or signal-based form, such as by turning an indicator light on or off, changing the status register, or changing the signal level, so as to provide an intuitive indication of the current usage status of the module, thereby assisting the main control module 1 or the operator in judging the working status of the storage module 4.

[0027] Optionally, such as Figure 4 As shown, Figure 4 This is a circuit diagram of an indicator module provided for an embodiment of the present utility model. The indicator module 5 includes a status indicator LED and a current limiting resistor R1. The positive terminal of the status indicator LED is connected to the first end of the current limiting resistor R1, and the negative terminal of the status indicator LED is connected to the module detection port of the storage module 4. The second end of the current-limiting resistor R1 is connected to the power supply.

[0028] In this embodiment, when the storage module 4 is active or has a data request, the module detection port outputs a signal to illuminate the status indicator LED, thus visually displaying the working status of the storage module 4. The second terminal of the current-limiting resistor R1 is connected to the power supply to provide current-limiting protection for the status indicator LED, preventing excessive current from damaging the LED or causing unstable operation. In this embodiment, the resistance value of the current-limiting resistor R1 can be preset according to the rated operating voltage of the LED and the power supply voltage to ensure that the status indicator LED illuminates safely under normal operating voltage.

[0029] Optionally, the resistance value of the current-limiting resistor R1 is in the range of 1kΩ to 2.2kΩ.

[0030] In this embodiment, the resistance value of the current-limiting resistor R1 can be preset according to actual needs to ensure that the status indicator LED lights up safely under normal operating voltage. For example, the resistance value of the current-limiting resistor R1 can be selected in the range of 1kΩ to 2.2kΩ to provide appropriate current limiting and protection, preventing the status indicator LED from being damaged or malfunctioning due to overcurrent.

[0031] Optionally, such as Figure 5 As shown, Figure 5 This is a circuit diagram of a module connection switching circuit with a pull-up resistor provided for an embodiment of the present utility model. The module connection switching circuit further includes a pull-up resistor R2. The first end of the pull-up resistor R2 is connected to the module detection port of the storage module 4, and the second end of the pull-up resistor R2 is connected to the power supply.

[0032] In this embodiment, the first end of the pull-up resistor R2 is connected to the module detection port of the storage module 4 to receive the status signal of the storage module 4, and the second end is connected to the power supply to provide a high-level reference voltage to the module detection port. The pull-up resistor R2 can be preset with a resistance value according to actual needs to ensure that the module detection port maintains a stable high-level signal when the storage module 4 is in an idle or undriven state, thereby improving the reliability of signal detection and the stability of the system.

[0033] Optionally, the pull-up resistor R2 has a resistance range of 10kΩ to 100kΩ.

[0034] In this embodiment, the value of the pull-up resistor R2 can be preset according to actual needs to ensure that the module detection port of the storage module 4 maintains a stable high-level signal in the idle or undriven state, while improving the reliability of the system and the signal detection accuracy. For example, the value of the pull-up resistor R2 can be selected in the range of 10kΩ to 100kΩ to provide appropriate pull-up current and prevent signal drift or interference.

[0035] Optionally, the wireless communication module 3 is a WIFI module.

[0036] In this embodiment, the WIFI module is used to realize wireless data communication between the module connection switching circuit and the external network or remote device. The WIFI module can be pre-configured with communication parameters, such as communication frequency band, SSID and security encryption method, according to actual application requirements, so as to ensure that the wireless communication module 3 can stably and reliably complete the data transmission task.

[0037] Optionally, the storage module 4 is an SD card.

[0038] In this embodiment, the SD card is used to store system operation data, historical records, or communication information in the module connection switching circuit. In this embodiment, the SD card can be pre-selected for capacity, configured for the file system, and set for read / write mode according to actual application needs, so as to ensure that the storage module 4 can reliably and stably complete data storage and retrieval tasks.

[0039] Optionally, such as Figure 6 As shown, Figure 6 This is a circuit diagram of a module connection switching circuit with a series terminating resistor provided for an embodiment of the present utility model. The series terminating resistor R3 is connected between the serial communication port of the main control module 1 and the common port of the switching module 2.

[0040] In this embodiment, a series terminating resistor R3 is connected between the serial communication port of the main control module 1 and the common port of the switching module 2 to improve the integrity and stability of the communication signal. The series terminating resistor R3 can be preset with a resistance value according to the characteristics and transmission rate of the actual communication interface to effectively suppress signal reflection and overshoot, ensuring that the serial communication between the main control module 1 and the switching module 2 can be carried out reliably and stably.

[0041] Optionally, such as Figure 7 As shown, Figure 7 This is a circuit diagram of a module connection switching circuit provided for an embodiment of the present invention. The module connection switching circuit includes: a main control module 1, a switching module 2, a wireless communication module 3, a storage module 4, and an indicator module 5.

[0042] In this embodiment, the main control module 1 provides serial communication capability and acts as a signal source to interact with peripherals; the switching module 2 selectively switches the serial communication link between different peripherals; the wireless communication module 3 performs wireless data interaction based on SDIO or other serial interfaces, and the wireless communication module 3 can be a WIFI module, Bluetooth module, ZigBee module, LoRa module, cellular communication module, or other radio frequency communication module; the storage module 4 implements local data storage function based on SDIO, and the storage module 4 can be an SD card, eMMC, EEPROM, SPI Flash, NAND Flash, or other storage devices that support serial or parallel interfaces, used to store system operating parameters, data logs, communication records, or data collected by sensors; the indicator module 5 displays the status of the working channel currently connected to the switching module 2.

[0043] This circuit employs an analog switch structure, enabling automatic switching of the SDIO signal between the wireless communication module 3 and the storage module 4. By connecting the storage module 4's card insertion detection pin (SD_DET) to the analog switch's switching control pin, the automatic switching of the SDIO signal is achieved by detecting the level change of the detection pin when the storage module 4 is inserted or removed. In specific applications, when the storage module 4 is inserted, the SD_DET signal remains low, and the analog switch drives the SDIO signal to automatically switch to the storage module 4 channel. Simultaneously, the status indicator LED is lit to indicate the current connection status. When the storage module 4 is removed, the SD_DET signal is high, the SDIO signal automatically switches to the wireless communication module 3 channel, and the status indicator LED turns off to indicate the switching is complete. This structure achieves automatic switching capability without manual or software intervention and provides a clear connection status display through indicator lights, improving the efficiency and reliability of SDIO interface switching in industrial equipment.

[0044] like Figure 8 As shown, Figure 8This is a schematic diagram of a module connection switching device provided in an embodiment of the present invention. The module connection switching device includes the aforementioned module connection switching circuit. A main control module 1 provides serial communication capability and connects to the common port of a switching module 2 via its serial communication port, serving as the signal source and control terminal of the communication link. The switching module 2 is used to switch the serial communication link between different peripherals. The first channel port of the switching module 2 is connected to the serial communication port of the storage module 4, used to switch the serial communication link of the main control module 1 to the storage module 4 in a target state; the second channel port of the switching module 2 is connected to the serial communication port of the wireless communication module 3, used to switch the serial communication link of the main control module 1 to the wireless communication module 3 in another target state. The storage module 4 has a module detection port for outputting a detection signal reflecting its insertion or operating state. The module detection port is connected to the control port of the switching module 2, used to provide the switching module 2 with a detection level signal for controlling channel switching, so that the switching module 2 automatically selects the channel connected to the storage module 4 or the channel connected to the wireless communication module 3 based on the detection signal. With the above structure, the module connection switching device can automatically, quickly and without manual intervention switch the serial communication channel between the wireless communication module 3 and the storage module 4, thereby improving the connection efficiency and reliability of the device in multi-module shared interface scenarios.

[0045] This invention utilizes the module detection port of the storage module to provide a status detection signal to the switching module. The switching module then automatically switches the serial communication link of the main control module based on the detection signal, enabling the main control module to switch communication with the storage module or wireless communication module without manual operation or software control. The main control module can directly establish the corresponding communication connection based on the channel status output by the switching module, thereby achieving automatic management of scenarios where multiple modules share a serial interface. This invention not only enables rapid automatic switching between the storage module and the wireless communication module but also timely channel switching when the module insertion status changes, avoiding the problems of complex operation, resource consumption, and insufficient reliability associated with traditional manual or software switching methods. By introducing an automatic switching mechanism based on module detection signals, the intelligence and stability of serial communication interface switching are improved, solving the technical problems of SDIO or serial port signal switching relying on manual / software methods, low switching efficiency, and invisible status in existing technologies.

[0046] 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 descriptions are merely specific embodiments of this utility model and are not intended to limit the scope of protection of this utility model. In particular, it should be noted that any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this utility model by those skilled in the art should be included within the scope of protection of this utility model.

Claims

1. A module connection switching circuit, characterized in that, include: Main control module, switching module, storage module and wireless communication module; The serial communication port of the main control module is connected to the common port of the switching module; The first channel port of the switching module is connected to the serial communication port of the storage module, and the second channel port of the switching module is connected to the serial communication port of the wireless communication module. The module detection port of the storage module is connected to the control port of the switching module.

2. The module connection switching circuit according to claim 1, characterized in that, The module connection switching circuit also includes an indicator module; One end of the indicator module is connected to the power supply, and the other end is connected to the module detection port of the storage module.

3. The module connection switching circuit according to claim 2, characterized in that, The indicator module includes a status indicator light and a current-limiting resistor; The positive terminal of the status indicator light is connected to the first end of the current-limiting resistor, and the negative terminal of the status indicator light is connected to the module detection port of the storage module. The second end of the current-limiting resistor is connected to the power supply.

4. The module connection switching circuit according to claim 3, characterized in that, The resistance value of the current-limiting resistor is in the range of 1kΩ to 2.2kΩ.

5. A module connection switching circuit according to claim 1, characterized in that, The module connection switching circuit also includes a pull-up resistor; The first end of the pull-up resistor is connected to the module detection port of the storage module, and the second end of the pull-up resistor is connected to the power supply.

6. The module connection switching circuit according to claim 5, characterized in that, The pull-up resistor has a resistance range of 10kΩ to 100kΩ.

7. The module connection switching circuit according to claim 1, characterized in that, The wireless communication module is a WIFI module.

8. The module connection switching circuit according to claim 1, characterized in that, The storage module is an SD card.

9. A module connection switching circuit according to claim 1, characterized in that, A series terminating resistor is connected between the serial communication port of the main control module and the common port of the switching module.

10. A module connection switching device, characterized in that, Includes a module connection switching circuit as described in any one of claims 1 to 9.