CN102722125B - Data detecting system - Google Patents

Data detecting system Download PDF

Info

Publication number
CN102722125B
CN102722125B CN201210235704.8A CN201210235704A CN102722125B CN 102722125 B CN102722125 B CN 102722125B CN 201210235704 A CN201210235704 A CN 201210235704A CN 102722125 B CN102722125 B CN 102722125B
Authority
CN
China
Prior art keywords
address
detecting unit
control module
signal
power supply
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210235704.8A
Other languages
Chinese (zh)
Other versions
CN102722125A (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.)
Huizhou Qiaoying Electronic Technology Co., LTD.
Original Assignee
张金木
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 张金木 filed Critical 张金木
Priority to CN201210235704.8A priority Critical patent/CN102722125B/en
Publication of CN102722125A publication Critical patent/CN102722125A/en
Application granted granted Critical
Publication of CN102722125B publication Critical patent/CN102722125B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a data detecting system. The data detection system consists of a plurality of detection units and a control unit, wherein power supplies of both the control unit and all the detection units are acquired by half-wave rectification of a power grid, and the other half-wave time is used for data transfer through a power cord; and in each time of data transfer, the control unit sends serially arranged addressing signals of a plurality of addresses to the detection units at first, and the system takes the count value of the cycle-wave characteristic value of the power grid as the time reference for system synchronization.

Description

A kind of data detection system
(1) technical field:
The present invention relates to a kind of data detection system, it consists of a plurality of detecting units and a control module, the power supply of control module and each detecting unit obtains through half-wave rectification by electrical network, another hemiwave time transmits for the data through power lead, and system adopts the count value of grid cyclic wave eigenwert as the time reference of system synchronization.
(2) background technology:
Data Detection Technology is widely used in every field, and the data of detection are by various sensors, to be converted to the various physical quantitys of electric signal, as temperature, water level, wind speed, pressure etc., can be analog quantitys, can be also digital quantities.Detection mode is generally every a sampling period, same point Data duplication to be detected, and the data of detection are eigenwerts in certain period.Detected after data, data need be sent to main frame, to carry out data analysis, demonstration and processing, detection system mostly adopts industrial RS232 RS485 bus to realize the communication between slave computer and monitoring host computer.The present invention adopts each slave being articulated on power lead through power lead, to main frame, to send the system of detection signal.
(3) summary of the invention:
Detect in real time, to obtain raw measurement data, system can have many slaves to only have a main frame, it commonly adopts RS485, RS232, the communication mode of many single data bus of I2C bus, due to each main frame slave independent timing separately in system, its cumulative errors very greatly also must constantly be corrected by communication, the address signal that adopts inquiry or interrupt mode Receiving Host to send on the other hand, take a large amount of CPU time or hardware resource that some are valuable, this is the problem that must constantly consider for the observing and controlling application system that adopts single-chip microcomputer to form, when required communication rate is not high conventionally, both sides should take the least possible communication port line and CPU time.The present invention adopt each slave be articulated on power lead through power lead by the preset time without cumulative errors, circulation sends the system of detection signal to main frame, need not send a large amount of addresses handshake by main frame, it has feature easy and that save hardware resource.
The present invention relates to a kind of data detection system, it is to consist of a plurality of detecting units and a control module, in system, each detecting unit and control module all start grid cyclic wave eigenwert counting after public power switch is connected, and by the count value of this grid cyclic wave eigenwert the time reference as system synchronization, its eigenwert can adopt to be counted grid cyclic wave zero crossing, because grid alternating current source frequency is low, and only near zero-crossing point judgement, obtain, therefore there is high Stability and veracity.The power supply of each detecting unit and control module, be by electrical network after public transformer transformation, by public rectification diode, communication power supply is obtained as half-wave rectification, another hemiwave time is used between them through power line communication, at step down side, be connected to monolithic processor controlled electronic switch in control module, this electronic switch is connected another hemiwave time at electrical network to the hemiwave time of system power supply and is turn-offed, be used for improving security of system, system is only that detecting unit sends the simulating signal detecting to control module, its A/D converter shares, and be located in control module, the transmission of described detecting unit institute detection signal, according to the needs of system conditions by control module, determine that time and some detecting units of starting to detect need to send detected signal, each control module sends the address signal of several addresses of arranging in order to detecting unit, this address signal is comprised of first address and the address number N of sent address, each detecting unit receives after this address signal, the next hemiwave time of the count value of the grid cyclic wave eigenwert when receiving address signal, for the detecting unit of first address, connect electronic switch and send the signal detecting, each detecting unit sends detection signal and takies a hemiwave time, the address of the detecting unit that other is addressed is to add 1 to adding N by first address, obtain altogether N address, each address accounts for a cycle, each detecting unit will determine whether it is addressed behind its N address and address own, its transmitting time is also that the count value of the grid cyclic wave eigenwert while sending by first address adds for 1 to the time that adds the next half-wave after N and starts to send the signal detecting, the count value of grid cyclic wave eigenwert when control module utilizes received detection signal is calculated the address of acquisition detecting unit and is identified this detecting unit, control module is received after detection signal, through signal condition and A/D converter, send again single-chip microcomputer to process, above-mentioned information switching method can be saved a large amount of CPU time.On the passage of its signal transmission of described detecting unit and control module, be all connected to an electronic switch, this electronic switch is only connected when receiving or send detection signal, at electrical network, the hemiwave time to system power supply turn-offs electronic switch, in transmitting-receiving another hemiwave time conducting during detection signal, control module is kept in storer the detection signal of reception and address thereof and time to show or take storer away and read and write by host computer.
Native system consists of following modules:
Rectification diode and electronic switch in public power switch, transformer, rectification unit, as the half-wave rectification of power switch control and power supply.
Control module, by power supply, isolation diode, cycle detection, storer, single-chip microcomputer, electronic switch, A/D conversion and keyboard display, formed, at power supply front end, be connected to isolation diode for isolated DC power supply, A/D convert packets is containing signal condition and A/D conversion, and control module is used for receiving detection signal the preservation after A/D conversion that detecting unit is sent.
Detecting unit, by power supply, isolation diode, cycle detection, toggle switch, single-chip microcomputer, electronic switch, signal condition and sensor, formed, at power supply front end, be also connected to isolation diode for isolated DC power supply, detecting unit is for sending detection signal to control module.
(4) accompanying drawing explanation:
Fig. 1 is a kind of circuit structure block scheme of data detection system.
(5) embodiment:
As shown in Figure 1, it is for laboratory multiple spot illumination photometry for a kind of circuit structure block scheme of data detection system, and controller is preserved for deliberation by indoor each point illumination photometry outcome record.This system is by public power switch 1, transformer, rectification diode and electronic switch in rectification unit 2, half-wave rectification and control module A as power switch control and power supply, a plurality of detecting unit B form, its controller A is by isolating diode 3, power supply 4, all wave measurements 5, storer 6, single-chip microcomputer 7 is 89C52, electronic switch 8, A/D conversion 9, keyboard display 10 forms, wherein isolate diode 3 for blocking direct supply high pressure to the passage refluence of signal transmission, wave measurement 5 for triggering grid cyclic wave zero cross signal single-chip microcomputer 7 generation interruptions and grid cyclic wave zero cross signal being counted after shaping week, electronic switch 8 makes it to turn-off in the hemiwave time of system power supply at electrical network under single-chip microcomputer 7 is controlled, another hemiwave time conducting, A/D conversion 9 comprises signal condition and A/D conversion.Detecting unit B forms for 89C04, electronic switch 18, signal condition 19, sensor 20 by isolating diode 13, power supply 14, all wave measurements 15, toggle switch 16, single-chip microcomputer 17, and the effect of wherein isolating diode 13, power supply 14, all wave measurements 15, electronic switch 18 is identical with controller A.The address of each detecting unit B is preset by toggle switch, and the data of detection send to controller A through electronic switch 18.

Claims (2)

1. a data detection system, it is to consist of a plurality of detecting units and a control module, in system, each detecting unit and control module all start grid cyclic wave eigenwert counting after public power switch is connected, its eigenwert counting adopts to be counted grid cyclic wave zero crossing, and by the count value of this grid cyclic wave eigenwert the time reference as system synchronization, it is characterized in that, the power supply of each detecting unit and control module, be by electrical network after public transformer transformation, by public rectification diode, communication power supply is obtained as half-wave rectification, another hemiwave time is used between them through power line communication, at step down side, be connected to monolithic processor controlled the first electronic switch in control module, this first electronic switch is connected another hemiwave time at electrical network to the hemiwave time of system power supply and is turn-offed, be used for improving security of system, system is only that detecting unit sends the simulating signal detecting to control module, its A/D converter shares, and be located in control module, the transmission of described detecting unit institute detection signal, each control module sends the address signal of several addresses of arranging in order to detecting unit, this address signal is comprised of first address and the address number N of sent address, each detecting unit receives after this address signal, the next hemiwave time of the count value of the grid cyclic wave eigenwert when receiving address signal, for the detecting unit of first address, connect the 3rd electronic switch and send the signal detecting, each detecting unit sends detection signal and takies a hemiwave time, the address of the detecting unit that other is addressed is to add 1 to adding N by first address, obtain altogether N address, each address accounts for a cycle, each detecting unit will determine whether it is addressed behind its N address and address own, its transmitting time is also that the count value of the grid cyclic wave eigenwert while sending by first address adds for 1 to the time that adds the next half-wave after N and starts to send the signal detecting, the count value of grid cyclic wave eigenwert when control module utilizes received detection signal is calculated the address that obtains detecting unit, control module is received after detection signal, through signal condition and A/D converter, send again single-chip microcomputer to process, on the passage of the signal transmission of described control module, be connected to second electronic switch, on the passage of the signal transmission of described detecting unit, be all connected to the 3rd electronic switch, this the second and the 3rd electronic switch is only connected when receiving or send detection signal, control module is kept in storer the detection signal of reception and address thereof and time to show or take storer away and read and write by host computer.
2. a kind of data detection system according to claim 1, is characterized in that it comprises:
Rectification diode and the first electronic switch in public power switch, transformer, rectification unit, as the half-wave rectification of power switch control and power supply;
Control module; by power supply, isolation diode, cycle detection, storer, single-chip microcomputer, the second electronic switch, A/D converter and keyboard display, formed; described isolation diode is connected in described power supply front end; for isolated DC power supply; A/D converter comprises signal condition and A/D conversion, and control module is for the detection signal that receives detecting unit and send and preserve after A/D converter;
Detecting unit, by power supply, isolation diode, cycle detection, toggle switch, single-chip microcomputer, the 3rd electronic switch, signal condition and sensor, formed, described isolation diode is connected in described power supply front end, and for isolated DC power supply, detecting unit is for sending detection signal to control module.
CN201210235704.8A 2012-06-27 2012-06-27 Data detecting system Expired - Fee Related CN102722125B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210235704.8A CN102722125B (en) 2012-06-27 2012-06-27 Data detecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210235704.8A CN102722125B (en) 2012-06-27 2012-06-27 Data detecting system

Publications (2)

Publication Number Publication Date
CN102722125A CN102722125A (en) 2012-10-10
CN102722125B true CN102722125B (en) 2014-03-12

Family

ID=46947926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210235704.8A Expired - Fee Related CN102722125B (en) 2012-06-27 2012-06-27 Data detecting system

Country Status (1)

Country Link
CN (1) CN102722125B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103558470B (en) * 2013-11-06 2016-03-30 张金木 A kind of high-voltage power grid natural disaster detection system
CN105847100B (en) * 2016-06-20 2018-08-17 福州准点信息科技有限公司 Mobile phone household intelligent control system
CN106455041A (en) * 2016-12-14 2017-02-22 国家电网公司 Time synchronization method and system of electric power wireless sensor network based on power transmission line

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1046822A (en) * 1989-04-29 1990-11-07 裴丛国 Multichannel analog signals circle transmission method and device
US5122948A (en) * 1990-06-28 1992-06-16 Allen-Bradley Company, Inc. Remote terminal industrial control communication system
CN1073272A (en) * 1991-12-09 1993-06-16 横河电机株式会社 Dcs
CN102124420A (en) * 2008-05-09 2011-07-13 塞甘有限责任公司 Addressable led light string

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1046822A (en) * 1989-04-29 1990-11-07 裴丛国 Multichannel analog signals circle transmission method and device
US5122948A (en) * 1990-06-28 1992-06-16 Allen-Bradley Company, Inc. Remote terminal industrial control communication system
CN1073272A (en) * 1991-12-09 1993-06-16 横河电机株式会社 Dcs
CN102124420A (en) * 2008-05-09 2011-07-13 塞甘有限责任公司 Addressable led light string

Also Published As

Publication number Publication date
CN102722125A (en) 2012-10-10

Similar Documents

Publication Publication Date Title
CN102759896B (en) Principal and subordinate communication system based on alternating current power lines
CN102722125B (en) Data detecting system
CN103566573A (en) Automatic counting device based on comprehensive basketball shooting training system and counting method thereof
CN205067616U (en) General test platform
CN204255495U (en) A kind of fault diagnosis system based on wireless vibration sensor
CN203982237U (en) The anti-condensation supervising device of transformer station
CN102761565A (en) Brewing process monitoring system and method based on wireless sensor network technology
CN203366514U (en) Bus type multi-illumination collector based on wireless communication
CN202904042U (en) Solar cell matrix environmental data acquisition unit
CN102750800B (en) Automatic fire alarming system
CN102735295B (en) Liquid flow quantity measurement and control system
CN104792112A (en) Monitoring purifier for refrigerator air
CN204168001U (en) A kind of intelligent duplicate power supply automatic change-over based on DSP
CN204556135U (en) A kind of wireless temperature measurement system based on CC2530
CN105628209A (en) Novel infrared temperature measurement module
CN201837681U (en) Electric quantity monitoring system
CN203084070U (en) Power detection device for indoor electric power utilization
CN202041580U (en) Digital electricity meter device based on electrical link bus
CN201945880U (en) Serialized general digital transmitting system based on field bus
CN203824663U (en) ZigBee-based XLPE electric power cable insulation temperature monitoring device
CN204255518U (en) It is a kind of that multiple spot is high-precision adopts warm system
CN201741037U (en) Test tool for air conditioner controller
CN213399965U (en) Infrared intelligent network acquisition terminal
TWI425707B (en) Fuel cell apparatus combined heat and power system with radio frequency identification sensors
CN202587043U (en) Water-electricity-gas meter comprehensive collecting and controlling 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
C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Cao Chao

Inventor before: Zhang Jinmu

COR Change of bibliographic data
TR01 Transfer of patent right

Effective date of registration: 20160506

Address after: 516023 Guangdong city of Huizhou province Xiaojinkou Zhen Tang Quan Qiao Xing science and Technology Industrial Park, No. 3 Building

Patentee after: Huizhou Qiaoying Electronic Technology Co., LTD.

Address before: 350004 Fuzhou City, Taijiang province Yi Chau longevity Park, block 401, 8,

Patentee before: Zhang Jinmu

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

Granted publication date: 20140312

Termination date: 20200627

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