Low-power-consumption USB data transmission method and system
By introducing the wake-up and sleep state switching mechanism of the main control module in the USB data transmission method, powering the USB module is only supplied when needed, solving the problem of high power loss in the existing USB data transmission method and realizing low-power USB data transmission.
Patent Information
- Application Number
- CN202510053520.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2045-01-14
AI Technical Summary
The existing USB data transmission method will also output power supply when it is not connected to the USB flash drive, resulting in power loss and cannot meet the low-power operation requirements of electronic paper ink screens.
A low-power USB data transmission method is designed to switch between the wake-up state and the sleep state through the main control module, and power the USB module only when needed, reducing invalid operation and power consumption.
It reduces the power loss of USB data transmission method, meets the operation needs of low-power devices such as electronic paper ink screens, and extends the service life of the device.
Smart Images

Figure CN120010936A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electronic circuits, and in particular to a low-power USB data transmission method and system. Background Art
[0002] At present, electronic paper ink screens have the advantages of low power consumption, low-frequency display and power saving, and have a wide range of application markets. In some of these application scenarios, it is necessary to use a USB (Universal Serial Bus) flash drive to import image data into the electronic paper ink screen so that the ink screen displays the corresponding image information. However, the existing USB data transmission interface will continue to output power supply when the USB flash drive is not connected to transmit data, resulting in power loss, which does not meet the low-power operation requirements of the electronic paper ink screen; and when the USB data transmission interface is connected to a USB flash drive, the data communication between the USB flash drive and the electronic paper ink screen will be maintained, resulting in greater power loss. Therefore, the existing USB data transmission method cannot meet the requirements of the low-power, low-frequency display and power-saving operating environment of the electronic paper ink screen, and is prone to damage to the ink screen. Summary of the invention
[0003] The purpose of the present invention is to design a low-power USB data transmission method to reduce the power loss of the existing USB transmission interface so that it can meet the operation and use requirements of low-power devices.
[0004] In order to achieve the above-mentioned purpose, the first aspect of the present invention provides a low-power USB data transmission method, comprising: a main control module switches between a wake-up state and a sleep state based on a preset first time interval; when the main control module is in the wake-up state, a first control instruction is issued to enable a power module to power a USB module, and to determine whether a data signal of the USB module is responded to within a preset second time interval; if so, the main control module reads data based on the USB module and stores data; if not, the main control module switches to the sleep state.
[0005] The above-mentioned low-power USB data transmission method makes the main control module not work in the awake state, but switches between the awake working state and the sleep state, so that the main control module does not have to maintain the awake state with high power consumption all the time, thereby reducing the power loss of the main control module. On this basis, only when the main control module enters the awake state, the power module is controlled to supply power to the USB module, thereby reducing the power loss of the USB module. When the main control module enters the awake state, it will wait for the signal of the USB module within the second time interval. Only when the USB module generates a data signal, the main control module responds to the data signal to read the data and store the data, reducing the invalid operation of the main control module, thereby further reducing the power loss of the main control module. Therefore, the above-mentioned low-power USB system reduces the power loss of the existing USB data transmission method, and can meet the operation and use requirements of low-power devices such as electronic paper ink screens.
[0006] A second aspect of the present invention provides a low-power USB data transmission system, comprising a power module, a main control module and a USB module, wherein: the power module is used to supply power to the main control module; the USB module is used to generate a data signal when electrically connected to a preset storage medium; the main control module switches between an awake state and a sleep state based on a preset first time interval; when the main control module is in the awake state, a first control instruction is issued to enable the power module to supply power to the USB module and determine whether the data signal is responded to within a preset second time interval; if so, the main control module reads data from the storage medium based on the USB module and stores the data; if not, the main control module switches to the sleep state.
[0007] The above-mentioned low-power USB data transmission system applies a low-power USB data transmission method provided by the first aspect of the present invention, reduces the power loss of the existing USB data transmission method, and can meet the operation and use requirements of low-power devices such as electronic paper ink screens.
[0008] In one possible implementation, the power supply module includes a main control power supply submodule and a USB power supply submodule, wherein: the main control power supply submodule is used to supply power to the USB power supply submodule and the main control module; when the main control module is in the awake state, a first control instruction is issued to enable the USB power supply submodule to transfer the power of the main control power supply submodule to the USB module, thereby supplying power to the USB module.
[0009] In this implementation, the power module is subdivided into a main control power supply submodule and a USB power supply submodule to realize different functions. The main control power supply submodule is responsible for outputting power; the USB power supply submodule is responsible for receiving the first control instruction of the main control module and switching its own circuit conduction state according to the first control instruction of the main control module, thereby realizing the control of whether the USB module is powered or not.
[0010] In a possible implementation, the USB power supply submodule includes a first capacitor, a second capacitor, a first inductor and a first integrated circuit; the first integrated circuit includes an OUT terminal, a GND terminal, an EN terminal, an IN terminal and a SW terminal, wherein: the first end of the first capacitor is electrically connected to the main control power supply submodule, and the second end is grounded; the first end of the first inductor is electrically connected to the first end of the first capacitor, and the second end is electrically connected to the SW terminal of the first integrated circuit; the first end of the second capacitor is electrically connected to the USB module, and the second end is grounded; the OUT terminal of the first integrated circuit is electrically connected to the first end of the second capacitor, the GND terminal of the first integrated circuit is grounded, the EN terminal of the first integrated circuit is electrically connected to the main control module, and the IN terminal of the first integrated circuit is electrically connected to the first end of the first inductor.
[0011] In this implementation, the current output by the main control power supply submodule is filtered by the first capacitor and then input to the IN terminal of the first integrated circuit, thereby powering the first integrated circuit. At the same time, the power output by the main control power supply submodule is input to the SW terminal of the first integrated circuit through the first inductor energy storage. The EN terminal of the first integrated circuit is responsible for receiving the first control instruction of the main control module. When the main control module outputs a low-level signal to the EN terminal of the first integrated circuit, the first integrated circuit stops working. At this time, there is no output at the OUT terminal of the first integrated circuit, the USB module has no power input, and the USB module stops operating. When the main control module outputs a high-level signal to the EN terminal of the first integrated circuit, the first integrated circuit works normally. At this time, the first integrated circuit converts the power output by the main control power supply submodule into a suitable voltage through the OUT terminal and transmits it to the USB module. The USB module receives power and starts to operate.
[0012] In a possible implementation, the USB power supply module also includes an overcurrent protection circuit, and the first integrated circuit also includes an ISET end, wherein: the first end of the overcurrent protection circuit is electrically connected to the first end of the first capacitor, and the second end of the overcurrent protection circuit is electrically connected to the ISET end of the first integrated circuit; the overcurrent protection circuit is used to limit the maximum current of the first integrated circuit.
[0013] In this implementation, the power output by the main control power supply submodule is processed by the overcurrent protection circuit and then input to the ISET terminal of the first integrated circuit, thereby limiting the maximum current of the first integrated circuit and realizing overcurrent protection for the first integrated circuit.
[0014] In one possible implementation, the overcurrent protection circuit includes a first resistor and a second resistor, wherein: the first end of the first resistor serves as the first end of the overcurrent protection circuit, and the second end serves as the second end of the overcurrent protection circuit; the first end of the second resistor is electrically connected to the second end of the first resistor, and the second end is grounded.
[0015] In this implementation, the first resistor and the second resistor limit the current output by the main control power supply submodule and then input it to the ISET terminal of the first integrated circuit, thereby limiting the maximum current of the first integrated circuit and realizing overcurrent protection for the first integrated circuit.
[0016] In a possible implementation, the main control power supply submodule includes a main power supply, a third capacitor, a fourth capacitor and a second integrated circuit, and the second integrated circuit includes a VIN terminal, a GND terminal, an EN terminal and an OUT terminal, wherein: the positive pole of the main power supply is electrically connected to the USB power supply submodule, and the negative pole is grounded; the first end of the third capacitor is electrically connected to the positive pole of the main power supply, and the second end is grounded; the first end of the fourth capacitor is electrically connected to the main control module, and the second end is grounded; the VIN terminal of the second integrated circuit is electrically connected to the positive pole of the main power supply, the GND terminal of the second integrated circuit is grounded, the EN terminal of the second integrated circuit is electrically connected to the positive pole of the main power supply, and the OUT terminal of the second integrated circuit is electrically connected to the first end of the fourth capacitor.
[0017] In this implementation, the main power source serves as the power source of the main control power supply submodule. On the one hand, its positive electrode directly outputs power to the USB power supply submodule; on the other hand, the power output from its positive electrode is converted into a voltage suitable for the main control module after being processed by the third capacitor, the second integrated circuit and the fourth capacitor, thereby outputting power to the main control module. Specifically, the power output from the main power source is filtered by the third capacitor, input to the VIN terminal of the second integrated circuit, and input to the EN terminal of the second integrated circuit, so that the second integrated circuit operates normally, and then the OUT terminal of the second integrated circuit outputs power; the power output from the OUT terminal of the second integrated circuit is filtered by the fourth capacitor and transmitted to the main control module, thereby supplying power to the main control module.
[0018] In a possible implementation, the main control module includes a fifth capacitor, a sixth capacitor, a third resistor and a main control board, and the main control board includes a GND terminal, a VDD terminal, an EN terminal, a control terminal, a main control data positive terminal and a main control data negative terminal, wherein: the first end of the fifth capacitor is electrically connected to the main control power supply submodule, and the second end is grounded; the first end of the sixth capacitor is electrically connected to the first end of the fifth capacitor, and the second end is grounded; the first end of the third resistor is electrically connected to the first end of the fifth capacitor, and the second end is electrically connected to the EN terminal of the main control board; the GND terminal of the main control board is grounded, the VDD terminal of the main control board is electrically connected to the first end of the fifth capacitor, and the control terminal of the main control board is electrically connected to the A USB power supply submodule, the main control data positive terminal of the main control board is electrically connected to the USB module, and the main control data negative terminal of the main control board is electrically connected to the USB module; the main control board switches between a wake-up state and a sleep state based on a preset first time interval; when the main control board is in the wake-up state, a first control instruction is issued to enable the USB power supply submodule to transmit the power of the main control power supply submodule to the USB module, and determine whether to respond to the data signal of the USB module within the second time interval; if so, the main control board reads data from the storage medium based on the USB module and stores data; if not, the main control board switches to the sleep state.
[0019] Specifically, the main control board switches between the awake state and the sleep state at the time interval set in the timer of the built-in program. After the main control board enters the awake state, it outputs a high-level signal through the control end, so that the USB power supply submodule transmits the power of the master control power supply submodule to the USB module, so that the USB module starts working. In the second time interval, the main control board detects the signal generated by the USB module through the main control data positive terminal and the main control data negative terminal. When the USB module generates a data signal in the second time interval, the main control board performs a data reading operation on the storage medium electrically connected to the USB module at this time through the main control data positive terminal and the main control data negative terminal, and stores the read data in the RAM or ROM inside the main control board. After the main control board completes the data storage, it outputs a low-level signal through the control end, so that the USB power supply submodule stops working, and then the USB module stops working and switches to the sleep state.
[0020] In this implementation, the main control board does not work in the awake state, but switches between the awake working state and the sleep state, so that the main control board does not have to maintain the awake state with high power consumption all the time, thereby reducing the power loss of the main control board. On this basis, only when the main control board enters the awake state, the USB power supply submodule is controlled to power the USB module, thereby reducing the power loss of the USB module. When the main control board enters the awake state, it will wait for the signal of the USB module within the second time interval. Only when the USB module generates a data signal, the main control board responds to the data signal to read the data and store the data, reducing the invalid operation of the main control board, thereby further reducing the power loss of the main control board. Therefore, the above-mentioned low-power USB system reduces the power loss of the existing USB data transmission method, and can meet the operation and use requirements of low-power devices such as electronic paper ink screens.
[0021] In a possible implementation, the USB module includes a first diode, a second diode and a USB interface, and the USB interface includes a VCC terminal, a USB data positive terminal, a USB data negative terminal and a GND terminal, wherein: a first end of the first diode is electrically connected to the USB data positive terminal of the USB interface, and a second end is grounded; a first end of the second diode is electrically connected to the USB data negative terminal of the USB interface, and a second end is grounded; the VCC terminal of the USB interface is electrically connected to the USB power supply submodule, the USB data positive terminal of the USB interface is electrically connected to the main control data positive terminal of the main control board, and the USB data negative terminal of the USB interface is electrically connected to the main control data negative terminal of the main control board; the USB interface is used to generate a data signal when electrically connected to the storage medium.
[0022] It should be noted that the data signal includes a request command or signal sent when the storage medium needs to establish a data communication connection with the main control board. That is, when the data signal is generated in the USB module, it means that a preset storage medium has been electrically connected to the USB module, and the storage medium is ready to communicate with the main control board for data transmission.
[0023] In this implementation, when the VCC end of the USB interface receives the power transmitted from the USB power supply module, the USB interface starts to operate normally. When the USB interface is electrically connected to the preset storage medium, the data signal generated by the preset storage medium is transmitted to the main control board through the USB data positive end and the USB data negative end. The main control board performs data reading and data storage operations on the storage medium based on the main control data positive end being electrically connected to the USB data positive end, and the main control data negative end being electrically connected to the USB data negative end. Among them, the first diode is used to protect the main control data positive end of the main control board, and the second diode is used to protect the main control data negative end of the main control board.
[0024] In a possible implementation, the low-power USB data transmission system also includes a display screen module and a display screen power-on module; the power module is also used to power the display screen power-on module; after the main control module reads data from the storage medium and stores the data, it also includes: the main control module issues a second control instruction to enable the display screen power-on module to transfer the power of the power module to the display screen module, thereby powering the display screen module; the main control module transfers the stored data to the display screen module, and issues a refresh control instruction to enable the display screen module to perform a refresh operation.
[0025] In this implementation, the main control module supplies power to the display screen power-up module to make the display screen power-up module work. When the display screen power-up module receives the second control instruction sent by the main control module, it outputs power to the display screen module to start the display screen module. After the display screen module starts, the main control module transmits the data previously read and stored from the storage medium to the display screen module, and sends a picture refresh control instruction to the display screen module, so that the display screen module performs a picture refresh operation based on the data received from the main control module. When the display screen module completes the picture refresh, the main control module switches to a dormant state. This implementation only starts the display screen module when the main control module transmits data and sends instructions to the display screen module, which effectively reduces the power loss of the display screen module; and, this implementation uses the main control module as a data transmission intermediary between the display screen module and the USB storage medium, so that the display screen module does not have to maintain data communication with the USB storage medium all the time, thereby realizing a low-power, low-frequency display and power-saving operating environment for the display screen module, and reducing the power loss of the display screen module.
[0026] In a possible implementation, the display screen module is an electronic paper ink screen EPD. Through the above implementation, on the basis of meeting the low power consumption, low frequency display and power saving operation and use environment of the electronic paper ink screen, the picture data stored on the USB storage medium is transferred to the electronic paper ink screen, so that the electronic paper ink screen performs a picture refresh operation based on the picture data.
[0027] A low-power USB data transmission method and system provided by the present invention has at least the following advantages compared with the prior art:
[0028] On the one hand, the present invention makes the main control module not stay in the awake state, but switch between the awake working state and the sleep state, so that the main control module does not need to maintain the awake state with high power consumption all the time, thereby reducing the power loss of the main control module. On this basis, only when the main control module enters the awake state, the power module is controlled to supply power to the USB module, thereby reducing the power loss of the USB module. When the main control module enters the awake state, it will wait for the signal of the USB module within the second time interval. Only when the USB module generates a data signal, the main control module responds to the data signal to read data and store data, reducing the invalid operation of the main control module, thereby further reducing the power loss of the main control module.
[0029] On the other hand, the present invention starts the display screen module only when the main control module transmits data and sends instructions to the display screen module, which effectively reduces the power consumption of the display screen module; and, this implementation method uses the main control module as a data transmission intermediary between the display screen module and the USB storage medium, so that the display screen module does not have to maintain data communication with the USB storage medium all the time, thereby realizing a low-power, low-frequency display and power-saving operating environment for the display screen module, and reducing the power consumption of the display screen module.
[0030] In summary, the low-power USB data transmission method and system provided by the present invention reduces the power loss of existing USB data transmission methods and can meet the operation and use requirements of low-power devices such as electronic paper ink screens. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 is a flow chart of a low-power USB data transmission method provided by an embodiment of the present invention;
[0032] Figure 2 is a structural diagram of a low-power USB data transmission system provided by an embodiment of the present invention;
[0033] Figure 3 is a structural diagram of a USB power supply submodule provided by an embodiment of the present invention;
[0034] Figure 4 is a structural diagram of a main control power supply submodule provided by an embodiment of the present invention;
[0035] Figure 5 is a structural diagram of a main control module provided by an embodiment of the present invention;
[0036] Figure 6 is a structural diagram of a USB module provided by an embodiment of the present invention;
[0037] Figure 7 is a structural diagram of another low-power USB data transmission system provided by an embodiment of the present invention;
[0038] Among them: 100, power supply module; 110, USB power supply submodule; 111, overcurrent protection circuit; 120, main control power supply submodule; 200, main control module; 300, USB module; 400, display screen module; 500, display screen power-on module. DETAILED DESCRIPTION
[0039] The present invention will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that the embodiments and features in the embodiments of the present invention can be combined with each other without conflict.
[0040] The following detailed descriptions are all exemplary descriptions, and are intended to provide further detailed descriptions of the present invention. Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments, and are not intended to limit the present application; the terms "including" and "having" in the specification and claims of the present application and the above-mentioned drawings and any variations thereof are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.
[0041] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0042] Before describing the present application in detail with reference to the accompanying drawings and in combination with the embodiments, the application scenarios involved in the present application are first described.
[0043] The existing electronic paper ink screen has the characteristics of low power consumption, low-frequency display and power saving. It has broad application prospects in the application scenarios of large display devices such as price tags, educational tablets, bus stops, etc., and is in line with the current technical development direction of energy conservation, emission reduction, low carbon and environmental protection. However, the current technology for importing image data into the electronic paper ink screen is not convenient. On this basis, although USB flash drives can easily transfer image data to the electronic paper ink screen, the existing USB flash drives have high power consumption. When connected to the electronic paper ink screen for a long time, it will increase the power loss of the electronic paper ink screen, resulting in technical barriers when USB data transmission technology is applied in the field of electronic paper ink screen.
[0044] In view of this, a first aspect of an embodiment of the present invention provides a low-power USB data transmission method. Figure 1 , this embodiment includes:
[0045] S110. The main control module switches between the awake state and the sleep state based on a preset first time interval.
[0046] S120: When the main control module is in the awake state, a first control instruction is issued to enable the power module to supply power to the USB module, and determine whether to respond to the data signal of the USB module within a preset second time interval.
[0047] S131: If yes, the main control module reads data and stores data based on the USB module.
[0048] S132: If not, the main control module switches to the sleep state.
[0049] The above-mentioned low-power USB data transmission method makes the main control module not work in the awake state, but switches between the awake working state and the sleep state, so that the main control module does not have to maintain the awake state with high power consumption all the time, thereby reducing the power loss of the main control module. On this basis, only when the main control module enters the awake state, the power module is controlled to supply power to the USB module, thereby reducing the power loss of the USB module. When the main control module enters the awake state, it will wait for the signal of the USB module within the second time interval. Only when the USB module generates a data signal, the main control module responds to the data signal to read the data and store the data, reducing the invalid operation of the main control module, thereby further reducing the power loss of the main control module. Therefore, the above-mentioned low-power USB system reduces the power loss of the existing USB data transmission method, and can meet the operation and use requirements of low-power devices such as electronic paper ink screens.
[0050] In a possible embodiment, the first time interval is set to 30 seconds, that is, the main control module wakes itself up once every 30 seconds and switches to the awake state. The first time interval can be customized according to actual conditions. The longer the interval, the lower the power consumption of the main control module.
[0051] See also Figure 2According to a second aspect of an embodiment of the present invention, there is provided a low-power USB data transmission system, comprising a power module 100, a main control module 200 and a USB module 300, wherein: the power module 100 is used to supply power to the main control module 200; the USB module 300 is used to generate a data signal when electrically connected to a preset storage medium; the main control module 200 switches between an awake state and a sleep state based on a preset first time interval; when the main control module 200 is in the awake state, a high-level signal is sent to enable the power module 100 to supply power to the USB module 300, and to determine whether the data signal is responded to within a preset second time interval; if so, the main control module 200 reads data from the storage medium based on the USB module 300 and stores the data; if not, the main control module 200 sends a low-level signal to enable the power module 100 to stop supplying power to the USB module 300, and then the main control module 200 switches to the sleep state.
[0052] The above-mentioned low-power USB data transmission system applies a low-power USB data transmission method provided by the first aspect of the present invention, reduces the power loss of the existing USB data transmission method, and can meet the operation and use requirements of low-power devices such as electronic paper ink screens.
[0053] See also Figure 2 In a possible embodiment, the power supply module 100 includes a main control power supply submodule 120 and a USB power supply submodule 110, wherein: the main control power supply submodule 120 is used to supply power to the USB power supply submodule 110 and the main control module 200; when the main control module 200 is in the awake state, a high level signal is sent to enable the USB power supply submodule 110 to transmit the power of the main control power supply submodule 120 to the USB module 300, thereby supplying power to the USB module 300.
[0054] In this embodiment, the power module 100 is subdivided into a main control power supply submodule 120 and a USB power supply submodule 110 to realize different functions. The main control power supply submodule 120 is responsible for outputting power; the USB power supply submodule 110 is responsible for receiving a high level signal or a low level signal from the main control module 200, and switching its own circuit conduction state according to the high level signal or the low level signal from the main control module 200, thereby realizing the control of whether the USB module 300 is powered or not.
[0055] See also Figure 3In a possible embodiment, the USB power supply submodule 110 includes a first capacitor C1, a second capacitor C2, a first inductor L1 and a first integrated circuit U1. The first integrated circuit U1 includes an OUT terminal, a GND terminal, an EN terminal, an IN terminal and a SW terminal, and the model of the first integrated circuit U1 is ETA1039. The size of the first capacitor C1 is 10μF, the size of the second capacitor C2 is 10μF, and the size of the first inductor L1 is 2.2μH. Among them: the first end of the first capacitor C1 is electrically connected to the main control power supply submodule 120, and the second end is grounded; the electrical connection end of the first capacitor C1 and the main control power supply submodule 120 is at Figure 3 The first end of the first inductor L1 is electrically connected to the first end of the first capacitor C1, and the second end is electrically connected to the SW end of the first integrated circuit U1; the first end of the second capacitor C2 is electrically connected to the USB module 300, and the second end is grounded; the electrical connection end between the second capacitor C2 and the USB module 300 is at Figure 3 The OUT terminal of the first integrated circuit U1 is electrically connected to the first terminal of the second capacitor C2, the GND terminal of the first integrated circuit U1 is grounded, the EN terminal of the first integrated circuit U1 is electrically connected to the main control module 200, and the IN terminal of the first integrated circuit is electrically connected to the first terminal of the first inductor. The electrical connection terminal between the first integrated circuit U1 and the main control module 200 is Figure 3 The identifier in is USB_EN.
[0056] In this embodiment, the current output by the main control power supply submodule 120 is filtered by the first capacitor C1 and input to the IN terminal of the first integrated circuit U1, thereby supplying power to the first integrated circuit. At the same time, the power output by the main control power supply submodule 120 is input to the SW terminal of the first integrated circuit U1 through the first inductor L1 energy storage. The EN terminal of the first integrated circuit U1 is responsible for receiving the high level signal or low level signal of the main control module 200. When the main control module 200 outputs a low level signal to the EN terminal of the first integrated circuit U1, the first integrated circuit U1 stops working. At this time, there is no voltage output at the OUT terminal of the first integrated circuit U1. At this time, the power consumption of the first integrated circuit U1 is less than 50uA, and the USB module 300 has no power input, and the USB module 300 stops operating. When the main control module 200 outputs a high level signal to the EN terminal of the first integrated circuit U1, the first integrated circuit U1 works normally. At this time, the first integrated circuit U1 converts the power output by the main control power supply submodule 120 into 5V voltage through the OUT terminal and transmits it to the USB module 300. The USB module 300 receives power and starts to operate.
[0057] In a possible embodiment, the USB power supply module also includes an overcurrent protection circuit 111, and the first integrated circuit also includes an ISET end, wherein: the first end of the overcurrent protection circuit 111 is electrically connected to the first end of the first capacitor C1, and the second end of the overcurrent protection circuit 111 is electrically connected to the ISET end of the first integrated circuit U1; the overcurrent protection circuit 111 is used to limit the maximum current of the first integrated circuit U1.
[0058] In this embodiment, the power output by the main control power supply submodule 120 is processed by the overcurrent protection circuit 111 and then input to the ISET terminal of the first integrated circuit U1, thereby limiting the maximum current of the first integrated circuit U1 and implementing overcurrent protection for the first integrated circuit U1.
[0059] In a possible embodiment, the overcurrent protection circuit 111 includes a first resistor R1 and a second resistor R2, the first resistor R1 has a value of 100 kΩ, and the second resistor R2 has a value of 39 kΩ. Wherein: the first end of the first resistor R1 serves as the first end of the overcurrent protection circuit 111, and the second end serves as the second end of the overcurrent protection circuit 111; the first end of the second resistor R2 is electrically connected to the second end of the first resistor R1, and the second end is grounded.
[0060] In this embodiment, the first resistor R1 and the second resistor R2 limit the current output by the main control power supply submodule 120 and input it to the ISET terminal of the first integrated circuit U1, thereby limiting the maximum current of the first integrated circuit U1 and realizing overcurrent protection for the first integrated circuit U1.
[0061] See also Figure 4 In a possible embodiment, the main control power supply submodule 120 includes a main power supply BAT, a third capacitor C3, a fourth capacitor C4 and a second integrated circuit U2, wherein the second integrated circuit U2 includes a VIN terminal, a GND terminal, an EN terminal and an OUT terminal; the model of the main power supply BAT is a 18650 battery, the model of the second integrated circuit U2 is ETA5071V330NS2F, the size of the third capacitor C3 is 1μF, and the size of the fourth capacitor C4 is 1μF. Wherein: the positive electrode of the main power supply BAT is electrically connected to the USB power supply submodule 110, and the negative electrode is grounded; the positive electrode of the main power supply BAT is electrically connected to the port of the USB power supply submodule 110 at Figure 4 The mark in is BAT_VCC; the first end of the third capacitor C3 is electrically connected to the positive electrode of the main power supply BAT, and the second end is grounded; the first end of the fourth capacitor C4 is electrically connected to the main control module 200, and the second end is grounded; the first end of the fourth capacitor C4 is electrically connected to the port of the main control module 200 Figure 4The mark in is MCU_3_3V; the VIN terminal of the second integrated circuit U2 is electrically connected to the positive electrode of the main power supply BAT, the GND terminal of the second integrated circuit U2 is grounded, the EN terminal of the second integrated circuit U2 is electrically connected to the positive electrode of the main power supply BAT, and the OUT terminal of the second integrated circuit U2 is electrically connected to the first end of the fourth capacitor C4.
[0062] In this embodiment, the main power supply BAT serves as the power supply of the main control power supply submodule 120. On the one hand, its positive electrode directly outputs power to the USB power supply submodule 110; on the other hand, the power output from its positive electrode is converted into a 3.3V voltage suitable for the main control module 200 after being processed by the third capacitor C3, the second integrated circuit U2 and the fourth capacitor C4, thereby outputting power to the main control module 200. Specifically, the power output from the main power supply BAT is filtered by the third capacitor C3, input to the VIN terminal of the second integrated circuit U2, and input to the EN terminal of the second integrated circuit U2, so that the second integrated circuit U2 operates normally, and then the OUT terminal of the second integrated circuit U2 outputs 3.3V power; the OUT terminal of the second integrated circuit U2 outputs a 3.3V voltage, which is filtered by the fourth capacitor C4 and transmitted to the main control module 200, thereby providing power to the main control module 200.
[0063] See also Figure 5 In a possible embodiment, the main control module 200 includes a fifth capacitor C5, a sixth capacitor C6, a third resistor R3 and a main control board U3, and the main control board includes a GND terminal, a VDD terminal, an EN terminal, a control terminal, a main control data positive terminal and a main control data negative terminal. The model of the main control board U3 is ESP32-S3-WROOM-1-N16R8, the size of the fifth capacitor C5 is 1μF, the size of the sixth capacitor C6 is 1μF, and the size of the third resistor R3 is 10kΩ. Among them: the first end of the fifth capacitor C5 is electrically connected to the main control power supply submodule 120, and the second end is grounded; the first end of the fifth capacitor C5 is electrically connected to the port of the main control power supply submodule 120 at Figure 5 The mark in is MCU_3_3V; the first end of the sixth capacitor C6 is electrically connected to the first end of the fifth capacitor C5, and the second end is grounded; the first end of the third resistor R3 is electrically connected to the first end of the fifth capacitor C5, and the second end is electrically connected to the EN end of the main control board U3; the GND end of the main control board U3 is grounded, the VDD end of the main control board U3 is electrically connected to the first end of the fifth capacitor C5, and the VDD end is Figure 5The identifier in is VDD3V3; the control terminal IO8 of the main control board U3 is electrically connected to the USB power supply submodule 110, and the port identifier is USB_EN; the main control data positive terminal IO20 of the main control board U3 is electrically connected to the USB module 300, and the port identifier is USB_D+; the main control data negative terminal IO19 of the main control board U3 is electrically connected to the USB module 300, and the port identifier is USB_D-; the main control board U3 switches between the awake state and the sleep state based on a preset first time interval; when the main control board U3 is in the awake state, a high-level signal is output from the control terminal IO8 to enable the USB power supply submodule 110 to transmit the power supply of the main control power supply submodule 120 to the USB module 300, and determine whether to respond to the data signal of the USB module 300 within the second time interval; if so, the main control board U3 reads data from the storage medium and stores data based on the USB module 300; if not, the main control board U3 switches to the sleep state.
[0064] Specifically, the main control board U3 switches between the awake state and the dormant state at the time interval set in the timer of the built-in program. After the main control board U3 enters the awake state, it outputs a high-level signal through the control terminal IO8, so that the USB power supply submodule 110 transmits the power supply of the main control power supply submodule 120 to the USB module 300, so that the USB module 300 starts to work. In the second time interval, the main control board U3 detects the signal generated by the USB module 300 through the main control data positive terminal IO20 and the main control data negative terminal IO19. When the USB module 300 generates a data signal in the second time interval, the main control board U3 performs a data reading operation on the storage medium electrically connected to the USB module 300 at this time through the main control data positive terminal IO20 and the main control data negative terminal IO19, and stores the read data in the RAM or ROM inside the main control board U3. After the main control board U3 completes the data storage, it outputs a low-level signal through the control terminal IO8, so that the USB power supply submodule 110 interrupts the work, and then the USB module 300 interrupts the work and switches to the dormant state.
[0065] In this embodiment, the main control board U3 is not always in the awake state, but switches between the awake working state and the sleep state, so that the main control board U3 does not have to maintain the awake state with high power consumption all the time, thereby reducing the power loss of the main control board U3. On this basis, only when the main control board U3 enters the awake state, the USB power supply submodule 110 is controlled to power the USB module 300, thereby reducing the power loss of the USB module 300. When the main control board U3 enters the awake state, it will wait for the signal of the USB module 300 within the second time interval. Only when the USB module 300 generates a data signal, the main control board U3 responds to the data signal to read the data and store the data, reducing the invalid operation of the main control board U3, thereby further reducing the power loss of the main control board U3. Therefore, the above-mentioned low-power USB system reduces the power loss of the existing USB data transmission method, and can meet the operation and use requirements of low-power devices such as electronic paper ink screens.
[0066] In a possible embodiment, the USB module 300 includes a first diode D1, a second diode D2 and a USB interface J1, the USB interface J1 includes a VCC terminal, a USB data positive terminal, a USB data negative terminal and a GND terminal, the model of the first diode D1 is ESDBL3V3Y1, and the model of the second diode D2 is ESDBL3V3Y1. Among them: the first end of the first diode D1 is electrically connected to the USB data positive terminal D+ of the USB interface J1, and the second end is grounded; the first end of the second diode D2 is electrically connected to the USB data negative terminal D- of the USB interface J1, and the second end is grounded; the VCC end of the USB interface J1 is electrically connected to the USB power supply submodule 110, and the port is marked as USB_5V; the USB data positive terminal D+ of the USB interface J1 is electrically connected to the main control data positive terminal IO20 of the main control board, and the port is marked as USB_D+; the USB data negative terminal D- of the USB interface J1 is electrically connected to the main control data negative terminal IO19 of the main control board U3, and the port is marked as USB_D-; the USB interface J1 is used to generate a data signal when electrically connected to the storage medium.
[0067] In a possible embodiment, the USB interface J1 is a USB 2.0 model, and the storage medium is a USB flash drive.
[0068] It should be noted that the data signal includes a request command or signal sent when the storage medium needs to establish a data communication connection with the main control board U3. That is, when the data signal is generated in the USB module 300, it means that the USB module 300 has been electrically connected to a preset storage medium, and the storage medium is ready to communicate with the main control board for data transmission.
[0069] In this embodiment, when the VCC terminal of the USB interface J1 receives the 5.5V power supply transmitted by the USB power supply submodule 110, the USB interface J1 starts to operate normally. When the USB interface J1 is electrically connected to the USB flash drive, the data signal generated by the USB flash drive is transmitted to the main control board U3 through the USB data positive terminal D+ and the USB data negative terminal D-. The main control board U3 performs data reading and data storage operations on the USB flash drive based on the main control data positive terminal IO20 being electrically connected to the USB data positive terminal D+, and the main control data negative terminal IO19 being electrically connected to the USB data negative terminal D-. Among them, the first diode D1 is used to protect the main control data positive terminal IO20 of the main control board (ESD protection), and the second diode D2 is used to protect the main control data negative terminal IO19 of the main control board U3 (ESD protection).
[0070] In a possible embodiment, the low-power USB data transmission system also includes a display screen module 400 and a display screen power-on module 500; the power module 100 is also used to power the display screen power-on module 500; after the main control module 200 reads data from the storage medium and stores the data, it also includes: the main control module 200 issues a second control instruction to enable the display screen power-on module 500 to transfer the power of the power module 100 to the display screen module 400, thereby powering the display screen module 400; the main control module 200 transfers the stored data to the display screen module 400, and issues a refresh control instruction to enable the display screen module 400 to perform a refresh operation.
[0071] In this embodiment, the main control module 200 supplies power to the display screen power-on module 500 to enable the display screen power-on module 500 to operate. When the display screen power-on module 500 receives the second control instruction issued by the main control module 200, it outputs power to the display screen module 400 to enable the display screen module 400 to start. After the display screen module 400 starts, the main control module 200 transmits the data previously read and stored from the storage medium to the display screen module 400, and issues a refresh control instruction to the display screen module 400 to enable the display screen module 400 to perform a refresh operation based on the data received from the main control module 200. When the display screen module 400 completes the refresh, the main control module 200 switches to a dormant state. This embodiment starts the display screen module 400 only when the main control module 200 transmits data and sends instructions to the display screen module 400, which effectively reduces the power consumption of the display screen module 400; and, this embodiment uses the main control module 200 as a data transmission intermediary between the display screen module 400 and the USB storage medium, so that the display screen module 400 does not have to maintain data communication with the USB storage medium all the time, thereby realizing a low-power, low-frequency display and power-saving operating environment for the display screen module 400, and reducing the power consumption of the display screen module 400.
[0072] In a possible embodiment, the display screen module 400 is an electronic paper ink screen EPD, and the display screen power-on module 500 is a PMIC, and the model of the PMIC is TPS65185RGZR. The main control module 200 supplies power to the PMIC to make the PMIC work. When the PMIC receives the IIC protocol control instruction issued by the main control module 200, the PMIC outputs power to turn on the EPD power supply, so that the EPD starts. After the EPD starts, the main control module 200 transmits the data previously read and stored from the storage medium to the EPD, and issues a refresh control instruction to the EPD, so that the EPD performs a refresh operation based on the data received from the main control module 200. When the EPD refresh is completed, the main control module 200 switches to a sleep state. This embodiment starts the EPD only when the main control module 200 transmits data and sends instructions to the EPD, which effectively reduces the power consumption of the EPD; and this embodiment uses the main control module 200 as a data transmission medium between the EPD and the USB storage medium, so that the EPD does not have to maintain data communication with the USB storage medium all the time, thereby realizing the low power consumption, low frequency display and power saving operating environment of the EPD, and reducing the power consumption of the EPD. Through the above embodiment, on the basis of meeting the low power consumption, low frequency display and power saving operating environment of the electronic paper ink screen, it is realized to transfer the picture data stored on the USB storage medium to the electronic paper ink screen, so that the electronic paper ink screen can perform a picture refresh operation based on the picture data.
[0073] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope recorded in this specification.
[0074] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several improvements and substitutions may be made without departing from the concept of the present application, and these improvements and substitutions shall also be regarded as the protection scope of the present invention. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A low-power USB data transmission method, characterized in that: include: The main control module switches between the awake state and the sleep state based on a preset first time interval; When the main control module is in the awake state, a first control instruction is issued to enable the power module to supply power to the USB module, and to determine whether to respond to the data signal of the USB module within a preset second time interval; If yes, the main control module reads data based on the USB module and stores the data; If not, the main control module switches to the sleep state.
2. A low-power USB data transmission system, characterized in that: It includes a power module, a main control module and a USB module, among which: The power supply module is used to supply power to the main control module; The USB module is used to generate a data signal when electrically connected to a preset storage medium; The main control module switches between the awake state and the sleep state based on a preset first time interval; When the main control module is in the awake state, a first control instruction is issued to enable the power module to supply power to the USB module and determine whether to respond to the data signal within a preset second time interval; If so, the main control module reads data from the storage medium based on the USB module and stores the data; If not, the main control module switches to the sleep state.
3. A low-power USB data transmission system according to claim 2, characterized in that: The power supply module includes a main control power supply submodule and a USB power supply submodule, wherein: The main control power supply submodule is used to supply power to the USB power supply submodule and the main control module; When the main control module is in the awake state, a first control instruction is issued to enable the USB power supply submodule to transmit the power of the main control power supply submodule to the USB module, thereby supplying power to the USB module.
4. A low-power USB data transmission system according to claim 3, characterized in that: The USB power supply submodule includes a first capacitor, a second capacitor, a first inductor and a first integrated circuit; the first integrated circuit includes an OUT terminal, a GND terminal, an EN terminal, an IN terminal and a SW terminal, wherein: A first end of the first capacitor is electrically connected to the main control power supply submodule, and a second end is grounded; The first end of the first inductor is electrically connected to the first end of the first capacitor, and the second end is electrically connected to the SW end of the first integrated circuit; A first end of the second capacitor is electrically connected to the USB module, and a second end thereof is grounded; The OUT terminal of the first integrated circuit is electrically connected to the first end of the second capacitor, the GND terminal of the first integrated circuit is grounded, the EN terminal of the first integrated circuit is electrically connected to the main control module, and the IN terminal of the first integrated circuit is electrically connected to the first end of the first inductor.
5. A low-power USB data transmission system according to claim 4, characterized in that: The USB power supply module further includes an overcurrent protection circuit, and the first integrated circuit further includes an ISET terminal, wherein: A first end of the overcurrent protection circuit is electrically connected to a first end of the first capacitor, and a second end of the overcurrent protection circuit is electrically connected to an ISET end of the first integrated circuit; The overcurrent protection circuit is used to limit the maximum current of the first integrated circuit.
6. A low-power USB data transmission system according to claim 5, characterized in that: The overcurrent protection circuit comprises a first resistor and a second resistor, wherein: The first end of the first resistor serves as the first end of the overcurrent protection circuit, and the second end of the first resistor serves as the second end of the overcurrent protection circuit; The first end of the second resistor is electrically connected to the second end of the first resistor, and the second end is grounded.
7. A low-power USB data transmission system according to claim 3, characterized in that: The main control power supply submodule includes a main power supply, a third capacitor, a fourth capacitor and a second integrated circuit, and the second integrated circuit includes a VIN terminal, a GND terminal, an EN terminal and an OUT terminal, wherein: The positive electrode of the main power supply is electrically connected to the USB power supply submodule, and the negative electrode is grounded; A first end of the third capacitor is electrically connected to the positive electrode of the main power supply, and a second end is grounded; A first end of the fourth capacitor is electrically connected to the main control module, and a second end thereof is grounded; The VIN terminal of the second integrated circuit is electrically connected to the positive electrode of the main power supply, the GND terminal of the second integrated circuit is grounded, the EN terminal of the second integrated circuit is electrically connected to the positive electrode of the main power supply, and the OUT terminal of the second integrated circuit is electrically connected to the first end of the fourth capacitor.
8. A low-power USB data transmission system according to claim 3, characterized in that: The main control module includes a fifth capacitor, a sixth capacitor, a third resistor and a main control board, and the main control board includes a GND terminal, a VDD terminal, an EN terminal, a control terminal, a main control data positive terminal and a main control data negative terminal, wherein: A first end of the fifth capacitor is electrically connected to the main control power supply submodule, and a second end thereof is grounded; The first end of the sixth capacitor is electrically connected to the first end of the fifth capacitor, and the second end is grounded; A first end of the third resistor is electrically connected to a first end of the fifth capacitor, and a second end thereof is electrically connected to an EN end of the main control board; The GND terminal of the main control board is grounded, the VDD terminal of the main control board is electrically connected to the first end of the fifth capacitor, the control terminal of the main control board is electrically connected to the USB power supply submodule, the main control data positive terminal of the main control board is electrically connected to the USB module, and the main control data negative terminal of the main control board is electrically connected to the USB module; The main control board switches between the awake state and the sleep state based on a preset first time interval; When the main control board is in the awake state, a first control instruction is issued to instruct the USB power supply submodule to transmit the power of the main control power supply submodule to the USB module, and determine whether to respond to the data signal of the USB module within the second time interval; If so, the main control board reads data from the storage medium based on the USB module and stores the data; If not, the main control board switches to the sleep state.
9. A low-power USB data transmission system according to claim 8, characterized in that: The USB module includes a first diode, a second diode and a USB interface, and the USB interface includes a VCC terminal, a USB data positive terminal, a USB data negative terminal and a GND terminal, wherein: A first end of the first diode is electrically connected to a USB data positive terminal of the USB interface, and a second end thereof is grounded; A first end of the second diode is electrically connected to the USB data negative end of the USB interface, and a second end is grounded; The VCC end of the USB interface is electrically connected to the USB power supply submodule, the USB data positive end of the USB interface is electrically connected to the main control data positive end of the main control board, and the USB data negative end of the USB interface is electrically connected to the main control data negative end of the main control board; The USB interface is used to generate the data signal when electrically connected to the storage medium.
10. A low-power USB data transmission system according to claim 2, characterized in that: It also includes a display screen module and a display screen power-on module; the power supply module is also used to supply power to the display screen power-on module; after the main control module reads data from the storage medium and stores the data, it also includes: The main control module issues a second control instruction to enable the display screen power-on module to transmit the power of the power module to the display screen module, thereby supplying power to the display screen module; The main control module transmits the stored data to the display screen module, and issues a refresh control instruction to enable the display screen module to perform a refresh operation.
Citation Information
Patent Citations
Data interference power consumption control
CN102415009A
Radio frequency subscriber identity module (SIM) card with regular awakening function and implementation method of card
CN102957811A
Electronic system with awakening assistance device and awakening assistance method applied to electronic system
CN108874449A
System-level chip, universal serial bus master device, system and wake-up method
CN109857243A
Artificial intelligence (AI) type control system based on multi-interface control equipment
CN110045650A