Most medium and large petrochemical enterprises in China use small current grounding system to supply power, and the power system is relatively large. Such systems generally have several or even more than a dozen 35kV general step-down stations and dozens of 6 10kv High-voltage Distribution rooms, which are widely distributed. Some substations are more than ten kilometers away from the general dispatching. Therefore, the accurate and reliable transmission of power parameters (voltage, current, phase, power factor, etc.) of each substation is particularly important for the timely decision-making of the general dispatching, improving the power supply quality and ensuring the safety of power operation. Here, we use a single-chip microcomputer to control the modem for remote real-time data transmission, and obtain satisfactory results.
2 hardware system design
The system network diagram is shown in Figure 1. The upper computer of the system adopts PII microcomputer, which is connected with the single chip microcomputer system as the lower computer through modem ââ switching network ââ modem. The data signal collected by the power sensor is input into the single chip microcomputer system. After being processed by the software program, the asynchronous transceiver 8251 controls the modem to dial automatically. After the upper computer responds, it sends out data. After the upper computer receives the data through the modem, it can carry out data table or graphic processing, which completes the whole process of remote data acquisition. The upper computer can perform patrol control and detection on multiple lower MCU systems through time-sharing modem.
The hardware circuit of single chip microcomputer system is shown in Figure 2. It is mainly composed of single chip microcomputer 89C51 and asynchronous / synchronous transceiver controller chip. Here, 8251 is used as asynchronous transceiver. Among them, com8046 is a programmable special clock generator, which can provide clock signal for 89C51 at the same time. The signals of receiving clock RXC and transmitting clock TXC required by 8251 are also provided by it.
Since the input and output of 8251 is TTL level, it is necessary to use serial transceiver driver for level conversion and driving. The system adopts commonly used mc1488 and mc1489 chips. RS-232 is a standard 9-pin interface, which can be connected with any standard external modem interface.
The performance requirements for modem are: telephone number parameter memory; It has automatic dialing function and automatic response function; Speed buffering and flow control; Mnp5 / v.42bis data compression mode is adopted; V4.2 error control protocol / MNP 2-4 error correction protocol is adopted; The speed is greater than 14.4kbps; Select standard products compatible with Hayes Series in the United States.
As the telephone line as the medium of the switching network will inevitably have line interference, the modem as the two ends must adopt corresponding anti-interference and error control technology. At the same time, the line transmission rate should not be too high. The baud rate of 1200dps is adopted in the system.
3 software design
The software design of single chip microcomputer system is mainly composed of 8251 initialization and data transmission. The program flow chart is shown in Figure 3 and Figure 4 respectively.
8251 initialization is set to: work in asynchronous mode; Baud rate is 1200dps; The data length is 8 bits, one stop bit; Even check is adopted; DTR and RTS signals are valid.
The control of the modem is determined by the DSR. When the DSR is valid, reset the modem first, and then send instructions to make the modem dial automatically. When the DSR signal remains valid, carry out data transmission with the upper computer.
In the data transmission program, a group of storage units store the data to be transmitted (i.e. the data input and converted by the sensor, or the manual input data extended by the keyboard system), and send the checksum data at the same time. After sending data, check whether the sending register is zero. If it is zero, it indicates that the data has been sent. After each data is sent, wait for the upper computer to return the signal. If it is incorrect, it needs to be retransmitted; If correct, continue to send the next data until the data is sent out.
4 Conclusion
Using single chip microcomputer to control modem for remote data transmission has achieved good results, and solved the problem of remote data exchange that can not be reached by LAN special line. It is especially suitable for remote areas, such as the patrol inspection of terminals, warehouses and high towers in remote places of enterprises.
The system can be extended on the basis of this hardware principle, which can increase the functions of display, key input, output control and alarm of single chip microcomputer, and realize the functions of remote key input data and parameter setting through key function conversion, so as to meet some special needs.
If different sensing methods are changed, it can be widely used in industry, agriculture and other occasions in society. Therefore, the system has a broad market prospect.
Copyright © 2020 Coffee bag - Guangzhou tianci packaging industry Co,. Ltd. | Sitemap
{"site":{"site_id":2867,"site_type":1,"site_domain":"tiancipackaging.com","domain_mode":2,"original_domain":"tiancipackaging.com","language_code":"en","is_init_domain":0,"is_shop":false,"is_ssl":1,"lang_prefix":"/","animate_name":"none"},"page":{"page_id":55524,"page_type":"ai_article_detail","page_code":423,"page_url":"/ai-article/design-of-remote-data-transmission-system-based-on-single-chip-microcomputer.html","page_source":"","allowAnimat":0,"content_id":5976,"content_type":5,"detail_thumb":"","detail_title":"Design of Remote Data Transmission System Based on Single Chip Microcomputer Control System","moq":1},"translateList":{"A new item has been added to your Shopping Cart":"A new item has been added to your Shopping Cart","Account is not exists":"Account is not exists","Add a review on the product":"Add a review on the product","Add to":"Add to","Add to Cart":"add to cart","all":"all","All Orders":"All Orders","Already commented":"Already commented","Are you sure you want to delete it?":"Are you sure you want to delete it?","Are you sure to delete the selected items?":"Are you sure to delete the selected items?","Awaiting Payment":"Awaiting Payment","Awaiting Shipment":"Awaiting Shipment","account security":"account security","address book":"address book","Buy":"Buy","Buy Now":"Buy Now","Cancel":"cancel","Clear":"Clear","Clear Search":"Clear Search","Confirm":"Confirm","Choose a country":"Choose a country","Choose Coupon":"Choose Coupon","commodity payment":"commodity payment","Completed":"Completed","Condition not met":"Condition not met","Confirm password is inconsistent with new password":"confirm password is inconsistent with new password","Congratulations":"Congratulations","Congratulations! You are got a coupon.":"Congratulations! You are got a coupon.","Congratulations! You are got all coupons.":"Congratulations! You are got all coupons.","Continue Shopping":"Continue Shopping","Copy the code and use it directly in the shopping cart.":"Copy the code and use it directly in the shopping cart.","Coupon List":"Coupon list","Country":"Country","Design customization":"Design customization","Do not use any discount":"Do not use any discount","Earliest":"Earliest","email":"email","email format does not match":"email format does not match","Estimated Delivery Time":"Estimated Delivery Time","expired":"expired","Find Parts":"Find Parts","Free":"Free","Free Quote & Information Request":"Free Quote & Information Request","Free Shipping":"Free Shipping","for order over":"for order over","Get":"Get","Get coupons":"Get coupons","Get discount":"Get discount","Get it":"Get it","Get it after logging in and use it in the shopping cart.":"Get it after logging in and use it in the shopping cart.","Go to Page":"Go to Page","Highest Price":"Highest Price","Hot Sale":"Hot Sale","home":"home","Incorrect form format":"Incorrect form format","inquiry":"inquiry","Loading":"Loading","Lowest Price":"Lowest Price","Match Product":"Match Product","Merchant Free Shipping":"Merchant Free Shipping","Most Popular":"Most Popular","my account":"my account","my coupons":"my coupons","my inquiry":"my inquiry","my orders":"my orders","my reviews":"my reviews","my wishlist":"my wishlist","name":"name","Newest":"Newest","No Quotation":"No Quotation","No time limit":"No time limit","Not deleted":"Not deleted","not valid yet":"not valid yet","Off":"Off","Offers and Discounts":"Offers and Discounts","ok":"ok","optional":"optional","Order over":"Order over","order notes":"order notes","Password contains at least numbers and letters length should be 6-20":"password contains at least numbers and letters length should be 6-20","Password is invalid":"Password is invalid","Password length should be 6-20":"Password length should be 6-20","Paypal":"Paypal","paypal payment":"paypal payment","personal info":"personal info","Please click ’click to continue’ to retry.":"Please click \"click to continue\" to retry.","Please enter a valid email address":"Please enter a valid email address","Please enter the verification code":"Please enter the verification code","Please login in first":"Please login in first","Please select attribute":"Please select attribute","Please select country/region":"Please select country/region","Please select superior":"Please select superior","Please select the number of ratings.":"Please select the number of ratings.","read more":"read more","Region":"Region","Register Success":"Register Success","Sale ends in":"Sale ends in","Save in wishlist":"Save in wishlist","Search":"Search","Shipping":"Shipping","Shipping Address":"shipping address","shipment successful":"shipment successful","Size guide":"Size guide","Small Text":"Small Text","Small Title":"Small Title","Sort By":"Sort By","State/Province/Territory":"State/Province/Territory","Successfully delete":"Successfully delete","Successfully save":"Successfully save","The coupon code has been copied and used in the shopping cart.":"The coupon code has been copied and used in the shopping cart.","The subscription is successful, thank you for your participation":"The subscription is successful, thank you for your participation","The user center is out of service. Please contact customer service":"The user center is out of service. Please contact customer service","This is Text":"This is Text","This is title":"This is title","This transaction has failed.":"This transaction has failed.","Time to shop":"Time to shop","To be commented":"To be commented","Total":"Total","the content can not be blank":"the content can not be blank","Update password success":"Update password success","Upload Image":"Upload Image","Upload up to 6 pictures":"Upload up to 6 pictures","uploading":"uploading","used":"used","user center":"user center","Validity period":"Validity period","valid now":"valid now","View Cart & Checkout":"View Cart & Checkout","Welcome to the website":"Welcome to the website","Western Union":"Western Union","Write a Review":"Write a Review","You are got a coupon.":"You are got a coupon.","You haven’t chosen an address yet":"You haven't chosen an address yet","You haven’t selected a product yet":"You haven't selected a product yet","Your rating":"Your rating","Your review":"Your review","Your shipping address error":"Your shipping address error"}}