CN217008004U - Control circuit, device and metering device equipment based on bus multiplexing - Google Patents

Control circuit, device and metering device equipment based on bus multiplexing Download PDF

Info

Publication number
CN217008004U
CN217008004U CN202123456647.XU CN202123456647U CN217008004U CN 217008004 U CN217008004 U CN 217008004U CN 202123456647 U CN202123456647 U CN 202123456647U CN 217008004 U CN217008004 U CN 217008004U
Authority
CN
China
Prior art keywords
slave station
control
power
station functional
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202123456647.XU
Other languages
Chinese (zh)
Inventor
周先军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Golden Card Intelligent Group Hangzhou Co ltd
Goldcard Smart Group Co Ltd
Original Assignee
Golden Card Intelligent Group Hangzhou Co ltd
Goldcard Smart Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Golden Card Intelligent Group Hangzhou Co ltd, Goldcard Smart Group Co Ltd filed Critical Golden Card Intelligent Group Hangzhou Co ltd
Priority to CN202123456647.XU priority Critical patent/CN217008004U/en
Application granted granted Critical
Publication of CN217008004U publication Critical patent/CN217008004U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Programmable Controllers (AREA)

Abstract

The application provides a control circuit, device and metering device equipment based on bus is multiplexing, this control circuit based on bus is multiplexing is applied to metering device equipment, includes: the power supply module is used for supplying power to the metering device; the slave station functional units are used for realizing auxiliary functions of the metering device; the power supply control switch is arranged between the power supply module and each slave station functional unit; and the micro control unit is connected with each slave station functional unit through a control bus and controls the on-off state between the power supply module and each slave station functional unit by controlling the on-off of the power supply control switch. The circuit structure of the application is simple, the complexity and the expansibility of the system can be effectively improved, and the overall power consumption is reduced.

Description

Control circuit, device and metering device equipment based on bus multiplexing
Technical Field
The application belongs to the technical field of circuits, and particularly relates to a control circuit, a control device and metering device equipment based on bus multiplexing.
Background
The existing intelligent metering device needs to integrate more functional units (i.e. slave station functional units) besides the metering main unit, such as: the device comprises a near field communication unit, a FLASH storage unit, a real-time clock unit, a temperature detection unit, a pressure detection unit and the like. And the more the functional units, the higher the control complexity of the MCU. If the micro control unit MCU controls each functional unit independently, a lot of IO resources are occupied, so that the IO resources of the MCU are nearly deficient.
Disclosure of Invention
The application provides a control circuit, a device and a metering instrument device based on bus multiplexing, and the circuit has a simple structure, can effectively improve the complexity and the expansibility of a system, and reduces the overall power consumption.
The embodiment of the first aspect of the present application provides a control circuit based on bus multiplexing, which is applied to a metering device, and includes:
the power supply module is used for supplying power to the metering device;
the slave station functional units are used for realizing auxiliary functions of the metering device;
the power supply control switch is arranged between the power supply module and each slave station functional unit;
and the micro control unit is connected with each slave station functional unit through a control bus and controls the on-off state between the power supply module and each slave station functional unit by controlling the on-off state of the power supply control switch.
In some embodiments of the present application, the power control switches include a plurality of power control switches, and are arranged in a one-to-one correspondence with the slave station functional units, and the micro control unit controls the on/off state between one slave station functional unit and the power module through each power control switch.
In some embodiments of the present application, the power control switch includes one, and the micro control unit controls on/off states between the plurality of slave station functional units and the power module through the power control switch at the same time.
In some embodiments of the present application, a clock signal line, a data output signal line, and a data input signal line are shared between each slave functional unit and the micro control unit; and chip selection signal lines between each slave station functional unit and the micro control unit are independently arranged.
In some embodiments of the present application, the mcu multiplexes the SPI buses and controls the slave functional units to perform a control function or enter a sleep state, respectively.
In some embodiments of the present application, the power control switch includes a MOS transistor and a triode, the MOS transistor is respectively connected to the micro control unit, the power module and the triode, one end of the triode is connected to the MOS transistor, one end of the triode is connected to the slave station functional unit, and the other end of the triode is grounded or connected to another triode.
In some embodiments of the present application, the micro control unit is connected to the power control switch via an input/output interface.
In some embodiments of the present application, the slave station function unit includes any one or more of a memory chip, an NFC chip, a temperature sensor, and a pressure sensor.
An embodiment of a second aspect of the present application provides a control device based on bus multiplexing, including the control circuit based on bus multiplexing of the first aspect.
Embodiments of a third aspect of the present application provide a meter device comprising a meter body and the bus multiplexing-based control circuit of the second aspect.
The technical scheme provided in the embodiment of the application at least has the following technical effects or advantages:
according to the control circuit based on bus multiplexing, a Micro Control Unit (MCU) is connected with each slave station functional unit to control in a bus multiplexing control mode, the expansion capability of the MCU is improved under the condition that the MCU resource is kept unchanged, more functional units can be mounted, accordingly, more diversified and multifunctional metering instrument equipment is achieved, and the complexity and the expansibility of the metering instrument equipment are improved. And the on-off state between the power supply module and each slave station functional unit is controlled by controlling the on-off of the power supply control switch, so that the whole system is ensured to maintain a lower power consumption level, and the service life of the control circuit or the metering device is prolonged.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the application. Also, like reference numerals are used to refer to like parts throughout the drawings.
In the drawings:
fig. 1 is a schematic diagram illustrating a framework of a control circuit based on bus multiplexing according to an embodiment of the present application;
fig. 2 shows a schematic diagram of a framework of another control circuit based on bus multiplexing according to an embodiment of the present application.
Detailed Description
Exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It is to be noted that, unless otherwise specified, technical terms or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which this application belongs.
In the prior art, to solve the problem of lack of IO resources, serial buses such as SPI and I2C are often used to connect various functional units for control, so as to effectively provide complexity and extensibility of the system. However, when a common control bus, such as SPI, works, the slave unit continuously supplies power to work, and a module in a non-working state (such as a communication gap) also continuously generates power consumption, so that the working power consumption of the whole device is increased. However, the devices such as the metering device usually belong to a normal working state, and long-period low-power-consumption operation needs to be ensured so as to prolong the service life of the devices.
In view of the above problems, the present embodiments provide a control circuit, an apparatus and a meter device based on bus multiplexing, which are applied to a self-powered meter device. As shown in fig. 1, the control circuit includes: the power supply module is used for supplying power to the metering device; the slave station functional units are used for realizing auxiliary functions of the metering device; the power supply control switch is arranged between the power supply module and each slave station functional unit; and the micro control unit is connected with each slave station functional unit through a control bus and controls the on-off state between the power supply module and each slave station functional unit by controlling the on-off of the power supply control switch.
In the control circuit based on bus multiplexing provided by this embodiment, a Micro Control Unit (MCU) is connected to each slave station functional unit to perform control in a manner of controlling bus multiplexing, and under the condition of keeping MCU resources unchanged, the expansion capability of the MCU is improved, and more slave station functional units can be mounted, so that a more diversified and multifunctional metering device is implemented, and the complexity and expansibility of the metering device is improved. And the on-off state between the power supply module and each slave station functional unit is controlled by controlling the on-off of the power supply control switch, so that the whole system is ensured to maintain a lower power consumption level, and the service life of the control circuit or the metering device is prolonged.
In an embodiment of this embodiment, as shown in fig. 1, the power control switch may include only one, and the micro control unit simultaneously controls the on/off states between the plurality of slave station functional units and the power module through the power control switch.
When the slave station functional unit needs to work, the control process of the control circuit is as follows: step 11, the MCU controls the power supply control switch to be turned on, so that the power supply module is conducted with each slave station functional unit, and the power supply module can supply power to each slave station functional unit; step 12, the MCU selects all the slave station functional units (one or more) that do not need to work through the control bus, and operates the slave station functional units to enter a sleep state; step 13, the MCU calls all slave station functional units (one or more) needing to work through the control bus until the slave station functional units complete the work tasks; and 14, selecting all the slave station functional units needing to work by the MCU through the control bus, and respectively operating the slave station functional units needing to work to enter a sleep state.
After the functions of all the slave stations are called, the MCU can control the power supply control switch to be switched off, so that the power supply module and each slave station functional unit are switched off, the power supply module supplies power to each slave station functional unit to be interrupted, and each slave station functional unit enters a power-off low-power-consumption state.
In another embodiment of this embodiment, as shown in fig. 2, the power control switches include a plurality of power control switches, and are arranged in a one-to-one correspondence with the slave station functional units, and the micro control unit controls the on/off state between one slave station functional unit and the power module through each power control switch. Therefore, each slave station functional unit is provided with an independent power control switch, the control logic is clear, and the slave station functional unit can be thoroughly prevented from generating power consumption in a non-working state, so that the power consumption is further reduced.
In this embodiment, when the slave station function unit needs to operate, the control process of the control circuit is as follows: step 21, the MCU controls the corresponding power control switches to be turned on, so that the power module and all the slave station functional units (one or more) that need to work are all connected, and the power module can supply power to all the slave station functional units that need to work; step 22, the MCU controls the corresponding power control switches to be turned on, so that the power module and all the slave station functional units (one or more) which do not need to work are all turned off, and the power supply of the slave station functional units which do not need to work is interrupted; step 23, the MCU calls all slave functional units (one or more) to be operated through the control bus until the slave functional units complete their operation tasks; and 24, the MCU controls the corresponding power supply control switch to be turned on, so that the power supply module and all the slave station functional units (one or more) which do not need to work are disconnected, and the power supply of the slave station functional units which do not need to work is interrupted.
Specifically, the micro control unit may, but is not limited to, control each slave station function unit to complete a control function or enter a sleep state by multiplexing the SPI bus or the I2C bus, so as to achieve the purposes of saving IO resources and improving system complexity and extensibility.
In another embodiment of this embodiment, the power control switch may include a MOS transistor and a triode, the MOS transistor is respectively connected to the micro-control unit, the power module and the triode, one end of the triode is connected to the MOS transistor, one end of the triode is connected to the slave station functional unit, and the other end of the triode is grounded or connected to another triode. The MOS tube and the triode can be one or more, and the power supply state of the power supply module to each slave station functional unit can be controlled by the micro control unit through the on-off of the power supply control switch.
The micro control unit can be connected with the power control switch through the input/output interface, the MCU controls the power control switch to be turned on or off, and the power module is controlled to supply power to the slave station functional units according to the use logic.
In another embodiment of this embodiment, the clock signal line, the data output signal line, and the data input signal line between each slave station functional unit and the micro control unit are all shared; and chip selection signal lines between each slave station functional unit and the micro control unit are independently arranged.
In the embodiment, the MCU establishes contact with each slave station functional unit by using the SPI control bus; the micro control unit and each slave station functional unit share a clock signal line CLK, a data output signal line MISO and a data input signal line MOSI. And each slave station functional unit is independently connected through a chip selection signal line CS to perform functional logic switching selection (such as waking up or controlling each slave station functional unit to perform a sleep state).
Specifically, the slave station functional unit includes any one or more of a memory chip, an NFC chip, a temperature sensor, and a pressure sensor.
It should be understood that the present embodiment only illustrates the control of the slave function unit by the mcu, but it does not mean that the mcu can only control the slave function unit, and it can also control the master unit (e.g. a metering module of a metering device), and those skilled in the art can design the mcu as required.
Based on the same concept of the control circuit, the present embodiment further provides a control device based on bus multiplexing, which includes the control circuit based on bus multiplexing of any of the above embodiments. The device can be extended to the whole or part of the structure of the metering equipment except the metering main body for metering, and the control circuit based on bus multiplexing can be included.
The control device based on bus multiplexing provided by this embodiment is based on the same concept of the control circuit based on bus multiplexing, so that at least the beneficial effects that the control circuit based on bus multiplexing can achieve can be achieved, and are not described herein again.
Based on the same concept of the control circuit, the embodiment also provides a metering device, which comprises a meter main body for metering and the control device based on bus multiplexing.
The metering device provided by this embodiment is based on the same concept of the control circuit based on bus multiplexing, so that at least the beneficial effects that the control circuit based on bus multiplexing can achieve can be achieved, and details are not repeated herein.
It should be noted that the above-mentioned embodiments illustrate rather than limit the application, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The application may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means can be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
The above description is only for the preferred embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A control circuit based on bus multiplexing is characterized in that the control circuit is applied to a metering device and comprises:
the power supply module is used for supplying power to the metering device;
the slave station functional units are used for realizing various auxiliary functions of the metering device;
the power supply control switch is arranged between the power supply module and each slave station functional unit;
and the micro control unit is connected with each slave station functional unit through a control bus and controls the on-off state between the power supply module and each slave station functional unit by controlling the on-off state of the power supply control switch.
2. The circuit of claim 1, wherein the power control switches comprise a plurality of power control switches, and are arranged in a one-to-one correspondence with the slave station functional units, and the micro control unit controls the on/off state between one slave station functional unit and the power module through each power control switch.
3. The circuit of claim 1, wherein the power control switch comprises one, and the micro control unit simultaneously controls the on/off state between the plurality of slave station functional units and the power module through the power control switch.
4. The circuit of claim 1, wherein a clock signal line, a data output signal line, and a data input signal line are common between each slave functional unit and the micro control unit; and chip selection signal lines between each slave station functional unit and the micro control unit are independently arranged.
5. The circuit of claim 1, wherein the mcu multiplexes SPI buses and controls the slave functional units to perform control functions or to enter a sleep state, respectively.
6. The circuit of claim 1, wherein the power control switch comprises a MOS transistor and a transistor, the MOS transistor is respectively connected to the micro-control unit, the power module and the transistor, one end of the transistor is connected to the MOS transistor, one end of the transistor is connected to the slave station functional unit, and the other end of the transistor is grounded or connected to another transistor.
7. The circuit of claim 1, wherein the micro control unit is connected to the power control switch via an input output interface.
8. The circuit of claim 1, wherein the secondary station functional unit comprises any one or more of a memory chip, an NFC chip, a temperature sensor and a pressure sensor.
9. A control device based on bus multiplexing, characterized in that it comprises a control circuit based on bus multiplexing according to any of claims 1-8.
10. A metering device characterized by comprising a meter main body and the bus multiplexing-based control apparatus of claim 9.
CN202123456647.XU 2021-12-31 2021-12-31 Control circuit, device and metering device equipment based on bus multiplexing Active CN217008004U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202123456647.XU CN217008004U (en) 2021-12-31 2021-12-31 Control circuit, device and metering device equipment based on bus multiplexing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202123456647.XU CN217008004U (en) 2021-12-31 2021-12-31 Control circuit, device and metering device equipment based on bus multiplexing

Publications (1)

Publication Number Publication Date
CN217008004U true CN217008004U (en) 2022-07-19

Family

ID=82388873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202123456647.XU Active CN217008004U (en) 2021-12-31 2021-12-31 Control circuit, device and metering device equipment based on bus multiplexing

Country Status (1)

Country Link
CN (1) CN217008004U (en)

Similar Documents

Publication Publication Date Title
KR100866604B1 (en) Power control apparatus and method thereof
CN104272388B (en) The ultra-deep power-down mode of storage arrangement
US7447930B2 (en) USB control circuit for saving power and the method thereof
CN203786723U (en) Dual redundant system based on X86 PC/104 embedded CPU modules
KR101636456B1 (en) Apparatus and method for supporting sim card in multi modem mobile communication terminal
KR101854329B1 (en) Power Multiplexer for Integrated Circuits
US20060259800A1 (en) Circuit system
US20130212408A1 (en) Regulating a clock frequency of a peripheral
US20080215908A1 (en) Sleep Watchdog Circuit For Asynchronous Digital Circuits
US8471404B2 (en) System and method for supporting high burst current in a current limited system
US20150253842A1 (en) Semiconductor device, and power control method for usbotg
CN116700412A (en) Low-power consumption system, microcontroller, chip and control method
US20100250983A1 (en) Power saving control system
US11372470B2 (en) Control system for controlling intelligent system to reduce power consumption based on bluetooth device
CN217008004U (en) Control circuit, device and metering device equipment based on bus multiplexing
JP2000112587A5 (en)
CN213637179U (en) Power supply switching circuit and wearable equipment
CN116301294B (en) System chip low-power-consumption implementation method, system chip, vehicle machine and equipment
CN102468650A (en) Power supply device with multiple power sources
CN214255821U (en) Multi-channel power supply management module with state display function
CN113595053A (en) Low-power consumption sensing chip of no clock standby
US8618844B2 (en) Level-shifting interface for a processor-based device
CN203025643U (en) Power supply monitoring and sequencing circuit of extensible multi-power system
KR20050052890A (en) A display-part back- light power control device for mobile phone
CN105446453A (en) Electronic device

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant