国产成人永久免费视频_一区二区三区四区高清精品免费观看_成人午夜视频免费观看_在线电影一区二区三区_国产成人a人亚洲精品无码_欧美日韩在线观看一区_国产精品美女久久久久久_免费av手机在线观看_国产欧美日韩精品一区_国产精品日韩一区二区免费视频_亚洲一区精彩视频_youjizz在线视频

CAN bus based power meter reading system

About CAN Bus

CAN multi-master mode work, a node of the network office at any time can take the initiative to other nodes on the network to send information; CAN nodes on the network information into different priorities, can satisfy different real-time requirements; CAN bus using non-destructive arbitration techniques; CAN message filtering can be simply achieved by point to point, multipoint, and global broadcast data is sent and received in several ways; CAN direct communication distances of up to 10km (rate 5kbit / s below) communication speed up to 1Mbit / s (at this time communication distance up to 40m); CAN messages for each frame has a CRC checksum error detection and other measures to ensure that the data error rate is very low; CAN communication medium for double stranded wire, coaxial cable or optical cable, select flexible.

System Design

System consists of the following components: pulse meter, electricity collector, CAN converter, modem, PC. System block diagram shown in Figure 1.

CAN bus based power meter reading system

Figure 1 Block diagram of the power meter reading system

Can see from Figure 1, real-time acquisition charge collector residential building output pulse meter pulse signals transmitted by the CAN interface, CAN bus, and then the CAN converter conversion and Modem host computer and lower computer communications, in order to complete data collection, storage, measurement, display and other functions, on the whole cell situation of each user to achieve real-time monitoring.

System works

Electrical measurement of the acquisition

Rotary meter according to the structure, its pulse and dial the number of cycles of change is proportional to the number of pulses multiplied by the coefficient can be accumulated before the corresponding electrical measurement. To improve the accuracy of pulse measurement, software design methods with regular continuous sampling. An effective electric pulse width of 50ms or more, designed with the time period of 16ms. For the normal pulse, regular pulse measured by continuous sampling for the high frequency of ≥ 2, see Figure 2. If the pulse width is too small, not measured by the number 2, then you can get rid of this pulse.
Figure 2 Schematic diagram of pulse sampling inspection

Collector power

Power collector is the main function of pulse data, and communicate with the host computer. Its core components are AT89C52 microprocessor and interrupt controller 8259A. Systems, interrupt sources more than eight, so 8259A using cascade. Collector of each power under 5 8259A cascade, to meet the 32-way power signal input. Collector power block diagram shown in Figure 3.

CAN bus based power meter reading system

Figure 3 Block diagram of the collector charge

System, 8259A to control the external interrupt sources with AT89C52. 8259A for the AT89C52 analyze, judge, decide the priority of interrupt request signal. Interrupt signals from multiple meter was then taken by the input processing circuit 8259A. Which way is high, 8259A of the IRR (interrupt request register) the corresponding bit; then, 8259A its IRR and IMR (interrupt mask register ) for the situation analysis and processing, when a road is not IMR mask interrupt sources, and the way the priority level of interrupt source CPU is higher than the level of the transaction when, 8259A 17-pin to generate a high level, through the specialized application and respond to interrupt the circuit into a low power meter based on CAN bus system, the interrupt request made to the AT89C52, while waiting in line the rest of the interrupt and save. This pulse will not be lost, signal acquisition to ensure the accuracy of the system. , The instrument technologies and sensors would be more disruption for the AT89C52 interrupt the currently running application program and the priority level for and response by the interruption of the circuit response to the 8259A interrupt signal back to the electricity meter reading based on CAN bus system. At this time, AT89C52 turn to the implementation of the interrupt service routine.
For the protection of the data collected, the design of memory used. Storage area can be divided into two areas: a work area, storage, real-time power measurement, repeat it some time to refresh 1; a backup area for 6 months of electrical backup measure to prevent the loss of useful information.

For the convenience of the user query, the system can be displayed in the collector circuit was designed LCM103, to achieve local display. To its pin CS, WR, DA2TA and microcontroller interface can be achieved related to its display. Multiple interrupt sources of data used in LCM103 rotation display. LCM03 of 10 were defined as the user account can do, and do not display the data table. No. 10 for the household income, section 8 for the table do not, the remaining bit that the energy consumption figures of all tables, the first 3 digits of the decimal point. No. 9 and No. 7 as a space for clear reading.

Design, in LCM103 the VDD and VLCD plus 511kΩ resistor between pins to allow moderate display brightness.

CAN Interface Converter

CAN controller SJA1000 CAN converter and by the CAN driver PCA82C250 composition. CAN converter is responsible for receiving commands issued to the host computer to transmit the power site, a group linked to CAN bus up to 110 sites, the block diagram shown in Figure 4.

CAN bus based power meter reading system

Figure 4 CAN Controller Interface Functional Block Diagram

CAN converter

In order to achieve communication with the host computer microcontroller designed with TTL level conversion between RS-232 interface, as shown in Figure 5. AT89C52 itself does not contain the controller, so using the CAN controller SJA1000, and CAN drive PCA82C250.

CAN bus based power meter reading system

Figure 5 RS232/CAN functional block diagram of converter

CAN bus communication baud rate

Calculate the district control room PC with the power collector in the MCU communication baud rate 40.5Kbit / s, take 50Kbit / s, this time CAN bus communication distance up to 1.5km, if the control room was built in load center, the communication meet the requirements from. At this point bus timing register BTR0 and BTR1 were BTR0 = 47H = 01000111B, BTR1 = 2FH = 0011111B. Moreover, in order to make the site work within the system simultaneously, the PC must be the whole point of time when the school issued an order to the site.

Software Design

Mainly on the design of the collector for a brief description of the main program. It includes the initialization and data acquisition and processing of two parts. Initialization procedure includes initialization 8259A. In the data collection, the collector main program loop to take the way of data collection, and to classify the received command, and then switch to the appropriate command processing subroutine. The main program flow chart shown in Figure 6.

Anti-jamming measures

(1) in the system design, the use of the X5045 chip, the chip has a watchdog circuit. Watchdog circuit for real-time monitoring of CPU, if the CPU into an infinite loop, the watchdog circuit can discover and to reset the entire system. In software programming, set to visit every 1s 1 watchdog circuit. If the program running or flying over a set time (the system set to 1.4s) did not visit the watchdog chip, X5045 chip will automatically reset pulse output until the program runs properly.

(2) data acquisition device with filter circuit, the various forms produced by electrical pulse signal is filtered to prevent the signal during transmission may be subject to interference.

(3) the use of X5045 chip power supply monitoring circuit monitoring feature set and power down protection circuit to prevent data loss after power-down.

CAN bus based power meter reading system

Conclusion

CAN bus based power meter reading system uses a smart data acquisition, data communication via CAN bus exchange, the system response speed, anti-jamming; network reliability high, communication baud rate, data transfer volume; structure simple to install, easy to maintain. System can easily achieve real-time monitoring, high-speed data acquisition, look-up table printing, system monitoring and other functions, has a good prospect.

Declined comment

亚洲欧洲美洲综合色网| 精品国产欧美一区二区三区成人| 538国产精品一区二区免费视频| 欧美美女黄色网| 国产在线免费看| 国产成人啪免费观看软件| 91精品免费观看| 岛国视频一区| 人人爽人人爽人人片| 国产精品综合网| 日韩大片免费观看视频播放| 色噜噜狠狠色综合网| 99久久99久久精品国产| 91麻豆高清视频| 久久九九亚洲综合| 黄色免费视频大全| av在线免费在线观看| 狠狠躁18三区二区一区| 91美女片黄在线观| 我想看黄色大片| 成人av资源站| 欧美精品日韩www.p站| 亚洲视频在线a| 天天操天天舔天天干| 欧美一区二视频| 日韩精品久久一区| 国产又粗又爽视频| 黄色成人av网| 国产精品毛片一区视频| 欧美黑人性猛交xxx| 国产精品私人影院| 青草青草久热精品视频在线观看| 日韩黄色一区二区| av电影天堂一区二区在线| 精品自拍视频在线观看| 午夜免费视频网站| 国产成人免费在线| 久久久久久久久爱| 天堂在线观看视频| 精品免费99久久| 亚洲自拍偷拍一区二区三区| 毛片在线免费播放| 欧美性色综合网| 欧美一级片免费观看| 日韩黄色一级大片| 在线一区二区三区| 爱爱爱视频网站| 国内精品偷拍视频| 日韩成人在线视频| 男女av免费观看| 国产一区二区三区黄视频| 精品国产拍在线观看| 奇米777在线| 久久精品人人做人人爽97| 国产成人精品日本亚洲| 亚洲xxxx3d动漫| 激情久久av一区av二区av三区| 蜜桃狠狠色伊人亚洲综合网站| 天天干天天插天天射| 日韩一级成人av| 精品久久一二三| 裸体一区二区三区| 97精品国产97久久久久久免费 | 在线免费观看视频| 亚洲自拍偷拍图区| 日韩国产精品一区二区| 亚洲av无码专区在线| 日韩有码在线视频| 91成年人网站| 精品久久久久久久大神国产| 超碰在线免费观看97| 视频一区在线视频| 性色av一区二区三区免费| 美女100%露胸无遮挡| 欧美日韩国产中文精品字幕自在自线| 亚洲欧美日韩另类精品一区二区三区| 黄色成人一级片| 久99久在线视频| 国产精品视频看看| 欧美三级在线视频| 久久精品一区二| 久久美女艺术照精彩视频福利播放 | 色噜噜在线播放| 欧美日韩国产二区| 激情五月婷婷在线| 亚洲第一精品电影| 欧美激情一区二区三区p站| 亚洲视频一二区| 大桥未久一区二区三区| 国模娜娜一区二区三区| 91精品综合视频| 不卡的日韩av| 欧洲亚洲妇女av| 自拍偷拍第八页| 欧美风情在线观看| 亚洲午夜18毛片在线看| 最新国产精品拍自在线播放| 黄色激情小视频| 欧美精品一区二| 中文幕无线码中文字蜜桃| 欧美日韩五月天| 野花视频免费在线观看| 欧美性猛xxx| 欧美大尺度做爰床戏| 亚洲欧美色一区| 男女啪啪免费视频网站| 欧美激情一区二区三区全黄| 国产精品无码乱伦| 久久婷婷综合激情| 久久99国产精品一区| 2019国产精品| 麻豆映画在线观看| 欧美激情一区二区三区在线| 欧美一级视频免费看| 国产精品不卡一区| 乱妇乱女熟妇熟女网站| 亚洲综合网站在线观看| 自拍偷拍21p| 日本精品视频一区二区| 精品人妻在线视频| 精品国产网站在线观看| 精品在线观看一区| 一区二区三区亚洲| 亚洲 欧美 日韩 综合| 欧美成人免费va影院高清| 亚洲av无码精品一区二区| 久久人人爽人人爽人人片av高请 | 手机免费观看av| 亚洲欧美日韩国产精品| 日韩av综合在线| 午夜精品视频在线| 亚洲第一页综合| 147欧美人体大胆444| 国产麻豆视频一区| dy888午夜| 亚洲在线视频免费观看| 三上悠亚 电影| 日韩欧美色综合| 欧美激情精品久久久久久免费| 中文在线不卡视频| 五月天中文字幕| 国产精品亚洲网站| 国内成+人亚洲+欧美+综合在线| 日韩一本精品| 亚洲另类春色国产| 少妇精品无码一区二区| 亚洲福利视频久久| 国产免费av一区| 国产精品久久久久免费a∨| 日韩成人午夜精品| gogogo免费高清日本写真| 亚洲免费观看高清完整版在线观看 | 国产日本在线播放| 在线一区二区三区| 老女人性淫交视频| 日韩av色综合| 懂色av中文一区二区三区| 波多野结衣之无限发射| 欧美三级在线看| 久久久久香蕉视频| 国产精品久久久久久久久久小说 | 国产精品19p| 日韩成人在线视频| 国产精品一区二区黑人巨大| 久久99国产精品99久久| 亚洲欧美日韩系列| 亚洲精品成人无码熟妇在线| 久久偷看各类女兵18女厕嘘嘘 | 国产精品一香蕉国产线看观看| 韩国v欧美v日本v亚洲v| 国产精品丝袜久久久久久消防器材| 欧美午夜精品一区二区蜜桃| 日韩欧美三级视频| 成人免费看片网址| 亚洲私人影院在线观看| 成年人免费观看视频网站 | 一区二区日韩视频| 欧美理论一区二区| 丰满岳妇乱一区二区三区| 国产97免费视频| 国产日韩欧美视频在线| 亚洲国产精品成人综合色在线婷婷 | 欧美在线一二三| 久久久久久少妇| 国产亚洲情侣一区二区无| 亚洲综合色噜噜狠狠| 黑鬼狂亚洲人videos| 成人在线视频网| 亚洲视频中文字幕| 97在线观看视频免费| 国产主播喷水一区二区| 亚洲欧美视频一区| 国产一国产二国产三| 成人综合色站| 欧美丝袜一区二区| 国产免费a视频| 一本色道婷婷久久欧美| 91精品国产美女浴室洗澡无遮挡| 在线视频播放大全| 国产精品88久久久久久妇女 | 色欲狠狠躁天天躁无码中文字幕| 国产97在线播放| 国产精品久久免费看| 一区二区三区在线播放视频| 福利视频久久| 欧美在线观看18| 国产精品羞羞答答在线| 北条麻妃在线视频观看| 日韩在线视频国产| av一本久道久久综合久久鬼色| 丰满大乳奶做爰ⅹxx视频| 国产美女91呻吟求| 欧美日韩精品在线| 中文在线a天堂| 免费看国产曰批40分钟| 一区二区三区黄色| 成人av网站免费| 青青青视频在线播放| 国产精品一区在线播放| 欧美日韩精品欧美日韩精品| 亚洲欧美黄色片| 日韩av片专区| 国产精品久久99久久| 亚洲va天堂va国产va久| 国产日产亚洲系列最新| 精品国产成人av在线免| 午夜精品一区二区三区av| 日韩美女视频一区二区| 亚洲av无码精品一区二区| av大片免费观看| 精品国产免费视频| 国产欧美一区二区三区在线看| 精品一区二区三区毛片| 无码人妻精品一区二区三区9厂| 欧美精品tushy高清| 国产精品视频黄色| 91麻豆国产福利在线观看| 久久亚洲成人精品| 青青草自拍偷拍| 国产成人精品免费一区二区| 日韩欧美久久久| 久久久久日韩精品久久久男男| 久久久久久久午夜| 一二三区免费视频| 91免费视频网址| 亚洲成人久久一区| 国产91亚洲精品一区二区三区| 成人性生生活性生交12| 国产美女在线观看一区| 久久中文字幕一区| 亚洲 欧美 日韩 国产综合 在线| 国产乱码在线观看| 精品国产免费视频| 青青草一区二区| 欧美性猛交久久久乱大交小说| 青青草成人在线观看| 欧美成人第一页| 青青青在线免费观看| 亚洲风情亚aⅴ在线发布| 国产在线观看h| 最近日韩中文字幕中文| a级大片在线观看| 欧美疯狂性受xxxxx喷水图片| 最近看过的日韩成人| 欧美黑人一区二区| www国产精品av| 日韩在线视频一区| 日韩人妻精品无码一区二区三区| 日韩电影一二三区| 欧美一区二区三区思思人| 国产精品久久久久免费a∨| 国产小视频免费| 久久婷婷成人综合色| 鲁片一区二区三区| 嫩草影院一区二区三区| 欧洲精品在线观看| 青青草国产免费| 一级黄色av片| 国产精品成人免费| 欧美精品一区二区三区在线看午夜| 91丨九色丨海角社区| 亚洲电影免费观看高清完整版在线 | 年下总裁被打光屁股sp| 亚洲最大色网站| av之家在线观看| 亚洲免费在线看| 91日本在线视频| 亚洲成熟女性毛茸茸| 色婷婷综合在线| 日产精品久久久一区二区| 国产成a人亚洲精v品无码 | 精品在线视频一区二区三区| 日本一级淫片色费放| 亚洲成人免费电影| 老司机av网站| 欧美高清你懂得| caoporm在线视频| 欧美国产成人精品| 亚洲视频在线观看日本a| 中文字幕一区二区三区四区免费看| 亚洲日本电影在线| 欧美国产综合在线| 国产日韩欧美精品综合| 精品九九九九| 9久草视频在线视频精品| 三上悠亚久久精品| 亚洲国产精品免费| 国产伦精品一区二区三区视频痴汉 | 成人天堂噜噜噜| 手机在线精品视频| 亚洲色图18p| 国产精品6666| 国产一区二区三区高清在线观看| 三级视频网站在线观看| 欧美熟乱第一页| 中文字幕在线中文| 国产福利91精品一区二区三区| 国产精品主播视频| 久久久青草青青国产亚洲免观| 99精品人妻少妇一区二区| fc2成人免费人成在线观看播放| 欧美精品成人一区二区在线观看| www五月婷婷| 久久国产欧美精品| 亚洲精品第五页| 日韩精品一区二区三区视频| 亚洲国产精品一区二区久久hs| 亚洲人成电影在线观看天堂色| 五月婷六月丁香| 中文字幕一区二区三区电影| 久久久久亚洲视频| 国产精品嫩草影院久久久| 日本成人一级片| 日韩大陆毛片av| 看片网址国产福利av中文字幕| 日韩在线视频观看| 日本在线小视频| 亚洲高清免费观看高清完整版| 成人三级做爰av| 欧美私人免费视频| 成人性生交视频免费观看| 中文字幕日韩av电影| 国产一区二区三区香蕉| 成人羞羞视频免费| 成人免费高清视频| 国产乱女淫av麻豆国产| 在线观看精品国产视频| 欧美成人国产精品一区二区| 色婷婷亚洲精品| 精品成人免费视频| 成人福利免费观看| 99视频有精品| 国产第一页浮力| 亚洲午夜在线观看| 亚洲精品视频网上网址在线观看| 亚洲色欧美另类| 国产又猛又黄的视频| 欧美精品一区二区免费| 久久久亚洲精品一区二区三区| 亚洲精品mv在线观看| 久久综合国产精品台湾中文娱乐网| 亚洲狼人综合网| 国产精品二区三区| 偷偷要91色婷婷| 国产精品美女高潮无套| 国产福利成人在线| 亚洲乱码国产乱码精品精可以看| 91亚洲精品久久久蜜桃借种| 欧美喷潮久久久xxxxx| 国产波霸爆乳一区二区| 亚洲一区二区三区sesese| 欧美日韩一区高清| 蜜桃久久久久久久| 麻豆一区在线观看| 欧美日韩五月天| 国产三级自拍视频| 一区二区三区av在线| 亚洲精品福利资源站| 人妻一区二区三区四区| 91精品视频在线| 一区二区三区在线视频观看| 九九热精品免费视频| 久久青青草原一区二区| 亚洲男人天堂古典| 亚洲欧美日韩久久| 久久久人人人| 五月天丁香激情| dy888午夜| 国产精品视频网站| 欧美日韩中文字幕一区二区| 精品国产av一区二区三区| 国产一区二区在线视频播放| 亚洲国产一区二区三区四区| 性猛交xxxx| 久久久午夜精品福利内容| 国产精品白丝jk喷水视频一区| 一区二区三区精品在线| 精品视频久久久久| 免费精品视频一区| 欧美视频一区二区| 奇米影视一区二区三区| 波多野结衣福利| 日批视频在线免费看| 亚洲在线www| 91精品国产91久久久久久最新毛片 | 亚洲电影av在线| 99久久99久久久精品齐齐| 高清中文字幕mv的电影| 色偷偷av一区二区三区乱| 日本一区二区三区在线观看|