DATA TRANSMISSION WIRED SYSTEM OVER BUILDING

Abstract: A data transmission method over building wiring, comprises the steps of providing a plurality of transmission sections, selecting one from the plurality of transmission sections to be a data transmission source machine for providing data, transmitting the data from the data transmis­ sion source to the remaining transmission sections, relaying the data by some of the remaining transmission sections, and receiving the data by a final data transmission section. A data transmission section to enable the method, comprises data receiving part for receiving the transmitted data, relay counter part for counting the number of relaying the transmitted data, and data relaying part for relaying the-­ received data.

Description: DATA TRANSMISSION WIRED SYSTEM OVER BUILDING BACKGROUND OF THE INVENTION The present invention relates to a data transmission system over a building or house and, more particularly, to such a data transmission system using a poling system. It is known -in the art that-data transmission system can be suitable for a gas central monitoring system etc. over a building or house. Any central monitoring system comprises a plurality of sensors and actuators, which are spread over the building or house. Data developed from the sensors and the actuators are gathered to a central machine to alarm. For cost down, the data should be superimposed on a power line. However, when a fluorescent lamp with a condenser for improving power factor or a high power electric heater may be connected to the power line, these lamp and electric heater show low impedance to a carrier frequency. Therefore, a signal level can be lowered to thereby prevent the data transmission. SUMMARY OF THE INVENTION Accordingly, it is an object of the present invention to provide an improved data transmission system and method for subsequently transmitting data by each of a plurality of transmission sections. it is another object of the present invention to provide an improved data transmission system and method for subsequently transmitting data by each of a plurality of transmission sections which select received data modules by a poling system. Briefly described, in accordance with the present invention, a data transmission method over building wiring, comprises the steps of providing a plurality of transmission sections, selecting one from the plurality of transmission sections to be a data transmission source machine for providing data, transmitting the data from the data transmission source to the remaining transmission sections, relaying the data by some of the remaining transmission sections, and receiving the data by a final data transmission section. A data transmission section to enable the method, comprises data receiving means for receiving the transmitted data, relay counter means for counting the number of relaying the transmitted data, ana data relaying means for relaying the received data at least at the worst. BRIEF DESCRIPTION OF THE DRAWINGS The present invention will become more fully understood from the detailed description given hereinbelow and accompanying drawings which are given by way of illustration only, and thus are not limitative of the present invention and wherein: FIG. 1 shows a block diagram of a data transmission section according to the present invention; FIG. 2 shows an overall data transmission system used for the present invention; FIG. 3 shows a block diagram of a micro-computer of FIG. 1; FIG. 4 shows a data format used for the present invention; FIGS. 5(1) to 5(4) show a sequence of relaying data according to the present invention; and FIGS. 6(1) to 6(3) show flow charts of the operation according to the present invention. DETAILED DESCRIPTION OF THE INVENTION Referring now to FIG. 1, there is illustrated a transmission section of a signal transmission system over house wiring which generally includes a band pass filter 11, an amplifier 12, a level detector 13, a noise canceler 14, a power amplifier 15, a switch 16, a carrier generator 17, a logic gate 18, a fail-safe circuit 19, a sync signal extractor 20 and a controller 21 typically set up of a one-chip microcomputer. With such arrangement, a house wiring 22 carries the utility power voltage, typically 60 Hz and 100 volts, and a carrier of typically 40 KHz superimposed on the utility power voltage. Obviously, the carrier is generated by the carrier generator 17. The band pass filter 11 extracts high frequency components from the house wiring 22 and the amplifier 12 amplifies the high frequency components up to a sufficient level suitable for satisfactory working of the level detector 13. The noise canceler 14 gets the high frequency components rid of any random noise. Received data from the noise canceler 14 are fed to the controller 21 which is also responsive to an input from a sensor or whether an actuator is to be enabled. The fail-safe circuit 19 monitors to see if the controller 21 falls into run-away state. Under normal state of the whole system, transmitted data are fed via the logic gate 18 and the switch 16 to the power amplifier 15. The sync extractor 20 converts the sine-waveform of the power line voltage waveform into square one. A plurality of transmission sections 4 as shown in FIG. 1 are disposed on each of locations 1-1 to 56 of FIG. 2. Each of transmission source and many satelite sections comprises a transmission section as shown in FIG. 1. The transmission section of FIG. 1 can transmit output which can be received by its adjacent four-side transmission sections. The total system of FIG. 2 comprises a transformer 1 for transferring 3phase 6600 volt to single phase and gline 100 volt, a main breaker 2, subbreakers 3. FIG. 3 shows a block diagram of the controller 21. The controller 21 comprises a control circuit CNT 23, a CPU 24, a ROM 25, a RAM 26 and an I/O line circuit 27. The CNT 23 receives data from a mate transmission section. A self-address switch and a mate-address switch are connected to the controller 21. The self-address switch is operated to set a selfaddress of a transmission section. The mate-address switch is operated to set an address of a following mate transmission section to which data are transmitted from the transmission section. The CPU 24 of FIG. 3 detects the data from a previous mate transmission section. The received data are stored in the RAM 26 and further transmitted to the following mate-transmission section therefrom. The RAM 26 contains a relay station counter for counting the number of relaying data to detect whether the number of relaying data equals a predetermined number set in this counter. The number of relaying data in this counter is increased by the CPU 24 when one of the transmission sections receives and forwards the data. The I/O line circuit 17 inputs and outputs various signals as shown in FIG. 3. FIG. 4 shows a format of data transmitted from a first transmission section to a second transmission section according to a poling system. The data format contains parts for a header, the mate-address, the selfaddress, the data, the number of relaying the data, error check codes. The headerandicates that data transmission begins. The mate-address and -the selfeddress are described above. The data is to be transmitted. The number of relaying the data is subsequently increased each time the data are relayed by the transmissior sections. The error check code is to check the error. The header requires some bits exceeding the bits for the remaining parts. When a specific symbolization system makes the bits of the haeder different from the remaining bits, the bit number can be longer than the remaining bits. The number of relaying the data is represented by binary codes. When the number of relaying the data is set to be 4, which is practically sufficient to relay the data, 2 bits are required to represent this number. When only one bit is present except the remaining bits of the total bits, for example, the number of bits except error bits is less than 9, the error check code can be a parity check code. The error check code is detected by the CPU 24. FIGS. 5(1) to 5(4) show a sequence of the data transmission according to the present invention. - ItrFIG.-- 5(1) to 5(4), crosshatched sctions receive the data. FIGS. 6(1) to 6(3) show flow charts of the operation of the present invention. FIG. 6(1) shows a flow chart of the operation of a data transmission source machine. The relay counter of this source machine is reset. The data are transmitted until the contents of the relay counter equal the predetermined number, while the contents of the relay counter are increased by one. The contents of the relay counter in the data transmission source machine represent the number of the data which are presently transmitted. In the relay counter of the data transmission source machine, a predetermined number is set by which the data should be transmitted toward the satelite transmission sections. FIG. 6(2) shows a flow chart of the operation of the satelite transmission sections for relaying or receiving the data. A data receiving routine referred to "Data Receiving Routine 1" is one in which a circuit operation continues before a data format set as shown in FIG. 4 is correctly received. A data receiving routine referred to "Data Receiving Routine 2" is one in which a circuit operation continues before a data format set of FIG. 4 works after "Data Receiving Routine 1" and received data except checking the error code. First, the data receiving routine 1 is selected. When data are received by one satelite transmission section, the relay counter of this satelite transmission section contains the number of relaying the transmited data by which the data have been relayed. It is detected whether a mate address equals the self-address. When equivalent, a receiving operation for only receiving the transmitted data is accomplished as shown in the steps for receiving purpose. When not equivalent, a relay operation for relaying the received data to another transmission section is accomplished as shown in the steps for relaying purpose. The receiving operation: After the received data are stored in the RAM 26, it is detected whether the number of relaying the data equals a predetermined number set in this satelite transmission section. When they are not equivalent, the data receiving routine 2 is selected. When equivalent, correct data are accepted by deciding by majority errorless data. Thus, the receiving operation ends. The relaying operation: It is detected whether the contents of the relay counter equal the predetermined number set for the relay counter. The transmitted data are relayed by the predetermined number set for the relay counter in one satelite transmission section. When they are equivalent, the relaying operation ends. When they are not equivalent, the contents of the relay counter are increased by- one.- -Further, the number of relaying the data in the data format as shown in FIG. 4 is also increased by one and the error check code of FIG. 4 is renewed. Then, the received data are transmitted. FIG. 6(3) shows a flow chart of the data receiving routines 1 and 2. The above description is directed to a time-sharing multiplex. A frequencydivided multiplex can replace the time-sharing multiplex. In a central monitoring system comprising only one master machine and many slave machines for intercommunicating data between the master machine and the slave machines, the self-address in the data format of FIG. 4 can be omitted when the module address is different between the master machine and the slave machines. The invention being thus described, it will be obvious that the same may be varied in many ways. Such variations are not to be regarded as a departure from the spirit and scope of the invention, and all such modifications are intended to be included within the scope of the following claims.

Claims: CLAIMS: 1. A data transmission method over building wiring, comprising the steps of; providing a plurality of transmission sections; selecting one from the plurality of transmission sections to be a data transmission source machine for providing data; transmitting the data from the data transmission source to the remaining transmission sections; relaying the data by some of the remaining transmission sections; and receiving the data by a final data transmission section. -2. The method of daim 1, wherein the data are transmitted together with an address of the final data transmission section and the number of relaying the transmitted data. 3. A data transmission section to enable the method of daim 1, comprising: data receiving means for receiving the transmitted data; relay counter means for counting the number of relaying the transmitted data; and data relaying means for relaying the received data. 4. The section of claim 2, wherein the number of relaying the transmitted data is increased each time the transmitted data are relayed. 5. A method for transmitting data over power supply wiring, in which the data is first transmitted by one of a plurality of transmitting/receiving stations coupled to said power supply wiring, the data is then received and re-transmitted by one or more other transmitting/receiving stations, and the data is thereafter received by a further transmitting/receiving station.

Inventors: ISE, MASAHIRO, MACHINO, KATSUYUKI, MATSUBARA, TOSHIYUKI, TANAKA, HIDEHIKO, TERASAKA, TEIJI
Applicants: SHARP KABUSHIKI KAISHA
Application year: 1982
Main classification: H04B3
IPC codes: H04B3, H02J13