CN111148083A - Method for realizing low power consumption of PCBA based on BLE circuit breaker - Google Patents

Method for realizing low power consumption of PCBA based on BLE circuit breaker Download PDF

Info

Publication number
CN111148083A
CN111148083A CN201911334365.7A CN201911334365A CN111148083A CN 111148083 A CN111148083 A CN 111148083A CN 201911334365 A CN201911334365 A CN 201911334365A CN 111148083 A CN111148083 A CN 111148083A
Authority
CN
China
Prior art keywords
instruction
control mcu
ble
ble module
main control
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.)
Granted
Application number
CN201911334365.7A
Other languages
Chinese (zh)
Other versions
CN111148083B (en
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.)
Zhejiang Tengen Electric Co Ltd
Original Assignee
Zhejiang Tengen Electric 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 Zhejiang Tengen Electric Co Ltd filed Critical Zhejiang Tengen Electric Co Ltd
Priority to CN201911334365.7A priority Critical patent/CN111148083B/en
Publication of CN111148083A publication Critical patent/CN111148083A/en
Application granted granted Critical
Publication of CN111148083B publication Critical patent/CN111148083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/40Near-field transmission systems, e.g. inductive or capacitive transmission systems characterised by components specially adapted for near-field transmission
    • H04B5/48Transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0225Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal
    • H04W52/0248Power saving arrangements in terminal devices using monitoring of external events, e.g. the presence of a signal dependent on the time of the day, e.g. according to expected transmission activity
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention relates to a low-power consumption realization method based on a BLE breaker PCBA.A power chip, a BLE module and a master control MCU are all in a sleep mode in a power-on state; sending a data connection request instruction by using the electric meter, waking up the BLE module, carrying out data interaction, and establishing link connection with the electric meter; the command instruction is sent through the ammeter, and when the BLE module judges the correct command instruction, the main control MCU is awakened, and the command instruction is simplified; after waiting for the set time, the BLE module sends a simplified command instruction to the main control MCU; the main control MCU receives the command instruction and returns a reply instruction; the BLE module receives the reply instruction, reassembles into a complete instruction, returns the complete instruction to the ammeter, and enters a sleep mode after returning the instruction; the main control MCU judges the received command instruction and completes corresponding action, and through the low-power-consumption operation steps, most of the time of the BLE module and the main control MCU is ensured to be in a dormant state, so that the average power consumption of the system is greatly reduced.

Description

Method for realizing low power consumption of PCBA based on BLE circuit breaker
Technical Field
The invention relates to the technical field of low-voltage power distribution, in particular to a PCBA low-power-consumption realization method based on a BLE breaker.
Background
Along with the continuous improvement of market to intelligent electric energy meter functional requirement, the external circuit breaker of intelligent electric energy meter also receives more and more attention as comparatively important control element in the electric power system. The existing external circuit breaker for the electric meter generally adopts a wired mode to control switching-on and switching-off and feed back switching-on and switching-off information, but the wired control can increase power consumption to a certain extent, and has certain defects in the aspects of electricity larceny prevention, safety and convenience. The user hopes to have a lower consumption, safer, more convenient external circuit breaker of ammeter, can solve multiple defect in the current scheme.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a low-power-consumption realization method of a PCBA based on a BLE circuit breaker.
In order to achieve the purpose, the invention provides the following technical scheme:
a low-power-consumption realization method based on a BLE breaker PCBA comprises the following steps:
step one, in a power-on state, the power chip, the BLE module and the master control MCU are all in a sleep mode;
step two, the electric meter sends a data connection request instruction, the BLE module is awakened, data interaction is carried out, and link connection with the electric meter is established;
step three, the BLE module enters a sleep mode, waits for the ammeter to send heartbeat data frames, and maintains link connection;
step four, the ammeter sends a command instruction, the BLE module is awakened, and after the BLE module judges the correct command instruction, the main control MCU is awakened, and the command instruction is simplified;
after waiting for the set time, the BLE module sends a simplified command instruction to the main control MCU;
step six, the main control MCU receives the command instruction and returns a reply instruction;
seventhly, the BLE module receives the reply instruction, reassembles the command into a complete command, returns the complete command to the ammeter, and enters a sleep mode after returning the command;
and step eight, the master control MCU judges the received command instruction, if the command instruction is a read instruction, the master control MCU enters a sleep mode, if the command instruction is a control instruction, the master control MCU turns on the power chip, and after the command instruction is finished, the power chip is turned off and the master control MCU enters the sleep mode.
Under the power-on state, the power supply chip is in a sleep mode and is powered by the mains supply power-taking circuit.
In the first step, the main control MCU enters a sleep mode, the IO pin of the main control MCU is always in a low level, and the main control MCU waits for the BLE module to control the rising edge of the IO pin to wake up.
In step five, the set time is 10 ms.
The communication between BLE module and ammeter adopts the mode of data encryption.
The invention has the beneficial effects that:
1) when the motor is in standby, the power supply chip is turned off, and electricity is directly taken from the mains supply electricity taking circuit, so that the power supply conversion efficiency loss of the power supply chip is reduced;
2) through the low-power consumption operation step, the most time of the BLE module and the main control MCU is ensured to be in the dormant state to the greatest extent, and the average power consumption of the system is greatly reduced.
Drawings
FIG. 1 is a logic diagram of the present invention.
FIG. 2 is a waveform timing diagram of a read command according to the present invention.
FIG. 3 is a waveform timing diagram of a write command according to the present invention.
Detailed Description
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, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that all the directional indicators (such as up, down, left, right, front, and rear … …) in the embodiment of the present invention are only used to explain the relative position relationship between the components, the movement situation, etc. in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indicator is changed accordingly.
In the present invention, unless otherwise expressly stated or limited, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
The BLE circuit breaker comprises a power supply processing module, a BLE module and a control unit, wherein the control unit controls a main control MCU, a motor driving circuit, a data storage circuit and a position detection circuit, the BLE circuit breaker adopts a wireless Bluetooth mode to be linked with an ammeter, the BLE module communicates with the main control MCU through a UART mode, and the power supply processing module supplies power for the circuit part of the whole circuit breaker.
The main control MCU adopts a power supply chip with ultralow static working current, so that the power loss of the power supply chip during working is reduced.
The power supply processing module comprises a mains supply electricity taking circuit and a high-power output circuit, the mains supply electricity taking circuit supplies power to the main control MCU, the BLE module and the data storage circuit, a power supply chip adopted by the high-power output circuit is a non-isolated AC-DC conversion switch power supply chip with ultralow static working current, the power supply output can be closed through a pin of the main control chip, the power supply output is started before the motor works, and high-power current is provided for the driving motor.
The BLE module comprises a circuit board, a Bluetooth chip and a low-power consumption peripheral device.
The BLE module is connected with the awakening pin of the main control MCU and awakens the main control MCU through the output signal.
The position detection circuit comprises a switching-on and switching-off detection circuit and a motor positioning position detection circuit.
Based on the structure, the invention discloses a low-power consumption realization method based on a PCBA of a BLE breaker, which comprises the following steps:
firstly, in a power-on state, a power supply chip closes power supply output, power supply is carried out on the whole system only by virtue of a mains supply electricity taking circuit, meanwhile, a BLE module enters a sleep mode, a main control MCU enters the sleep mode after an ammeter sends a request for connection data to wake up, the wake-up IO of the main control MCU is at a low level, and the wake-up of the rising edge of an IO pin is waited for the BLE module to control the wake-up;
step two, the electric meter sends a data connection request instruction, the BLE module is awakened, data interaction is carried out, and link connection between the BLE module and the electric meter is established;
step three, the BLE module enters a sleep mode, waits for the ammeter to send heartbeat data frames, and maintains link connection;
step four, the electric meter sends a command instruction, the BLE module is awakened, after the BLE module judges the correct command instruction, the IO pin is pulled up, the main control MCU is awakened, and the command instruction is simplified;
step five, after waiting for 10ms, the BLE module sends the simplified command instruction to the main control MCU;
step six, the main control MCU receives the command instruction and returns a simplified reply instruction according to the received command instruction;
seventhly, after receiving the reply instruction returned by the main control MCU, the BLE module reassembles into a complete instruction according to the reply instruction, returns the complete instruction to the ammeter through the Bluetooth link, and enters a sleep mode after returning the instruction;
and step eight, the master control MCU judges the received command instruction, if the command instruction is a read instruction, the master control MCU enters a sleep mode, if the command instruction is a control instruction, the master control MCU turns on the power chip, and after the command instruction is finished, the power chip is turned off and the master control MCU enters the sleep mode.
When the motor is in standby, the power supply chip is turned off, and the commercial power circuit supplies power, so that the power conversion efficiency loss of the power supply chip is reduced.
In addition, through the steps, the BLE module and the main control MCU are ensured to be in a sleep state most of the time, and the average power consumption of the system is greatly reduced.
In order to ensure safety, data encryption is adopted for communication between the BLE module and the electric meter, so that the electricity larceny prevention capability is greatly improved.
And adopt bluetooth wireless communication's mode, can effectively prevent wired connection's reversal or misconnection, improved the security and the agility of connecting.
Meanwhile, comprehensive data communication can be realized, and all operation parameters of the circuit breaker can be monitored in real time.
The examples should not be construed as limiting the present invention, but any modifications made based on the spirit of the present invention should be within the scope of protection of the present invention.

Claims (5)

1. A low-power-consumption realization method based on a BLE breaker PCBA is characterized in that: which comprises the following steps:
step one, in a power-on state, the power chip, the BLE module and the master control MCU are all in a sleep mode;
step two, the electric meter sends a data connection request instruction, the BLE module is awakened, data interaction is carried out, and link connection with the electric meter is established;
step three, the BLE module enters a sleep mode, waits for the ammeter to send heartbeat data frames, and maintains link connection;
step four, the ammeter sends a command instruction, the BLE module is awakened, and after the BLE module judges the correct command instruction, the main control MCU is awakened, and the command instruction is simplified;
after waiting for the set time, the BLE module sends a simplified command instruction to the main control MCU;
step six, the main control MCU receives the command instruction and returns a reply instruction;
seventhly, the BLE module receives the reply instruction, reassembles the command into a complete command, returns the complete command to the ammeter, and enters a sleep mode after returning the command;
and step eight, the master control MCU judges the received command instruction, if the command instruction is a read instruction, the master control MCU enters a sleep mode, if the command instruction is a control instruction, the master control MCU turns on the power chip, and after the command instruction is finished, the power chip is turned off and the master control MCU enters the sleep mode.
2. The method for achieving low power consumption based on PCBA of BLE circuit breaker according to claim 1, wherein the method comprises the following steps: under the power-on state, the power supply chip is in a sleep mode and is powered by the mains supply power-taking circuit.
3. The method for achieving low power consumption based on PCBA of BLE circuit breaker according to claim 1, wherein the method comprises the following steps: in the first step, the main control MCU enters a sleep mode, the IO pin of the main control MCU is always in a low level, and the main control MCU waits for the BLE module to control the rising edge of the IO pin to wake up.
4. The method for achieving low power consumption based on PCBA of BLE circuit breaker according to claim 1, wherein the method comprises the following steps: in step five, the set time is 10 ms.
5. The method for achieving low power consumption based on PCBA of BLE circuit breaker according to claim 1, wherein the method comprises the following steps: the communication between BLE module and ammeter adopts the mode of data encryption.
CN201911334365.7A 2019-12-23 2019-12-23 Low-power-consumption realization method based on low-power-consumption Bluetooth circuit breaker circuit board assembly Active CN111148083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911334365.7A CN111148083B (en) 2019-12-23 2019-12-23 Low-power-consumption realization method based on low-power-consumption Bluetooth circuit breaker circuit board assembly

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911334365.7A CN111148083B (en) 2019-12-23 2019-12-23 Low-power-consumption realization method based on low-power-consumption Bluetooth circuit breaker circuit board assembly

Publications (2)

Publication Number Publication Date
CN111148083A true CN111148083A (en) 2020-05-12
CN111148083B CN111148083B (en) 2023-04-07

Family

ID=70519309

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911334365.7A Active CN111148083B (en) 2019-12-23 2019-12-23 Low-power-consumption realization method based on low-power-consumption Bluetooth circuit breaker circuit board assembly

Country Status (1)

Country Link
CN (1) CN111148083B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117693001A (en) * 2023-11-27 2024-03-12 青岛登云智谷科技有限公司 Low-power distribution network and operation monitoring system and method based on BLE protocol

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770900A (en) * 2008-12-31 2010-07-07 上海万松电气设备有限公司 Intelligent breaker based on wireless technology
CN107800273A (en) * 2017-11-27 2018-03-13 浙江凯发电气有限公司 A kind of external circuit breaker electric source circuit of electric energy meter
CN108063075A (en) * 2017-12-25 2018-05-22 赵翊伶 A kind of external circuit breaker electric source circuit of electric energy meter
WO2018160532A1 (en) * 2017-02-28 2018-09-07 Leviton Manufacturing Co., Inc. Communication enabled circuit breakers
CN110572869A (en) * 2019-09-11 2019-12-13 武汉拓宝科技股份有限公司 equipment awakening method and device based on BLE and Hall switch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101770900A (en) * 2008-12-31 2010-07-07 上海万松电气设备有限公司 Intelligent breaker based on wireless technology
WO2018160532A1 (en) * 2017-02-28 2018-09-07 Leviton Manufacturing Co., Inc. Communication enabled circuit breakers
CN107800273A (en) * 2017-11-27 2018-03-13 浙江凯发电气有限公司 A kind of external circuit breaker electric source circuit of electric energy meter
CN108063075A (en) * 2017-12-25 2018-05-22 赵翊伶 A kind of external circuit breaker electric source circuit of electric energy meter
CN110572869A (en) * 2019-09-11 2019-12-13 武汉拓宝科技股份有限公司 equipment awakening method and device based on BLE and Hall switch

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
王石磊: "《硕士学位论文》", 30 June 2007 *
王计波等: "基于无线传感器网络通信的低压断路器智能控制器设计", 《煤矿机械》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117693001A (en) * 2023-11-27 2024-03-12 青岛登云智谷科技有限公司 Low-power distribution network and operation monitoring system and method based on BLE protocol
CN117693001B (en) * 2023-11-27 2024-05-17 青岛登云智谷科技有限公司 Low-power distribution network and operation monitoring system and method based on BLE protocol

Also Published As

Publication number Publication date
CN111148083B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN202134747U (en) Intelligent socket
CN213338362U (en) Household appliance
WO2010051728A1 (en) Standby power consumption reducing method for radio frequency subscriber identity module card using sequence triggering
CN113459827B (en) Power-on and power-off method of function integrated type motor controller
WO2010048857A1 (en) Software method for reducing standing-by power consumption of radio frequency sim card
CN107071869A (en) Compatible LoRaWAN Class A, Class B and write by hand pattern multimode terminal and multimode compatibility method
CN103857021A (en) Method for controlling Bluetooth device, Bluetooth device and electronic device
CN212447399U (en) Low-power-consumption energy-saving vehicle-mounted controller
CN102184445A (en) Electronic tag awakening method and electronic tag
CN115598406A (en) Low-power-consumption voltage monitoring method and system based on state machine
CN111148083B (en) Low-power-consumption realization method based on low-power-consumption Bluetooth circuit breaker circuit board assembly
CN113765679A (en) Computer network awakening method and system
CN205302313U (en) Battery powered smart card reader of economize on electricity
CN108964162A (en) A kind of battery management system wake-up system and a kind of DC/DC converter
CN212113216U (en) Computer capable of waking up work by voice
CN110568236B (en) Low-power-consumption intelligent electric energy meter communication bin
CN110860041B (en) Active awakening device and method for defibrillator
CN208400302U (en) A kind of super low-power consumption remote controler
CN208572452U (en) A kind of super low-power consumption wifi- serial ports transparent transmission conversion module
CN206532318U (en) A kind of active RF card and its system with dormancy awakening function
CN210016472U (en) Take intelligent home gateway of POE function
CN209345197U (en) A kind of novel low-power consumption LoraWAN remote switch with control feedback
CN208400301U (en) A kind of zero-power remote controler
CN203119599U (en) Novel vehicle-mounted energy-saving power supply management circuit
CN205503187U (en) Low -power consumption personnel in pit locator card

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant