Data communication system and electronic equipment

By introducing the target power supply pin into the main control module and adjusting the level of the main control communication pin according to the preset level of the functional module, the problem of mismatch between the communication level of the MCU and the functional module is solved, and the effect of direct communication and cost reduction is achieved.

CN222896422UActive Publication Date: 2025-05-23SUZHOU CHUTIANLONG DIGITAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421931893.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-08-09
Publication Date
2025-05-23
Estimated Expiration
2034-08-09

AI Technical Summary

Technical Problem

The communication levels between the MCU and the functional module are mismatched, resulting in signal conflicts and data transmission errors. The existing technology solves the problem by adding a level conversion chip, but the cost is high.

Method used

By introducing the target power supply pin into the main control module, it is directly electrically connected to the functional module, and adjust the level of the main control communication pin according to the preset level of the functional module to match the target level.

Benefits of technology

Direct communication between the MCU and the functional module is realized, avoiding the use of level conversion chips and reducing communication costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222896422U_ABST
    Figure CN222896422U_ABST
Patent Text Reader

Abstract

The utility model provides a data communication system and an electronic device, and relates to the technical field of data communication, the data communication system comprises a main control module and a function module, the main control module comprises a plurality of main control communication pins and at least one target power supply pin; the main control module is electrically connected with the functional module through at least part of the main control communication pins and at least one target power supply pin; the communication level of the function module is a preset level; and the main control module is used for acquiring a preset level from the functional module through a target power supply pin, and controlling the levels of the at least part of the main control communication pins to be adjusted to a target level according to the preset level, and the difference value between the target level and the preset level belongs to a preset difference value range. According to the invention, a level conversion chip is saved, and the communication cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of data communication, in particular to a data communication system and electronic equipment. Background Art

[0002] When the MCU communicates data with some functional modules (such as 4G chips), if the communication levels of the two do not match, signal conflicts and data transmission errors are likely to occur. Taking the communication between the MCU and the 4G chip as an example, the prior art achieves the consistency of the communication levels of the MCU and the 4G chip by adding a level conversion chip between the MCU and the 4G chip. However, this method of the prior art still has the following shortcomings: it is necessary to add another level conversion chip, and the communication cost is relatively high. Utility Model Content

[0003] In view of this, the purpose of the present invention is to overcome the deficiencies in the prior art and provide a data communication system and electronic equipment. The present invention provides the following technical solutions:

[0004] In a first aspect, the utility model provides a data communication system, the system comprising: a main control module and a functional module, the main control module comprising a plurality of main control communication pins and at least one target power supply pin; the main control module is electrically connected to the functional module through at least part of the plurality of main control communication pins and at least one target power supply pin; the communication level of the functional module is a preset level;

[0005] The main control module obtains the preset level from the functional module through the target power supply pin, and controls the level of at least part of the main control communication pins to be adjusted to the target level according to the preset level, and the difference between the target level and the preset level belongs to a preset difference range.

[0006] In one embodiment, the plurality of master communication pins include: a data transmission pin, a data reception pin, a reset pin and an information notification pin, and the data transmission pin, the data reception pin, the reset pin and the information notification pin are directly connected to the functional module respectively;

[0007] The main control module is used to perform data transmission with the functional module through the data sending pin, the data receiving pin, the reset pin and the information notification pin.

[0008] In one embodiment, the main control module includes a control pin, the functional module includes a power-on pin, and the system further includes: a control module, the control module being electrically connected to the control pin and the power-on pin respectively;

[0009] The control module is used to control the startup of the functional module through the power-on pin after acquiring the control signal from the control pin.

[0010] In one embodiment, the control module includes: a transistor, a base of the transistor is electrically connected to the control pin, a collector of the transistor is electrically connected to the power-on pin, and an emitter of the transistor is grounded.

[0011] In one embodiment, the control module further comprises: a current limiting resistor connected in series between the control pin and the base of the transistor;

[0012] And / or, the control module further includes: a pull-down resistor, one end of the pull-down resistor is connected to the base of the transistor and the other end is connected to the emitter of the transistor.

[0013] In one embodiment, the plurality of master communication pins are configured such that their levels change as the levels of the target power supply pins change.

[0014] In one embodiment, the main control module includes: a microcontroller chip, the model of the microcontroller chip is MH2101 or THM3652;

[0015] And / or, the functional module is a communication module or a display module or a camera module or a Bluetooth module;

[0016] And / or, the system also includes: a power supply module, which is electrically connected to the main control module and the functional module respectively; the system has a first power supply link and a second power supply link, the power supply module supplies power to the functional module through the first power supply link, and supplies power to the target power supply pin of the main control module through the functional module, and the power supply module supplies power to a power supply pin of the main control module that is different from the target power supply pin through the second power supply link.

[0017] In one embodiment, the system further includes: a jumper selection module, wherein the jumper selection module is connected in series between the target power supply pin and the functional module to form a path between the target power supply pin and the functional module.

[0018] In one embodiment, the system further comprises a jumper selection circuit and a power supply port;

[0019] The jumper selection circuit includes a first jumper selection link, a second jumper selection link and a jumper selection module;

[0020] The first jumper selection link includes a first wire electrically connected to the functional module and includes a second wire electrically connected to the main control module;

[0021] The second jumper selection link includes a third wire electrically connected to the main control module and includes a fourth wire electrically connected to the power supply port;

[0022] The jumper selection module is connected in series between the first wire and the second wire so that the first jumper selection link for electrically connecting the main control module and the functional module forms a path;

[0023] A circuit break is formed between the third conductive line and the fourth conductive line to break the second jumper selection link.

[0024] In a second aspect, the utility model provides an electronic device, comprising the data communication system described in the first aspect.

[0025] The present application provides a data communication system and an electronic device, the data communication system comprising: a main control module and a functional module, the main control module comprising a plurality of main control communication pins and at least one target power supply pin; the main control module is electrically connected to the functional module through at least some of the plurality of main control communication pins and at least one of the target power supply pins; the communication level of the functional module is a preset level; the main control module is used to obtain the preset level from the functional module through the target power supply pin, and control the level of at least some of the main control communication pins to be adjusted to a target level according to the preset level, and the difference between the target level and the preset level belongs to a preset difference range. The present application directly connects the main control module to the functional module, and adjusts the level of each main control communication pin on the main control module according to the level of the target power supply pin on the main control module, so that the same main control module can communicate with functional modules with different voltages in different application scenarios, while saving the original level conversion chip and reducing the communication cost.

[0026] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and understandable, preferred embodiments are given below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the utility model and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 A schematic diagram of the structure of a data communication system provided by an embodiment of the present application is shown;

[0029] Figure 2A circuit schematic diagram of a control module provided in an embodiment of the present application is shown;

[0030] Figure 3 Another structural schematic diagram of the data communication system provided in an embodiment of the present application is shown.

[0031] Description of main component symbols:

[0032] 100 - data communication system; 110 - main control module; 120 - function module; 130 - control module; 140 - power module; 150 - jumper selection module. DETAILED DESCRIPTION

[0033] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0034] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present utility model, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used in the specification of the template herein are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.

[0036] Example 1

[0037] This embodiment of the present application provides a data communication system 100, see Figure 1The data communication system 100 includes: a main control module 110 and a functional module 120, the main control module 110 includes a plurality of main control communication pins and at least one target power supply pin; the main control module 110 is electrically connected to the functional module 120 through at least some of the main control communication pins and at least one of the target power supply pins; the communication level of the functional module 120 is a preset level; the main control module 110 is used to obtain the preset level from the functional module 120 through the target power supply pin, and control the level of at least some of the main control communication pins to be adjusted to the target level according to the preset level, and the difference between the target level and the preset level belongs to a preset difference range.

[0038] When the communication level of the main control module 110 does not match the communication level of the functional module 120, a conversion chip is required for communication between the main control module 110 and the functional module 120. For example, when the communication level of the main control module 110 is 3.3V and the communication level of the functional module 120 is 1.8V, the main control module 110 and the functional module 120 need to be provided with a conversion chip for communication; when the communication level of the main control module 110 is 1.8V and the communication level of the functional module 120 is also 1.8V, the main control module 110 and the functional module 120 can communicate directly.

[0039] In this embodiment, the preset level is the communication level of the functional module 120. When the communication level of the main control module 110 does not match the communication level of the functional module 120, in order to realize that the main control module 110 and the functional module 120 can communicate directly, the present application adjusts the communication level of the main control module 110 according to the communication level of the functional module 120, wherein the communication level of the main control module 110 refers to the level of each main control communication pin on the main control module 110. Specifically, the main control module 110 obtains the preset level from the functional module 120 through the target power supply pin, and adjusts the level of each main control communication pin to the target level according to the preset level, thereby ensuring that the level of each main control communication pin is close to or equal to the preset level, that is, the communication level of the functional module 120, thereby realizing direct communication between the main control module 110 and the functional module 120.

[0040] It should be noted that the level of each master communication pin in this embodiment follows the level change of the target power supply pin. For example, if the level of the target power supply pin is 1.8V, the level of each master communication pin is also 1.8V. Figure 1 The target power supply pin is represented by IO_VCC.

[0041] In one embodiment, see again Figure 1The multiple master communication pins include: a data sending pin, a data receiving pin, a reset pin and an information notification pin, and the data sending pin, the data receiving pin, the reset pin and the information notification pin are directly connected to the functional module 120 respectively.

[0042] The main control module 110 is used to perform data transmission with the functional module 120 through the data sending pin, the data receiving pin, the reset pin and the information notification pin.

[0043] In this embodiment, the main control module 110 and the functional module 120 use the Universal Serial Communication (UART) protocol for data exchange. Specifically, data exchange is performed through a data sending pin (Transmit, TX), a data receiving pin (Receive, RX), a reset pin (Resent, RST) and an information notification pin (Input / Output, IO).

[0044] It should be noted that the main control module 110 includes a microcontroller unit (MCU), and the functional module 120 includes a 4G communication chip, a display screen, a camera or Bluetooth, etc. When the functional module 120 includes a 4G communication chip, the communication protocol between the main control module 110 and the 4G communication chip is UART serial port communication.

[0045] In one embodiment, the main control module 110 also includes a control pin, the functional module 120 includes a power-on pin, and the data communication system 100 also includes: a control module 130, the control module 130 is electrically connected to the control pin and the power-on pin respectively; the control module 130 is used to control the startup of the functional module 120 through the power-on pin after obtaining a control signal from the control pin.

[0046] In this example, see Figure 2 , Figure 2 shows a circuit diagram of a control module, Figure 2 GPIO represents a control pin, and POWERKEY represents a power-on pin. The main control module 110 sends a control signal, for example, a high level, to the control module 130 through the control pin. After receiving the control signal, the control module 130 controls the power-on pin level change, for example, the power-on pin level changes from a high level to a low level, thereby controlling the functional module 120 to start working.

[0047] In one embodiment, the control module 130 includes: a transistor Q, a base of the transistor Q is electrically connected to the control pin, a collector of the transistor Q is electrically connected to the power-on pin, and an emitter of the transistor Q is grounded.

[0048] In this embodiment, the main control module 110 sends a high level signal to the base of the transistor Q through the control pin, controls the transistor Q to be turned on, and the power-on pin is grounded through the transistor Q, thereby pulling the power-on pin level low, and starting the functional module 120. For example, the power-on pin is at a high level by default, and the transistor Q is an NPN transistor.

[0049] In one embodiment, see again Figure 2 , the control module 130 also includes: a current limiting resistor R1, which is connected in series between the control pin and the base of the transistor Q; and / or, the control module 130 also includes: a pull-down resistor R2, one end of the pull-down resistor R2 is connected to the base of the transistor Q and the other end is connected to the emitter of the transistor Q.

[0050] In this embodiment, the current limiting resistor R1 is used to limit the current of the control signal sent by the main control module 110. The main control module 110 continuously sends a high-level signal to the base of the transistor Q to control the transistor Q to remain turned on. When the state of the control pin GPIO of the main control module 110 is unstable, the pull-down resistor R2 pulls down the base of the transistor Q to make the transistor Q non-conductive; when it is necessary to control the function module 120 to stop working, the main control module 110 provides a low level to the base of the transistor Q, so that the transistor Q is turned off, the power-on pin level of the function module 120 is pulled high, and the function module 120 stops working.

[0051] In one embodiment, the plurality of master communication pins are configured such that their levels change as the levels of the target power supply pins change.

[0052] In this embodiment, the at least part of the master communication pins include a data sending pin, a data receiving pin, a reset pin and an information notification pin. The level of each master communication pin in the at least part of the master communication pins is roughly consistent with the target power supply pin. For example, if the level of the target power supply pin is 1.8V, the level of each master communication pin is also 1.8V.

[0053] In one embodiment, the main control module 110 includes: a microcontroller chip, the model of the microcontroller chip is MH2101 or THM3652; and / or, the functional module 120 is a communication module or a display module or a camera module or a Bluetooth module; and / or, the data communication system 100 also includes: a power module 140, which is electrically connected to the main control module 110 and the functional module 120 respectively; the data communication system 100 has a first power supply link and a second power supply link, the power module 140 supplies power to the functional module 120 through the first power supply link, and supplies power to the target power supply pin of the main control module through the functional module 120, and the power module 140 supplies power to another power supply pin of the main control module different from the target power supply pin through the second power supply link.

[0054] In this embodiment, the main control module may also be a chip of other types, which can be selected according to actual conditions and is not limited here. The microcontrol chip includes at least one target power supply pin, and the microcontrol chip has the following characteristics: there is a pin on the microcontrol chip whose level of the communication pin changes with the level of the target power supply pin. Specifically, there is a pin on the microcontrol chip whose level of the communication pin is basically consistent with the level of the target power supply pin, that is, the difference between the level of the communication pin and the level of the target power supply pin belongs to a preset difference range. The power module 140 can be a battery or an external power supply. If the power module 140 is an external power supply, the external power supply supplies power to the main control module 110 through a USB-C interface, for example.

[0055] To ensure the stability of the power supply voltage, the power supply module 140 can be electrically connected to a low voltage drop linear regulator, and then supply power to the main control module 110 via the low voltage drop linear regulator. Figure 3 It is represented by LDO (Low Differential Linear Regulator).

[0056] In one embodiment, see again Figure 3 The data communication system 100 further includes: a jumper selection module 150 , which is connected in series between the target power supply pin and the functional module 120 to form a path between the target power supply pin and the functional module 120 .

[0057] In one embodiment, the data communication system 100 also includes a jumper selection circuit and a power supply port; the jumper selection circuit includes a first jumper selection link, a second jumper selection link and a jumper selection module 150; the first jumper selection link includes a first wire electrically connected to the functional module 120 and includes a second wire electrically connected to the main control module; the second jumper selection link includes a third wire electrically connected to the main control module 110 and includes a fourth wire electrically connected to the power supply port; the jumper selection module 150 is connected in series between the first wire and the second wire to form a path for the first jumper selection link used to electrically connect the main control module 110 and the functional module 120; a break is formed between the third wire and the fourth wire to form a break in the second jumper selection link.

[0058] In this embodiment, the first jumper selection link is used to connect the target power supply pin and the functional module 120, and the second jumper selection link is used to connect the power module 140 and the target power supply pin.

[0059] During the design of the data communication system, when the main control communication level is different from the preset level, in order to achieve direct communication between the main control module 110 and the functional module 120, the data communication system can be designed as follows: the target power supply pin of the main control functional module 120 is electrically connected to the functional module 120 through the first jumper selection link and the jumper selection module 150, and the power supply module 140 supplies power to the target power supply pin via the functional module 120 and the jumper selection module 150.

[0060] During the design of the data communication system, when the main control communication level is equal to the preset level of the functional module 120, the main control module 110 and the functional module 120 can communicate directly. At this time, the data communication system can be designed so that the main control module 110 is electrically connected to the power module 140 through the second jumper selection link and the jumper selection module 150, and the power module 140 provides power to the target power supply pin of the main control module 110, and a break is formed between the first wire and the second wire to break the first jumper selection link.

[0061] The data communication system provided by the embodiment of the present application includes: a main control module and a functional module, the main control module includes a plurality of main control communication pins and at least one target power supply pin; the main control module is electrically connected to the functional module through at least some of the main control communication pins and at least one of the target power supply pins among the plurality of main control communication pins; the communication level of the functional module is a preset level; the main control module obtains the preset level from the functional module through the target power supply pin, controls the level of at least some of the main control communication pins to be adjusted to the target level according to the preset level, and the difference between the target level and the preset level belongs to the preset difference range. The embodiment of the present application directly connects the main control module to the functional module, and adjusts the level of each main control communication pin on the main control module according to the level of the target power supply pin on the main control module, so that the same main control module can communicate with functional modules with different voltages in different application scenarios, while saving the original level conversion chip and reducing the communication cost.

[0062] Example 2

[0063] In addition, the embodiment of the present utility model provides an electronic device, including the data communication system described in embodiment 1. The electronic device provided by the embodiment of the present utility model can implement the functions of the data communication system provided by the above embodiment 1, and will not be described here to avoid repetition.

[0064] In all examples shown and described herein, any specific values ​​should be interpreted as merely exemplary and not as limiting, and thus other examples of the exemplary embodiments may have different values.

[0065] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0066] The above-mentioned embodiments only express several implementation methods of the present invention, and the description is relatively specific and detailed, but it cannot be understood as limiting the scope of the present invention. It should be pointed out that for ordinary technicians in this field, several modifications and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.

Claims

1. A data communication system, characterized in that: The system comprises: a main control module and a functional module, wherein the main control module comprises a plurality of main control communication pins and at least one target power supply pin; The main control module is electrically connected to the functional module through at least some of the main control communication pins and at least one of the target power supply pins; The communication level of the functional module is a preset level; The main control module obtains the preset level from the functional module through the target power supply pin, and controls the level of at least part of the main control communication pins to be adjusted to the target level according to the preset level, and the difference between the target level and the preset level belongs to a preset difference range.

2. The data communication system according to claim 1, characterized in that: The plurality of master control communication pins include: a data sending pin, a data receiving pin, a reset pin and an information notification pin, and the data sending pin, the data receiving pin, the reset pin and the information notification pin are directly connected to the functional module respectively; The main control module is used to perform data transmission with the functional module through the data sending pin, the data receiving pin, the reset pin and the information notification pin.

3. The data communication system according to claim 1 or 2, characterized in that: The main control module includes a control pin, the functional module includes a power-on pin, and the system further includes: a control module, the control module being electrically connected to the control pin and the power-on pin respectively; The control module is used to control the startup of the functional module through the power-on pin after acquiring the control signal from the control pin.

4. The data communication system according to claim 3, characterized in that: The control module comprises: a transistor, a base of the transistor is electrically connected to the control pin, a collector of the transistor is electrically connected to the power-on pin, and an emitter of the transistor is grounded.

5. The data communication system according to claim 4, characterized in that: The control module further comprises: a current limiting resistor connected in series between the control pin and the base of the transistor; And / or, the control module further includes: a pull-down resistor, one end of the pull-down resistor is connected to the base of the transistor and the other end is connected to the emitter of the transistor.

6. The data communication system according to any one of claims 1-2, 4-5, characterized in that: The plurality of master communication pins are configured such that the levels thereof vary with the changes in the levels of the target power supply pins.

7. The data communication system according to any one of claims 1-2, 4-5, characterized in that: The main control module includes: a microcontroller chip, the model of which is MH2101 or THM3652; And / or, the functional module is a communication module or a display module or a camera module or a Bluetooth module; And / or, the system also includes: a power supply module, which is electrically connected to the main control module and the functional module respectively; the system has a first power supply link and a second power supply link, the power supply module supplies power to the functional module through the first power supply link, and supplies power to the target power supply pin of the main control module through the functional module, and the power supply module supplies power to a power supply pin of the main control module that is different from the target power supply pin through the second power supply link.

8. The data communication system according to any one of claims 1-2, 4-5, characterized in that: The system further includes: a jumper selection module, which is connected in series between the target power supply pin and the functional module to form a path between the target power supply pin and the functional module.

9. The data communication system according to any one of claims 1-2, 4-5, characterized in that ,The system also includes a jumper selection circuit and a power supply port; The jumper selection circuit includes a first jumper selection link, a second jumper selection link and a jumper selection module; The first jumper selection link includes a first wire electrically connected to the functional module and includes a second wire electrically connected to the main control module; The second jumper selection link includes a third wire electrically connected to the main control module and includes a fourth wire electrically connected to the power supply port; The jumper selection module is connected in series between the first wire and the second wire so that the first jumper selection link for electrically connecting the main control module and the functional module forms a path; A circuit break is formed between the third conductive line and the fourth conductive line to break the second jumper selection link.

10. An electronic device, characterized in that: A data communication system comprising any one of claims 1-9.