CN103439554B - A kind of data readback and storage device and system thereof - Google Patents

A kind of data readback and storage device and system thereof Download PDF

Info

Publication number
CN103439554B
CN103439554B CN201310402062.0A CN201310402062A CN103439554B CN 103439554 B CN103439554 B CN 103439554B CN 201310402062 A CN201310402062 A CN 201310402062A CN 103439554 B CN103439554 B CN 103439554B
Authority
CN
China
Prior art keywords
data
module
resistance
time
control module
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.)
Expired - Fee Related
Application number
CN201310402062.0A
Other languages
Chinese (zh)
Other versions
CN103439554A (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.)
Shenzhen Tuoyuan Energy Science & Technology Co Ltd
Original Assignee
Shenzhen Tuoyuan Energy Science & Technology 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 Shenzhen Tuoyuan Energy Science & Technology Co Ltd filed Critical Shenzhen Tuoyuan Energy Science & Technology Co Ltd
Priority to CN201310402062.0A priority Critical patent/CN103439554B/en
Publication of CN103439554A publication Critical patent/CN103439554A/en
Application granted granted Critical
Publication of CN103439554B publication Critical patent/CN103439554B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The present invention provides a kind of data readback and storage device and system thereof, described data readback and storage device to include: the metering module of data more than at least one in Real-time Collection power, electricity, electric current and voltage;Control module, described control module is connected with metering module;The communication module being connected with control module;Clock module, described clock module is connected with control module, and by control module and communication module calibration current time;And, memory module, described memory module is connected with control module;Wherein, the data-frozen that described control module is timed with the time interval set according to current time, and the data freezed and freeze-off time thereof are stored memory module from metering module and clock module.The present invention measures and gathers data in real time, carrys out freezing data according to the time interval set, it is ensured that the continuity of data, security and integrality simultaneously, moreover it is possible to the most effectively data before retaking of a year or grade, reduces overhead.

Description

A kind of data readback and storage device and system thereof
Technical field
The present invention relates to a kind of data readback field, particularly relate to a kind of data readback and storage device, and relate to a kind of data readback and storage system.
Background technology
Current existing ammeter is by measuring real-time electrical parameter data, such as data such as electric current, voltage, power, power factor (PF) and meritorious/reactive energies, and host computer reads, by certain communications protocol, the real time data that current ammeter is measured, there is following defect and deficiency in this existing mode: first, in the application of real-time monitoring type, if occurring abnormal in communication process, such as communication line disconnects, under the analogues such as upper Host Shutdown, the data in exception procedure will be lost;Second, monitoring in real time to ammeter needs host computer frequently ammeter to be carried out read operation, such as it is spaced apart 5 minutes if reading according to monitoring period, every 5 minutes host computers need all ammeters of whole network are written and read one time, which adds overhead may cause system busy, additionally requires higher to network reliability.
Summary of the invention
The technical problem to be solved is to need to provide a kind of data readback and storage device preventing loss of data and reducing read-write number of times.
To this, the present invention provides a kind of data readback and storage device, including:
Metering module, the described metering module data that at least one is above in Real-time Collection power, electricity, electric current and voltage;
Control module, described control module is connected with metering module;
Communication module, described communication module is connected with control module;
Clock module, described clock module is connected with control module, and by control module and communication module calibration current time;And,
Memory module, described memory module is connected with control module;
Wherein, the data-frozen that described control module is timed with the time interval set according to current time, and the data freezed and freeze-off time thereof are stored memory module from metering module and clock module.
The described metering module data that at least one is above in Real-time Collection power, electricity, electric current and voltage, belong to electrical parameter data acquisition module;Described control module is main control unit, is responsible for receiving the setting command of time interval, and the data freezed by needs in predetermined time interval according to setting command store memory module from metering module, it is achieved to data storage and the master control function of retaking of a year or grade;Described communication module is for realizing the communication with external equipment, it is possible to realize communication by the way of wired or wireless, wired mode such as RS485, wireless mode such as zigbee etc.;Described clock module is by control module and communication module calibration current time, and for the mark as storage data, clock module accepts clock alignment order by communication module, and calibrates current time by control module;Described memory module can be the nonvolatile memories such as EEPROM or Flash, and its amount of storage can be according to being actually needed regulation;Described data-frozen, i.e. preserves the continuous data corresponding to time and this time at the time interval point set.
In prior art, ammeter or other metering devices almost contribute to realize the function of real-time data collection, and inside electrical network or a certain system, there will be that communication line disconnects or the situation that host computer is closed unavoidably, then will holiday data;And, the in real time monitoring of ammeter is also required to host computer and frequently ammeter is carried out read operation, then, the requirement for host computer is the highest, and the expense simultaneously making system is the biggest;In this case, not only make cost raise, also cannot meet user monitoring and manage the purpose of concrete course of work data, the most not possessing the function of back read data.
And the invention belongs to a kind of Novel measuring device, in addition to the function measuring collection data in real time that general ammeter is possessed is provided, the most also while measuring in real time and gathering data, freezing data is carried out according to the time interval set, and time and freezing data are stored in memory module according to certain way, therefore, host computer can carry out retrieving and reading the data of different time points according to concrete needs.
Even if in the case of communication abnormality, or when host computer cannot read current measurement data, the data readback of the present invention and storage device also current under normal recordings can gather and measure the data arrived, and according to the time interval set, time and data are stored in memory module, after communication is normal, host computer can read the data that abnormal time section is lost, it is ensured that the continuity of data, security and integrality;On this basis, the present invention returns host computer and provides a kind of another kind of reading manner in addition to reading data in real-time, the i.e. function of data before retaking of a year or grade, such as, if the time interval set is 5 minutes, then the present invention is in addition in the most every 5 minutes reading networks, all data readbacks are with storage device node, may also take on each hour reads the mode that freezing zone data once (comprise 12 groups of data) in previous hour, the most just can effectively reduce the host computer reading frequency to network, reduce the expense of whole system.And for the retaking of a year or grade time of the data in memory module, can be configured according to the amount of capacity of memory module and being actually needed completely, and then avoid the frequent operation of host computer as far as possible, it is ensured that operating efficiency.
Further improvement of the present invention is, described control module is MCU, and described MCU is by the setting command outside communication module reception.MCU receives the setting command of outside transmission by communication module, as after the setting command that host computer sends, the time interval of the current time provided according to clock module and setting is stored data in memory module, such as current time is 12:00, time interval is 5 minutes, then freeze-off time point is 12:00,12:05,12:10,12:15, by that analogy;Described freezing data includes the data with date and time, the corresponding one group of data of each freeze-off time point;MCU can be by communication module and upper machine communication and then the current time of calibration clock module.
Further improvement of the present invention is, described memory module is the nonvolatile memory of EEPROM or Flash, and the amount of storage of described memory module is adjusted according to actual needs.According to actual needs the amount of storage of memory module is carried out conservative control, can not only effectively reduce cost, additionally it is possible to control stored data volume as the case may be, reduce the management difficulty for data volume, promote the retaking of a year or grade efficiency to data.
Further improvement of the present invention is, described clock module is provided with backup battery, and after a power failure, described clock module is powered by backup battery and then ensures that it normally works.The present invention stores data in memory module using the time as mark, then, it is necessary that the correctness of time, and by the setting of backup battery, clock module still can be properly functioning after a power failure, it is ensured that time correctness.Clock module is provided with backup battery, and after a power failure, described clock module is powered by backup battery, it is ensured that clock module remains to when power down normally work, and then it is accurate to ensure that system time runs.
Further improvement of the present invention is, electric main is converted into direct current 5.7V and is connected to the power supply VRTC of described clock module by diode D5 forward after being depressured by rectification, the power supply VRTC of clock module is by diode D6 Opposite direction connection to backup battery BT1 simultaneously;When mains-supplied, the voltage 3.7V that 5.7V voltage is provided higher than backup battery BT1, now D5 conducting D6 cut-off, clock module passes through mains-supplied;When civil power power down, 5.7V power supply is down to 0V, and less than backup battery BT1 voltage 3.7V, now D6 conducting D5 cut-off, backup battery BT1 is turned on by D6 and powers to clock module;The power supply VCC of described control module is connected to the emitter stage of diode D6 by wire jumper resistance R9.
First system power supply part by commercial power rectification and is depressured to 5.7V, and is connected with the power supply VRTC of clock module by diode D5, and backup battery BT1 is connected with clock module power supply VRTC by D6.In the case of mains-supplied, 5.7V voltage is higher than backup battery BT1 voltage 3.7V so that diode D5 conducting, diode D6 cut-off, clock module can be worked by mains-supplied and calibrate current time;Under power-down conditions, the near 0V of 5.7V voltage, backup battery BT1 voltage is 3.7V so that diode D5 cut-off, diode D6 conducting, clock module realizes the power supply to clock module and the calibration to current time by backup battery BT1.And, the power supply VCC of described control module is connected to the emitter stage of diode D6 by wire jumper resistance R9, just by wire jumper resistance R9 self-defined selection control module, whether backup battery can be set, improve the security performance of product, stability and human oriented design thereof.
Further improvement of the present invention is, described clock module includes clock chip RX8025T, and the pin 2 of described clock chip RX8025T and pin 13 are connected to the power supply VCC of control module respectively by pull-up resistor R6 and R7;Pin 11 ground connection of described clock chip RX8025T;The pin 6 of described clock chip RX8025T is connected to the power supply VRTC of clock module;The power supply VRTC of described clock module passes through electric capacity C13 ground connection.The power supply VRTC of clock module can be played the effect of filtering interfering by described electric capacity C13 so that the power supply of clock module is more stable.
Further improvement of the present invention is, described communication module includes RS485 transmission circuit, the output that the reception passage of described RS485 transmission circuit and transmission channel are connected to RS485 interface chip U2, RS485 interface chip U2 by optocoupler respectively is connected to interface circuit;Wherein, the equal default setting of control signal receiving passage and transmission channel of described RS485 transmission circuit is low level, after control module receives the reading signal of outside, the control signal receiving passage and transmission channel of RS485 transmission circuit is disposed as high level by communication module.
The equal default setting of control signal receiving passage and transmission channel of described RS485 transmission circuit is low level so that RS485 transmission circuit acquiescence is in reception state, and then constantly receives the data that metering module is gathered;After control module receives the reading signal of outside, the control signal receiving passage and transmission channel of RS485 transmission circuit is disposed as high level by communication module, making RS485 transmission circuit become emission state, required for external equipment data just can be sent by control module by communication module;So, under the collaborative work of control module and communication module, it is ensured that the continuity of data and complete safety.
Further improvement of the present invention is, the time of origin freezed and freezing data thereof are stored by described memory module by storehouse order, described in the time of origin that freezes be to be caused by the time interval of current time and setting;Each group of data of memory module storage, correspondence freezes time when causing and freezing data, and time when freezing is the time data of 3 registers, and the time data of these 3 registers corresponding second respectively divides, time and the year moon;Each register in a storage module all has with data in address one to one.So, for wanting the data of retaking of a year or grade certain time period, as long as finding the time of this time period and/address can easily realize retaking of a year or grade called data.
The present invention also provides for a kind of data readback and storage system, including host computer and above-mentioned data readback and storage device;Described host computer sends setting command by communication module to control module, and the data that needs are freezed by control module according to the time interval set by the order of host computer store memory module from metering module;During described host computer data in retaking of a year or grade memory module, according to the time interval of current time and setting, the data of specified time period are carried out retaking of a year or grade.
Further improvement of the present invention is, the data that described host computer arranges data readback by modbus agreement to be freezed with the time interval and needs storing device, the data that described needs freeze include at least one data in power, electricity, electric current and voltage.
Compared with prior art; the beneficial effects of the present invention is: in addition to providing and measuring the function gathering data in real time; also while measuring in real time and gathering data; freezing data is carried out according to the time interval set; even if at communication abnormality or in the case of host computer cannot read current measurement data for some reason; it also is able to be stored in memory module time and freezing data according to certain way; therefore; host computer can carry out retrieving and reading the data of different time points according to concrete needs, it is ensured that the continuity of data, security and integrality;On this basis, the present invention returns host computer and provides a kind of another kind of reading manner in addition to reading data in real-time, and i.e. quickly the function of data before effective retaking of a year or grade, decreases the frequent degree of host computer operation, reduce overhead.
Accompanying drawing explanation
Fig. 1 is the structural representation of an embodiment of the present invention;
Fig. 2 is the circuit connection diagram of the clock module of an embodiment of the present invention;
Fig. 3 is the circuit connection diagram of the communication module of an embodiment of the present invention;
Fig. 4 is the circuit connection diagram of the memory module of an embodiment of the present invention;
Fig. 5 is the circuit connection diagram of the backup battery power supply circuits of an embodiment of the present invention clock module;
Fig. 6 is the freezing data district form schematic diagram of an embodiment of the present invention.
Detailed description of the invention
Below in conjunction with the accompanying drawings, the preferably embodiment of the present invention is described in further detail.
Embodiment 1:
As it is shown in figure 1, this example provides a kind of data readback and storage device, including:
Metering module, the described metering module data that at least one is above in Real-time Collection power, electricity, electric current and voltage;
Control module, described control module is connected with metering module;
Communication module, described communication module is connected with control module;
Clock module, described clock module is connected with control module, and by control module and communication module calibration current time;And,
Memory module, described memory module is connected with control module;
Wherein, the data-frozen that described control module is timed with the time interval set according to current time, and the data freezed and freeze-off time thereof are stored memory module from metering module and clock module.
The described metering module data that at least one is above in Real-time Collection power, electricity, electric current and voltage, belong to electrical parameter data acquisition module;Described control module is main control unit, is responsible for receiving the setting command of time interval, and the data freezed by needs in predetermined time interval according to setting command store memory module from metering module, it is achieved to data storage and the master control function of retaking of a year or grade;Described communication module is for realizing the communication with external equipment, it is possible to realize communication by the way of wired or wireless, wired mode such as RS485, wireless mode such as zigbee etc.;Described clock module is by control module and communication module calibration current time, for the mark as storage data;Described memory module can be the nonvolatile memories such as EEPROM or Flash, and its amount of storage can be according to being actually needed regulation;Described data-frozen, i.e. preserves the continuous data corresponding to time and this time at the time interval point set.
This example belongs to a kind of Novel measuring device, in addition to the function measuring collection data in real time that general ammeter is possessed is provided, the most also while measuring in real time and gathering data, freezing data is carried out according to the time interval set, and time and freezing data are stored in memory module according to certain way, therefore, host computer can carry out retrieving and reading the data of different time points according to concrete needs.
Even if in the case of communication abnormality, or when host computer cannot read current measurement data, the data readback of this example and storage device also current under normal recordings can gather and measure the data arrived, and according to the time interval set, time and data are stored in memory module, after communication is normal, host computer can read the data that abnormal time section is lost, it is ensured that the continuity of data, security and integrality;On this basis, this example is returned host computer and is provided a kind of another kind of reading manner in addition to reading data in real-time, the i.e. function of data before retaking of a year or grade, such as, if the time interval set is 5 minutes, then this example except within the most every 5 minutes, read in network all nodes once in addition to, may also take on each hour reads the mode that freezing zone data once (comprise 12 groups of data) in previous hour, the most just can effectively reduce the host computer reading frequency to network, reduce the expense of whole system.And for the retaking of a year or grade time of the data in memory module, can be configured according to the amount of capacity of memory module and being actually needed completely, and then avoid the frequent operation of host computer as far as possible, it is ensured that operating efficiency.
Control module described in this example is MCU, and described MCU is by the setting command outside communication module reception.MCU receives the setting command of outside transmission by communication module, as after the setting command that host computer sends, the time interval of the current time provided according to clock module and setting is stored data in memory module, such as current time is 12:00, time interval is 5 minutes, then freeze-off time point is 12:00,12:05,12:10,12:15, by that analogy;Described freezing data includes the data with date and time, the corresponding one group of data of each freeze-off time point;MCU can be by communication module and upper machine communication and then the current time of calibration clock module.
Data readback described in this example and storage device can be ammeter, and its concrete methods of realizing is as follows: host computer and ammeter can carry out communication by wired or wireless mode, wired mode such as RS485, wireless mode such as zigbee etc.;Host computer can arrange the data that freeze-off time is spaced and needs freeze of ammeter by specific communications protocol such as modbus, such as power, electricity, electric current, voltage etc.;MCU receives, by communication module, the setting command that host computer sends, and data are stored memory module from metering module by the data freezed by needs in predetermined time interval according to order by MCU;Memory module can be the nonvolatile memories such as EEPROM or Flash, and amount of storage can be according to being actually needed regulation;The time interval of the current time provided according to clock module and setting is stored data in memory module by MCU, such as current time is 12:00, time interval is 5 minutes, then freeze-off time point is 12:00,12:05,12:10,12:15, by that analogy, freezing data includes one group of data with date and time;MCU can calibrate clock module current time by communication module with upper machine communication;Clock module, still can be properly functioning after ammeter power down, it is ensured that time correctness with backup battery;During host computer back read data, the data of the time period needing reading are read according to current time and time interval, such as current time is 12:00, needs to read every 5 minutes interval datas between 10:00 ~ 11:00, then can read the 13rd group ~ 24 groups of freezing data district data.
Embodiment 2:
As shown in Figures 2 to 5, Fig. 4 is the circuit connection diagram of the memory module of this example, on the basis of embodiment 1, electric main is converted into direct current 5.7V and is connected to the power supply VRTC of described clock module by diode D5 forward after being depressured by rectification, the power supply VRTC of clock module is by diode D6 Opposite direction connection to backup battery BT1 simultaneously;When mains-supplied, the voltage 3.7V that 5.7V voltage is provided higher than backup battery BT1, now D5 conducting D6 cut-off, clock module passes through mains-supplied;When civil power power down, 5.7V power supply is down to 0V, and less than backup battery BT1 voltage 3.7V, now D6 conducting D5 cut-off, backup battery BT1 is turned on by D6 and powers to clock module;The power supply VCC of described control module is connected to the emitter stage of diode D6 by wire jumper resistance R9, the most as shown in Figure 5, just by wire jumper resistance R9 self-defined selection control module, whether backup battery can be set, improve the security performance of product, stability and human oriented design thereof.
As in figure 2 it is shown, clock module described in this example includes clock chip RX8025T, the pin 2 of described clock chip RX8025T and pin 13 are connected to the power supply VCC of control module respectively by pull-up resistor R6 and R7;Pin 11 ground connection of described clock chip RX8025T;The pin 6 of described clock chip RX8025T is connected to the power supply VRTC of clock module;The power supply VRTC of described clock module passes through electric capacity C13 ground connection.The power supply VRTC of clock module can be played the effect of filtering interfering by described electric capacity C13 so that the power supply of clock module is more stable.
As it is shown on figure 3, communication module described in this example includes RS485 transmission circuit, the output that the reception passage of described RS485 transmission circuit and transmission channel are connected to RS485 interface chip U2, RS485 interface chip U2 by optocoupler respectively is connected to interface circuit;Wherein, the equal default setting of control signal receiving passage and transmission channel of described RS485 transmission circuit is low level, after control module receives the reading signal of outside, the control signal receiving passage and transmission channel of RS485 transmission circuit is disposed as high level by communication module.In figure 3, interface circuit is arranged at the right of RS485 interface chip U2, and resistance R71, resistance R72, resistance R73 and triode Q1 then constitute the circuit of the control signal receiving passage and transmission channel of RS485 transmission circuit.
The equal default setting of control signal receiving passage and transmission channel of described RS485 transmission circuit is low level so that RS485 transmission circuit acquiescence is in reception state, and then constantly receives the data that metering module is gathered;After control module receives the reading signal of outside, the control signal receiving passage and transmission channel of RS485 transmission circuit is disposed as high level by communication module, making RS485 transmission circuit become emission state, required for external equipment data just can be sent by control module by communication module;So, under the collaborative work of control module and communication module, it is ensured that the continuity of data and complete safety.And the reception passage of RS485 transmission circuit and transmission channel realize isolation by optocoupler, also further ensure stability and the security of data transmission.
As shown in Figure 6, memory module described in this example will be freezed time of origin and freezing data and store by storehouse order;Memory module is stored freezes the time data that time of origin is 3 registers, and the time data of these 3 registers corresponding second respectively divides, time and the year moon, and freezing data is active energy and meritorious general power;Each register in a storage module all has with data in address one to one, as in Fig. 6 address be 3 registers storage of 41024,41025 and 41026 be respectively freeze the last time time of origin second divide, time and the year moon, 41027,41028,41029,41030 is the freezing data freezing time of origin point, including active energy and meritorious general power.In memory module, all data identify storage according to the time, the time data of front 3 registers of one group of freezing data the most corresponding second minute, hour date and time in month, and, each register has the address of correspondence;So, for wanting the data of retaking of a year or grade certain time period, as long as finding the time of this time period and/address can easily realize retaking of a year or grade called data.
Embodiment 3:
On the basis of embodiment 1 or embodiment 2, this example also provides for a kind of data readback and storage system, including host computer and above-mentioned data readback and storage device;Described host computer sends setting command by communication module to control module, and the data that needs are freezed by control module according to the time interval set by host computer order store memory module from metering module;During described host computer data in retaking of a year or grade memory module, according to current time and time interval, the data of specified time period are carried out retaking of a year or grade.The data that host computer described in this example arranges data readback by modbus agreement to be freezed with the time interval and needs storing device, the data that described needs freeze include at least one data in power, electricity, electric current and voltage.Data readback and storage system described in this example are preferably electric energy detection system, and the host computer of this example can be avoided frequently reading whole network data, and takes once to read the mode of the data in longer period of time.
Compared with prior art; having the beneficial effects that of this example: in addition to providing and measuring the function gathering data in real time; also while measuring in real time and gathering data; freezing data is carried out according to the time interval set; even if at communication abnormality or in the case of host computer cannot read current measurement data for some reason; it also is able to be stored in memory module time and freezing data according to certain way; therefore; host computer can carry out retrieving and reading the data of different time points according to concrete needs, it is ensured that the continuity of data, security and integrality;On this basis, this example is returned host computer and is provided a kind of another kind of reading manner in addition to reading data in real-time, and i.e. quickly the function of data before effective retaking of a year or grade, decreases the frequent degree of host computer operation, reduce overhead.
Above content is to combine concrete preferred embodiment further description made for the present invention, it is impossible to assert the present invention be embodied as be confined to these explanations.For general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, it is also possible to make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.

Claims (9)

1. a data readback and storage device, it is characterised in that including:
Metering module, described metering module is used in Real-time Collection power, electricity, electric current and voltage more than at least one Data;
Control module, described control module is connected with metering module;
Communication module, described communication module is connected with control module;
Clock module, described clock module is connected with control module, and is worked as by control module and communication module calibration The front time;And,
Memory module, described memory module is connected with control module;
Wherein, the data-frozen that described control module is timed with the time interval set according to current time, and The data freezed and freeze-off time thereof are stored memory module from metering module and clock module;Described clock Module is by control module and communication module calibration current time, for the mark as storage data;In communication Abnormal or when host computer cannot read current measurement data, currently adopt under described control module normal recordings The data that collection and measurement are arrived, and according to the time interval set, time and data are stored in memory module, After communication is normal, host computer reads the data that abnormal time section is lost;The timing as required of described host computer is read Take the most described data readback and the storage device freezing zone data in the previous time period;
Described communication module include resistance R64, resistance R63, optocoupler OP5, resistance R66, RS485 interface chip U2, Resistance R74, optocoupler OP6, resistance R72, resistance R73, triode Q1, resistance R71, resistance R67, electricity Resistance R68, resistance R65, resistance R69, electric capacity C50 and bilateral diode TVS1, the one of described resistance R64 End is connected with the reception passage of RS485 transmission circuit, the other end of described resistance R64 and the one of resistance R63 End is respectively connecting to the transistor collector pin of described optocoupler OP5, and the other end of described resistance R63 is connected to Hot end, the transistor emitter pin ground connection of described optocoupler OP5, the diode anode of described optocoupler OP5 Pin is connected to the power end of RS485 transmission circuit, and the diode cathode pin of described optocoupler OP5 passes through resistance R66 is connected to 1 pin of described RS485 interface chip U2;One end of described resistance R74 and described RS485 The transmission channel of transmission circuit is connected, and the other end of described resistance R74 is cloudy with the diode of described optocoupler OP6 Pole pin is connected, and the diode anode pin of described optocoupler OP6 is connected to hot end, described optocoupler OP6 Transistor emitter pin ground connection, the transistor collector pin of described optocoupler OP6 respectively with described resistance One end of R72, one end of resistance R73 are connected with 4 pins of RS485 interface chip U2, described resistance The other end of R72 and the emitter stage of triode Q1 are respectively connecting to the power end of RS485 transmission circuit, described The other end of resistance R73 is connected with the base stage of described triode Q1, and the colelctor electrode of described triode Q1 is respectively It is connected with one end, 2 pins of RS485 interface chip U2 and 3 pins of described resistance R71, described electricity The other end ground connection of resistance R71;5 pins of described RS485 interface chip U2 are connected to RS485 transmission circuit Ground end, 6 pins of described RS485 interface chip U2 by resistance R68 respectively with described resistance R65's One end is connected with one end of bilateral diode TVS1, and the other end of described resistance R65 is connected to RS485 and receives The power end of Power Generation Road, 7 pins of described RS485 interface chip U2 by resistance R67 respectively with described electricity One end of resistance R69 is connected with the other end of bilateral diode TVS1, and the other end of described resistance R69 connects To the ground end of RS485 transmission circuit, 8 pins of described RS485 interface chip U2 respectively with described electric capacity C50 One end be connected with the power end of RS485 transmission circuit, the other end of described electric capacity C50 is connected to RS485 The ground end of transmission circuit;
Described communication module includes RS485 transmission circuit, the reception passage of described RS485 transmission circuit and transmission channel It is connected to RS485 interface chip U2, RS485 interface chip U2's by optocoupler OP5 and optocoupler OP6 respectively Output is connected to interface circuit;Wherein, described RS485 transmission circuit receive passage and the control of transmission channel The equal default setting of signal processed is low level, and after control module receives the reading signal of outside, communication module will The control signal receiving passage and transmission channel of RS485 transmission circuit is disposed as high level.
Data readback the most according to claim 1 and storage device, it is characterised in that described control module is MCU, described MCU are by the setting command outside communication module reception.
Data readback the most according to claim 1 and storage device, it is characterised in that described memory module is The nonvolatile memory of EEPROM or Flash, the amount of storage of described memory module is carried out according to actual needs Regulation.
Data readback the most according to claim 1 and storage device, it is characterised in that described clock module is arranged Having backup battery, after a power failure, described clock module is powered by backup battery and then ensures that it normally works.
Data readback the most according to claim 4 and storage device, it is characterised in that electric main passes through rectification It is converted into direct current 5.7V after step-down and is connected to the power supply of described clock module by diode D5 forward VRTC, the power supply VRTC of clock module is by diode D6 Opposite direction connection to backup battery BT1 simultaneously; When mains-supplied, the voltage 3.7V that 5.7V voltage is provided higher than backup battery BT1, now D5 conducting D6 ends, and clock module passes through mains-supplied;When civil power power down, 5.7V power supply is down to 0V, less than standby Battery BT1 voltage 3.7V, now D6 conducting D5 cut-off, backup battery BT1 is turned on to clock by D6 Module for power supply;The power supply VCC of described control module is connected to the transmitting of diode D6 by wire jumper resistance R9 Pole.
6. according to the data readback described in claim 1 to 5 any one and storage device, it is characterised in that described Clock module includes clock chip RX8025T, the pin 2 of described clock chip RX8025T and pin 13 The power supply VCC of control module it is connected to respectively by pull-up resistor R6 and R7;Described clock chip Pin 11 ground connection of RX8025T;The pin 6 of described clock chip RX8025T is connected to clock module Power supply VRTC;The power supply VRTC of described clock module passes through electric capacity C13 ground connection.
7. according to the data readback described in claim 1 to 5 any one and storage device, it is characterised in that described The time of origin freezed and freezing data thereof are stored by memory module by storehouse order, described in the generation freezed Time is to be caused by the time interval of current time and setting;Each group of data of memory module storage, corresponding Freezing time when causing and freezing data, time when freezing is the time data of 3 registers, and these are 3 years old The time data of the individual register corresponding second respectively divides, time and the year moon;Each register in a storage module All have with data in address one to one.
8. a data readback and storage system, it is characterised in that include host computer and such as claim 1 to 7 Data readback described in any one and storage device;Control module is sent by described host computer by communication module Setting command, the data that needs are freezed according to the time interval set by the order of host computer by control module are from meter Amount module stores in memory module;During described host computer data in retaking of a year or grade memory module, according to time current Between and the freeze-off time interval that sets the data of specified time period are carried out retaking of a year or grade.
Data readback the most according to claim 8 and storage system, it is characterised in that described host computer passes through The data that modbus agreement arranges data readback to be freezed with the time interval and needs storing device, described The data freezed are needed to include at least one data in power, electricity, electric current and voltage.
CN201310402062.0A 2013-09-06 2013-09-06 A kind of data readback and storage device and system thereof Expired - Fee Related CN103439554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310402062.0A CN103439554B (en) 2013-09-06 2013-09-06 A kind of data readback and storage device and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310402062.0A CN103439554B (en) 2013-09-06 2013-09-06 A kind of data readback and storage device and system thereof

Publications (2)

Publication Number Publication Date
CN103439554A CN103439554A (en) 2013-12-11
CN103439554B true CN103439554B (en) 2016-08-17

Family

ID=49693259

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310402062.0A Expired - Fee Related CN103439554B (en) 2013-09-06 2013-09-06 A kind of data readback and storage device and system thereof

Country Status (1)

Country Link
CN (1) CN103439554B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360610A (en) * 2014-08-15 2015-02-18 杭州可靠性仪器厂 AVR single-chip microcomputer based control platform of multifunctional test system
CN105606856A (en) * 2015-12-21 2016-05-25 南昌市科陆智能电网科技有限公司 Method for raising power meter system real-time response speed, system and power meter
CN107843870B (en) * 2017-11-27 2021-01-19 深圳市科陆电子科技股份有限公司 Method and system for detecting correctness of metering load curve of electric meter
US10712386B2 (en) 2018-05-10 2020-07-14 Landis+Gyr Llc Device and method for data preservation and power loss recovery in an electric meter

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201903569U (en) * 2010-08-25 2011-07-20 浙江恒业电子有限公司 Single-phase remote charge-controlled intelligent electric energy meter
CN102901851A (en) * 2011-07-25 2013-01-30 南京能瑞自动化设备股份有限公司 Single-phase remote-cost control intelligent ammeter with RS485 control signal output

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5151271B2 (en) * 2007-06-27 2013-02-27 東芝ライテック株式会社 Power measurement system
JP2009156811A (en) * 2007-12-27 2009-07-16 Toshiba Corp Voltmeter

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201903569U (en) * 2010-08-25 2011-07-20 浙江恒业电子有限公司 Single-phase remote charge-controlled intelligent electric energy meter
CN102901851A (en) * 2011-07-25 2013-01-30 南京能瑞自动化设备股份有限公司 Single-phase remote-cost control intelligent ammeter with RS485 control signal output

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于RENESAS半导体的单相远程费控智能电表设计;杜欣鑫 等;《机电信息》;20101231(第24期);第119、128页 *

Also Published As

Publication number Publication date
CN103439554A (en) 2013-12-11

Similar Documents

Publication Publication Date Title
CN100458756C (en) Management system of power battery for mixed-power automobile
CN103439554B (en) A kind of data readback and storage device and system thereof
CN102945594B (en) Meter-bus data collector with ultra-low power loss
CN106840258A (en) The full state electromagnetic environment monitoring system of wide area and method based on multi-parameter synergic monitoring
CN101807820B (en) Transformer platform electrical energy data acquisition terminal and data acquisition implementing method applying same
CN105573239A (en) High speed backboard bus communication control device and method
CN104732751A (en) Automatic meter reading system and automatic meter reading method based on RF (radio frequency) and GPRS (general packet radio service)/3G (the 3rd generation telecommunication)
CN207337641U (en) A kind of low-consumption wireless data concentrator based on NB-IOT technologies
CN110083479B (en) EEPROM data protection method of intelligent electric energy meter
CN202837399U (en) Synchronized phasor measurement apparatus
CN104009705A (en) Photovoltaic power generation system characteristic data collection device and method
CN102984245B (en) High-power transformer nitrogen pressure wireless real-time monitoring in transit system
CN109374075A (en) Matrix form NB-IoT remote transmission intelligent water meter
CN207264576U (en) Bandwidth carrier collector
CN203102588U (en) Intelligent electric energy meter data acquisition device
CN202351311U (en) Intelligent voltage calibration device applicable to various power battery and capacitor management systems
CN104699553A (en) Clock self-recovery method after failure in acquiring terminal clock battery with electrical information
CN217931811U (en) Rail insulation integrated test recorder based on GPS time synchronization
CN104730328A (en) Intelligent wireless voltage collecting instrument
CN203465334U (en) Data backward-reading and storing device and system thereof
CN201583648U (en) Clock remote timing device of electric energy meter
CN201813072U (en) Wireless sensor network measure and control device for prefabricated substations
CN202189455U (en) Data collector used for heating household metering system
CN102694418A (en) Alternating-current distribution intelligent monitoring system
CN202904758U (en) Power-down data protection device for fiscal cash register

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160817

Termination date: 20200906

CF01 Termination of patent right due to non-payment of annual fee