Power panel and control panel circuit for realizing low power consumption in communication
The communication-based power and control board circuit with serial port modules addresses the complexity and cost issues of low-power consumption by synchronizing the sleep and awakening of two MCUs using a reliable communication protocol, reducing peripheral components and connections.
Patent Information
- Application Number
- CN202421602029.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2025-07-15
- Estimated Expiration
- 2034-07-08
AI Technical Summary
In the prior art, it is necessary to increase the connection line and complex communication logic when achieving low power consumption, and the wake-up process in the chip sleep mode is not reliable enough, making it difficult to achieve effective communication and synchronous wake-up between the two boards.
The serial communication module is used to connect the power board and the control board, and signal transmission is realized through the serial communication module. The external power access wake-up module and the key wake-up module respectively wake up the respective main control chips, and the other chips are interactively awakened through the serial communication module to ensure synchronous wake-up in sleep mode.
It simplifies the connection circuit, reduces cost and difficulty in laying the board, realizes reliable communication and synchronous wake-up between the two boards, and reduces power consumption.
Smart Images

Figure CN223108282U_ABST
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of intelligent products, in particular to a power supply board and a control board circuit for realizing low power consumption in communication. Background Art
[0002] At present, the main way for lithium battery products to achieve low power consumption is to be controlled by a single MCU. The method is to first turn off the externally powered circuit and then let the chip enter the sleep mode. After ensuring that the chip enters the sleep state, there is no unnecessary peripheral circuit continuously consuming energy.
[0003] In the above solution, only a single chip is used to achieve low power consumption, which is applicable to devices on one board or requires a large number of connecting wires to realize the connection between two boards. Compared with the current requirements, products that need to be changed to have the display, operation, and detection output not on the same board require adding a lot of connecting wires to implement single-chip processing. At the same time, it is also necessary to add display driver and touch detection modules, which increases the difficulty in terms of cost and circuit board layout. Using the form of communication between two single-chip microcomputers can greatly reduce these peripheral devices and at the same time reduce the number of connecting wires.
[0004] Causes:
[0005] 1. When the chip is in the sleep mode to achieve the low power consumption function, the wake-up of a single microcontroller can be easily independently processed. When two microcontrollers are woken up, one chip needs to wake up the other, which requires reliable communication between the two microcontrollers;
[0006] 2. The communication method needs to correct errors in a timely manner in case of abnormalities, and the involved logic is relatively complex.
[0007] Therefore, further improvement is needed. Content of the Utility Model
[0008] Based on this, the purpose of the utility model is to provide a power supply board and a control board circuit for realizing low power consumption in communication to overcome the deficiencies in the prior art. Through a relatively simple and reliable communication method, the two chips can successfully achieve the low power consumption of the whole machine, and can successfully wake up each other when the chips are in the sleep mode.
[0009] A power supply board and a control board circuit for realizing low power consumption in communication designed for this purpose, including a power supply board and a control board. A serial communication module is provided between the power supply board and the control board, and signal transmission is realized between the power supply board and the control board through the serial communication module. The power supply board includes a first main control chip and an external power access wake-up module, and the control board includes a second main control chip and a key wake-up module. When the external power access wake-up module is triggered, the first main control chip sends a signal through the serial communication module to wake up the second main control chip; when the key wake-up module is triggered, the second main control chip sends a signal through the serial communication module to wake up the first main control chip.
[0010] Both the power supply board and the control board have a sleep mode. When the second main control chip receives the sleep mode signal from the first main control chip and feeds back a signal to the first main control chip, the power supply board and the control board enter the sleep state synchronously.
[0011] When the key wake-up module wakes up the second main control chip, the second main control chip continuously sends a high-level signal to the first main control chip through the serial communication module; when the external power access wake-up module wakes up the first main control chip, the first main control chip continuously sends a high-level signal to the second main control chip through the serial communication module.
[0012] The external power access wake-up module includes a triode Q1, a resistor R1, and a resistor R2. The base of the triode Q1 is connected to an external power supply; the emitter of the triode Q1 is grounded; the collector of the triode Q1 is connected to one end of the resistor R1 and the resistor R2. The other end of the resistor R1 is connected to a +5V power supply, and the other end of the resistor R2 is connected to the 20th pin of the first main control chip.
[0013] The serial communication module includes a second connection socket CN2, a resistor R6, a resistor R8, a resistor R9, a capacitor C5, and a capacitor C6. One end of the resistor R6 is connected to the 3rd pin of the second connection socket CN2, and the other end of the resistor R6 is connected to the 17th pin of the first main control chip; one end of the resistor R8 is connected to the 2nd pin of the second connection socket CN2, and the other end of the resistor R8 is connected to the 16th pin of the first main control chip; one end of the resistor R9 is connected to the 1st pin of the second connection socket CN2, and the other end of the resistor R9 is connected to the 4th pin of the first main control chip; one end of the capacitor C5 is connected to the resistor R6, one end of the capacitor C6 is connected to the resistor R8, and the other ends of the capacitor C5 and the capacitor C6 are both grounded.
[0014] The model of the first main control chip is PY32F003.
[0015] The button wake-up module includes a touch spring K1 and a resistor R1. The touch spring K1 and the resistor R1 are connected in series and connected to pin 2 of the second main control chip.
[0016] The serial communication module further includes a first connection socket CN1, resistors R4, R5, and R7.
[0017] One end of the resistor R4 is connected to pin 3 of the first connection socket CN1, and the other end of the resistor R4 is connected to pin 15 of the second main control chip; one end of the resistor R5 is connected to pin 2 of the first connection socket CN1, and the other end of the resistor R5 is connected to pin 14 of the second main control chip; one end of the resistor R7 is connected to pin 1 of the first connection socket CN1, and the other end of the resistor R7 is connected to pin 5 of the second main control chip; pin 4 of the first connection socket CN1 is grounded; pin 5 of the first connection socket CN1 is connected to the +5V power supply.
[0018] The model of the second main control chip is BF7612DM16.
[0019] A power supply board and a control board circuit for realizing low power consumption in communication in the above embodiment include a power supply board and a control board. A serial communication module is provided between the power supply board and the control board, and signal transmission is realized between the power supply board and the control board through the serial communication module. The power supply board includes a first main control chip and an external power supply access wake-up module, and the control board includes a second main control chip and a button wake-up module. When the external power supply access wake-up module is triggered, the first main control chip sends a signal through the serial communication module to wake up the second main control chip; when the button wake-up module is triggered, the second main control chip sends a signal through the serial communication module to wake up the first main control chip. Specifically, the interaction mode between the first main control chip and the second main control chip is that the control board detects the button input of the button wake-up module, and sends the content read from the corresponding button to the power supply board through the serial communication module. After the power supply board performs logical processing on the detected data through the serial communication module, it sends the content to be displayed to the control board, and corresponding values and symbols are displayed on the control board. In addition to this function, when the power supply board is in sleep mode, it can detect the external power supply access and send the corresponding signal to the control board, mainly waking itself up in the sleep state and then waking up the second main control chip. When the control board is in sleep mode, it can detect the signal of the button wake-up module being pressed and send the corresponding signal to the power supply board. Similarly, it wakes itself up in the sleep state and then wakes up the first main control chip. Description of the Drawings
[0020] The drawings forming a part of this application 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 to the present invention.
[0021] To more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for description in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can be obtained based on these drawings.
[0022] Figure 1 It is a communication wake-up block diagram in the sleep mode for an embodiment of the present invention.
[0023] Figure 2 It is a block diagram for the communication mode to enter the sleep state for an embodiment of the present invention.
[0024] Figure 3 It is a block diagram for the communication mode to exit the sleep state for an embodiment of the present invention.
[0025] Figure 4 It is a circuit diagram of the first main control chip for an embodiment of the present invention.
[0026] Figure 5 It is a circuit diagram of the external power supply access wake-up module for an embodiment of the present invention.
[0027] Figure 6 It is a circuit diagram of the serial communication module of the power supply board for an embodiment of the present invention.
[0028] Figure 7 It is a circuit diagram of the second main control chip for an embodiment of the present invention.
[0029] Figure 8 It is a circuit diagram of the button wake-up module for an embodiment of the present invention.
[0030] Figure 9 It is a circuit diagram of the serial communication module of the control board for an embodiment of the present invention. Specific Embodiments
[0031] To make the above objects, features, and advantages of the present invention more apparent and understandable, the following will provide a detailed description of the specific embodiments of the present invention with reference to the drawings. Many specific details are set forth in the following description to fully understand the present invention. However, the present invention can be implemented in many other ways different from those described herein. Those skilled in the art can make similar improvements without departing from the spirit of the present invention. Therefore, the present invention is not limited by the specific embodiments disclosed below.
[0032] Such as Figures 1 - 9As shown, a power supply board and a control board circuit for low-power communication implementation are provided, including a power supply board 1 and a control board 2. A serial communication module is provided between the power supply board 1 and the control board 2, and signal transmission is realized between the power supply board 1 and the control board 2 through the serial communication module. The power supply board 1 includes a first main control chip and an external power access wake-up module, and the control board 2 includes a second main control chip and a button wake-up module. When the external power access wake-up module is triggered, the first main control chip sends a signal through the serial communication module to wake up the second main control chip; when the button wake-up module is triggered, the second main control chip sends a signal through the serial communication module to wake up the first main control chip.
[0033] Specifically, the interaction method between the first main control chip and the second main control chip is that the control board 2 detects the button input of the button wake-up module, and sends the content read from the corresponding button to the power supply board 1 through the serial communication module. After logical processing of the detected data by the power supply board 1, the content to be displayed is sent to the control board 2 through the serial communication module, and the corresponding numerical values and symbols are displayed on the control board 2. In addition to this function, when the power supply board 1 is in sleep mode, it can read the external power access and send the corresponding signal to the control board 2, mainly to wake itself up in the sleep state and then wake up the second main control chip. When the control board 2 is in sleep mode, it can read the signal of the button wake-up module being pressed and send the corresponding signal to the power supply board 1. Similarly, it wakes itself up in the sleep state and then wakes up the first main control chip. When a single MCU wakes up, a new function of mutual wake-up between the two first main control chips and the second main control chip is added. When the power supply board 1 is first awakened, the power supply board 1 will send a high level lasting for 10 seconds to wake up the second main control chip on the control board 2. When the control board 2 is first awakened, the control board 2 will send a high level lasting for 10 seconds to wake up the first main control chip on the power supply board 1.
[0034] If it fails, it will continuously attempt to wake up the other main control chip until normal communication is restored. Similarly, when entering the sleep state, the first main control chip and the second main control chip need to enter the sleep state simultaneously. If only a single main control chip enters the sleep mode, the communication will be abnormal, and the main control chip with abnormal communication needs to wake up the other main control chip to restore communication and then enter the sleep mode again synchronously.
[0035] Furthermore, as Figure 2 shown, both the power supply board 1 and the control board 2 have a sleep mode. When the second main control chip receives the sleep mode signal from the first main control chip and feeds back the signal to the first main control chip, the power supply board 1 and the control board 2 enter the sleep state synchronously.
[0036] Specifically, in this embodiment, the second main control chip on the power supply board 1 is defined as the host, and the first main control chip on the control board 2 is defined as the slave. When needed, the first main control chip on the power supply board 1 actively sends a request to enter the low-power mode. After receiving the feedback from the second main control chip on the control board 2, they synchronously enter the sleep mode.
[0037] After the product is powered off and there is no operation for 60 seconds, the first main control chip on the power supply board 1 will actively send a low-power request, and reach the second main control chip on the control board 2 through the serial communication module, telling the second main control chip on the control board 2 that it needs to enter the sleep mode. At this time, the first main control chip on the power supply board 1 will operate the peripheral devices to close the output circuit and wait for the feedback from the control board 2; after the second main control chip on the control board 2 receives the signal requesting to enter the sleep mode sent by the first main control chip on the power supply board 1, it will operate the peripheral devices to close the output circuit, and send a feedback signal indicating that it has entered the sleep mode back to the power supply board 1. At the same time, the second main control chip on the control board 2 enters the sleep mode. After the first main control chip on the power supply board 1 receives the signal indicating that the second main control chip on the control board 2 has entered the sleep mode, the first main control chip on the power supply board 1 enters the sleep mode. If the first main control chip on the power supply board 1 does not enter the sleep mode after the control board 2 enters the sleep mode, the communication is abnormal at this time. When the power supply board 1 detects the communication abnormality, it will wake up the second main control chip on the control board 2 again and synchronously enter the sleep mode again.
[0038] Furthermore, as Figure 3 shown, when the key wake-up module wakes up the second main control chip, the second main control chip continuously sends a high-level signal to the first main control chip through the serial communication module; when the external power access wake-up module wakes up the first main control chip, the first main control chip continuously sends a high-level signal to the second main control chip through the serial communication module.
[0039] Specifically, when the second main control chip on the control board 2 is first awakened by the key wake-up module, the second main control chip on the control board 2 will continuously send a high level to the first main control chip on the power supply board 1 through a connecting wire, aiming to trigger the external interrupt of the power supply board 1 to wake up the first main control chip on the power supply board 1. When the first main control chip on the power supply board 1 is first awakened by the external power access wake-up module, the first main control chip on the power supply board 1 will continuously send a high level to the second main control chip on the control board 2 through a connecting wire, aiming to trigger the external interrupt of the control board 2 to wake up the second main control chip on the control board 2. To avoid failure to wake up the other party smoothly within 10 seconds, it will detect whether the communication is normal after 10 seconds. If it is normal, it will switch back to output a low level. If it is not normal, it will send again for 10 seconds. If the communication is normal within 10 seconds, it will switch back to output a low level to avoid the level signal affecting the normal operation of the main control chip.
[0040] Furthermore, asFigure 4 and Figure 5 As shown in and
[0041] , the external power supply access and wake-up module includes a triode Q1, a resistor R1, and a resistor R2. The base of the triode Q1 is connected to the external power supply; the emitter of the triode Q1 is grounded; the collector of the triode Q1 is connected to one end of the resistor R1 and the resistor R2. The other end of the resistor R1 is connected to the +5V power supply, and the other end of the resistor R2 is connected to pin 20 of the first main control chip.
[0041] Specifically, the resistor R1 is a 10K chip resistor; the resistor R2 is a 1K chip resistor.
[0042] Furthermore, as shown in Figure 4 and Figure 6 , the serial communication module includes a second connection socket CN2, a resistor R6, a resistor R8, a resistor R9, a capacitor C5, and a capacitor C6. One end of the resistor R6 is connected to pin 3 of the second connection socket CN2, and the other end of the resistor R6 is connected to pin 17 of the first main control chip; one end of the resistor R8 is connected to pin 2 of the second connection socket CN2, and the other end of the resistor R8 is connected to pin 16 of the first main control chip; one end of the resistor R9 is connected to pin 1 of the second connection socket CN2, and the other end of the resistor R9 is connected to pin 4 of the first main control chip; one end of the capacitor C5 is connected to the resistor R6, one end of the capacitor C6 is connected to the resistor R8, and the other ends of the capacitor C5 and the capacitor C6 are both grounded.
[0043] Specifically, the second connection socket CN2 is the connection socket between the power supply board 1 and the control board 2; the resistor R6 is a 1K chip resistor; the resistor R8 is a 1K chip resistor; the resistor R9 is a 1K chip resistor; the capacitor C5 and the capacitor C6 are chip capacitors.
[0044] Furthermore, as shown in Figure 4 , the model of the first main control chip is PY32F003. Figure 4 As shown in and
[0045] , the key wake-up module includes a touch spring K1 and a resistor R1. The touch spring K1 and the resistor R1 are connected in series and connected to pin 2 of the second main control chip.
[0045] Furthermore, as shown in Figure 7 and Figure 8 , the key wake-up module includes a touch spring K1 and a resistor R1. The touch spring K1 and the resistor R1 are connected in series and connected to pin 2 of the second main control chip. Figure 7 and Figure 8 Specifically, the resistor R1 is a 4.7K chip resistor.
[0046] Specifically, the resistor R1 is a 4.7K chip resistor.
[0047] Furthermore, as shown in Figure 7 and Figure 9 As shown, the serial communication module further includes a first connection socket CN1, a resistor R4, a resistor R5, and a resistor R7. One end of the resistor R4 is connected to pin 3 of the first connection socket CN1, and the other end of the resistor R4 is connected to pin 15 of the second main control chip; one end of the resistor R5 is connected to pin 2 of the first connection socket CN1, and the other end of the resistor R5 is connected to pin 14 of the second main control chip; one end of the resistor R7 is connected to pin 1 of the first connection socket CN1, and the other end of the resistor R7 is connected to pin 5 of the second main control chip; pin 4 of the first connection socket CN1 is grounded; pin 5 of the first connection socket CN1 is connected to the +5V power supply.
[0048] Specifically, the first connection socket CN1 is the connection socket between the power supply board 1 and the control board 2.
[0049] Furthermore, as Figure 7 shown, the model of the second main control chip is BF7612DM16.
[0050] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "transverse", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate the orientation or positional relationship based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be construed as a limitation to the present invention.
[0051] In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly specifying the quantity of the indicated technical features. Thus, the features defined with "first" and "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, such as two, three, etc., unless otherwise specifically defined.
[0052] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed", etc. should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or integrated; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the internal communication of two elements or the interaction relationship between two elements, unless otherwise clearly limited. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0053] In the present utility model, unless otherwise clearly specified and defined, the first feature being "on" or "under" the second feature may be that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, the first feature being "above", "over" and "on top of" the second feature may be that the first feature is directly above or obliquely above the second feature, or merely indicates that the horizontal height of the first feature is higher than that of the second feature. The first feature being "under", "beneath" and "underneath" the second feature may be that the first feature is directly below or obliquely below the second feature, or merely indicates that the horizontal height of the first feature is less than that of the second feature.
[0054] It should be noted that when an element is referred to as being "fixed to" or "disposed on" another element, it can be directly on the other element or there may also be an intermediate element. When an element is considered to be "connected to" another element, it can be directly connected to the other element or there may be an intermediate element at the same time. The terms "vertical", "horizontal", "upper", "lower", "left", "right" and similar expressions used herein are only for the purpose of illustration and do not represent the only implementation.
[0055] It should also be understood that when interpreting the connection relationship or position relationship of elements, although not explicitly described, the connection relationship and position relationship are interpreted to include an error range, and this error range should be within the acceptable deviation range of a specific value determined by those skilled in the art. For example, "about", "approximate" or "substantially" may mean within one or more standard deviations, which is not limited herein.
[0056] The technical features of the above embodiments can be combined arbitrarily. For the sake of brevity of description, 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, it should be considered to be within the scope described in this specification.
[0057] The above embodiments only represent several implementation manners of the present utility model, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of the utility model patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present utility model, several modifications and improvements can still be made, and these all belong to the protection scope of the present utility model. Therefore, the protection scope of the utility model patent should be subject to the appended claims.
Claims
1. A power supply board and a control board circuit for realizing low power consumption in communication, characterized in that: It includes a power board (1) and a control board (2). A serial communication module is provided between the power board (1) and the control board (2). Signal transmission is achieved between the power board (1) and the control board (2) through the serial communication module. The power board (1) includes a first main control chip and an external power access wake-up module. The control board (2) includes a second main control chip and a key wake-up module. When the external power access wake-up module is triggered, the first main control chip sends a signal through the serial communication module to wake up the second main control chip; when the key wake-up module is triggered, the second main control chip sends a signal through the serial communication module to wake up the first main control chip.
2. The power supply board and control board circuit for realizing low power consumption in communication according to claim 1, wherein: Both the power board (1) and the control board (2) have a sleep mode. When the second main control chip receives the sleep mode signal from the first main control chip and feeds back a signal to the first main control chip, the power board (1) and the control board (2) enter the sleep state synchronously.
3. The power supply board and control board circuit for realizing low power consumption in communication according to claim 1, characterized in that: When the key wake-up module wakes up the second main control chip, the second main control chip continuously sends a high-level signal to the first main control chip through the serial communication module; when the external power access wake-up module wakes up the first main control chip, the first main control chip continuously sends a high-level signal to the second main control chip through the serial communication module.
4. The power supply board and control board circuit for realizing low power consumption in communication according to claim 1, wherein: The external power access wake-up module includes a triode Q1, a resistor R1, and a resistor R2. The base of the triode Q1 is connected to an external power supply; the emitter of the triode Q1 is grounded; the collector of the triode Q1 is connected to one end of the resistor R1 and the resistor R2. The other end of the resistor R1 is connected to a +5V power supply, and the other end of the resistor R2 is connected to pin 20 of the first main control chip.
5. The power supply board and control board circuit for realizing low power consumption in communication according to claim 1, characterized in that: The serial communication module includes a second connection socket CN2, a resistor R6, a resistor R8, a resistor R9, a capacitor C5, and a capacitor C6. One end of the resistor R6 is connected to pin 3 of the second connection socket CN2, and the other end of the resistor R6 is connected to pin 17 of the first main control chip; one end of the resistor R8 is connected to pin 2 of the second connection socket CN2, and the other end of the resistor R8 is connected to pin 16 of the first main control chip; one end of the resistor R9 is connected to pin 1 of the second connection socket CN2, and the other end of the resistor R9 is connected to pin 4 of the first main control chip; one end of the capacitor C5 is connected to the resistor R6, one end of the capacitor C6 is connected to the resistor R8, and the other ends of the capacitor C5 and the capacitor C6 are both grounded.
6. The power supply board and control board circuit for realizing low power consumption in communication according to claim 1, characterized in that: The model of the first main control chip is PY32F003.
7. The power supply board and control board circuit for realizing low power consumption in communication according to claim 1, characterized in that: The key wake-up module includes a touch spring K1 and a resistor R1. The touch spring K1 and the resistor R1 are connected in series and connected to pin 2 of the second main control chip.
8. The power supply board and control board circuit for implementing low power consumption in communication according to claim 1, characterized in that: The serial communication module further includes a first connection socket CN1, a resistor R4, a resistor R5, and a resistor R7. One end of the resistor R4 is connected to pin 3 of the first connection socket CN1, and the other end of the resistor R4 is connected to pin 15 of the second main control chip; One end of the resistor R5 is connected to pin 2 of the first connection socket CN1, and the other end of the resistor R5 is connected to pin 14 of the second main control chip; one end of the resistor R7 is connected to pin 1 of the first connection socket CN1, and the other end of the resistor R7 is connected to pin 5 of the second main control chip; pin 4 of the first connection socket CN1 is grounded; pin 5 of the first connection socket CN1 is connected to the +5V power supply.
9. The power supply board and control board circuit for realizing low power consumption in communication according to claim 1, characterized in that: The model of the second main control chip is BF7612DM16.