CN104101857B - Based on FlexRay bus electric energy Watch Error detecting systems and method - Google Patents

Based on FlexRay bus electric energy Watch Error detecting systems and method Download PDF

Info

Publication number
CN104101857B
CN104101857B CN201410310914.8A CN201410310914A CN104101857B CN 104101857 B CN104101857 B CN 104101857B CN 201410310914 A CN201410310914 A CN 201410310914A CN 104101857 B CN104101857 B CN 104101857B
Authority
CN
China
Prior art keywords
error
instrument unit
tested
module
pulse
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
CN201410310914.8A
Other languages
Chinese (zh)
Other versions
CN104101857A (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.)
Delixi Group Instrument & Instrumentation Co ltd
Original Assignee
Hangzhou Dianzi University
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 Hangzhou Dianzi University filed Critical Hangzhou Dianzi University
Priority to CN201410310914.8A priority Critical patent/CN104101857B/en
Publication of CN104101857A publication Critical patent/CN104101857A/en
Application granted granted Critical
Publication of CN104101857B publication Critical patent/CN104101857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electric Clocks (AREA)
  • Measurement Of Unknown Time Intervals (AREA)

Abstract

FlexRay bus electric energy Watch Error detecting systems and method are based on the invention discloses one kind, the system includes N number of error instrument unit, host computer, master control system, standard time clock, standard scale, N number of tested electric energy meter, error instrument unit is communicated by twin-channel FlexRay buses with host computer with master control system, FlexRay buses have two passages, independently data transfer can be carried out, can also be redundancy backup of the passage as another passage.Each error instrument unit is connected with one piece of tested electric energy meter, and the calibration pulse signal of standard scale output is simultaneously connected to each error instrument unit, and the clock pulse signal that standard time clock module is produced is also with each error instrument unit and connecing.The error instrument unit that the present invention connects it is more, faster, communication distance is longer for communication speed, the better reliability of communication, and verification time it is shorter.

Description

Based on FlexRay bus electric energy Watch Error detecting systems and method
Technical field
It is more particularly to a kind of to be based on FlexRay bus Multi-station electrical energy the present invention relates to electrical energy meter calibration technical field Watch Error detecting system and method.
Background technology
With increasing substantially so that system is proposed to communication quality and speed for calibration console for electric energy meter CPU arithmetic speeds Higher requirement.In order to improve electric energy meter calibration efficiency, the quantity of electric energy meter error detector parallel detection is also more and more, leads to Letter data amount is increasing.485 communication modes have been difficult to meet to require in speed and real-time.For CAN is with respect to 485, have Very big improvement, but CAN transmission rate most only has 1MHz soon, and at the scene in the case of multi-epitope, to reach reliable logical Letter, traffic rate often can only achieve 100KHz.Emerging FlexRay buses carry out two-pass using the method for redundancy backup Letter, when a wherein communication line failure, can undertake single line communication task by another;In terms of speed, FlexRay can To reach 20Mbps traffic rate.So, the inspection of multi-epitope electric energy meter error can be met well in reliability and speed Survey instrument requirement.
The content of the invention
In order to overcome the above-mentioned deficiencies of the prior art, the invention provides a kind of detection of FlexRay bus electric energies Watch Error System and method.Original electric energy meter error detection device is mainly solved in the presence of communication is slow, station quantity is few, reliability is not ideal enough Etc. defect, the technical problem of calibrating and the verification of electric energy meter have impact on.It is a kind of based on many of FlexRay buses that the present invention is provided Station electric energy meter error detecting system, its station quantity is up to 124, and reliability is high, and data transmission bauds is fast, electric energy meter error Detection efficiency is high.
It is of the invention a kind of to be based on FlexRay bus multistation electric energy meter error detecting systems, including N number of error instrument unit, Host computer, master control system, standard time clock, standard scale, N number of tested electric energy meter.
Each error instrument unit is communicated by twin-channel FlexRay buses with host computer with master control system, N number of mistake Poor instrument unit, host computer, master control system all carries are in same FlexRay buses.FlexRay buses have two passages, point Not Wei passage 1 and passage 2, passage 1 and passage 2 can carry out independently data transfer, can also be a passage as another The redundancy backup of individual passage.Each error instrument unit is connected with one piece of tested electric energy meter, will be detected the quilt of electric energy meter output Inspection pulse signal and tested clock signal are connected to error instrument unit.The calibration pulse signal of standard scale output is simultaneously connected to each mistake Poor instrument unit, the clock pulse signal that standard time clock module is produced is also with each error instrument unit and connecing.
Error instrument unit includes one-chip computer module, and shaping pulse module, temperature detecting module, display module, FlexRay is total Wire module, the module of serial ports 485.4 tunnels wherein in the tunnel schmidt trigger phase inverter of shaping pulse module 6 with one-chip computer module 4 timer interfaces are connected, and temperature detecting module is connected with the AD mouths of single-chip microcomputer, and display module passes through FSMC buses and single-chip microcomputer It is connected, FlexRay bus modules are connected with the serial ports of single-chip microcomputer, and the module of serial ports 485 is connected with microcontroller serial port;
One-chip computer module selects the MCU based on Cortex-M3 kernels, is compared with the MCU of identical price generic kernel, such The MCU of type has stronger control and operational capability.It is connected between one-chip computer module and display module by FSMC buses, display screen The TFT screens that selection drives with ILI9325.The charactron in traditional use is replaced with TFT screens, display information is more enriched, Display interface is more attractive in appearance.Shaping pulse module is connected with single-chip microcomputer timer interface, to standard scale pulse, standard time clock arteries and veins Punching, tested table pulse, tested table clock pulses carry out shaping, reduce the interference signal of pulse, improve pulse signal Catch the accuracy counted.Temperature detecting module is connected with Chip Microcomputer A/D mouthful.The serial ports phase of FlexRay bus modules and single-chip microcomputer Even, by the use of the serial ports of single-chip microcomputer itself as communication controler, bus control unit uses the TJA1080 of En Zhi Pus company, mainly It is responsible for being communicated with host computer and master control system.The module of serial ports 485 is connected with microcontroller serial port.
Based on FlexRay bus multistation electric energy meter error detection methods, following steps are specifically included:
Step 1:After system electrification, master control system sends tested table constant by FlexRay buses to error instrument unit, by mistake Poor instrument receives after data data storage and shown.
Step 2:Host computer sends test contents command by FlexRay buses to master control system.
Step 3:Master control system exports the three-phase of setting according to test contents command, adjustment signal source and power amplifier Voltage and current signal.
Step 4:After signal source output is stable, master control system is tested by FlexRay buses to error instrument cell broadcast Order.Wherein test command includes standard scale constant, umber of pulse, the standard time clock umber of pulse of tested table simultaneously for error and frequency.
Step 5:Error instrument unit starts corresponding test after test command is received according to test content.Error instrument is same When pulse and tested clock are detected to tested table, the standard time clock pulse of standard scale, standard time clock pulse carries out seizure counting.
Error and frequency calculation formula are as follows:
Tested Watch Error calculation formula:, wherein k-factor is, N is The umber of pulse of tested table, n is standard scale umber of pulse.
Tested table clock frequency calculation formula:, wherein N is the clock pulses number of tested table, and n is mark Quasi- clock pulses number.
Step 6:Error instrument unit is returned to data by FlexRay buses after error information or frequency data is measured To host computer, then tested next time.
Step 7:Host computer is sent to master control system and error instrument unit stops test command, and voltage x current drops in signal source For 0, error instrument unit is changed into stopping test mode.
Compared with prior art, the beneficial effects of the invention are as follows the more of error instrument unit, communication speed faster, Communication distance is longer, the better reliability of communication, and error testing can be carried out simultaneously with frequency test, and can be by test data Host computer is uploaded in real time, checking procedure is more intelligent, and the time of verification is shorter.
Brief description of the drawings
Fig. 1 is electric energy meter error detecting system block diagram;
Fig. 2 is electric energy meter error detecting system error instrument unit hardware block diagram.
Embodiment
The present invention is further described below in conjunction with the accompanying drawings.
As shown in figure 1, when electric energy meter error detecting system includes host computer, master control system, N number of error instrument unit, standard Clock, standard scale, N number of tested table.Carried out between host computer, master control system, N number of error instrument unit three by FlexRay buses Communication, host computer, master control system, N number of error instrument unit all carries are in same FlexRay buses.FlexRay buses have two Individual passage, respectively passage 1 and passage 2, binary channels can independently carry out data transmission, can also be using a passage as another The redundancy backup of individual passage.Each error instrument unit is connected with one piece of tested table, by the tested pulse signal of tested table and by Inspection clock signal is connected to error instrument unit.Standard scale and N number of error instrument unit and company, the calibration pulse signal that standard scale is exported And it is connected to each error instrument unit.Standard time clock is also with N number of error instrument unit and company, and the clock pulses that standard time clock is exported is believed Number and be connected to each error instrument unit, the frequency of standard time clock is 500KHz.In summary, each error instrument unit is connected to Four road pulse signals, respectively standard scale pulse signal, 500KHz standard clock signal are detected table pulse signal and tested table Clock signal.By carrying out seizure counting to calibration pulse and tested pulse, the error of electric energy meter can be calculated, by clock The clock pulses of pulse and tested table carries out seizure counting, can calculate the clock frequency of tested table, so as to calculate electric energy meter day Timing error.
As shown in Fig. 2 electric energy meter error detector includes one-chip computer module, shaping pulse module, temperature detecting module shows Show module, FlexRay bus modules, the module of serial ports 485.
Preferably, one-chip computer module may be selected STM32 single-chip microcomputers as processor, the single-chip microcomputer dominant frequency up to 72MHz, With multi-path timer and abundant peripheral hardware, cost performance is very high, is especially suitable for being used as the processor of error instrument.
Standard scale pulse signal shown in Fig. 1, standard clock signal is detected table pulse signal and tested table clock signal all It is connected with shaping pulse module.The chip of a Schmidt trigger type, such as 74HC14, the core may be selected in shaping pulse module Piece has 6 tunnel schmidt trigger phase inverters, and wherein 4 tunnels need to be only used herein.4 of shaping pulse module and one-chip computer module are fixed When device interface be connected.
Temperature detecting module is connected with the AD mouths of single-chip microcomputer, and NTC thermistor may be selected in temperature sensor, and sampled voltage leads to The AD mouths that single-chip microcomputer is connected to after operational amplifier is nursed one's health are crossed, LM324 may be selected in operational amplifier.
Display module is connected by FSMC buses with single-chip microcomputer, and the TFT screens of 2.4 cun of ILI9325 drivings, screen may be selected in screen The resolution ratio of curtain is 320*240, and color depth is 16, is shown with the screen, and display content is enriched, and display effect is preferable.
FlexRay bus modules are connected with the serial ports of single-chip microcomputer, and FlexRay bus modules bus control unit may be selected TJA1080 chips, each FlexRay bus module needs two panels TJA1080 chips.Communication controler utilizes single-chip microcomputer in itself Serial ports peripheral hardware.
The module of serial ports 485 is connected with microcontroller serial port, and MAX485 may be selected in bus marco chip.
Based on FlexRay bus multistation electric energy meter error detection methods, following steps are specifically included:
Step 1:After system electrification, master control system sends tested table constant by FlexRay buses to error instrument unit, by mistake Poor instrument receives after data data storage and shown.
Step 2:Host computer sends test contents command by FlexRay buses to master control system.
Step 3:Master control system exports the three-phase of setting according to test contents command, adjustment signal source and power amplifier Voltage and current signal.
Step 4:After signal source output is stable, master control system is tested by FlexRay buses to error instrument cell broadcast Order.Wherein test command includes standard scale constant, umber of pulse, the standard time clock umber of pulse of tested table simultaneously for error and frequency.
Step 5:Error instrument unit starts corresponding test after test command is received according to test content.Error instrument is same When pulse and tested clock are detected to tested table, the standard time clock pulse of standard scale, standard time clock pulse carries out seizure counting.
Error and frequency calculation formula are as follows:
Tested Watch Error calculation formula:, wherein k-factor is, N To be detected the umber of pulse of table, n is standard scale umber of pulse.
Tested table clock frequency calculation formula:, wherein N is the clock pulses number of tested table, and n is mark Quasi- clock pulses number.
Step 6:Error instrument unit is returned to data by FlexRay buses after error information or frequency data is measured To host computer, then tested next time.
Step 7:Host computer is sent to master control system and error instrument unit stops test command, and voltage x current drops in signal source For 0, error instrument unit is changed into stopping test mode.

Claims (1)

1. based on the detection method of FlexRay bus electric energy Watch Error detecting systems, the system being based on includes N number of error instrument list Member, host computer, master control system, standard time clock, standard scale, N number of tested table;
Each error instrument unit is communicated by twin-channel FlexRay buses with host computer and master control system, N number of error Instrument unit, host computer, master control system all carries are in same FlexRay buses;FlexRay buses have two passages, respectively For passage 1 and passage 2, passage 1 and passage 2 can carry out independently data transfer or a passage as another passage Redundancy backup;Each error instrument unit is connected with one piece of tested table, will be detected the tested pulse of table output and tested clock It is connected to error instrument unit;The calibration pulse signal of standard scale output is simultaneously connected to each error instrument unit, what standard time clock was produced Standard time clock pulse signal is also with each error instrument unit and connecing;
Error instrument unit includes one-chip computer module, shaping pulse module, temperature detecting module, display module, FlexRay bus moulds Block, the module of serial ports 485;4 of 4 tunnels and one-chip computer module wherein in 6 tunnel schmidt trigger phase inverters of shaping pulse module Timer interface is connected, and temperature detecting module is connected with the AD mouths of one-chip computer module, and display module passes through FSMC buses and monolithic Machine module is connected, and FlexRay bus modules are connected with the serial ports of one-chip computer module, the module of serial ports 485 and one-chip computer module serial ports It is connected;
This method specifically includes following steps, it is characterised in that:
Step 1:After system electrification, master control system sends tested table constant, error instrument by FlexRay buses to error instrument unit Receive after data data storage and show;
Step 2:Host computer sends test command by FlexRay buses to master control system;
Step 3:Master control system exports the three-phase voltage current of setting according to test command, adjustment signal source and power amplifier Signal;
Step 4:After signal source output is stable, master control system is by FlexRay buses to error instrument cell broadcast test command; Wherein test command includes standard scale constant, umber of pulse, the standard time clock umber of pulse of tested table simultaneously for error and frequency;
Step 5:Error instrument unit starts corresponding test after test command is received according to test content;Error instrument is simultaneously right Tested table is detected pulse and tested clock, and the calibration pulse signal of standard scale carries out seizure counting;
Error and frequency calculation formula are as follows:
Tested Watch Error calculation formula:Wherein k-factor isN1 To be detected the tested umber of pulse of table, n1For standard scale calibration pulse number;
Tested table clock frequency calculation formula:Wherein N2To be detected the tested clock pulses number of table, n2For The standard time clock umber of pulse of standard time clock output;
Step 6:Error instrument unit is returned data to after error information or frequency data is measured by FlexRay buses Position machine, is then tested next time;
Step 7:Host computer is sent to master control system and error instrument unit stops test command, and voltage x current is reduced to 0 by signal source, Error instrument unit is changed into stopping test mode.
CN201410310914.8A 2014-07-01 2014-07-01 Based on FlexRay bus electric energy Watch Error detecting systems and method Active CN104101857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410310914.8A CN104101857B (en) 2014-07-01 2014-07-01 Based on FlexRay bus electric energy Watch Error detecting systems and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410310914.8A CN104101857B (en) 2014-07-01 2014-07-01 Based on FlexRay bus electric energy Watch Error detecting systems and method

Publications (2)

Publication Number Publication Date
CN104101857A CN104101857A (en) 2014-10-15
CN104101857B true CN104101857B (en) 2017-10-27

Family

ID=51670154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410310914.8A Active CN104101857B (en) 2014-07-01 2014-07-01 Based on FlexRay bus electric energy Watch Error detecting systems and method

Country Status (1)

Country Link
CN (1) CN104101857B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105700343B (en) * 2016-04-07 2018-06-29 飞亚达(集团)股份有限公司 Benchmark UTC time source long duration monitoring device and its method
CN106249190B (en) * 2016-07-21 2019-07-19 国网河北省电力公司电力科学研究院 Method for testing reliability t under flow line circulation detection based on Markaus model
CN106443555B (en) * 2016-08-30 2023-08-04 华立科技股份有限公司 Check table body with radio interference intensity detection
CN106707020B (en) * 2016-12-22 2019-06-11 武汉盛帆电子股份有限公司 Pulse detecting equipment and pulse detecting method
CN107070762B (en) * 2017-03-13 2019-12-20 北京航天自动控制研究所 Fault detection and switching method considering 1553B double-bus network performance monitoring
CN110471021A (en) * 2018-05-10 2019-11-19 宁夏隆基宁光仪表股份有限公司 A kind of electric energy meter calibrating apparatus and method with built-in monitoring base table
CN111596253A (en) * 2019-08-24 2020-08-28 青岛鼎信通讯股份有限公司 Method for governing clock error through broadcast time synchronization on 09 standard intelligent meter
CN110677333B (en) * 2019-09-25 2021-07-23 国网山东省电力公司枣庄供电公司 Intelligent conversion device for 485 interface of electric meter
CN111562543B (en) * 2020-06-01 2022-10-18 杭州万高科技股份有限公司 Electric energy meter pulse per second error tester and electric energy meter pulse per second error testing method
CN113484816A (en) * 2021-06-22 2021-10-08 安徽南瑞中天电力电子有限公司 System and method for transmitting error data of electric energy meter calibrating device
CN114325551B (en) * 2021-11-23 2023-10-17 云南电网有限责任公司 Multipath error synchronous test electric energy meter verification error calculator

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101140320B (en) * 2006-09-07 2010-05-26 深圳市科陆电子科技股份有限公司 Electrical energy meter calibration stand and checking method thereof
CN201285444Y (en) * 2008-11-11 2009-08-05 郑州三晖电气有限公司 Electric energy meter calibration apparatus
US8558531B2 (en) * 2010-06-22 2013-10-15 General Electric Company Method and system for indicating faults in an electricity meter
CN102081153B (en) * 2011-01-31 2013-12-04 浙江省电力公司 Clock system standard source and work method
CN202837528U (en) * 2012-10-16 2013-03-27 浙江涵普电力科技有限公司 Error detector for detection of electric energy meter
CN203178731U (en) * 2013-04-01 2013-09-04 杭州电子科技大学 Portable electric energy meter calibration master control system
CN103529401B (en) * 2013-10-30 2016-01-20 北京交通大学 Based on the battery information synchronous acquisition device of FlexRay bus
CN103698735A (en) * 2013-10-30 2014-04-02 国家电网公司 Electric energy meter harmonic test device and method thereof
CN203981869U (en) * 2014-07-01 2014-12-03 杭州电子科技大学 Based on FlexRay bus electric energy Watch Error detection system

Also Published As

Publication number Publication date
CN104101857A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
CN104101857B (en) Based on FlexRay bus electric energy Watch Error detecting systems and method
CN203981869U (en) Based on FlexRay bus electric energy Watch Error detection system
CN101644754A (en) Calibration console for electric energy meter
CN102128979A (en) Equal-precision frequency measuring circuit and frequency measuring method thereof
CN204288758U (en) Based on the MIPI liquid crystal module Vcom calibration apparatus of FPGA
CN106352911B (en) Realize that the single of multichannel low frequency pick-up signal acquisition interrupts CPU verification systems and calibrating acquisition method
CN202522693U (en) Device for detecting measure accuracy degree of electric energy meter
CN204272021U (en) Multichannel light photovoltaic assembly energy output test data collection system
CN102829803B (en) Inertial navigation equipment and turntable synchronous testing device
CN104467668A (en) Multi-channel photovoltaic module generating capacity test data collection system
CN201766598U (en) Multi-rate one-with-four bit code error analysis detector
CN105572481B (en) Guided munition multichannel time sequence status circuitry for signal measurement and its measurement method
CN205120929U (en) Motor aging testing system
CN101895353A (en) Multi-speed bite error analysis and detecting instrument capable of detecting four units
CN204904086U (en) Electric vehicle controller detecting system based on PLC
CN106411483A (en) Method and system for detecting instrument communication baud rate accuracy
CN203376002U (en) Indoor fresh air volume test device
CN207601320U (en) A kind of Low background α, β measuring circuit
CN203930041U (en) Multifunctional electric energy meter is calibration device just
CN203274869U (en) Novel non-code calibration weighing instrument system
CN106774262A (en) The device and its implementation of Aulomatizeted Detect intelligence instrument master control borad hardware performance
CN203587717U (en) Simple volt-ampere characteristics tester
CN202974355U (en) Ultrasonic flow measurement device
CN202994924U (en) Automatic testing device for collector
CN207164992U (en) A kind of high-precise synchronization clock data concentrates device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220413

Address after: 325600 Delixi Industrial Park, Liushi Town, Yueqing City, Wenzhou City, Zhejiang Province

Patentee after: DELIXI GROUP INSTRUMENT & INSTRUMENTATION CO.,LTD.

Address before: 310018 No. 2 street, Xiasha Higher Education Zone, Hangzhou, Zhejiang

Patentee before: HANGZHOU DIANZI University