CN202634445U - Low speed optical fiber transmission module based on microprogrammed control unit (MCU) - Google Patents

Low speed optical fiber transmission module based on microprogrammed control unit (MCU) Download PDF

Info

Publication number
CN202634445U
CN202634445U CN 201220298193 CN201220298193U CN202634445U CN 202634445 U CN202634445 U CN 202634445U CN 201220298193 CN201220298193 CN 201220298193 CN 201220298193 U CN201220298193 U CN 201220298193U CN 202634445 U CN202634445 U CN 202634445U
Authority
CN
China
Prior art keywords
optical fiber
pin
circuit
mcu
interface
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.)
Expired - Fee Related
Application number
CN 201220298193
Other languages
Chinese (zh)
Inventor
田卫华
王占元
张俊哲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenyang Institute of Engineering
Original Assignee
Shenyang Institute of Engineering
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenyang Institute of Engineering filed Critical Shenyang Institute of Engineering
Priority to CN 201220298193 priority Critical patent/CN202634445U/en
Application granted granted Critical
Publication of CN202634445U publication Critical patent/CN202634445U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Optical Communication System (AREA)

Abstract

A low speed optical fiber transmission module based on a microprogrammed control unit (MCU) relates to an optical fiber transmission device based on the MCU and comprises the MCU, a remote sensing 232 (RS232) port, a remote sensing 485 (RS485) port, a baud rate selection circuit, a status indicator circuit, an optical fiber sending port, an optical fiber receiving port, an artificial circuit, a frequency selecting circuit and a binary frequency shift keying (BFSK) demodulator circuit. Equipment is directly connected with an optical fiber module through the RS232 port or the RS 485 port, an optical fiber module A and an optical fiber module B are directly connected through optical fiber cables or an additional optical fiber multiport repeater, and an N1 in the demodulator circuit is a monolithic narrow-bad frequency modulation receiving chip MC3361 and directly connected with a system power supply. The low speed optical fiber transmission module based on the MCU, aims at actual requirements of optical fiber transmission in an intelligent power grid control system, can achieve mutual control and communication between strong current and weak current, and achieves the purposes of being quick in transmission speed, strong in transmission interference resistance and long in transmission distance.

Description

Low speed Optical Fiber Transmission module based on MCU
Technical field
The utility model relates to a kind of fiber transmission device based on MCU, particularly relates to a kind of low speed Optical Fiber Transmission module based on the MCU modulation-demodulation technique.
Background technology
In recent years, China pays much attention to the intelligent grid construction.Constantly use of the new technology in the intelligent grid field, progressively build the strong intelligent grid that meets distinct Chinese characteristics.Fibre Optical Communication Technology has progressively begun to use in intelligent electric meter, but because the fiber optic switching module cost is high, problems such as modulation-demodulation technique complicacy, Fibre Optical Communication Technology is not all the time in the extensive use of intelligent grid field.
And in the intelligent grid field; The electrical equipment spacer assembly that optical fiber communication is applied in the forceful electric power environment usually uses; Usually parameters such as the isolation fully of long transmission distance, electrical equipment, reliable communications, product cost there is high requirement in the The field; And the field apparatus great majority use RS485 bus or the total line traffic control of RS232, so use low baud rate to communicate usually.Though and the existing fiber transport module can be applied in this field on the existing market; Technology realizes modulation but module is used FPGA mostly; The module cost is high, and technology realizes difficulty, and peripheral circuit is complicated; And the anti-EMC interference performance of module in the market and anti-lightning surge ability are all very poor, are not suitable for power industry and use.
Summary of the invention
The purpose of the utility model is to provide a kind of low speed Optical Fiber Transmission module based on MCU; This module in the intelligent grid control system to the actual demand of Optical Fiber Transmission; Can realize between forceful electric power and the light current mutual control with communicate by letter, reach that transmission speed is fast, the transmission antijamming capability is strong, the purpose of long transmission distance.
The purpose of the utility model realizes through following technical scheme:
Low speed Optical Fiber Transmission module based on MCU; Include MCU, RS232 interface and RS485 interface, baud rate selection circuit, condition indication circuit, optical fiber emission interface, optical fiber receiving interface, analog circuit, frequency selection circuit, BFSK demodulator circuit; Its equipment directly is connected through RS232 interface or RS485 interface with optic module; Optic module A directly links to each other through optical fiber cable with optic module B, or increases fiber-optic multipole mouth transponder and connect, and demodulator circuit wherein N1 is monolithic narrow-band FM receiving chip MC3361; The 4th pin of MC3361 is power supply input, directly connected system power supply; The 15th pin is ground pin, the directly ground of connected system; The 1st pin through R12, and R1 connect the 185KHz input, and connect C5, L4 forms filter circuit, the orthodox ripple signal of 185KHz is imported by this pin; The 6th pin is connected C6, C7 electric capacity with the 7th pin, the electric capacity other end is connected with power supply; The 10th pin is connected with the 9th pin through R3, C9, R9; The 16th pin is the signal input pin; FSK is a signal input port; By C27, L7, VD1, VD2, through R4, R6, R1, L6, C25, C1 device the 16th pin as signal input MC3361 to be demodulated, the 8th pin connects frequency discriminator Z3; The 3rd pin is 1 mixed frequency signal output, imports MC3361 through ceramic filter frequency-selecting Z4 by the 5th pin; The 13rd pin is the output signal after the demodulation, directly imports MCU.
Described low speed Optical Fiber Transmission module based on MCU, its described MCU is the main control circuit of module, RS232 interface and RS485 interface are the connecting interface circuit of module and equipment.
Described low speed Optical Fiber Transmission module based on MCU, its described baud rate select circuit to select communication baud rate and external connection interface section for using toggle switch, and condition indication circuit is made up of four LED lights.
Described low speed Optical Fiber Transmission module based on MCU; Its described analog electrical routing resistance, electric capacity, inductance component are formed; Frequency selection circuit constitutes a narrow-band filtering circuit by inductance, electric capacity and resistance device, and the BFSK demodulator circuit is made up of monolithic narrow-band FM receiving chip MC3361, frequency discriminator, ceramic filter.
Described low speed Optical Fiber Transmission module based on MCU, its described module is connected with the RS485 interface through RS232 with control end equipment.
The utility model is the transparent duplexing low speed transmissions module of a kind of optical fiber.Module is connected with the RS485 interface through RS232 with control end equipment; Master control end device just will carry out standard RS232 with module or RS485 communicates by letter; Optic module is automatically analyzed the packet that receives, and to packet split, framing, and carry out frequency modulation(FM) with the BFSK mode automatically; The modulation centre frequency is 270K, and sends modulation signal through the optical fiber transmission interface.After the controlled terminal optic module connects and receives modulation signal from the optical fiber receiving interface; At first pass through demodulator circuit; Modulation signal is carried out demodulation; Signal after the demodulation is directly imported MCU, and MCU carries out data validation, if this frame is valid frame then packages and send to controlled device through standard RS232 or standard RS485 interface.
Wherein RS232 interface and RS485 interface are standard interface, and communication baud rate can be set to 600 ~ 19200bps; Optical fiber emission interface and optical fiber receiving interface are the special optic fibre coffret, and the Optical Fiber Transmission baud rate can be set to 4800bps or 9600bps.
The low speed optic module of the utility model is the full duplex module; The optic module that master control equipment uses is different with the optic module operating frequency that controlled device uses; So the utility model can be applied in man-to-man the controling environment, also can with fiber-optic multipole mouth transponder be used be applied to the control of master control equipment several from the environment of control appliance.
The utility model and equipment (comprising master control equipment or controlled device) connecting circuit is divided into RS232 and two independent sectors of RS485.The RS232 part is at first carried out level conversion by the MAX232 interface chip, and data directly get into MCU and handle; The RS485 part is at first carried out level conversion by the MAX485 interface chip, and data directly get into MCU and handle.After MCU receives the data of equipment, at first storage is arrived the data buffer zone, after MCU receives the data of equipment transmission; In order to improve the antijamming capability of system, at first data are split, split into little bag with wrapping data greatly; Dose data head and data tail for the parcel data again; And the increase check byte, forming Frame, MCU is that centre frequency is carried out the BFSK modulation with 270K; Signal after directly will modulating sends to the optical fiber transmission interface with the PWM mode according to the baud rate that is provided with in advance, and the optical fiber transmission interface is directly launched signal.Optic module receives data from optical fiber interface; At first the signal of optical fiber interface is handled through analog circuit; Convert pulse signal into sine wave signal that peak value is 500mV, use lc circuit that signal is carried out frequency-selecting afterwards, the frequency-selecting center is that frequency is 270K bandwidth 50K; Signal after the frequency-selecting is directly imported MCU through behind the demodulator circuit.Demodulator circuit comprises that MC3361 narrow-band FM receiving chip, ceramic filter, frequency discriminator constitute.Software carried out data check, reorganization bag after MCU received the data after the demodulation, and data are sent from RS232 or RS485 interface.
The advantage and the effect of the utility model are:
Master control equipment and between the control appliance fully electrical equipment isolate, can realize between forceful electric power and the light current mutual control with communicate by letter; Transmission speed is fast, and communication baud rate can reach 9600bps; Use the BFSK modulation system, the transmission antijamming capability is strong, long transmission distance; Software carries out verification, reliable communications to data automatically; Comparable prior art cost reduces by 1/2.
Description of drawings
Fig. 1 is the Optical Fiber Transmission module application block diagram of the utility model based on MCU;
Fig. 2 is the Optical Fiber Transmission module hardware structured flowchart of the utility model based on MCU;
Fig. 3 is the Optical Fiber Transmission module software flow chart of the utility model based on MCU;
Fig. 4 is the Optical Fiber Transmission module demodulator circuit figure of the utility model based on MCU.
Embodiment
Below in conjunction with accompanying drawing the utility model is done further explanation.
Fig. 1 is the application block diagram of the utility model based on the Optical Fiber Transmission module scene of MCU:
The optical fiber communication module of the utility model is divided into two groups of A, B, and shown in 102 and 104 parts, use is closed in A, B two assembly during use, and equipment directly is connected through RS232 interface or RS485 interface with optic module; If man-to-man control system, optic module A can directly link to each other through optical fiber cable with optic module B, if the control system of one-to-many can increase fiber-optic multipole mouth transponder and connect shown in 103 parts.
Fig. 2 is the Optical Fiber Transmission module hardware structured flowchart of the utility model based on MCU, and hardware circuit specifically comprises with the lower part:
MCU: the main control circuit of module.
RS232 interface and RS485 interface: the connecting interface circuit of module and equipment.
Baud rate is selected circuit: use toggle switch to select communication baud rate and external connection interface section.
Condition indication circuit: constitute by 4 LED lights, the indicating module current state, LED represents power supply state, transmit status, accepting state respectively, loses connection status.Condition indication circuit is directly controlled by MCU.
The optical fiber emission interface: the electrical signal conversion after being responsible for modulating is light signal and launches.
Optical fiber receiving interface: be responsible for receiving optical signals, and convert the light numbering to the signal of telecommunication.
Analog circuit: be made up of resistance, electric capacity, inductance component, be used for voltage of signals conversion, and convert the digital signal of impulse form the analog signal of sinusoidal wave form into, signal peak is 500mV, is used for follow-up frequency-selecting and demodulation process.
Frequency selection circuit: constitute a narrow-band filtering circuit by inductance, electric capacity and resistance device; Offset of sinusoidal ripple signal carries out twice filtering of high pass wave-wave and LPF respectively; Interference signal is eliminated, finally only kept the sine wave signal that centre frequency is 270K bandwidth 50K.
The BFSK demodulator circuit: be made up of monolithic narrow-band FM receiving chip MC3361, frequency discriminator, ceramic filter, orthodox signal is carried out demodulation process, the signal after the demodulation is a standard UART signal, directly gets into MCU, is handled by MCU.
Fig. 3 is the Optical Fiber Transmission module software flow process of the utility model based on MCU, specifically may further comprise the steps:
Step 301 before module starts, is used toggle switch, and program is according to the communication baud rate of the state setting module of toggle switch.
Step 302, the operating state of module initialization MCU comprises basic parameters such as timer, PWM, UART communication.
Step 303 gets into the major cycle flow process, judges whether optical fiber interface receives data, if the data of receiving then get into step 304, carries out the optical fiber interface flow chart of data processing; If do not receive data, then execution in step 307.
Step 304, the head and the check byte of judgement receiving data frames, if verification is correct, then execution in step 305; If check errors, then execution in step 303.
Step 305 is sent because data are split into a plurality of frames when sending, and this step is reformulated a complete data packet with the data of a plurality of frames.Step 306 is carried out serial ports and is sent interrupt routine, and ready packet with the UART mode, is sent to equipment from RS232 interface or RS485 interface.
Step 307 judges whether serial ports receives data, and serial ports comprises RS232 interface and RS485 interface, if the data of receiving, then execution in step 308, otherwise execution in step 303.
Step 308 splits data, if the data length that serial ports receives can be sent in maximum length greater than a frame, then data is split into a plurality of packets, and for each packet increases head and verification, forms Frame.
Step 309 is opened the PWM of MCU, and ready Frame is sent to optical fiber interface.
Among Fig. 4 the demodulator circuit figure of the utility model.
Wherein N1 is monolithic narrow-band FM receiving chip MC3361, and the 4th pin of MC3361 is power supply input, directly connected system power supply; The 15th pin is ground pin, the directly ground of connected system; The 1st pin through R12, and R1 connect the 185KHz input, and connect C5, L4 forms filter circuit, the final orthodox ripple signal of 185KHz is imported by this pin; The 6th pin is connected C6, C7 electric capacity with the 7th pin, the electric capacity other end is connected with power supply; The 10th pin is connected with the 9th pin through R3, C9, R9; The 16th pin is the signal input pin; FSK is a signal input port; Signal is through by C27, L7, VD1, VD2 filtering, and through R4, R6, R1, L6, C25, C1 device the 16th pin as signal input MC3361 to be demodulated, the 8th pin connects frequency discriminator Z3; The 3rd pin is 1 mixed frequency signal output, and Z4 imports MC3361 by the 5th pin through the ceramic filter frequency-selecting; The 13rd pin is the output signal after the demodulation, and signal is the Transistor-Transistor Logic level signal, directly imports MCU.

Claims (5)

1. based on the low speed Optical Fiber Transmission module of MCU; Include MCU, RS232 interface and RS485 interface, baud rate selection circuit, condition indication circuit, optical fiber emission interface, optical fiber receiving interface, analog circuit, frequency selection circuit, BFSK demodulator circuit; It is characterized in that equipment directly is connected through RS232 interface or RS485 interface with optic module, optic module A directly links to each other through optical fiber cable with optic module B; Or increase fiber-optic multipole mouth transponder connects; Demodulator circuit wherein N1 is monolithic narrow-band FM receiving chip MC3361, and the 4th pin of MC3361 is power supply input, directly connected system power supply; The 15th pin is ground pin, the directly ground of connected system; The 1st pin through R12, and R1 connect the 185KHz input, and connect C5, L4 forms filter circuit, the orthodox ripple signal of 185KHz is imported by this pin; The 6th pin is connected C6, C7 electric capacity with the 7th pin, the electric capacity other end is connected with power supply; The 10th pin is connected with the 9th pin through R3, C9, R9; The 16th pin is the signal input pin; FSK is a signal input port; By C27, L7, VD1, VD2, through R4, R6, R1, L6, C25, C1 device the 16th pin as signal input MC3361 to be demodulated, the 8th pin connects frequency discriminator Z3; The 3rd pin is 1 mixed frequency signal output, imports MC3361 through ceramic filter frequency-selecting Z4 by the 5th pin; The 13rd pin is the output signal after the demodulation, directly imports MCU.
2. the low speed Optical Fiber Transmission module based on MCU according to claim 1 is characterized in that described MCU is the main control circuit of module, and RS232 interface and RS485 interface are the connecting interface circuit of module and equipment.
3. the low speed Optical Fiber Transmission module based on MCU according to claim 1 is characterized in that, described baud rate selects circuit to select communication baud rate and external connection interface section for using toggle switch, and condition indication circuit is made up of four LED lights.
4. the low speed Optical Fiber Transmission module based on MCU according to claim 1; It is characterized in that; Described analog electrical routing resistance, electric capacity, inductance component are formed; Frequency selection circuit constitutes a narrow-band filtering circuit by inductance, electric capacity and resistance device, and the BFSK demodulator circuit is made up of monolithic narrow-band FM receiving chip MC3361, frequency discriminator, ceramic filter.
5. the low speed Optical Fiber Transmission module based on MCU according to claim 1 is characterized in that described module is connected with the RS485 interface through RS232 with control end equipment.
CN 201220298193 2012-06-25 2012-06-25 Low speed optical fiber transmission module based on microprogrammed control unit (MCU) Expired - Fee Related CN202634445U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201220298193 CN202634445U (en) 2012-06-25 2012-06-25 Low speed optical fiber transmission module based on microprogrammed control unit (MCU)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201220298193 CN202634445U (en) 2012-06-25 2012-06-25 Low speed optical fiber transmission module based on microprogrammed control unit (MCU)

Publications (1)

Publication Number Publication Date
CN202634445U true CN202634445U (en) 2012-12-26

Family

ID=47387586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201220298193 Expired - Fee Related CN202634445U (en) 2012-06-25 2012-06-25 Low speed optical fiber transmission module based on microprogrammed control unit (MCU)

Country Status (1)

Country Link
CN (1) CN202634445U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361742A (en) * 2014-12-03 2015-02-18 中国科学院宁波材料技术与工程研究所 Device for enhancing anti-interference capability of transmission signal of motor sensor and device for enhancing anti-interference capability of transmission signal of motor sensor
CN113325786A (en) * 2021-07-13 2021-08-31 成都麦隆电气有限公司 Low pressure family stores up and uses data transmission module

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104361742A (en) * 2014-12-03 2015-02-18 中国科学院宁波材料技术与工程研究所 Device for enhancing anti-interference capability of transmission signal of motor sensor and device for enhancing anti-interference capability of transmission signal of motor sensor
CN113325786A (en) * 2021-07-13 2021-08-31 成都麦隆电气有限公司 Low pressure family stores up and uses data transmission module

Similar Documents

Publication Publication Date Title
CN108011694B (en) A kind of efficient data exchange method based on FC
CN102263594B (en) Method for realizing information interaction by RS232 and RS485 communication modes in optical network unit
CN102739290A (en) Interactive terminal with power line carrier communication access function
CN202634445U (en) Low speed optical fiber transmission module based on microprogrammed control unit (MCU)
CN101141216A (en) Data transmission method and data transmission channel device in wavelength-division system
CN205510322U (en) Device based on optical ethernet interface transfer serial ports data
CN102013923B (en) Method for realizing high-speed automation of meter reading based on Ethernet optical fiber network
CN204631557U (en) A kind of coalcutter communication system controlled based on PLC
CN209102815U (en) A kind of track circuit transmitter test device
CN202331173U (en) Industrial controller and industrial network control system
CN202503520U (en) High-speed Ethernet optical module and radio-frequency data transmission device thereof
CN202939792U (en) Single-phase dual-channel communication module
CN206650674U (en) Optical module and the interface couplet systems of CAUI 4
CN202872774U (en) Interactive terminal with power line carrier communication access function
CN201869212U (en) Two-wire-system host computer circuit
CN204119237U (en) 2GX-4GE management type fiber optical transceiver
CN110147339A (en) A kind of plant control unit of the communication conversion based on wireless router
CN204334574U (en) Convergent type UNI optical access device
CN210469369U (en) Electric power thing networking gateway
CN221380939U (en) Multi-rate optical network port self-adaptive circuit
CN202978945U (en) Three-phase electric energy meter communication module based on optical fiber communication mode
CN204119238U (en) The two light mouth fiber optical transceiver of 2FX-4FE
CN203014821U (en) Self-healing ring network light switch
CN207082105U (en) A kind of more smart machine data transfer interface arrangements in power station
CN217956289U (en) Communication interface converter

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121226

Termination date: 20140625

EXPY Termination of patent right or utility model