CN103941084A - MuCOS (Micro Control Operation System) operating system based intelligent electric meter - Google Patents

MuCOS (Micro Control Operation System) operating system based intelligent electric meter Download PDF

Info

Publication number
CN103941084A
CN103941084A CN201410199535.6A CN201410199535A CN103941084A CN 103941084 A CN103941084 A CN 103941084A CN 201410199535 A CN201410199535 A CN 201410199535A CN 103941084 A CN103941084 A CN 103941084A
Authority
CN
China
Prior art keywords
module
task
quantity acquisition
electric quantity
operating system
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.)
Pending
Application number
CN201410199535.6A
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.)
Shanghai Electric Group Corp
Original Assignee
Shanghai Electric Group Corp
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 Shanghai Electric Group Corp filed Critical Shanghai Electric Group Corp
Priority to CN201410199535.6A priority Critical patent/CN103941084A/en
Publication of CN103941084A publication Critical patent/CN103941084A/en
Pending legal-status Critical Current

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention relates to a MuCOS (Micro Control Operation System) operating system based intelligent electric meter. The MuCOS operating system based intelligent electric meter is characterized in that a MuCOS real-time operating system is operated on a central processing unit; a power acquisition module, a display module, an external storage module, a RTC (Real Time Clock) module, an input module and a communication module which are corresponding to hardware are divided into corresponding power acquisition tasks, electric quantity processing tasks, input tasks, display tasks, output tasks and MODBUS communication tasks; the various tasks are adjusted and synchronized through message queues and the signal amount. The MuCOS operating system based intelligent electric meter has the advantages of being strong in stability, high in safety performance and good in real-time performance, enabling system expansion to be easy, shortening period for market launch and reducing research and development costs by a large margin.

Description

Intelligent electric meter based on uCOS operating system
Technical field
The present invention relates to a kind of intelligent electric meter, relate in particular to a kind of intelligent electric meter based on uCOS real time operating system.
Background technology
At present, the software systems of intelligent electric meter are all used the bare machine program of moving a master routine, the intelligent electric meter program structure of this kind of framework is complicated, real-time is not strong, poor stability, and the function that later development is new is also more difficult, often need again to develop, this just causes overlapping development, has reduced development efficiency, has not only extended product development cycle but also has increased cost of development.
Summary of the invention
The object of this invention is to provide that a kind of software system structure is simple, real-time performance is strong, stability is strong and be beneficial to the intelligent electric meter of later stage Function Extension.
In order to achieve the above object, technical scheme of the present invention has been to provide a kind of intelligent electric meter based on uCOS operating system, comprises central processor unit, central processor unit respectively with electric quantity acquisition module, display module, outer memory module, RTC real-time clock module, load module and communication module are connected, and by power module, are central processor unit, electric quantity acquisition module, display module, outer memory module, RTC real-time clock module, load module and communication module provide working power, and electric quantity acquisition module connects respectively current sensor and voltage sensor, it is characterized in that: on central processor unit, move uCOS real time operating system, by the electric quantity acquisition module corresponding to hardware, display module, outer memory module, RTC real-time clock module, load module and communication module are divided into corresponding electric quantity acquisition task, electric weight Processing tasks, incoming task, demonstration task, output task and MODBUS communication task, uCOS coordinates by message queue and semaphore and synchronizes various tasks.
Preferably, then voltage parameter, current parameters and the current waveform data that obtained by current sensor module and voltage sensor module by electric quantity acquisition module are stored into corresponding register after calculating the electric energy of voltage effective value, current effective value, power, frequency, power factor (PF), phasing degree and consumption.Electric quantity acquisition task is by reading the corresponding register of electric quantity acquisition module by voltage effective value, current effective value, power, frequency, power factor (PF), the data such as electric energy of phasing degree and consumption are read in central processor unit, the data that electric weight Processing tasks is used corresponding algorithm process electric quantity acquisition task to obtain, then generate and show data, alert data and communication data, electric weight Processing tasks judges whether to generate according to the alert data generating reports to the police to drive alarm output module, alarm output module is connected with central processor unit, by demonstration task, will show that data show by display module, effect by MODBUS task is by MODBUS communication protocol and other devices communicatings and sends communication data.
Due to uCOS operating system be through strict test can be for the real time operating system of spacecraft, so its stability is strong, security performance is high, real-time is good.For the Function Extension in later stage, just increase the task of corresponding function, like this construction cycle short, software systems reusability is high, shortens the cycle of launch simultaneously, significantly reduces R&D costs.
The invention has the beneficial effects as follows: stability is strong, security performance is high, real-time is good, system extension is easy, can shorten the cycle of launch, significantly reduce R&D costs.
Accompanying drawing explanation
Fig. 1 is the hardware structure diagram of a kind of intelligent electric meter based on uCOS operating system provided by the invention.
Embodiment
For the present invention is become apparent, hereby with preferred embodiment, and coordinate accompanying drawing to be described in detail below.
As shown in Figure 1, a kind of intelligent electric meter based on uCOS real time operating system provided by the invention, comprises STM32 microprocessor, RS485 communication module, ferroelectric memory module, switching input module, electric quantity acquisition module, real-time clock module, keyboard load module, alarm output module, LCD MODULE, power module, current sensor module and voltage sensor module.
Power module is connected with STM32 microprocessor, RS485 communication module, ferroelectric memory module, switching input module, electric quantity acquisition module, real-time clock module, keyboard load module, alarm output module and LCD MODULE, is whole system power supply.STM32 microprocessor is connected with RS485 communication module, ferroelectric memory module, switching input module, electric quantity acquisition module, real-time clock module, keyboard load module, alarm output module and LCD MODULE, sets up the passage of exchanges data.Electric quantity acquisition module is connected with current sensor module and voltage sensor module, for gathering voltage parameter and current parameters.
The above-mentioned intelligent electric meter method of work based on uCOS real time operating system: after system powers on, first close total interrupt system, next diagnose all system hardwares of also initialization, initialization uCOS, then create respectively incoming task, output task, demonstration task, MODBUS communication task, electric quantity acquisition task, electric weight Processing tasks and create message queue and the semaphore for intertask communication, finally start uCOS multiple tasks dispatching system.Electric quantity acquisition task is read in STM32CPU by it by current sensor module and the collection of voltage sensor module the data such as electric energy of calculating the voltage effective value, current effective value, power, frequency, power factor (PF), phasing degree and the consumption that generate by reading the corresponding register of electric quantity acquisition module, the data that electric weight Processing tasks is used corresponding algorithm process electric quantity acquisition task to obtain, then generate and show data, alert data and communication data.Electric weight Processing tasks also judges whether the data according to generating to generate reports to the police to drive alarm output module, whether store current data etc.
The effect of incoming task is from switching input module and keyboard load module, to obtain data to carry out man-machine interaction.The effect of demonstration task is the data that show that the needs of electric weight Processing tasks generation show.The effect of MODBUS task is by MODBUS communication protocol and other devices communicatings.UCOS real time operating system is born the effect of data interaction between task scheduling, task in whole system.
Above-mentioned functions is only explanation technical conceive of the present invention and feature; its object is to allow person skilled in the art can understand content of the present invention and be implemented; can not limit the scope of the invention with this; all equivalences that Spirit Essence is done according to the present invention change or modify, and all should be encompassed in protection scope of the present invention.

Claims (2)

1. the intelligent electric meter based on uCOS operating system, comprise central processor unit, central processor unit respectively with electric quantity acquisition module, display module, outer memory module, RTC real-time clock module, load module and communication module are connected, by power module, it is central processor unit, electric quantity acquisition module, display module, outer memory module, RTC real-time clock module, load module and communication module provide working power, electric quantity acquisition module connects respectively current sensor and voltage sensor, it is characterized in that: on central processor unit, move uCOS real time operating system, by the electric quantity acquisition module corresponding to hardware, display module, outer memory module, RTC real-time clock module, load module and communication module are divided into corresponding electric quantity acquisition task, electric weight Processing tasks, incoming task, demonstration task, output task and MODBUS communication task, uCOS coordinates by message queue and semaphore and synchronizes various tasks.
2. a kind of intelligent electric meter based on uCOS operating system as claimed in claim 1, is characterized in that: the voltage parameter that electric quantity acquisition module obtains by current sensor module and voltage sensor module, current parameters and current waveform data are then by calculating voltage effective value, current effective value, power, frequency, power factor (PF), after the electric energy of phasing degree and consumption, be stored into corresponding register, electric quantity acquisition task is by reading the corresponding register of electric quantity acquisition module by voltage effective value, current effective value, power, frequency, power factor (PF), the data such as electric energy of phasing degree and consumption are read in central processor unit, and then the data that electric weight Processing tasks is used corresponding algorithm process electric quantity acquisition task to obtain generate and show data, alert data and communication data, electric weight Processing tasks judges whether to generate according to the alert data generating reports to the police to drive alarm output module, alarm output module is connected with central processor unit, by demonstration task, will show that data show by display module, and by the effect of MODBUS task, be by MODBUS communication protocol and other devices communicatings and send communication data.
CN201410199535.6A 2014-05-13 2014-05-13 MuCOS (Micro Control Operation System) operating system based intelligent electric meter Pending CN103941084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410199535.6A CN103941084A (en) 2014-05-13 2014-05-13 MuCOS (Micro Control Operation System) operating system based intelligent electric meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410199535.6A CN103941084A (en) 2014-05-13 2014-05-13 MuCOS (Micro Control Operation System) operating system based intelligent electric meter

Publications (1)

Publication Number Publication Date
CN103941084A true CN103941084A (en) 2014-07-23

Family

ID=51188833

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410199535.6A Pending CN103941084A (en) 2014-05-13 2014-05-13 MuCOS (Micro Control Operation System) operating system based intelligent electric meter

Country Status (1)

Country Link
CN (1) CN103941084A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607535A (en) * 2015-12-23 2016-05-25 华南理工大学 Intelligent power meter based on CAN communication and ZigBee networking
CN106097589A (en) * 2016-06-12 2016-11-09 宁波迦南电子有限公司 A kind of embedded management system of single-phase charge-controlled intelligent electric meter
CN106127960A (en) * 2016-06-12 2016-11-16 宁波迦南电子有限公司 A kind of single-phase charge-controlled intelligent electric meter
CN111537791A (en) * 2020-07-01 2020-08-14 杭州雷甸科技有限公司 Intelligent electric meter based on embedded operating system
CN112098713A (en) * 2020-07-31 2020-12-18 宁波三星医疗电气股份有限公司 Electric energy meter operation control method

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04255645A (en) * 1991-02-08 1992-09-10 Nec Corp Heater current control method for ion source of surface ionization type and device therefor
CN101571563A (en) * 2009-06-04 2009-11-04 东方博沃(北京)科技有限公司 Integrative electric energy quality monitoring terminal
CN201945630U (en) * 2010-12-20 2011-08-24 杭州海兴电力科技有限公司 Multifunctional intelligent electric energy meter
CN102830279A (en) * 2012-09-14 2012-12-19 北京华鑫志和科技有限公司 Data processing device used for electric energy meter and power consumption collector
CN202693670U (en) * 2012-06-14 2013-01-23 包依勤 Digital readout network instrument
CN202871074U (en) * 2012-11-15 2013-04-10 长沙威胜信息技术有限公司 Wireless communication collecting module for electric energy meter
CN202929101U (en) * 2012-09-14 2013-05-08 北京华鑫志和科技有限公司 Data processing device used for electric energy meter and electric gatherer
CN202995436U (en) * 2012-12-27 2013-06-12 湖州康普医疗器械科技有限公司 Electric-energy management system
CN203251147U (en) * 2013-05-29 2013-10-23 福建省力禾电子工程有限公司 Precise power distribution monitoring apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04255645A (en) * 1991-02-08 1992-09-10 Nec Corp Heater current control method for ion source of surface ionization type and device therefor
CN101571563A (en) * 2009-06-04 2009-11-04 东方博沃(北京)科技有限公司 Integrative electric energy quality monitoring terminal
CN201945630U (en) * 2010-12-20 2011-08-24 杭州海兴电力科技有限公司 Multifunctional intelligent electric energy meter
CN202693670U (en) * 2012-06-14 2013-01-23 包依勤 Digital readout network instrument
CN102830279A (en) * 2012-09-14 2012-12-19 北京华鑫志和科技有限公司 Data processing device used for electric energy meter and power consumption collector
CN202929101U (en) * 2012-09-14 2013-05-08 北京华鑫志和科技有限公司 Data processing device used for electric energy meter and electric gatherer
CN202871074U (en) * 2012-11-15 2013-04-10 长沙威胜信息技术有限公司 Wireless communication collecting module for electric energy meter
CN202995436U (en) * 2012-12-27 2013-06-12 湖州康普医疗器械科技有限公司 Electric-energy management system
CN203251147U (en) * 2013-05-29 2013-10-23 福建省力禾电子工程有限公司 Precise power distribution monitoring apparatus

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105607535A (en) * 2015-12-23 2016-05-25 华南理工大学 Intelligent power meter based on CAN communication and ZigBee networking
CN106097589A (en) * 2016-06-12 2016-11-09 宁波迦南电子有限公司 A kind of embedded management system of single-phase charge-controlled intelligent electric meter
CN106127960A (en) * 2016-06-12 2016-11-16 宁波迦南电子有限公司 A kind of single-phase charge-controlled intelligent electric meter
CN111537791A (en) * 2020-07-01 2020-08-14 杭州雷甸科技有限公司 Intelligent electric meter based on embedded operating system
CN112098713A (en) * 2020-07-31 2020-12-18 宁波三星医疗电气股份有限公司 Electric energy meter operation control method
CN112098713B (en) * 2020-07-31 2022-11-04 宁波三星医疗电气股份有限公司 Electric energy meter operation control method

Similar Documents

Publication Publication Date Title
CN103941084A (en) MuCOS (Micro Control Operation System) operating system based intelligent electric meter
CN204926079U (en) Control integrated circuit board based on DSP and FPGA
CN104216500A (en) Embedded controller and power-saving control method
CN105183696A (en) DSP-based control board
CN208432998U (en) Data accelerate processing system
CN102749993A (en) Motion recognition method based on skeleton node data
CN201638103U (en) Timing control system used on X86 structure platform
CN106100821A (en) A kind of chaos encryption data collecting system
CN202351339U (en) Power quality monitoring device
CN103091580A (en) Micro-grid electric energy monitoring device based on ARM
CN106357199B (en) Electrical machine energy-saving control system and power-economizing method
CN203616975U (en) Graphics display device
CN201749350U (en) Human-machine interface device for miniature PLC
CN203720301U (en) Fault positioning monitoring system of distribution line
CN102253280A (en) Single-phase remote charge-control carrier intelligent electric energy meter
CN203870558U (en) Main control chip for dynamic token system
CN205844887U (en) A kind of test system of new forms of energy cooling protection system
CN205450869U (en) Clock synchronization circuit between multimode group
CN103577736A (en) Low-power-consumption dynamic token and dynamic password generation method
CN204119192U (en) Function signal generator
CN204256844U (en) Gas meter monitoring terminal
CN205692160U (en) The detection of main passive sensor multimodal information and information fusion technology emulation platform
CN202696634U (en) Real-time industrial Ethernet EtherCAT master station system
CN202119833U (en) Single-phase remote cost control intelligent electric energy meter
CN203250161U (en) Structure of main control device of instrument system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20140723

RJ01 Rejection of invention patent application after publication