CN1469588A - Equipment driving device for household control network - Google Patents
Equipment driving device for household control network Download PDFInfo
- Publication number
- CN1469588A CN1469588A CNA021252254A CN02125225A CN1469588A CN 1469588 A CN1469588 A CN 1469588A CN A021252254 A CNA021252254 A CN A021252254A CN 02125225 A CN02125225 A CN 02125225A CN 1469588 A CN1469588 A CN 1469588A
- Authority
- CN
- China
- Prior art keywords
- functional module
- asm
- control network
- home control
- driving arrangement
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 claims description 10
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000001419 dependent effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 10
- 238000003860 storage Methods 0.000 description 8
- 238000004519 manufacturing process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006855 networking Effects 0.000 description 2
- ZYIXXVCNAOYWQA-UHFFFAOYSA-N 2-(1-benzofuran-2-yl)acetic acid Chemical compound C1=CC=C2OC(CC(=O)O)=CC2=C1 ZYIXXVCNAOYWQA-UHFFFAOYSA-N 0.000 description 1
- ZIEXYIQTFZVRBI-UHFFFAOYSA-N 2-[(4-bromophenyl)methoxy]acetic acid Chemical compound OC(=O)COCC1=CC=C(Br)C=C1 ZIEXYIQTFZVRBI-UHFFFAOYSA-N 0.000 description 1
- UDQDXYKYBHKBTI-IZDIIYJESA-N 2-[4-[4-[bis(2-chloroethyl)amino]phenyl]butanoyloxy]ethyl (2e,4e,6e,8e,10e,12e)-docosa-2,4,6,8,10,12-hexaenoate Chemical compound CCCCCCCCC\C=C\C=C\C=C\C=C\C=C\C=C\C(=O)OCCOC(=O)CCCC1=CC=C(N(CCCl)CCCl)C=C1 UDQDXYKYBHKBTI-IZDIIYJESA-N 0.000 description 1
- 241001673391 Entandrophragma candollei Species 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
- Stored Programmes (AREA)
- Selective Calling Equipment (AREA)
Abstract
The present invention is driving device for equipment in household control network. In available technology, all the equipment driving devices are dependent on the processor and manufacturer and are not specially for household control network system. The present invention includes EEPROM connected to network node BCU and functional module, and the EEPROM has three template programs: log-on list EEPROM.ASM of the functional module, interruption program USERINT.ASM of the functional module and channel processing program CHANNEL.ASM. The present invention is used in the field of household control network.
Description
Affiliated field
The present invention relates to the device that a kind of driving arrangement is achieved its function, in particular for the device of driving arrangement in the home control network.
Background technology
Along with the arrival in global IT application epoch, and the day by day raising of people's living standard, increasing user also grows with each passing day to the domestic environment of oneself and the demand of living condition. People no longer are satisfied with high-quality electric equipment, but wish Household electric appliance intelligent, networking, informationization, to improve life efficient and quality. Under such one the large historical background of advocating " digitlization ", " networking ", home network is paid attention to by increasing people gradually as a Newly Sprouted Things. The device that is used for the home control network driving arrangement mainly is used for ensureing equipment normal operation in the home control network. At present, in existing technology, the device of driving arrangement has a variety of, but these devices all can not be independent of processor platform and manufacturer, and is not specifically designed to the device of device drives in the family control network system.
Summary of the invention
For the deficiencies in the prior art, goal of the invention of the present invention has provided a kind of device that is specifically designed to driving arrangement in the home control network, and it can be independent of processor platform and manufacturer, for development and production brings great convenience.
In order to reach the foregoing invention purpose, technical scheme of the present invention realizes in the following way:
A kind of device for the home control network driving arrangement comprises respectively the electricallyerasable ROM (EEROM) that is connected with functional module with network node BCU. Be characterized in that described electricallyerasable ROM (EEROM) is with three template programs: i.e. the registration table EEPROM.ASM of functional module, interrupt routine USERINT.ASM, passage handling procedure CHANNEL.ASM in the functional module.
Above-mentioned EEPROM.ASM comprises the initialized driver information on services of interrupt resources information, driver and driver of functional module manufacturer, functional module sequence number, functional module type, feeder connection address, passage description, functional module itself.
Calling of above-mentioned USERINT.ASM is that interrupt resources information according among the EEPROM.ASM is processed, and need not consider wherein to break mouthful and the return address.
Above-mentioned CHANNEL.ASM comprises the initialization section of functional module handling procedure and functional module program.
The present invention is by being loaded with the electricallyerasable ROM (EEROM) of above-mentioned template program, realized the whether connection of automatic monitoring function module, if be connected with functional module, then according to its whether dispose, whether module type mutually equal, determine whether to read its file, and carry out. Network node BCU also can come by the present invention the type of recognition function module. The present invention connects respectively each network node BCU and each functional module, each network node BCU reads in performance specification and the driver of each functional module of storing in the present invention when powering on like this, also can judge whether it changes according to the production sequence number of this functional module, or no this functional module that is connected with. The present invention can be independent of processor and manufacturer, for development and production brings great convenience.
Description of drawings
The present invention is further illustrated below in conjunction with the drawings and specific embodiments.
Fig. 1 is the structure principle chart of home control network;
Fig. 2 is circuit theory diagrams of the present invention;
Fig. 3 is the flow chart that the present invention uses in home control network.
The specific embodiment
A kind of device for the home control network driving arrangement comprises being the electricallyerasable ROM (EEROM) of 24C16B with the model that network node BCU is connected with functional module respectively. Described electricallyerasable ROM (EEROM) has been stored three template programs: i.e. the registration table EEPROM.ASM of functional module, the interrupt routine USERINT.ASM in the functional module, passage handling procedure CHANNEL.ASM. Wherein EEPROM.ASM comprises the initialized driver information on services of interrupt resources information, driver and driver of functional module manufacturer, functional module sequence number, functional module type, feeder connection address, passage description, functional module itself. Wherein calling of USERINT.ASM is that interrupt resources information according among the EEPROM.ASM is processed, and need not consider wherein to break mouthful and the return address. Wherein CHANNEL.ASM comprises the initialization section of functional module handling procedure and functional module program.
In addition, the present invention also has an I2C interface can be the various device access to can be used as simultaneously the conversion access of other agreement easily and flexibly. Above-mentioned electricallyerasable ROM (EEROM) has 2K internal memory (8), can also strengthen its memory size if need.
The below does one with regard to the data format in the electricallyerasable ROM (EEROM) and specifically describes: the manufacturer of (following is that sequence of addresses is discharged) (1) 0000H-000FH storage module, 16BYTE is arranged, can deposit 8 Chinese characters or 16 letters, vacant no be " 00 ". Example:
dw
$ C7E5, $ BBAA, $ CDAC, $ B7BD, $ 0000, $ 0000, $ 0000, the title of $ 0000 (2) 010H-001FH storage module has 16BYTE, can deposit 8 Chinese characters or 16 letters, vacant no be " 00 "
Example:
dw
$ CBC4, $ B0B4, $ BCFC, $ BFAA, $ B9D8, $ 0000, and $ 0000, and the serial code of $ 0000 (3) 0020H-0027H storage module has 8BYTE.
Example:
Dw $ 0000, $ 0000, and $ 0000, and $ 8001 (4) 0028H-002DH are reserved address, and 6byte is arranged.
Example:
Dw $ ffff, $ ffff, $ ffff (5) 002EH storage module type has 1BYTE.
Example:
Db $ 03 (6) 002FH storage channels number has 1BYTE.
Example:
The detailed description of db $ 04 (7) 0030H-00AFH storage channels: the present embodiment definition has at most 16 passages.
1). channel position: the sequence number of expression passage in module has 1BYTE.
2). channel function coding: represent the function that this passage is realized, 1BYTE is arranged. 3). the passage input/output function: the expression passage is input or output, and 1BYTE is arranged. 8bit is respectively: N7 N6 N5 N4 N3 N2 N1 N0. N7 N6 N5 N4: the type specification that is passage, 0000: common passage 0001: keep 0010: keep 0011: virtual master switch passage 0100: timing channel 0101: scene passage 0110: status poll passage 0111:(is following to be kept) N3 N2: keep N1: input and output tunnel (1: virtual, main be used as whether to dispose the Command_Tab parameter) N0: the input and output attribute of expression passage (1: output 0: input) 4). parameter type: show passage to be processed be those class data, 1BYTE is arranged. 5). the channels drive program: reality is the entry address of driver, and 2BYTE is arranged. 6). parameter 1; In order to dosing new definition in the future, 1BYTE is arranged. 7). parameter 2; In order to dosing new definition in the future, 1BYTE is arranged. Example:
db $01,$00,$00,$01
dw Channel1,$ffff
db $02,$00,$00,$01
dw Channel2,$ffff
db $03,$00,$00,$01
dw Channel3,$ffff
db $04,$00,$00,$01
dw Channel4,$ffff
db $FF,$01,$01,$01
dw Channel5,$ffff
db $FF,$01,$01,$01
dw Channel6,$ffff
db $FF,$01,$01,$01
dw Channel7,$ffff
db $FF,$01,$01,$01
Dw Channel8, $ ffff (8) 00B0H deposits the use interruption log-on message word of driver, it is immediately following behind the description district of passage, the address is unfixing, be dynamic, during data in filling in EEPROM, this also is very important, it directly will be related to the system resource that driver will use, and its structure is:
This word table of UseIntMark:db%01010000 shows and used interruption PTD4/T1CH0 and TIMER1, this log-on message has been arranged after, the user only needs connect into the interrupt routine of oneself according to the process template (UserInt.asm) that provides and gets final product, as:
| The fast driver of mould uses the interrupt resources log-on message | ||||||||
| IRQ | PTD4/T1 CH0 |
PTD5/ | TIMER | 1 | PTD6/T2CH 0 |
| Key | AD |
| Bit7 | Bit6 | Bit5 | Bit4 |
| Bit2 | Bit | 1 | Bit 0 |
IRQ_Int: rts T1CH0_Int: Jsr IntForT1ch0 rts T1CH1_Int: rts Timer1_Int: <!-- SIPO <DP n="7"> --> <dp n="d7"/> Jsr IntForTimer1 rts T2CH0_Int: rts Timer2_Int: rts Key_Int: rts ADC_Int: rts(9) the driver space of 00B1H-07FFH storage module, the driver of each passage is arranged in order.
As:
CHANNEL1:
Jsr DoChannel1
rts
CHANNEL2
Jsr DoChannel2
Rts
The application program of each passage must be followed following provisions: 1. from passage 1, arrange always backward; 2. being first output channel, for input channel (inquire about, deploy troops on garrison duty and withdraw a garrison, the input of warning, timing, scene process), then is the timing output treatment channel afterwards. (10) 0780H-07FFH is that module initialization program entry address is namely used to module
The BCU resource initializes, such as used I/O mouth etc.
Referring to Fig. 1, a kind of family control network system comprises binding post 1, network node BCU2, bus 3, functional module 5, PC 4 and equipment 6. Described each functional module 5 respectively connects a network node 2, and described each network node 2 is linked together by binding post 1 by network-bus 3. Network node 2 connects each functional module 5, and each functional module 5 connects each equipment 6. PC 4 concerns by the control logic that the PC interface presets between described each functional module 5. Each network node 2 all adopts the MOTOROLA MC68HC908GR8 chip with two-way ability to communicate, and it both can be sent the information of oneself to the Web, also can receive the information that any network node 2 transmits on the network. Do not have master slave relation in network, each network node 2 is seized bus by competition mechanism, sends the information of oneself. The quantity of network node 2 can be held 255, can satisfy the requirement of average family fully. Real time operating system in each network node 2 is responsible for finishing the functions such as the distribution of competition, transmission and receive data, data check, real-time task of communication bus and execution, resource management. Functional module 5 comprises gateway module, phone module, power management module and lighting control module, device control module, security module, environment measuring module, meter reading module etc. Each functional module 5 all is connected with network node BCU2, is accomplished specific function. Each functional module 5 is interior all to be connected with the present invention, the present invention is connected with each network node 2 respectively again, network node 2 is identified having or not of these functional modules by the present invention, simultaneously can identify the module type of the functional module that has configured (such as the input of switching value, the output of switching value, the input of analog quantity, the output of analog quantity etc.), network node 2 is when powering on, as required, with data and the driver that reads in storage each functional module in the present invention, by PC 4 after the PC interface configuration, under the management of real time operating system according to given tasks carrying. There is input channel to be responsible for gathering various parameters or information in each functional module, by network node 2 these information are sent on the bus, after other node module in the network receives these information, make corresponding processing according to given logic, finish predetermined function by the output channel in these functional modules. Wipe checking routine, BCU self-check program, configuration process program, power management routines, basic initialize routine, module detecting and module interface handling procedure, the groundwork programs such as application TSR commonly used of writing with communication program, clock interrupt service routine, Flash in the network node 2.
Referring to Fig. 2, the model that the present invention adopts is that the electricallyerasable ROM (EEROM) of 24C16B contains 1~8 pin position. In home control network, the present invention is connected on the network node BCU, to realize data transfer. What said data referred to here is exactly device file, and stored among the present invention is the driver of equipment. When functional module in family's network system needed corresponding modular program to drive, network node BCU will read desired data from the present invention, and SDA transmits by data wire, with the normal operation of assurance function module. SCL is clock signal, is used for the timing data transmission between the present invention and the network node BCU. 1,2,3,8 pin position connecting power lines of electricallyerasable ROM (EEROM) of the present invention, 4,7 pin positions access ground wire, wherein pin 7 (WP) plays write-protected effect to the present invention.
Referring to Fig. 3, the step of the application flow of the present invention in home control network is: 1) family control network system power-up initializing; 2) network node BCU begins to enter duty; 3) network node BCU has or not functional module by information of the present invention in the detection system, if do not have, then enters the module status position and processes, and returns step 2); 3) if network node BCU has detected functional module, and the needed driver of equipment is arranged, then return step 2); 4) if there is not driver in the module, then to from the present invention, reads needed driving file, and will set the driver mode bit, then return step 2).
Claims (5)
1. device that is used for the home control network driving arrangement, comprise respectively the electricallyerasable ROM (EEROM) that is connected with functional module with network node BCU, it is characterized in that described electricallyerasable ROM (EEROM) has been stored three template programs: i.e. the registration table EEPROM.ASM of functional module, the interrupt routine USERINT.ASM in the functional module, passage handling procedure CHANNEL.ASM.
2. the device for the home control network driving arrangement as claimed in claim 1, it is characterized in that described EEPROM.ASM comprises the initialized driver information on services of interrupt resources information, driver and driver of functional module manufacturer, functional module sequence number, functional module type, feeder connection address, passage description, functional module itself.
3. the device for the home control network driving arrangement as claimed in claim 1 is characterized in that, calling of described USERINT.ASM is that interrupt resources information according among the EEPROM.ASM is processed, and need not consider wherein to break mouthful and the return address.
4. the device for the home control network driving arrangement as claimed in claim 1 is characterized in that, described CHANNEL.ASM comprises the initialization section of functional module handling procedure and functional module program.
5. such as each described device for the home control network driving arrangement among the claim 1-4, it is characterized in that described electricallyerasable ROM (EEROM) model is 24C16B, it contains 1-8 pin position, and SDA is data wire, and SCL is clock signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA021252254A CN1469588A (en) | 2002-07-17 | 2002-07-17 | Equipment driving device for household control network |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA021252254A CN1469588A (en) | 2002-07-17 | 2002-07-17 | Equipment driving device for household control network |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1469588A true CN1469588A (en) | 2004-01-21 |
Family
ID=34142808
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA021252254A Pending CN1469588A (en) | 2002-07-17 | 2002-07-17 | Equipment driving device for household control network |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1469588A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101228487B (en) * | 2005-07-04 | 2010-09-29 | Vkr控股公司 | Systems and methods for controlling at least one device |
| CN107491304A (en) * | 2017-08-07 | 2017-12-19 | 浪潮金融信息技术有限公司 | A kind of method that SIU driving functions are realized based on IPSM and IO control panels |
-
2002
- 2002-07-17 CN CNA021252254A patent/CN1469588A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101228487B (en) * | 2005-07-04 | 2010-09-29 | Vkr控股公司 | Systems and methods for controlling at least one device |
| CN107491304A (en) * | 2017-08-07 | 2017-12-19 | 浪潮金融信息技术有限公司 | A kind of method that SIU driving functions are realized based on IPSM and IO control panels |
| CN107491304B (en) * | 2017-08-07 | 2021-04-09 | 浪潮金融信息技术有限公司 | Method for realizing SIU driving function based on IPSM and IO control board |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN1606282A (en) | Home appliance network system and method for operating the same | |
| CN1527210A (en) | PC flash storing disc system structure based on universal serial bus | |
| CN1377144A (en) | Bluetooth adaptor for infrared interface and communication method therefor | |
| CN101625670A (en) | Serial bus device, serial bus transmission system and method | |
| CN1291341C (en) | Method and apparatus for realizing Ethernet passive optical network system dynamic filtration data base | |
| CN1495625A (en) | Bus service interface | |
| CN1306753C (en) | Method of realizing RS485 master slave multi machine communication using universal asynchronous recerver transmitter | |
| CN1266316A (en) | Memory bus interface and method used in IC | |
| CN105790977A (en) | Design method of redundant Ethernet in IEC61850 protocol converter | |
| CN1342938A (en) | Plug-and-play method for measuring-controlling module in RS-485 bus type measuring-controlling system and its measuring-controlling module | |
| CN1791103A (en) | Field bus communication adapter with configurable characteristic | |
| CN1469588A (en) | Equipment driving device for household control network | |
| CN116032746B (en) | Resource pool information processing method and device, storage medium and electronic device | |
| CN1777848A (en) | Method, device and network for periodically sending Ethernet telegrams | |
| US20120084473A1 (en) | Method and bus system for equalizing data information traffic and decoder | |
| CN1811480A (en) | Method and apparatus for real-time monitoring level signal | |
| CN1888990A (en) | Programmable controller back plate communicating method | |
| CN1505887A (en) | Interface Circuit | |
| CN1417985A (en) | Universal serial bus compound device and its realization method | |
| US20040098139A1 (en) | Electronic apparatus for a bus system | |
| CN220064278U (en) | Car LED open and short circuit detection circuit | |
| CN1731370A (en) | Optical module addressing device and method thereof | |
| CN1620789A (en) | Physical layer circuit and interface circuit | |
| CN2874933Y (en) | In-site bus equipment communication adaptor with configurable property | |
| CN110083567A (en) | A kind of chip architecture |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |