Switching circuit and expansion board card

By using the microcontroller module and the adapter module in the adapter circuit for serial interface connection, the digital signal is converted into an analog signal, which solves the problem of high difficulty in FPGA board development and achieves the effect of reducing design difficulty and cost.

CN221827319UActive Publication Date: 2024-10-11HANGZHOU ANMAISHENG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420420313.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-01
Publication Date
2024-10-11
Estimated Expiration
2034-03-01

AI Technical Summary

Technical Problem

In the existing technology, the development and design of FPGA-based PCIe interface boards is difficult and costly, and the transfer circuit needs to be simplified to reduce the difficulty of development.

Method used

Design a switching circuit including a microcontroller module, a switching module and a first interface unit. The microcontroller module and the switching module are connected through a serial interface. The switching module converts digital signals into analog signals and passes them through a third interface unit. An interface unit performs signal interaction with the terminal device of the target interface type, simplifying the design of the switching circuit.

Benefits of technology

By using the microcontroller as the control core, the difficulty and cost of developing expansion boards are reduced, the switching circuit is simplified, and the design efficiency is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221827319U_ABST
    Figure CN221827319U_ABST
Patent Text Reader

Abstract

The utility model discloses a switching circuit and an expansion board card. The switching circuit provided by the embodiment of the utility model comprises a microcontroller module, a switching module and a first interface unit, the microcontroller module is connected with the switching module, the switching module is connected with the first interface unit, the microcontroller module is used for outputting a digital signal, the switching module is used for converting the digital signal into an analog signal, and the first interface unit is used for performing signal interaction with terminal equipment of a target interface type; wherein the microcontroller module is connected with the switching module through a serial interface. According to the technical scheme provided by the embodiment of the utility model, the microcontroller module is connected with the switching module through the serial interface, so that the effects of simplifying the switching circuit and reducing the design difficulty are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of computer communication, in particular to a switching circuit and an expansion board. Background Art

[0002] At present, most general industrial computers on the market are equipped with PCIE (peripheral component interconnect express) slots to support users' expansion function requirements. However, for the development and use of boards with external PCIe interfaces, most are based on FPGA (Field-Programmable Gate Array), which is difficult to design and has high development costs. Therefore, how to simplify the interface transfer circuit has become an urgent problem to be solved. Utility Model Content

[0003] The utility model provides a switching circuit and an expansion board to solve the problem that the switching circuit development in the prior art is difficult.

[0004] According to one aspect of the present invention, a switching circuit is provided, comprising:

[0005] A microcontroller module, a switching module and a first interface unit;

[0006] The microcontroller module is connected to the adapter module, the adapter module is connected to the first interface unit, the microcontroller module is used to output digital signals, the adapter module is used to convert digital signals into analog signals, and the first interface unit is used to perform signal interaction with a terminal device of a target interface type;

[0007] The microcontroller module includes a microcontroller, and the microcontroller module is connected to the adapter module via a serial interface.

[0008] Optional, switch module, including:

[0009] Adjustment unit and switching unit;

[0010] The regulating unit is connected to the microcontroller module, and the adapter unit is connected to the regulating unit; the regulating unit is used to convert the digital signal into an analog signal, and the adapter unit also includes a first connection interface. The adapter unit is used to match and connect with the first interface unit through the first connection interface and output an analog signal.

[0011] Optionally, the switching circuit also includes:

[0012] A power supply module, the power supply module is connected to the microcontroller module, the adapter module and the first interface unit, and the power supply module is used to obtain the first voltage signal through the first interface unit and adjust the first voltage signal to a second voltage signal;

[0013] The amplitude of the second voltage signal is smaller than the amplitude of the first voltage signal, and the second voltage signal is used to supply power to the microcontroller module and the adapter module.

[0014] Optionally, the switching circuit also includes:

[0015] The storage module is connected to the microcontroller module and is used to store the digital signal of the microcontroller module.

[0016] Optional storage module, including:

[0017] At least two storage units are connected in parallel, the storage units are connected to the microcontroller module, and the storage units are used to store digital signals of the microcontroller module.

[0018] Optionally, the microcontroller module includes an STM32H743 controller.

[0019] Optionally, the regulating unit includes a LAN8720 physical layer chip.

[0020] Optionally, the adapter unit includes a LAN7430 physical layer chip, and the first connection interface includes a PCIE x1 interface.

[0021] Optionally, the interface type of the first interface unit includes a PCIE interface.

[0022] In a second aspect, an embodiment of the utility model provides an expansion board, comprising any one of the above-mentioned switching circuits.

[0023] The adapter circuit of the embodiment of the utility model includes a microcontroller module, an adapter module and a first interface unit, the adapter module is connected between the microcontroller module and the first interface unit, and the microcontroller module and the adapter module are connected through a serial interface. The microcontroller module is used to output a digital signal to the adapter module through the serial interface, the adapter module is used to convert the digital signal into an analog signal and output it to the first interface unit, and the first interface unit is used to perform signal interaction with a terminal device of a target interface type. The adapter circuit provided by the embodiment of the utility model simplifies the adapter circuit and reduces the design difficulty by setting the microcontroller module to be connected to the adapter module through a serial interface and performing signal interaction through the first interface unit.

[0024] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present utility model, nor are they intended to limit the scope of the present utility model. Other features of the present utility model will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. 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 these drawings without creative work.

[0026] Figure 1 It is a structural schematic diagram of a switching circuit provided by an embodiment of the utility model;

[0027] Figure 2 It is a structural schematic diagram of another switching circuit provided by an embodiment of the utility model;

[0028] Figure 3 It is a structural schematic diagram of a microprocessor module provided by an embodiment of the utility model;

[0029] Figure 4 It is a structural schematic diagram of an adjustment unit provided by an embodiment of the utility model;

[0030] Figure 5 It is a structural schematic diagram of a switching unit provided by an embodiment of the utility model;

[0031] Figure 6 It is a structural schematic diagram of a power supply module provided by an embodiment of the utility model;

[0032] Figure 7 It is a structural schematic diagram of a storage unit provided by an embodiment of the utility model;

[0033] Figure 8 It is a structural schematic diagram of an expansion board provided by an embodiment of the utility model. DETAILED DESCRIPTION

[0034] In order to enable those skilled in the art to better understand the solution of the utility model, the technical solution in the embodiment of the utility model will be clearly and completely described below in conjunction with the drawings in the embodiment of the utility model. Obviously, the described embodiment is only a part of the embodiment of the utility model, not all of the embodiments. Based on the embodiment of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the utility model.

[0035] It should be noted that the terms "first", "second", etc. in the specification and claims of the utility model and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the utility model described here can be implemented in an order other than those illustrated or described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0036] Figure 1 Schematic diagram of a switching circuit provided by an embodiment of the utility model. Figure 1 The adapter circuit provided by the embodiment of the utility model includes a microcontroller module 10, an adapter module 20 and a first interface unit 30. The microcontroller module 10 is connected to the adapter module 20, and the adapter module 20 is connected to the first interface unit 30. The microcontroller module 10 is used to output digital signals, the adapter module 20 is used to convert digital signals into analog signals, and the first interface unit 30 is used to perform signal interaction with a terminal device of a target interface type. Among them, the microcontroller module 10 includes a microcontroller 11, and the microcontroller module 10 and the adapter module 20 are connected through a serial interface.

[0037] Specifically, the switching circuit is arranged in the expansion board for signal interaction with the terminal device. However, the development of the expansion board based on FPGA is difficult. Using a single chip microcomputer, that is, a microcontroller 11 as the control core can reduce the development difficulty and development cost of the expansion board. The microcontroller module 10 is connected to the switching module 20 via a serial interface to reduce occupied resources. The microcontroller module 10 is used to output digital signals and obtain digital signals input by the switching module 20 during the signal interaction process. The switching module 20 is used to convert digital signals into an analog signal chain for signal interaction and output it to the first interface unit 30. The interface type of the first interface unit 30 is the same as the target interface type of the terminal device to realize the connection between the first interface unit 30 and the terminal device, so as to perform signal interaction.

[0038] Exemplarily, when the target interface type of the terminal device matches the interface type of the first interface unit 30, the first interface unit 30 is connected to the terminal device. The microcontroller module 10 outputs a digital signal through a serial interface, and the adapter module 20 converts the digital signal into an analog signal chain and outputs it to the first interface unit 30. The first interface unit 30 outputs the analog signal to the terminal device and obtains the signal of the terminal device to realize signal interaction.

[0039] The adapter circuit provided by the embodiment of the utility model is connected to the adapter module through a serial interface by setting a microcontroller module, and performs signal interaction with the terminal device through a first interface unit, thereby realizing the use of a microcontroller module with relatively low design difficulty as the control core of the adapter circuit, thereby achieving the effect of simplifying the adapter circuit and reducing the design difficulty.

[0040] Optional, Figure 2 It is a structural schematic diagram of another switching circuit provided by an embodiment of the utility model. Figure 3 It is a structural schematic diagram of a microprocessor module provided by an embodiment of the utility model. Figure 4 It is a structural schematic diagram of an adjustment unit 21 provided in an embodiment of the utility model. Figure 5 FIG. 2 is a schematic diagram of the structure of a switching unit 22 provided in an embodiment of the utility model. Figures 2 to 5 The adapter module 20 includes an adjustment unit 21 and an adapter unit 22. The adjustment unit 21 is connected to the microcontroller module 10, and the adapter unit 22 is connected to the adjustment unit 21. The adjustment unit 21 is used to convert a digital signal into an analog signal, and the adapter unit 22 also includes a first connection interface A. The adapter unit 22 is used to match and connect with the first interface unit 30 through the first connection interface A and output an analog signal.

[0041] Specifically, the adjustment unit 21 and the microcontroller module 10 are used to obtain the digital signal output by the control module and convert the digital signal into an analog signal. The adapter unit 22 includes a first connection interface A, and the first connection interface A is used to match and connect with the first interface unit 30. The adapter unit 22 obtains the analog signal output by the adjustment unit 21, and outputs it to the first interface unit 30 through the first connection interface A, thereby performing signal interaction with the terminal device.

[0042] Figure 3 The microprocessor module is shown as an example. The microprocessor module includes a microcontroller chip STM32H743. The microcontroller chip STM32H743 is connected to the adjustment unit 21 through pins such as pin RXD0, pin RXD1, pin TXD0 and pin RXD1. The microprocessor module also includes a peripheral circuit composed of devices such as resistors, capacitors and diodes, which are connected as follows Figure 3 The structure shown.

[0043] Figure 4The structure of the adjustment unit 21 is shown as an example. The adjustment unit 21 includes a LAN8720 physical layer chip, which is connected to the adapter unit 22 via pins such as pin RXP, pin RXN, pin TXP and pin TXN. The adjustment unit 21 also includes a peripheral circuit composed of components such as resistors and capacitors, which are connected as shown in FIG. Figure 4 The structure shown.

[0044] Figure 5 The structure of the adapter unit 22 is shown as an example. The adapter unit 22 includes a LAN7430 physical layer chip, and the LAN7430 physical layer chip is connected to the first interface unit 30 through the first connection interface A. The adjustment unit 21 also includes a peripheral circuit composed of components such as resistors, inductors and capacitors, which are connected as follows: Figure 5 The structure shown.

[0045] Optional, Figure 6 4 is a schematic diagram of the structure of a power supply module 40 provided in an embodiment of the utility model. Figure 2 and Figure 6 The adapter circuit further includes a power supply module 40, which is connected to the microcontroller module 10, the adapter module 20 and the first interface unit 30. The power supply module 40 is used to obtain the first voltage signal through the first interface unit 30 and adjust the first voltage signal to a second voltage signal. The amplitude of the second voltage signal is smaller than the amplitude of the first voltage signal, and the second voltage signal is used to supply power to the microcontroller module 10 and the adapter module 20.

[0046] Specifically, the first interface unit 30 may include an interface of the target type and a power supply end for power supply, and the power supply module 40 is connected to the power supply end of the first interface unit 30. The power supply module 40 can obtain a first voltage signal with a higher amplitude through the first interface unit 30, and adjust the first voltage signal to a second voltage signal with a lower amplitude. The power supply module 40 supplies power to the microcontroller module 10, the adjustment unit 21, and the adapter unit 22 through the second voltage signal. Exemplarily, the power supply module 40 can be a TPS62132 switching power supply chip, the first voltage signal can be 12V, and the second voltage signal can be 3.3V.

[0047] Figure 6 The schematic diagram shows a structure of the power supply module 40. The adapter unit 22 includes a TPS62132 switching power supply chip and a peripheral circuit composed of components such as resistors, capacitors, and diodes, which are connected as follows: Figure 6 The structure shown.

[0048] Optionally, based on the above embodiment, continue to refer to Figure 2The switching circuit also includes a storage module 50 , which is connected to the microcontroller module 10 , and is used to store digital signals of the microcontroller module 10 .

[0049] Specifically, the switching circuit may further be provided with a storage module 50, which is connected to the microcontroller module 10 to store digital signals output and acquired by the microcontroller module 10. Such a configuration may increase the data storage capacity of the switching circuit.

[0050] Optional, Figure 7 Schematic diagram of a storage unit 51 provided in an embodiment of the utility model. Figure 2 and Figure 7 The storage module 50 includes at least two storage units 51 connected in parallel. The storage unit 51 is connected to the microcontroller module 10 . The storage unit 51 is used to store the digital signal of the microcontroller module 10 .

[0051] Specifically, the storage module 50 can be provided with a plurality of storage units 51, and the plurality of storage units 51 can be connected in parallel with the microprocessor module to further improve the data storage capacity of the switching circuit. Exemplarily, the storage unit 51 can be an SRAM chip W9825G6KH, which is expanded to a 32-bit data interface mode and has a capacity of 64Mbyte.

[0052] For example, the storage unit 51 may be Figure 7 In the SRAM chip W9825G6KH shown, multiple switching units 22 can be connected in parallel to form a storage module 50.

[0053] Optionally, based on the above embodiment, continue to refer to Figure 2 , the microcontroller module 10 includes a STM32H743 controller.

[0054] Specifically, the microcontroller module 10 may adopt an STM32H743 microcontroller chip, which has good data processing capability.

[0055] Optionally, based on the above embodiment, continue to refer to Figure 2 , the adjustment unit 21 includes a LAN8720 physical layer chip.

[0056] Specifically, the adjustment unit 21 may adopt a LAN8720 physical layer chip, and may be connected to the microcontroller module 10 to meet network communication requirements.

[0057] Optionally, based on the above embodiment, continue to refer to Figure 2 The adapter unit 22 includes a LAN7430 physical layer chip, and the first connection interface A includes a PCIE x1 interface.

[0058] Specifically, the adapter unit 22 may adopt a LAN7430 physical layer chip, and the first connection interface A of the LAN7430 physical layer chip is a PCIE x1 interface. Through the PCIE x1 interface, the adapter unit 22 may be matched and connected with the first interface unit 30 .

[0059] Optionally, based on the above embodiment, continue to refer to Figure 2 , the interface type of the first interface unit 30 includes a PCIE interface.

[0060] Specifically, the first interface unit 30 may be a PCIe slot, which includes a PCIE interface for signal interaction and a power supply terminal for power supply. Through the PCIe slot, the switching circuit can achieve connection with the terminal device to perform signal interaction.

[0061] Exemplarily, when the terminal device is connected to the first interface unit 30 through a PCIe slot, the power supply module 40 is connected to the power supply end of the first interface unit 30, obtains the first voltage signal through the first interface unit 30, adjusts the first voltage signal to a second voltage signal, and supplies power to the microcontroller module 10, the adjustment unit 21, and the adapter unit 22 through the second voltage signal. The microcontroller module 10 outputs a digital signal through a serial interface, and the adjustment unit 21 obtains the digital signal output by the control module and converts the digital signal into an analog signal. The adapter unit 22 obtains the analog signal output by the adjustment unit 21, and outputs it to the first interface unit 30 through the first connection interface A. The adapter module 20 converts the digital signal into an analog signal chain and outputs it to the first interface unit 30. The first interface unit 30 outputs the analog signal to the terminal device and obtains the signal of the terminal device to realize signal interaction. The storage unit 51 connected to the microcontroller module 10 also obtains the signal output and obtained by the microcontroller module 10 during the signal interaction process, and stores it.

[0062] Optional, Figure 8 FIG. 1 is a schematic diagram of the structure of an expansion board provided by an embodiment of the utility model. Figure 8 The expansion board 200 provided in the embodiment of the utility model includes the switching circuit 100 of any of the above embodiments, and has the beneficial effects of the switching circuit 100 of any of the above embodiments, which will not be repeated here.

[0063] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0064] The above specific implementations do not constitute a limitation on the protection scope of the present utility model. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present utility model shall be included in the protection scope of the present utility model.

Claims

1. A switching circuit, characterized in that: include: A microcontroller module, a switching module and a first interface unit; The microcontroller module is connected to the adapter module, the adapter module is connected to the first interface unit, the microcontroller module is used to output digital signals, the adapter module is used to convert the digital signals into analog signals, and the first interface unit is used to perform signal interaction with a terminal device of a target interface type; Wherein, the microcontroller module includes a microcontroller, and the microcontroller module is connected to the adapter module via a serial interface.

2. The switching circuit according to claim 1, characterized in that: The switching module comprises: Adjustment unit and switching unit; The regulating unit is connected to the microcontroller module, and the adapter unit is connected to the regulating unit; the regulating unit is used to convert the digital signal into an analog signal, and the adapter unit also includes a first connection interface, and the adapter unit is used to match and connect with the first interface unit through the first connection interface and output the analog signal.

3. The switching circuit according to claim 2, characterized in that: The switching circuit further includes: a power supply module, the power supply module being connected to the microcontroller module, the adapter module and the first interface unit, the power supply module being used to obtain a first voltage signal through the first interface unit and adjust the first voltage signal to a second voltage signal; The amplitude of the second voltage signal is smaller than the amplitude of the first voltage signal, and the second voltage signal is used to supply power to the microcontroller module and the adapter module.

4. The switching circuit according to claim 2, characterized in that: The switching circuit further includes: A storage module is connected to the microcontroller module, and is used to store digital signals of the microcontroller module.

5. The switching circuit according to claim 4, characterized in that: The storage module comprises: At least two storage units are connected in parallel, the storage units are connected to the microcontroller module, and the storage units are used to store digital signals of the microcontroller module.

6. The switching circuit according to claim 1, characterized in that: The microcontroller module includes an STM32H743 controller.

7. The switching circuit according to claim 2, characterized in that: The regulating unit includes a LAN8720 physical layer chip.

8. The switching circuit according to claim 7, characterized in that: The switching unit includes a LAN7430 physical layer chip, and the first connection interface includes a PCIE x1 interface.

9. The switching circuit according to claim 1, characterized in that: The interface type of the first interface unit includes a PCIE interface.

10. An expansion card, characterized in that: The switching circuit comprises the switching circuit described in any one of claims 1 to 9.