Background technology
Along with electricity market and development of economic construction, country is promoting the intelligent grid construction, with intelligent level, raising safe operation of electric network, raising utilization rate of equipment and installations and the safety in operation that improves power distribution network, finishes the high efficiency of transmission of data.In the long-term construction plan of intelligent grid, communication network is based on the Ethernet optical-fibre communications, and other means of communications are auxilliary, and the Ethernet of collecting device inserts very necessary.But existing collecting device only has RS485 or RS232 serial ports mostly in power distribution network, and this serial ports can't be linked in the Ethernet, causes existing equipment to come into operation.And difficulty and the cost of transforming existing equipment are all very big.
The utility model content
The utility model is at the deficiencies in the prior art, designs and develops out a kind ofly to make original collecting device can access network based on ethernet with less cost, thereby realizes the power distribution network data acquisition communications adapter of ethernet communication.
The utility model is achieved through the following technical solutions:
A kind of power distribution network data acquisition communications adapter includes the microprocessor that is used for RS485/232 agreement and the mutual conversion of SPI agreement; Comprise the firmware networks protocol chip that is used for the support hardware ICP/IP protocol; Also comprise and pass through I
2The C bus expansion can clash programmable parameter storage;
Described microprocessor one end is provided with and RS485 or the interactive serial port that is connected of RS232, and the other end is by being connected by holding wire is interactive with described chip; The signal output part of described parameter storage is connected with the microprocessor signals input; Power module is electrically connected with microprocessor by power line.
A kind of power distribution network data acquisition communications adapter, described chip are provided with the port of drawing in order to be connected with the RJ45 mouth.
A kind of power distribution network data acquisition communications adapter, a serial port of described microprocessor links to each other with described chip alternately with the SPI pattern.
A kind of power distribution network data acquisition communications adapter, described microprocessor is the MSP430F5438 microprocessor.
A kind of power distribution network data acquisition communications adapter, described chip are W5100 firmware networks protocol chip.
The utility model adopts the MSP430F5438 microprocessor RS485/232 agreement and SPI agreement can be changed mutually, the conversion back is by W5100 firmware networks protocol chip access network based on ethernet, thereby realized with original only can access network based on ethernet with the collecting device of RS485 or RS232 port, and realize communication.Original like this collecting device only need insert the access that this adapter can be realized Ethernet, and existing equipment can continue to use, and the adapter low cost of manufacture.The MSP430F5438 microprocessor is produced for TI company, and W5100 firmware networks protocol chip and described parameter storage are in the market can directly purchase the device that obtains.
Embodiment
Shown in accompanying drawing.
The utility model includes the MSP430F5438 microprocessor 2 that is used for RS485/232 agreement and the mutual conversion of SPI agreement.Comprise the W5100 firmware networks protocol chip 3 that is used for the support hardware ICP/IP protocol; Also comprise by the I2C bus expansion and can clash programmable parameter storage 1; MSP430F5438 microprocessor 2 one ends are provided with and RS485 or the interactive serial port that is connected of RS232, and a serial port of the other end is with spi bus and 3 interactive connections of W5100 firmware networks protocol chip; The signal output part of parameter storage 1 is connected with MSP430F5438 microprocessor 2 signal input parts; Power module 4 is electrically connected with MSP430F5438 microprocessor 2 by power line.W5100 firmware networks protocol chip 3 is provided with the port of drawing in order to be connected with the RSJ45 mouth.
The utility model adopts MSP430F5438 microprocessor 2 that RS485/232 agreement and SPI agreement are changed mutually, the conversion back is by W5100 firmware networks protocol chip 3 access network based on ethernet, can access network based on ethernet thereby realized with the collecting device of original band RS485 or RS232 port, and realize communication.During the utility model can realize that under each module normal operation maximum three data acquisition equipments that serial ports only arranged can access network based on ethernet net system.Call for the Socket of W5100 firmware networks protocol chip 3 by MSPF5438 microprocessor 2 inside and to make each the corresponding Socket link of three serial ports, realize three data acquisition equipment independence access network based on ethernet systems that serial ports is only arranged, it is mutual to finish Ethernet data.