CN108375969B - A kind of communication means and its device of dynamic environment monitoring system - Google Patents

A kind of communication means and its device of dynamic environment monitoring system Download PDF

Info

Publication number
CN108375969B
CN108375969B CN201810085231.5A CN201810085231A CN108375969B CN 108375969 B CN108375969 B CN 108375969B CN 201810085231 A CN201810085231 A CN 201810085231A CN 108375969 B CN108375969 B CN 108375969B
Authority
CN
China
Prior art keywords
external equipment
data line
equipment
line
data
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
CN201810085231.5A
Other languages
Chinese (zh)
Other versions
CN108375969A (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.)
Shanghai Public Constant Cloud Computing Technology Co Ltd
Original Assignee
Shanghai Public Constant Cloud Computing 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 Shanghai Public Constant Cloud Computing Technology Co Ltd filed Critical Shanghai Public Constant Cloud Computing Technology Co Ltd
Priority to CN201810085231.5A priority Critical patent/CN108375969B/en
Publication of CN108375969A publication Critical patent/CN108375969A/en
Application granted granted Critical
Publication of CN108375969B publication Critical patent/CN108375969B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention discloses a kind of communication means of dynamic environment monitoring system and its devices, wherein method includes the data line setting data information output based on external equipment, data information output includes the multi-position code with high potential and low potential, multi-position code numerical value is bigger, and accounting of the quantity of high potential in setting digit is bigger;By the data line of external equipment and frequency line access control equipment;Controlling equipment is external equipment distribution measurement reference value;It determines that control equipment reads the minimum period of data line, maximum voltage value, minimum amount of voltage that and the average voltage level of data line is obtained within the minimum period;The measurement ratio of average voltage level and maximum voltage value is calculated, and ratio will be measured and measure the product of reference value as measurement result;Within a clock cycle, the average voltage level of multi-position code represents the value of its data-signal, and control equipment can directly read average voltage level without using complicated communication protocol to be decoded operation to high potential code, reduce software cost.

Description

A kind of communication means and its device of dynamic environment monitoring system
Technical field
The present invention relates to the fields of communication technology of dynamic environment monitoring system, more specifically, it relates to a kind of dynamic ring The communication means and its device of border monitoring system.
Background technique
Dynamic environment monitoring system is directed to various communications office sites, such as communications equipment room, base station, suboffice, in module office region Equipment feature and working environment, communication power supply, battery group, UPS, generator, the air-conditioning etc. played a game in station it is intelligent, non intelligent The environment parameters such as equipment and temperature and humidity, smog, Di Shui, gate inhibition realize functions such as " telemetering, remote signalling, remote control, remote regulating ".
It include control equipment and external equipment in dynamic environment monitoring system, control equipment is with arithmetic and control unit Processing module, function are the operations to data, and external equipment is different types of sensor, also have transport in external equipment Controller, function are sent to the coding of data, and external equipment and control equipment pass through a frequency line and a data wire Electric signal connection is carried out, frequency line is also known as clock line, for providing reference clock for the coded data on data line.
In the prior art, the communication protocol in different external connection equipment is not quite similar, every to increase a kind of external equipment, control It just needs to increase a kind of communication protocol in equipment, substantially increases software cost, be unfavorable for the operation and maintenance of system.
Summary of the invention
The technical issues of technical solution of the present invention is solved be, the communication protocol in different external connection equipment is not in the prior art It is identical to the greatest extent, it is every to increase a kind of external equipment, control and just need to increase a kind of communication protocol in equipment, substantially increase software at This, is unfavorable for the operation and maintenance of system.
To achieve the above object, technical solution of the present invention provides a kind of communication means of dynamic environment monitoring system, base In external equipment and control equipment, include the following steps:
Data line setting data information output based on the external equipment, the data information output includes having setting The multi-position code of digit, the multi-position code have high potential and low potential, and multi-position code own value is bigger, the quantity of the high potential Accounting in the setting digit is bigger;
The data line of the external equipment and frequency line are accessed into the control equipment;
The data information type of the external equipment is matched based on the control equipment, the control equipment is described external Equipment distribution measurement reference value;
Determine that the control equipment reads the minimum period of the data line based on the frequency line, in the minimum period Interior maximum voltage value, minimum amount of voltage that and the average voltage level for obtaining the data line, wherein the institute within the minimum period The voltage jump number on data line is stated not less than the setting digit;
Calculate the measurement ratio of the average voltage level Yu the maximum voltage value, and by the measurement ratio and the survey The product of reference value is determined as measurement result.
Through the above technical solutions, data line and frequency line realize that electric signal connects by between external equipment and control equipment To carry out data communication, according to external equipment environmental parameter to be measured, this is matched for external equipment in control equipment The corresponding data information type of environmental parameter, and be environmental parameter distribution measurement reference value, external equipment in control equipment With frequency line output timing signal, with data line outputting data signals, data-signal is multi-position code, within a clock cycle, The high potential digit of multi-position code is more, and the value of data signal representative is bigger, i.e., within a clock cycle, multi-position code is averaged Voltage value represents the value of its data-signal, and control equipment can directly read average voltage level without using complicated communication protocol Operation is decoded to high potential code, reduces software cost, while there is between adjacent digit voltage jump in multi-position code, is avoided Equipment skip digit is controlled, and voltage jump also has the function of identification mistake, if in control equipment according on frequency line There is voltage jump when reading the single digit of multi-position code in clock signal, then represents frequency line and fault tolerances occurs in data line, Control equipment, which does not receive then, at this time does not read the signal from external equipment yet.
Further, the multi-position code has high potential and low potential, further includes:
The digit of the high potential is adjacent, and the digit of the low potential is adjacent, when the output of the high potential digit Between be later than output time of the low potential digit.
Through the above technical solutions, by the adjacent setting of the digit of same potential, and make the output time of high potential digit It is later than low potential digit, makes value arrangements on multi-position code more regularly, control equipment is facilitated to read the electricity of multi-position code on data line Mean value is flattened, while can also improve the performance of data line electromagnetism interference.
Further, the data information type based on control equipment matching external equipment, the control equipment is institute State external equipment distribution measurement reference value, further includes:
The control equipment electric signal is connected with multiple external equipments, the survey between multiple external equipments It is identical to determine reference value.
Through the above technical solutions, multiple external equipment measurement reference values having the same, so as to external out respectively The difference of numerical value in equipment avoids the external equipment due to same type from losing its comparativity since measurement reference value is different.
It is further, described to determine that the control equipment reads the minimum period of the data line based on the frequency line, Further include:
When the external equipment does not have data information output, the frequency line is transferred to not no voltage change from active state Dormant state;
Circulation reads the active state period of the frequency line of setting number, and the record duration is longest described active Period of state is the minimum period.
Through the above technical solutions, frequency line enters dormant state when data line does not have data information output, equipment is controlled Nonrecognition data line, frequency line enter active state, and control equipment then identifies data line, and control equipment circulation reads frequency in multiple times The period of active state on rate line, and duration in the longest active state period is recorded, using the active state period as most Minor cycle, data line repeat to send data information output when frequency line is in active state, use longest active state week Phase is avoided that control equipment misses the digit in multi-position code as the minimum period, while will not influence control equipment on data line The reading accuracy of average voltage.
Further, the data line by the external equipment and frequency line access the control equipment, further includes:
Level state of the data line on the multidigit code bit number follows the level state of the frequency line;
The following state of the data line is kept for the time of one multi-position code of the external equipment output;
The frequency line enters dormant state after the time that the external equipment exports a multi-position code, and continues described External equipment exports the time of a multi-position code;
The control equipment calculates and the data line and the frequency line after detecting data line access Voltage difference, start to read the data line if the time that the time that voltage difference is zero is longer than the active state of the frequency line On data.
Through the above technical solutions, allowing level state on the level state following frequency line on data line, set control It is standby to can recognize that external equipment issue data information output, and the data line of following state and sending data information export Data line state it is different, enable to control equipment and be easily discriminated both different states, reduce control equipment with it is external The software cost of equipment electric signal connection.
In order to solve the above-mentioned technical problem, technical solution of the present invention additionally provides a kind of communication of dynamic environment monitoring system Device, comprising:
External equipment is electrically connected with the data line for sending data information output and is used to provide the frequency of clock signal Line, for measure dynamic environment data generate and issue data information output;
Equipment is controlled, is connect by the data line with the frequency line electric signal with the external equipment, for receiving The data information output;
Wherein, include in the external equipment:
Setup unit, for setting data information output, exporting the setting data information has the more of setting digit Position code, the multi-position code have high potential and low potential, and multi-position code own value is bigger, and the quantity of the high potential is set described The accounting positioned in number is bigger;
Include in the control equipment:
Allocation unit, for matching the data information type of the external equipment, the control based on the control equipment Equipment is external equipment distribution measurement reference value;
Determination unit, for determining that the control equipment reads the minimum period of the data line based on the frequency line;
Acquiring unit, for obtained within the minimum period maximum voltage value, the minimum amount of voltage that of the data line with And average voltage level, wherein the voltage jump number within the minimum period on the data line is not less than the setting position Number;
First computing unit, for calculating the measurement ratio of the average voltage level Yu the maximum voltage value, and by institute The product of measurement ratio and the measurement reference value is stated as measurement result.
Further, the control equipment electric signal is connected with multiple external equipments, multiple external equipments it Between the measurement reference value it is identical.
Further, the determination unit further include:
It is transferred to subelement, for when the external equipment does not have data information output, the frequency line is from active state It is transferred to the dormant state of not voltage change;
Subelement is recorded, for recycling the active state period for reading the frequency line of setting number, when record continues Between the longest active state period be the minimum period.
Further, the external equipment further include:
Unit is followed, for making level state of the data line on the multidigit code bit number follow the frequency line Level state;
Holding unit, for making the action time for following unit that the external equipment be kept to export a multi-position code Time;
Suspend mode persistence element, for entering the frequency line after the time that the external equipment exports a multi-position code Dormant state, and continue the time that the external equipment exports a multi-position code;
The control equipment further include:
Second computing unit, for calculating the voltage difference of the data line Yu the frequency line;
Compare reading unit, for the voltage difference of the data line and the frequency line, if voltage difference be zero when Between be longer than the frequency line time of active state then start to read the data on the data line.
The beneficial effect of technical solution of the present invention includes at least: data line and frequency line by external equipment and control equipment it Between realize electric signal connection to carry out data communication, according to external equipment environmental parameter to be measured, be in control equipment External equipment matches the corresponding data information type of the environmental parameter, and is environmental parameter distribution measurement in control equipment Reference value.External equipment frequency line output timing signal, with data line outputting data signals, data-signal is multi-position code, In one clock cycle, the high potential digit of multi-position code is more, and the value of data signal representative is bigger, i.e., in a clock cycle Interior, the average voltage level of multi-position code represents the value of its data-signal, and control equipment can directly read average voltage level without making Operation is decoded to high potential code with complicated communication protocol, reduces software cost.
It needs to carry out signal when controlling the progress electric signal connection of equipment and external equipment to dock, allows level on data line Level state on state following frequency line makes control equipment can recognize that external equipment will issue data information output, And the data line of following state is different from the data line state for issuing data information output, and control equipment is enable to be easily discriminated Both different states preferably reduce the software cost that control equipment is connect with external equipment electric signal.
There is between adjacent digit voltage jump in multi-position code, avoid control equipment skip digit, and voltage jump is also Has the function of identification mistake, if going out when controlling equipment and reading the single digit of multi-position code according to the clock signal on frequency line Existing voltage jump, then represent frequency line and fault tolerances occurs in data line, and control equipment, which then does not receive not read, yet at this time comes from The signal of external equipment.
Detailed description of the invention
Fig. 1 is the method flow schematic diagram of the embodiment of the present invention one;
Fig. 2 is the method flow schematic diagram of one S2 of the embodiment of the present invention;
Fig. 3 is the method flow schematic diagram of one S4 of the embodiment of the present invention;
Fig. 4 is the dormant state timing diagram of one frequency line of the embodiment of the present invention;
Fig. 5 is the following state timing diagram of one data line of the embodiment of the present invention;
Fig. 6 is the transmission information output timing diagram of one data line of the embodiment of the present invention;
Fig. 7 is the block diagram of the embodiment of the present invention two;
Fig. 8 is the block diagram of two external equipment of the embodiment of the present invention;
Fig. 9 is the block diagram that the embodiment of the present invention two controls equipment;
Figure 10 is the block diagram of two determination unit of the embodiment of the present invention.
Appended drawing reference: 1, external equipment;2, setup unit;3, unit is followed;4, holding unit;5, suspend mode persistence element; 6, equipment is controlled;7, allocation unit;8, determination unit;81, it is transferred to subelement;82, subelement is recorded;9, acquiring unit;10, One computing unit;11, the second computing unit;12, compare reading unit.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
Embodiment one
In conjunction with the foregoing invention thinking of technical solution of the present invention, a kind of communication means of dynamic environment monitoring system is based on External equipment 1 and control equipment 6, as shown in Figure 1, including the following steps:
Step S1: the data line setting data information output based on external equipment 1, data information output includes having setting The multi-position code of digit.External equipment 1 is using the integrated chip for having arithmetic processor, memory and measuring unit, for example, embedding Enter to have the integrated chip of ARM kernel and 2M memory and temperature sensor as external equipment 1, temperature can be measured and will be warm Degree signal is changed into the data information output by electrical signal form transmission.Wherein, binary 8 codes can be used in multi-position code, often Position code is indicated by binary number, i.e., 0 or 1,0 is low potential, is 0V, and 1 is high potential, is 3.3V or 5V, multi-position code Expression range is 0-255.When multi-position code indicates the numerical value of temperature, the numerical value to be represented is bigger, and the quantity of high potential is being set Accounting in digit is bigger, for example, multi-position code 0, temperature reaches the upper of measurement range when temperature reaches the lower limit of measurement range In limited time, multi-position code 255.In multi-position code, the digit of high potential is adjacent, and the digit of low potential is adjacent, high potential digit The output time be later than output time of low potential digit.By the adjacent setting of the digit of same potential, and make high potential digit The output time be later than low potential digit, make value arrangements on multi-position code more regularly, control equipment 6 facilitated to read on data line The average voltage of multi-position code, while the performance of data line electromagnetism interference can be also improved, it prevents on data line due to extraneous electricity Level caused by magnetic disturbance is stirred to be read by other device Errors.
Step S2: by the data line of external equipment 1 and frequency line access control equipment 6.Control equipment 6, which can be used, to be had The calculation process equipment of ADC module, arithmetic processor and memory, for example, the industrial computer of ADC module is had, Either have the industrial controlling PLC of ADC module.Control the interface of equipment 6 and the data line and frequency line of external equipment 1 Electric signal connection, ADC module can acquire the voltage value on data line and the average voltage in setting time.
Data line and frequency line are connected by realization electric signal between external equipment 1 and control equipment 6 to carry out data communication, According to the environmental parameter to be measured of external equipment 1, the environmental parameter is matched for external equipment 1 in control equipment 6 and is corresponded to Data information type, and control equipment 6 in for the environmental parameter distribution measurement reference value, external equipment 1 with frequency line it is defeated Clock signal out, with data line outputting data signals.
Wherein, as shown in Fig. 2, step S2 further includes step S21, step S22, step S23 and step S24.
Step S21: the level state of level state following frequency line of the data line on multidigit code bit number.In following state In, in synchronization, the level state of data line and the level state of frequency line are identical, while the level change of data line and frequency The level change of rate line is also identical, and the effect of data line at this time is not intended to transmission data, but allows and control equipment 6 for data line It is compared with frequency line, so that control equipment 6 is identified that data line begins preparing transmission data, following state is before transmitting data Preparation state.
Step S22: the following state of data line is kept for the time of one multi-position code of output of external equipment 1.External equipment 1 is defeated The time of a multi-position code allows control equipment 6 to identify the preparation state of external equipment 1 enough out.
Step S23: frequency line enters dormant state after the time that external equipment 1 exports a multi-position code, and continues outer Connect the time that equipment 1 exports a multi-position code.As shown in figure 4, frequency line is not used in transmission data, and it is to provide by level period Property change the timing to be formed, it does not provide the timing containing level change after frequency line suspend mode, therefore after frequency line suspend mode, control Equipment 6 can quickly and accurately identify the dormant state of frequency line.Wherein, t1~t8 is the multi-position code occupied time Section.
Step S24: control equipment 6 calculates and compares the voltage of data line and frequency line after detecting data line access Difference started to read the data on data line if the time that the time that voltage difference is zero is longer than the active state of frequency line.Such as Fig. 5 It is shown, it allows level state on the level state following frequency line on data line, makes to control equipment 6 and can recognize that external equipment 1 will issue data information output, and the data line of following state is different from the data line state for issuing data information output, makes Control equipment 6 can be easily discriminated both different states, reduce what control equipment 6 was connect with 1 electric signal of external equipment Software cost.
Step S3: matching the data information type of external equipment 1 based on control equipment 6, and control equipment 6 is external equipment 1 Distribution measurement reference value.Wherein, control equipment 6 can electric signal be connected with the identical external equipment 1 of multiple surveyed environmental parameters, it is more Measurement reference value value between a external equipment 1 is identical.Multiple external equipments 1 measurement reference value having the same, so as to The enough difference for going out numerical value on external equipment 1 respectively avoids the external equipment 1 due to same type from losing since measurement reference value is different Lose its comparativity.For example first external equipment 1 uses DS18B20 temperature sensor, second external equipment 1 uses PT100 For platinum resistance as temperature sensor, the temperature sensor of two external equipments 1 is different, but is all the environment temperature of measurement, because This their measurement reference value is identical, can be compared to each other after their data of the control reading of equipment 6.
Step S4: it determines that control equipment 6 reads the minimum period of data line based on frequency line, number is obtained within the minimum period According to the maximum voltage value, minimum amount of voltage that and average voltage level of line, wherein the voltage jump within the minimum period on data line Number is not less than setting digit.As shown in fig. 6, for example, the minimum period be data line export 8 digits multi-position code when Between, the voltage jump number on data line is then not less than 8 times, if the data on multi-position code in adjacent bit are consistent, data line exists Primary jump fluctuation is carried out between adjacent bit, that is, carries out level reversion twice.
Wherein, as shown in figure 3, step S4 further includes step S41 and step S42.
Step S41: when external equipment 1 is exported without data information, frequency line is transferred to no voltage change from active state Dormant state.Dormant state be frequency line within the interval time of setting without level change, active state is on frequency line The level change of frequency is fixed
Step S42: circulation reads the active state period of the frequency line of setting number, and the record duration is longest active Period of state is the minimum period.
When data line does not have data information output, frequency line enters dormant state, controls 6 nonrecognition data line of equipment, frequency Rate line enters active state, and control equipment 6 then identifies data line, and control equipment 6 recycles and enlivens shape on reading frequency line in multiple times The period of state, and duration in the longest active state period is recorded, using the active state period as minimum period, data line It repeats to send data information output when frequency line is in active state, uses longest active state period as the minimum period It is avoided that control equipment 6 misses the digit in multi-position code, while will not influence control equipment 6 to average voltage on data line Read accuracy.
Step S5: the measurement ratio of average voltage level and maximum voltage value is calculated, and will measurement ratio and measurement reference value Product as measurement result.
Technical solution of the present invention replaces binary numeral using the average voltage level of multi-position code on data line, wherein outer It connects equipment 1 and controls and realize that electric signal connect the communication with ambient parameter data, root with frequency line by data line between equipment 6 According to the environmental parameter to be measured of external equipment 1, employee matches environment ginseng in control equipment 6 in advance for external equipment 1 The corresponding data information type of number, such as environment temperature, and be environment temperature distribution measurement reference value in control equipment 6, it is external 1 frequency of use line output timing signal of equipment, uses data line outputting data signals.Data-signal is multi-position code, at one In the clock period, the high potential digit of multi-position code is more, and the value of data signal representative is bigger, i.e., within a clock cycle, more The average voltage level of position code represents the value of its data-signal, and control equipment 6 can directly read average voltage level, and calculate average electricity The measurement ratio of pressure value and maximum voltage value, and ratio will be measured and measure the product of reference value as measurement result, without Operation is decoded to high potential code using complicated communication protocol, reduction software cost, while in multi-position code adjacent digit it Between have voltage jump, avoid control 6 skip digit of equipment, and voltage jump also have the function of identification mistake, if controlling There is voltage jump when reading the single digit of multi-position code according to the clock signal on frequency line in control equipment 6, then represents frequency line There are fault tolerances with data line, control equipment 6, which does not receive then, at this time does not read the signal from external equipment 1 yet.
Embodiment two
In conjunction with the foregoing invention thinking of technical solution of the present invention, a kind of communication device of dynamic environment monitoring system, such as Fig. 7 It is shown, including for measure dynamic environment data generate and issue data information output external equipment 1 with for receiving data The control equipment 6 of information output.It is electrically connected with the data line that can send data information output on external equipment 1 and can mention For the frequency line of clock signal, external equipment 1 can control the level change on data line and frequency line, and control equipment 6 passes through Data line realizes that electric signal is connect with frequency line with external equipment 1.
Wherein, as shown in figure 8, including in external equipment 1:
Setup unit 2 makes to set data information output for setting data information output for the multidigit with setting digit Code, multi-position code have high potential and low potential, and multi-position code represents that numerical value is bigger, accounting of the quantity of high potential in setting digit It is bigger.
Unit 3 is followed, for making the level state of level state following frequency line of the data line on multidigit code bit number.
Holding unit 4, the time for making the action time for following unit 3 that external equipment 1 be kept to export a multi-position code.
Suspend mode persistence element 5, for making frequency line enter suspend mode shape after the time that external equipment 1 exports a multi-position code State, and continue the time that external equipment 1 exports a multi-position code.
As shown in figure 9, including in control equipment 6:
Allocation unit 7, for matching the data information type of external equipment 1 based on control equipment 6, control equipment 6 is outer Connect the distribution measurement reference value of equipment 1.Wherein, control 6 electric signal of equipment is connected with multiple external equipments 1, multiple external equipments 1 it Between measurement reference value it is identical.
Determination unit 8, for determining that control equipment 6 reads the minimum period of data line based on frequency line.As shown in Figure 10, Determination unit 8 further includes being transferred to subelement 81 and record subelement 82.
It is transferred to subelement 81, for when external equipment 1 is exported without data information, frequency line to be transferred to not from active state There is the dormant state of voltage change.
Subelement 82 is recorded, for recycling the active state period for reading the frequency line of setting number, records the duration The longest active state period is the minimum period.
Acquiring unit 9, for obtaining maximum voltage value, minimum amount of voltage that and the average electricity of data line within the minimum period Pressure value, wherein the voltage jump number within the minimum period on data line is not less than setting digit.
First computing unit 10 for calculating the measurement ratio of average voltage level and maximum voltage value, and will measure ratio Product with measurement reference value is as measurement result.
Second computing unit 11, for calculating the voltage difference of data line and frequency line.
Compare reading unit 12, for comparing the voltage difference of data line and frequency line, if the time that voltage difference is zero is longer than The time of the active state of frequency line then starts to read the data on data line.
The above is only a preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-mentioned implementation Example, all technical solutions belonged under thinking of the present invention all belong to the scope of protection of the present invention.It should be pointed out that for the art Those of ordinary skill for, several improvements and modifications without departing from the principles of the present invention, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (9)

1. a kind of communication means of dynamic environment monitoring system, which is characterized in that based on external equipment (1) and equipment (6) are controlled, Include the following steps:
Data line setting data information output based on the external equipment (1), the data information output includes having setting The multi-position code of digit, the multi-position code have high potential and low potential, and multi-position code own value is bigger, the quantity of the high potential Accounting in the setting digit is bigger;
The data line of the external equipment (1) and frequency line are accessed into the control equipment (6);
The data information type of the external equipment (1) is matched based on control equipment (6), the control equipment (6) is institute State external equipment (1) distribution measurement reference value;
Determine that control equipment (6) reads the minimum period of the data line based on the frequency line, in the minimum period Interior maximum voltage value, minimum amount of voltage that and the average voltage level for obtaining the data line, wherein the institute within the minimum period The voltage jump number on data line is stated not less than the setting digit;
The measurement ratio of the average voltage level Yu the maximum voltage value is calculated, and the measurement ratio and the measurement are joined The product of value is examined as measurement result.
2. the method according to claim 1, wherein the multi-position code has high potential and low potential, further includes:
The digit of the high potential is adjacent, and the digit of the low potential is adjacent, evening output time of the high potential digit In the output time of the low potential digit.
3. the method according to claim 1, wherein described match external equipment (1) based on control equipment (6) Data information type, the control equipment (6) are the external equipment (1) distribution measurement reference value, further includes:
Control equipment (6) electric signal is connected with multiple external equipments (1), between multiple external equipments (1) The measurement reference value is identical.
4. the method according to claim 1, wherein described determine the control equipment based on the frequency line (6) minimum period of the data line is read, further includes:
When the external equipment (1) exports without data information, the frequency line is transferred to not no voltage change from active state Dormant state;
Circulation reads the active state period of the frequency line of setting number, records the duration longest active state Period is the minimum period.
5. the method according to claim 1, wherein the data line and frequency by the external equipment (1) Line accesses the control equipment (6), further includes:
Level state of the data line on the multidigit code bit number follows the level state of the frequency line;
The following state of the data line is kept for the time of one multi-position code of external equipment (1) output;
The frequency line enters dormant state after the time that the external equipment (1) exports a multi-position code, and continues described External equipment (1) exports the time of a multi-position code;
The control equipment (6) calculates and the data line and the frequency line after detecting data line access Voltage difference, start to read the data line if the time that the time that voltage difference is zero is longer than the active state of the frequency line On data.
6. a kind of communication device of dynamic environment monitoring system characterized by comprising
External equipment (1) is electrically connected with the data line for sending data information output and is used to provide the frequency of clock signal Line, for measure dynamic environment data generate and issue data information output;
It controls equipment (6), is connect by the data line with the frequency line electric signal with the external equipment (1), for connecing Receive the data information output;
Wherein, include in the external equipment (1):
Setup unit (2) makes the setting data information export the multidigit with setting digit for setting data information output Code, the multi-position code have high potential and low potential, and multi-position code own value is bigger, and the quantity of the high potential is in the setting Accounting in digit is bigger;
Include in the control equipment (6):
Allocation unit (7), it is described for matching the data information type of the external equipment (1) based on control equipment (6) Controlling equipment (6) is the external equipment (1) distribution measurement reference value;
Determination unit (8), for determining that control equipment (6) reads the most Xiao Zhou of the data line based on the frequency line Phase;
Acquiring unit (9), for obtained within the minimum period maximum voltage value of the data line, minimum amount of voltage that and Average voltage level, wherein the voltage jump number within the minimum period on the data line is not less than the setting digit;
First computing unit (10), for calculating the measurement ratio of the average voltage level Yu the maximum voltage value, and by institute The product of measurement ratio and the measurement reference value is stated as measurement result.
7. device according to claim 6, which is characterized in that control equipment (6) electric signal is connected with multiple described External equipment (1), the measurement reference value between multiple external equipments (1) are identical.
8. device according to claim 6, which is characterized in that the determination unit (8) further include:
Subelement (81) are transferred to, for when the external equipment (1) is exported without data information, the frequency line to be from enlivening shape State is transferred to the dormant state of not voltage change;
It records subelement (82), for recycling the active state period for reading the frequency line of setting number, when record continues Between the longest active state period be the minimum period.
9. device according to claim 6, which is characterized in that the external equipment (1) further include:
Unit (3) are followed, for making level state of the data line on the multidigit code bit number follow the frequency line Level state;
Holding unit (4), for making the action time for following unit (3) that the external equipment (1) be kept to export more than one The time of position code;
Suspend mode persistence element (5), the time for making the frequency line export a multi-position code in the external equipment (1) are laggard Enter dormant state, and continues the time that the external equipment (1) exports a multi-position code;
The control equipment (6) further include:
Second computing unit (11), for calculating the voltage difference of the data line Yu the frequency line;
Compare reading unit (12), for the voltage difference of the data line and the frequency line, if voltage difference be zero when Between be longer than the frequency line time of active state then start to read the data on the data line.
CN201810085231.5A 2018-01-29 2018-01-29 A kind of communication means and its device of dynamic environment monitoring system Active CN108375969B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810085231.5A CN108375969B (en) 2018-01-29 2018-01-29 A kind of communication means and its device of dynamic environment monitoring system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810085231.5A CN108375969B (en) 2018-01-29 2018-01-29 A kind of communication means and its device of dynamic environment monitoring system

Publications (2)

Publication Number Publication Date
CN108375969A CN108375969A (en) 2018-08-07
CN108375969B true CN108375969B (en) 2019-08-20

Family

ID=63016898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810085231.5A Active CN108375969B (en) 2018-01-29 2018-01-29 A kind of communication means and its device of dynamic environment monitoring system

Country Status (1)

Country Link
CN (1) CN108375969B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379041B2 (en) * 2002-06-18 2008-05-27 Robert Bosch Gmbh Interface and method for error detection in image data transmission
CN103346735A (en) * 2013-06-13 2013-10-09 深圳市芯海科技有限公司 Clock signal generation method and device of microcontroller and microcontroller
CN105843756A (en) * 2015-01-30 2016-08-10 立积电子股份有限公司 Communication method for single-wire two-way transmission between host side and slave side

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7379041B2 (en) * 2002-06-18 2008-05-27 Robert Bosch Gmbh Interface and method for error detection in image data transmission
CN103346735A (en) * 2013-06-13 2013-10-09 深圳市芯海科技有限公司 Clock signal generation method and device of microcontroller and microcontroller
CN105843756A (en) * 2015-01-30 2016-08-10 立积电子股份有限公司 Communication method for single-wire two-way transmission between host side and slave side

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《实现通信站动力设备及环境集中监控系统技术方案》;廖峥;《通讯世界》;20151212(第23期);第209页-第210页

Also Published As

Publication number Publication date
CN108375969A (en) 2018-08-07

Similar Documents

Publication Publication Date Title
CA2043074C (en) Two and three wire utility data communications system
US5252967A (en) Reader/programmer for two and three wire utility data communications system
US3747068A (en) Remote meter reading system for kwh watthour meters and demand meters
CN203489925U (en) Passive intelligent water meter
CN204831596U (en) Hydro -generator rotor field coil temperature dispersion formula automatic measuring device
CN203673574U (en) Safety IC card intelligent gas meter capable of remotely and wirelessly transmitting
CN113297865B (en) Switch cabinet data management method based on RFID temperature label
CN103293356A (en) Voltage monitoring apparatus and method
CN108649692A (en) A kind of anti-theft managing and control system of electric flux
CN105902217A (en) Intelligent shower system based on STM32
CN108375969B (en) A kind of communication means and its device of dynamic environment monitoring system
CN103258411A (en) Intelligent water meter reading system based on GPRS technology
CN116419179A (en) Coding/decoding method and system for underground and ground two-way communication
CN104361305B (en) A kind of radio-frequency card card seeking method and device of intelligent gauge
CN205228561U (en) Intelligence prepayment radio -frequency card water gauge
CN108768468A (en) Intelligence sensor based near field communication technology
Weng et al. Research on computer centralized management system based on thermal energy data acquisition and display
CN209342867U (en) A kind of test device of water meter teletransmission circuit board
Li et al. Remote Monitoring and Management System of CNG Flow based on Modbus RTU Protocol.
CN102590035B (en) Viscosity measuring method for viscosity measuring platform
CN207867658U (en) One kind can be networked intelligent smog monitor based on STM8L low-power consumption
CN205210148U (en) Power meter case
KR200356868Y1 (en) Remote metering device for detecting pulse signal with real-time
CN110578511A (en) Temperature difference type oil well oil yield measuring device and method
CN215726432U (en) Novel single-point temperature measurement circuit

Legal Events

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