A low-power control system and an interaction method inside the low-power control system

Through the connection between the GND line and the power signal bus between the master and slave modules, the power supply and data interaction of the low-power control system is realized, which solves the problems of slow wireless communication and high wired communication costs, and achieves fast response, low power consumption and stable communication.

CN114839909BActive Publication Date: 2025-07-22YANTAI JEREH OILFIELD SERVICES GROUP
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210453759.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-27
Publication Date
2025-07-22
Estimated Expiration
2042-04-27

AI Technical Summary

Technical Problem

In the existing low-power control system, the wireless communication between the master and slave modules is slow, the power consumption is high, and the communication is unstable; the wired communication method requires multiple wire harnesses, resulting in high construction costs and slow speed.

Method used

The host module and the slave module are connected through GND lines and the power signal bus to realize power supply and data interaction. The host microcontroller controls the slave microcontroller through wake-up pulse signals, uses pulse width modulation signals for data transmission, and controls the opening and closing of the load module through the switching unit.

Benefits of technology

It improves communication response speed, reduces power consumption, reduces bus harness, reduces construction costs, and improves communication stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114839909B_ABST
    Figure CN114839909B_ABST
Patent Text Reader

Abstract

The present invention discloses a low-power control system and an interaction method inside the low-power control system. The invention includes: a host module, including a host battery power supply module and a host single-chip microcomputer, the host module is connected to at least one slave module through a GND wire and a power signal bus, and is used to supply power to at least one slave module and control the on and off of the load module corresponding to at least one slave module, wherein at least one slave module is connected in parallel; at least one slave module, including a slave voltage conversion module, a slave voltage conversion module and a load module, at least one slave module is connected to the GND wire and the power signal bus, and is used to charge according to the control signal sent by the host module. Through the present invention, the technical problem that there are defects in both wireless communication and wired communication between the master and slave modules of the battery low-power control system in the related art is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of battery control, and in particular, to a low-power control system and an interaction method inside the low-power control system. Background Art

[0002] In related technologies, in currently low-power products powered by batteries, some are systems composed of two or more modules. Among them, in some low-power control systems, each module communicates wirelessly. Each module has an independent battery power supply. In order to achieve low power consumption, this wireless communication method cannot achieve real-time control response, thus increasing the communication response time and reducing the real-time performance of the system. If the response time is reduced, the overall power consumption of the system will increase, and the reliability of wireless communication is not as stable as that of wired communication.

[0003] In addition, in some low-power control systems, bus communication technology is adopted between each module. This bus generally has 3 wires or 4 wires or more wires. Among them, two wires are respectively the external power supply (VDD) and the ground (GND) wires, and the other wire or two wires or more wires are data lines. Data exchange in the system is completed by a separate data line. Compared with the wireless communication method, this bus communication method has a faster response time, can reach several microseconds, lower power consumption, and more stable communication. However, the more bus wire harnesses, the higher the construction cost. Therefore, in a low-power control system powered by batteries, fast response, lower power consumption, more stable communication, and fewer bus wire harnesses between different modules have always been important factors that need to be considered by technicians during design.

[0004] Therefore, the prior art has the following problems: the wireless communication method has slow communication response, high power consumption, and unstable communication; the wired communication method requires separate power lines, GND lines, and data lines. The more wire harnesses, the higher the construction cost and the slower the construction speed.

[0005] In view of the above problems existing in the related technologies, no effective solution has been proposed yet. Summary of the Invention

[0006] The main objective of the present invention is to provide a low-power control system and an interaction method inside the low-power control system to solve the technical problems that there are defects in both wireless communication and wired communication between the master and slave modules of the low-power control system of the battery in the related technologies.

[0007] To achieve the above object, according to one aspect of the present invention, a low-power control system is provided. The control system includes: a host module, including a host battery power supply module and a host single-chip microcomputer, the host module is connected to at least one slave module through a GND line and a power signal bus, and is used to supply power to at least one slave module and control the load module corresponding to at least one slave module to turn on and off, wherein at least one slave module is connected in parallel; at least one slave module, including a slave voltage conversion module, a slave voltage conversion module and a load module, at least one slave module is connected to the GND line and the power signal bus, and is used to charge according to the control signal sent by the host module.

[0008] Further, the host module includes: a host battery power supply module, including a first output terminal and a second output terminal, one end of the first output terminal is connected to the host battery power supply module, the other end is connected to one end of a first resistor, and the other end of the first resistor is connected to the power signal bus; a host single-chip microcomputer, connected to the second output terminal of the host battery power supply module; a first switch unit, respectively connected to the first output terminal of the host battery power supply module, the host single-chip microcomputer and the power signal bus, and is connected in parallel with the first resistor; a second switch unit, the first end is connected to the power signal bus, the second end is connected to the host single-chip microcomputer, and the third end is connected to the GND line; a first diode, one end is connected to the host single-chip microcomputer, and the other end is connected to the power signal bus.

[0009] Further, the slave module further includes: a slave voltage conversion module, including an input terminal and an output terminal, the input terminal is connected to the power signal bus and the GND line, and the output terminal is connected to the slave single-chip microcomputer; a slave single-chip microcomputer, respectively connected to the slave voltage conversion module, a second diode, a third switch unit and a fourth switch unit; a second diode, one end is connected to the power signal bus, and the other end is connected to the slave single-chip microcomputer; a third switch unit, the first end is connected to the slave single-chip microcomputer, the second end is connected to the power signal bus and the slave voltage conversion module, and the third end is connected to the GND line; a fourth switch unit, the first end is connected to the slave single-chip microcomputer, the second end is connected to the load module, and the third end is grounded; a load module, one end is connected to the power signal bus, and the other end is connected to the fourth switch unit.

[0010] To achieve the above object, according to one aspect of the present invention, an interaction method inside a low-power control system is provided. The invention includes: after the host single-chip microcomputer is awakened, controlling the host single-chip microcomputer to wake up the slave single-chip microcomputer; when the slave single-chip microcomputer receives a control signal, controlling the slave single-chip microcomputer to act according to the control signal.

[0011] Further, the host single-chip microcomputer wakes up the slave single-chip microcomputer, including: the host single-chip microcomputer outputs a wake-up pulse signal to the power signal bus through the second switch unit, and the power signal bus forwards the wake-up pulse signal to the slave single-chip microcomputer; when the slave single-chip microcomputer receives the wake-up pulse signal, the slave single-chip microcomputer exits the low-power mode.

[0012] Further, when the signal is a data reading signal, when the slave single-chip microcomputer receives the signal, the slave single-chip microcomputer acts according to the signal, including: the slave single-chip microcomputer sends a data pulse width signal to the third switch unit; the third switch unit forwards the data pulse signal to the first diode, and the first diode then sends the data pulse signal to the host single-chip microcomputer, where the data pulse signal carries data.

[0013] Further, after the slave single-chip microcomputer acts according to the control signal when the slave single-chip microcomputer receives the control signal, the method further includes: the host single-chip microcomputer and the slave single-chip microcomputer enter their respective low-power modes.

[0014] Further, before the slave single-chip microcomputer acts according to the control signal when the slave single-chip microcomputer receives the control signal, the method further includes: the host single-chip microcomputer sends a data reading pulse width modulation signal to the slave single-chip microcomputer.

[0015] Further, before the slave single-chip microcomputer acts according to the control signal when the slave single-chip microcomputer receives the control signal, the method further includes: the slave single-chip microcomputer determines whether the format of the received data reading pulse width modulation signal is correct; if the format is correct, the slave single-chip microcomputer acts; if the format is incorrect, the slave single-chip microcomputer enters the low-power mode.

[0016] Further, when the signal is a load control pulse modulation signal, when the slave single-chip microcomputer receives the signal, the slave single-chip microcomputer acts according to the signal, including: when the slave single-chip microcomputer receives the load pulse modulation signal, the slave single-chip microcomputer processes the load pulse modulation signal to obtain a response pulse signal and sends the response pulse signal to the host single-chip microcomputer; when the slave single-chip microcomputer receives the load pulse modulation signal, the fourth switch unit of the slave single-chip microcomputer is turned on, where when the fourth switch unit is turned on, the load module is turned on.

[0017] Further, after the fourth switch unit of the slave single-chip microcomputer is turned on when the slave single-chip microcomputer receives the load pulse modulation signal, the method includes: the host unit determines whether to turn off the load module; when it is determined that the load module is to be turned off, the host single-chip microcomputer turns off the first switch unit to cut off the power supply of the load module; when the slave single-chip microcomputer detects that the load module is turned off, the fourth switch unit is turned off, and the slave single-chip microcomputer enters the low-power mode.

[0018] To achieve the above object, according to another aspect of the present invention, there is provided a computer-readable storage medium, the computer-readable storage medium including a stored program, wherein when the program runs, the device where the computer-readable storage medium is located executes the above-described interaction method inside a low-power system.

[0019] To achieve the above object, according to another aspect of the present invention, there is provided a processor, characterized in that the processor is used to run a program, wherein when the program runs, it executes the above-described interaction method inside a low-power system.

[0020] By the present invention, the following steps are adopted: a host module, including a host battery power supply module and a host single-chip microcomputer, the host module is connected to at least one slave module through a GND wire and a power signal bus, and is used to supply power to at least one slave module and control the opening and closing of the load module corresponding to at least one slave module, wherein at least one slave module is connected in parallel; at least one slave module, including a slave voltage conversion module, a slave voltage conversion module and a load module, at least one slave module is connected to the GND wire and the power signal bus, and is used to charge according to the control signal sent by the host module, solving the technical problem that there are defects in both wireless communication and wired communication between the master and slave modules of the battery low-power control system in the related art, and further achieving the technical effects of improving the communication response speed, reducing power consumption, reducing the bus wire harness, reducing the construction cost, and improving the communication stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] The drawings constituting a part of the present invention are used to provide a further understanding of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0022] Figure 1 is a schematic diagram of a low-power control system provided according to an embodiment of the present invention; and

[0023] Figure 2 is a flowchart of an interaction method inside a low-power control system provided according to an embodiment of the present invention;

[0024] Figure 3 is a flowchart of an interaction method inside a low-power control system Figure 2 ;

[0025] Figure 4 is a flowchart of the host module controlling the opening of the slave load module provided by the present application;

[0026] It further includes the following reference numerals:

[0027] Output 1: The first output terminal; Output 2: The second output terminal; Q1: The first switching unit; Q2: The second switching unit; Q3: The third switching unit; Q4: The fourth switching unit; D1: The first diode; D2: The second diode; R1: The first resistor. Detailed implementation manners

[0028] It should be noted that, without conflict, the embodiments in the present invention and the features in the embodiments may be combined with each other. The present invention will be described in detail below with reference to the drawings and in conjunction with the embodiments.

[0029] In order to enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so as to describe the embodiments of the present invention here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0031] According to an embodiment of the present invention, a low-power control system is provided.

[0032] Figure 1 is a schematic diagram of a low-power control system provided according to an embodiment of the present invention. As Figure 1 shown, the control system includes the following parts:

[0033] The host module includes a host battery power supply module and a host single-chip microcomputer. The host module is connected to at least one slave module through a GND line and a power signal bus, and is used to supply power to at least one slave module and control the load module corresponding to at least one slave module to be turned on and off. Among them, at least one slave module is connected in parallel;

[0034] At least one slave module, including a slave voltage conversion module, a slave voltage conversion module, and a load module. The at least one slave module is connected to the GND line and the power signal bus, and is used to charge according to the control signal sent by the master module.

[0035] As described above, the present application provides a low-power control system. In this control system, a low-power circuit and a low-power processing method for realizing power supply and communication functions through two wires are provided.

[0036] First, the low-power control system includes a master module and a slave module. Between the master module and the slave module, power supply from the master module to the slave module, data interaction between the master module and the slave module, and control of a high-power load on the slave module can be realized through two wires. Among them, there can be multiple slave modules, and multiple slave modules are simultaneously connected in parallel to these two buses. These two wires are the GND wire and the power signal wire respectively.

[0037] In an optional embodiment, the master module includes: a master battery power supply module, including a first output terminal and a second output terminal. One end of the first output terminal is connected to the master battery power supply module, and the other end is connected to one end of a first resistor. The other end of the first resistor is connected to the power signal bus; a master single-chip microcomputer, connected to the second output terminal of the master battery power supply module; a first switch unit, connected to the first output terminal of the master battery power supply module, the master single-chip microcomputer, and the power signal bus respectively, and is connected in parallel with the first resistor; a second switch unit, with the first end connected to the power signal bus, the second end connected to the master single-chip microcomputer, and the third end connected to the GND line; a first diode, with one end connected to the master single-chip microcomputer and the other end connected to the power signal bus.

[0038] Specifically, the master module: includes a battery power supply module, a master single-chip microcomputer, a current-limiting resistor R1 for supplying power to the slave, a high-power power supply switch mos tube Q1 (the first switch unit) for supplying power to the slave, a main module communication receiving signal diode D1 (the first diode), and a main module communication transmitting signal mos tube Q2. The master battery module supplies power to the slave module through output 1 (the first output terminal) and supplies power to the master single-chip microcomputer through output 2. Among them, the voltage of output 1 (the first output terminal) is greater than the voltage of output 2, and Q1 and Q2 cannot be in the open state at the same time.

[0039] In an alternative embodiment, the slave module further includes: a slave voltage conversion module including an input end and an output end, the input end being connected to the power signal bus and the GND line, and the output end being connected to the slave single-chip microcomputer; a slave single-chip microcomputer connected to the slave voltage conversion module, the second diode, the third switch unit, and the fourth switch unit respectively; a second diode having one end connected to the power signal bus and the other end connected to the slave single-chip microcomputer; a third switch unit having a first end connected to the slave single-chip microcomputer, a second end connected to the power signal bus and the slave voltage conversion module, and a third end connected to the GND line; a fourth switch unit having a first end connected to the slave single-chip microcomputer, a second end connected to the load module, and a third end grounded; a load module having one end connected to the power signal bus and the other end connected to the fourth switch unit.

[0040] Specifically, the slave module includes a slave voltage conversion module, a slave single-chip microcomputer, a slave module communication receiving signal diode D1 (the second diode), a slave module communication transmitting signal MOS transistor Q3 (the third switch unit), a slave load module, and a slave load module control switch Q4 (the fourth switch unit). The input end of the slave voltage conversion module is connected to the power signal bus, and electrical energy can be obtained on this line. Then, the relatively high voltage on the power signal bus is converted into the voltage required by the single-chip microcomputer, and the output end is connected to the slave single-chip microcomputer to supply power to the slave single-chip microcomputer. Among them, Q1 and Q3 cannot be in the open state at the same time.

[0041] As described above, in an alternative embodiment provided by the present application, when both the host module and the slave module are in the low-power operating state, the host single-chip microcomputer is powered by the host battery module, Q1 is in the off state, and the host battery power supply module continuously provides low-power electrical energy to the slave module through the R1 resistor via the power signal line. The host single-chip microcomputer and the slave single-chip microcomputer complete data interaction through pulse width modulation signals via the power signal line. The host single-chip microcomputer can be woken up by its own RTC clock or by an external interrupt; the slave single-chip microcomputer can be woken up by an external interrupt. By using a two-wire bus system, the number of bus harnesses is reduced. Therefore, the present invention reduces the number of bus harnesses, is more convenient for construction, and reduces the construction cost.

[0042] Figure 2 It is a flowchart of an interaction method inside a low-power control system according to an embodiment of the present invention. As Figure 2 shown, the interaction method includes the following steps:

[0043] S201: After the host single-chip microcomputer is woken up, the host single-chip microcomputer wakes up the slave single-chip microcomputer;

[0044] S202: When the slave single-chip microcomputer receives a control signal, the slave single-chip microcomputer is controlled to act according to the control signal.

[0045] As described above, the main single-chip microcomputer wakes up regularly, and then establishes communication with the slave through the power signal bus.

[0046] In an alternative embodiment, the host single-chip microcomputer wakes up the slave single-chip microcomputer, including: the host single-chip microcomputer outputs a wake-up pulse signal to the power signal bus through the second switch unit, and the power signal bus forwards the wake-up pulse signal to the slave single-chip microcomputer; when the slave single-chip microcomputer receives the wake-up pulse signal, the slave single-chip microcomputer exits the low-power mode.

[0047] In an alternative embodiment, when the signal is a data reading signal and the slave single-chip microcomputer receives the signal, the slave single-chip microcomputer acts according to the signal, including: the slave single-chip microcomputer sends a data pulse width signal to the third switch unit; the third switch unit forwards the data pulse signal to the first diode, and the first diode then sends the data pulse signal to the host single-chip microcomputer, where the data pulse signal carries data.

[0048] In an alternative embodiment, after the slave single-chip microcomputer acts according to the signal when receiving the control signal, the method further includes: the host single-chip microcomputer and the slave single-chip microcomputer enter their respective low-power modes.

[0049] In an alternative embodiment, before the slave single-chip microcomputer acts according to the signal when receiving the control signal, the method further includes: the host single-chip microcomputer sends a data reading pulse width modulation signal to the slave single-chip microcomputer.

[0050] In an alternative embodiment, before the slave single-chip microcomputer acts according to the control signal when receiving the control signal, the method further includes: the slave single-chip microcomputer determines whether the format of the received data reading pulse width modulation signal is correct; if the format is correct, the slave single-chip microcomputer acts; if the format is incorrect, the slave single-chip microcomputer enters the low-power mode.

[0051] Specifically, when the main single-chip microcomputer is woken up by its own RTC clock when the timing time arrives, it will output a pulse width modulation signal to the power signal bus through Q2, then transfer it to the slave module, and then the signal is transferred to the interrupt input pin of the slave single-chip microcomputer through D2. The slave is woken up by the external interrupt signal and exits the low-power mode. Then the main single-chip microcomputer sends a data reading pulse width modulation signal to the slave single-chip microcomputer, and the slave replies with a data pulse width modulation signal through Q3. Then the main single-chip microcomputer receives the signal returned by the slave through D1. Then both the main single-chip microcomputer and the slave single-chip microcomputer will enter the low-power mode, and Q1 is always in the off state during this process.

[0052] Therefore, the slave responds to the requests of the host module in real time with fast response speed. When there is no request, the slave is always in the low-power mode, which also reduces the power consumption as much as possible.

[0053] Meanwhile, when the slave microcontroller is awakened by the sensor signal of the slave module and needs to communicate with the master microcontroller, the slave microcontroller will output a communication request pulse width modulation signal to the power signal bus through Q3, then transfer it to the master module, and then the signal is transferred to the interrupt input pin of the master microcontroller through D1. The master is awakened by the external interrupt signal and exits the low power consumption mode. Then the master microcontroller sends a data reading pulse width modulation signal to the slave microcontroller, and the slave replies with a data pulse width modulation signal through Q3. Then the master microcontroller receives the signal returned from the slave through D1. During this process, Q1 is always in the off state. Therefore, the master module can also respond to the requests of the slave in real time, with a fast response speed, making the real-time performance of the low power consumption control system higher.

[0054] This application also provides another optional embodiment, specifically as Figure 3 shown Figure 3 is a flow chart of an interaction method inside a low power consumption control system Figure 2 .

[0055] Through the above method, the data interaction speed between the master and slave modules is also fast, and the real-time performance of reducing the power consumption of the control system is higher.

[0056] In an optional embodiment, when the signal is a load control pulse modulation signal and the slave microcontroller receives the signal, the slave microcontroller acts according to the signal, including: when the slave microcontroller receives the load pulse modulation signal, the slave microcontroller processes the load pulse modulation signal to obtain a response pulse signal and sends the response pulse signal to the master microcontroller; when the slave microcontroller receives the load pulse modulation signal, the fourth switch unit of the slave microcontroller is turned on, and in this case, when the fourth switch unit is turned on, the load module is turned on.

[0057] In an optional embodiment, after the fourth switch unit of the slave microcontroller is turned on when the slave microcontroller receives the load pulse modulation signal, the method includes: the host unit determines whether to turn off the load module; when it is determined that the load module is to be turned off, the master microcontroller turns off the first switch unit to cut off the power supply of the load module; when the slave microcontroller detects that the load module is turned off, the fourth switch unit is turned off, and the slave microcontroller enters the low power consumption mode.

[0058] As described above, this application also provides a technical solution for the host module to control the load module of the slave module through the power signal bus.

[0059] Specifically, in special cases, when it is necessary to start the slave load module, the host single-chip microcomputer will first output a pulse-width modulation signal to the power signal bus through Q2, then transfer it to the slave module, and then the signal is transferred to the interrupt input pin of the slave single-chip microcomputer through D2. After receiving the external interrupt signal, the slave single-chip microcomputer will be immediately awakened and exit the low-power mode. Then the host single-chip microcomputer sends a load control pulse-width modulation signal to the slave single-chip microcomputer, and the slave replies with a control response pulse-width modulation signal through Q3. The host single-chip microcomputer receives the signal returned from the slave through D1. Then the slave single-chip microcomputer turns on the control switch Q4 of the slave load module, and the host single-chip microcomputer turns on Q1. At this time, both Q2 and Q3 are in the off state, thus turning on the load module. When it is necessary to turn off the slave load module, the host single-chip microcomputer will first turn off Q1, and the slave single-chip microcomputer will detect a low-level signal through D2. At this time, the slave single-chip microcomputer will also turn off Q4, thus turning off the load module. The function of R1 is to limit the current, in the case of turning on a relatively large load.

[0060] As Figure 4 shown, Figure 4 Figure 0000137 is a flowchart for the host module to control the slave load module to turn on provided by this application.

[0061] Through the above-mentioned interaction method inside a low-power control system, the host module and the slave module implement a low-power circuit and a low-power processing method for power supply and communication functions through two wires. This technical solution solves the technical blank of realizing power supply and communication through two wires in a low-power system;

[0062] At the same time, the two-wire bus system provided in this application reduces the bus harness, improves the communication response speed, has lower power consumption, reduces the construction cost, and improves the communication stability.

[0063] An interaction method inside a low-power control system provided by an embodiment of the present invention wakes up the slave single-chip microcomputer after the host single-chip microcomputer is awakened; when the slave single-chip microcomputer receives a control signal, it controls the action of the slave single-chip microcomputer according to the control signal, solving the technical problem that there are defects in both wireless communication and wired communication between the master and slave modules of a battery low-power control system in the related art, and thus achieving the technical effects of improving the communication response speed, reducing power consumption, reducing the bus harness, reducing the construction cost, and improving the communication stability.

[0064] It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.

[0065] The processor contains a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and by adjusting the kernel parameters, the technical problems of the defects in both wireless communication and wired communication between the master and slave modules of the low-power control system of the battery in the related art are solved.

[0066] The memory may include non-permanent memory in a computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.

[0067] An embodiment of the present invention provides a storage medium, on which a program is stored, and when the program is executed by a processor, an interaction method inside a low-power control system is implemented.

[0068] An embodiment of the present invention provides a processor, which is used to run a program. When the program runs, an interaction method inside a low-power control system is executed.

[0069] An embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored on the memory and executable on the processor. When the processor executes the program, the following steps are implemented:

[0070] After the host single-chip microcomputer is awakened, control the host single-chip microcomputer to awaken the slave single-chip microcomputer; when the slave single-chip microcomputer receives a control signal, control the slave single-chip microcomputer to act according to the control signal.

[0071] Optionally, the host single-chip microcomputer wakes up the slave single-chip microcomputer, including: the host single-chip microcomputer outputs a wake-up pulse signal to the power signal bus through a second switch unit, and the power signal bus forwards the wake-up pulse signal to the slave single-chip microcomputer; when the slave single-chip microcomputer receives the wake-up pulse signal, the slave single-chip microcomputer exits the low-power mode.

[0072] Optionally, when the signal is a data read signal, when the slave single-chip microcomputer receives the signal, the slave single-chip microcomputer acts according to the signal, including: the slave single-chip microcomputer sends a data pulse width signal to a third switch unit; the third switch unit forwards the data pulse signal to a first diode, and the first diode then sends the data pulse signal to the host single-chip microcomputer, where the data pulse signal carries data.

[0073] Optionally, after the slave single-chip microcomputer acts according to the signal when the slave single-chip microcomputer receives the control signal, the method further includes: the host single-chip microcomputer and the slave single-chip microcomputer enter their respective low-power modes.

[0074] Optionally, before the slave single-chip microcomputer acts according to the control signal received, the method further includes: the master single-chip microcomputer sends a data reading pulse width modulation signal to the slave single-chip microcomputer.

[0075] Optionally, before the slave single-chip microcomputer is controlled to act according to the control signal received, the method further includes: the slave single-chip microcomputer determines whether the format of the received data reading pulse width modulation signal is correct; if the format is correct, the slave single-chip microcomputer acts; if the format is incorrect, the slave single-chip microcomputer enters the low-power mode.

[0076] Optionally, when the signal is a load control pulse modulation signal, when the slave single-chip microcomputer receives the signal and acts according to the signal, it includes: when the slave single-chip microcomputer receives the load pulse modulation signal, the slave single-chip microcomputer processes the load pulse modulation signal to obtain a response pulse signal and sends the response pulse signal to the master single-chip microcomputer; when the slave single-chip microcomputer receives the load pulse modulation signal, the fourth switch unit of the slave single-chip microcomputer is turned on, and in this case, when the fourth switch unit is turned on, the load module is turned on.

[0077] Optionally, after the fourth switch unit of the slave single-chip microcomputer is turned on when the slave single-chip microcomputer receives the load pulse modulation signal, the method includes: the host unit determines whether to turn off the load module; if it is determined that the load module is to be turned off, the master single-chip microcomputer turns off the first switch unit to cut off the power supply of the load module; when the slave single-chip microcomputer detects that the load module is turned off, the fourth switch unit is turned off, and the slave single-chip microcomputer enters the low-power mode. The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0078] The present invention also provides a computer program product, which is suitable for executing a program initialized with the following method steps when executed on a data processing device:

[0079] After the master single-chip microcomputer is awakened, control the master single-chip microcomputer to awaken the slave single-chip microcomputer; when the slave single-chip microcomputer receives the control signal, control the slave single-chip microcomputer to act according to the control signal.

[0080] Optionally, the master single-chip microcomputer wakes up the slave single-chip microcomputer, including: the master single-chip microcomputer outputs a wake-up pulse signal to the power signal bus through the second switch unit, and the power signal bus forwards the wake-up pulse signal to the slave single-chip microcomputer; when the slave single-chip microcomputer receives the wake-up pulse signal, the slave single-chip microcomputer exits the low-power mode.

[0081] Optionally, when the signal is a data read signal and the slave microcontroller receives the signal, the slave microcontroller operates according to the signal, including: the slave microcontroller sends a data pulse width signal to the third switch unit; the third switch unit forwards the data pulse signal to the first diode, and the first diode then sends the data pulse signal to the host microcontroller, where the data pulse signal carries data.

[0082] Optionally, after the slave microcontroller operates according to the signal when the slave microcontroller receives a control signal, the method further includes: the host microcontroller and the slave microcontroller enter their respective corresponding low-power modes.

[0083] Optionally, before the slave microcontroller operates according to the signal when the slave microcontroller receives a control signal, the method further includes: the host microcontroller sends a data read pulse width modulation signal to the slave microcontroller.

[0084] Optionally, before the slave microcontroller controls its operation according to the control signal when the slave microcontroller receives a control signal, the method further includes: the slave microcontroller determines whether the format of the received data read pulse width modulation signal is correct; if the format is correct, the slave microcontroller operates; if the format is incorrect, the slave microcontroller enters the low-power mode.

[0085] Optionally, when the signal is a load control pulse modulation signal and the slave microcontroller receives the signal, the slave microcontroller operates according to the signal, including: when the slave microcontroller receives a load pulse modulation signal, the slave microcontroller processes the load pulse modulation signal to obtain a response pulse signal and sends the response pulse signal to the host microcontroller; when the slave microcontroller receives a load pulse modulation signal, the fourth switch unit of the slave microcontroller is turned on, where when the fourth switch unit is turned on, the load module is turned on.

[0086] Optionally, after the fourth switch unit of the slave microcontroller is turned on when the slave microcontroller receives a load pulse modulation signal, the method includes: the host unit determines whether to turn off the load module; if it is determined that the load module is to be turned off, the host microcontroller turns off the first switch unit to cut off the power supply to the load module; when the slave microcontroller detects that the load module is turned off, the fourth switch unit is turned off, and the slave microcontroller enters the low-power mode.

[0087] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memory, CD-ROM, optical memory, etc.) that contain computer-usable program code.

[0088] The present invention is described with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to the embodiments of the present invention. It should be understood that each flow and / or block in the flowchart and / or block diagram, and the combination of flows and / or blocks in the flowchart and / or block diagram, can be realized by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate means for realizing the functions specified in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0089] These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured article including instruction means, and the instruction means realizes the functions specified in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0090] These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process, and thus the instructions executed on the computer or other programmable device provide steps for realizing the functions specified in one Figure 1 one flow or multiple flows and / or blocks Figure 1 one block or multiple blocks.

[0091] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and a memory.

[0092] The memory may include non-permanent memory in the computer-readable medium, in the form of random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.

[0093] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0094] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0095] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0096] The above are only embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent substitution, improvement, etc. made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A low-power control system, characterized in that, Comprising: A host module, including a host battery power supply module and a host microcontroller. The host module is connected to at least one slave module through a GND line and a power signal bus, and is used to supply power to at least one of the slave modules and control the on / off of the load module corresponding to at least one of the slave modules. Among them, at least one of the slave modules is in parallel connection; At least one slave module, including a slave voltage conversion module, a slave microcontroller, and a load module. At least one of the slave modules is connected to the GND line and the power signal bus, and is used to charge according to the control signal sent by the host module; The host module includes: The host battery power supply module, including a first output terminal and a second output terminal. One end of the first output terminal is connected to the host battery power supply module, and the other end is connected to one end of a first resistor. The other end of the first resistor is connected to the power signal bus; The host microcontroller is connected to the second output terminal of the host battery power supply module; A first switch unit, which is respectively connected to the first output terminal of the host battery power supply module, the host microcontroller, and the power signal bus, and is in parallel connection with the first resistor; A second switch unit, with the first end connected to the power signal bus, the second end connected to the host microcontroller, and the third end connected to the GND line; A first diode, with one end connected to the host microcontroller and the other end connected to the power signal bus. The first switch unit and the second switch unit cannot be in the open state at the same time, and the voltage of the first output terminal is greater than the voltage of the second output terminal.

2. The low-power consumption control system according to claim 1, characterized in that, The slave module further includes: The slave voltage conversion module, including an input terminal and an output terminal. The input terminal is connected to the power signal bus and the GND line, and the output terminal is connected to the slave microcontroller; The slave microcontroller is respectively connected to the slave voltage conversion module, a second diode, a third switch unit, and a fourth switch unit; The second diode, with one end connected to the power signal bus and the other end connected to the slave microcontroller; The third switch unit, with the first end connected to the slave microcontroller, the second end connected to the power signal bus and the slave voltage conversion module, and the third end connected to the GND line; The fourth switch unit, with the first end connected to the slave microcontroller, the second end connected to the load module, and the third end grounded; The load module, with one end connected to the power signal bus and the other end connected to the fourth switch unit.

3. An interaction method within a low-power control system, characterized in that, The low-power control system is the low-power control system according to any one of claims 1 or 2. The low-power control system includes a host microcontroller and a slave microcontroller. The method includes: After the host microcontroller is awakened, the host microcontroller wakes up the slave microcontroller; When the slave microcontroller receives a control signal, it controls the operation of the slave microcontroller according to the control signal.

4. The method according to claim 3, wherein The low-power control system includes a second switch unit. The host microcontroller wakes up the slave microcontroller, including: The host single-chip microcomputer outputs a wake-up pulse signal to the power signal bus through the second switch unit, and the power signal bus forwards the wake-up pulse signal to the slave single-chip microcomputer; When the slave single-chip microcomputer receives the wake-up pulse signal, the slave single-chip microcomputer exits the low-power mode.

5. The method according to claim 3, characterized in that, The low-power control system includes a third switch unit and a first diode. When the signal is a data read signal and the slave single-chip microcomputer receives the signal, the slave single-chip microcomputer operates according to the signal, including: The slave single-chip microcomputer sends a data pulse signal to the third switch unit; The third switch unit forwards the data pulse signal to the first diode, and the first diode then sends the data pulse signal to the host single-chip microcomputer, where the data pulse signal carries the data.

6. The method according to claim 5, wherein When the slave single-chip microcomputer receives a control signal and after the slave single-chip microcomputer operates according to the signal, the method further includes: The host single-chip microcomputer and the slave single-chip microcomputer enter their respective low-power modes.

7. The method according to claim 5, wherein Before the slave single-chip microcomputer receives a control signal and before the slave single-chip microcomputer operates according to the signal, the method further includes: The host single-chip microcomputer sends a data read pulse width modulation signal to the slave single-chip microcomputer.

8. The method according to claim 7, wherein Before the slave single-chip microcomputer receives a control signal and before controlling the slave single-chip microcomputer to operate according to the control signal, the method further includes: The slave single-chip microcomputer determines whether the format of the received data read pulse width modulation signal is correct; When the format is correct, the slave single-chip microcomputer operates; When the format is incorrect, the slave single-chip microcomputer enters the corresponding low-power mode.

9. The method according to claim 3, characterized in that, The low-power control system further includes a fourth switch unit. When the signal is a load control pulse modulation signal and the slave single-chip microcomputer receives the signal, the slave single-chip microcomputer operates according to the signal, including: When the slave single-chip microcomputer receives the load control pulse modulation signal, the slave single-chip microcomputer processes the load pulse modulation signal to obtain a response pulse signal and sends the response pulse signal to the host single-chip microcomputer; When the slave single-chip microcomputer receives the load control pulse modulation signal, the fourth switch unit of the slave single-chip microcomputer is turned on. When the fourth switch unit is turned on, the load module is turned on.

10. The method according to claim 9, wherein The low-power control system includes a first switch unit and a fourth switch unit. After the fourth switch unit of the slave single-chip microcomputer is turned on when the slave single-chip microcomputer receives the load pulse modulation signal, the method includes: The host single-chip microcomputer determines whether to turn off the load module; When it is determined that the load module is to be turned off, the host single-chip microcomputer turns off the first switch unit to cut off the power supply of the load module; When the slave single-chip microcomputer detects that the load module is turned off, the fourth switch unit is turned off, and the slave single-chip microcomputer enters the low-power mode.

11. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program runs, the device where the computer-readable storage medium is located executes an interaction method within a low-power control system according to any one of claims 3 to 10.

12. A processor, characterized in that, The processor is used to run a program, wherein, when the program runs, it executes an interaction method within a low-power control system according to any one of claims 3 to 10.

Citation Information

Patent Citations

  • Low power consumption processing circuit and low power consumption processing method

    CN103605420A