CN100459772C - Dual-mode wireless controller based on GSM and CDMA short message - Google Patents

Dual-mode wireless controller based on GSM and CDMA short message Download PDF

Info

Publication number
CN100459772C
CN100459772C CNB2006100895731A CN200610089573A CN100459772C CN 100459772 C CN100459772 C CN 100459772C CN B2006100895731 A CNB2006100895731 A CN B2006100895731A CN 200610089573 A CN200610089573 A CN 200610089573A CN 100459772 C CN100459772 C CN 100459772C
Authority
CN
China
Prior art keywords
gsm
module
cdma
mcu2
mcu1
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
CNB2006100895731A
Other languages
Chinese (zh)
Other versions
CN1878382A (en
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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CNB2006100895731A priority Critical patent/CN100459772C/en
Publication of CN1878382A publication Critical patent/CN1878382A/en
Application granted granted Critical
Publication of CN100459772C publication Critical patent/CN100459772C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention relates to a dual-mode wireless controller, based on GSM and CDMA, used in remote data communication. Wherein, it is formed by MCU (micro controller), GSM module, CDMA module, and power supply circuit; it has two MCU, while one controls the GSM module and CDMA module, via wireless network to communicate with the remote control center, and another MCU controls the on-site devices; two MCU uses I2C to transmit data; the inventive dual-mode wireless controller can receives the GSM and CDMA messages of control center synchronously, and send the on-site data as GSM and CDMA messages to the control center.

Description

Dual-mode wireless controller based on GSM and CDMA short message
Technical field
The present invention relates to a kind of dual-mode wireless controller, be applicable to the field of data transmission of remote monitoring based on GSM and CDMA short message.
Background technology
The importance of remote control technology in life is produced is familiar with by people gradually and is paid attention to, and cable communicating technology was once becoming the main flow of remote control technology.In recent years, perfect along with the maturation of wireless communication technology, particularly mobile communications network, remote control technology enters a new developing stage.With respect to the wire communication mode, that wireless communication technology has is easy-to-use, cost is low, need not to connect up, need not to set up the advantage of dedicated communications network, favorable expandability.GSM (Global System For MobileCommunications global system for mobile communications) and CDMA (Code Division MultipleAccess code division multiple access) are the second generation mobile communication technologies of comparative maturity.SMS (Short Message Service) provides a kind of radio data communication mode of cheapness as a kind of basic service of GSM and cdma network for remote monitoring.
Long distance control system based on radio communication is made up of three parts: Surveillance center, wireless controller and field apparatus.Field apparatus can be transducer or the actuator such as the display device of collection site data.Wireless controller is installed on the field apparatus end, realizes the data interaction of Surveillance center and field apparatus.
Present wireless controller only adopts the single Netcom of GSM or CDMA letter mostly.And have under interference, the congested situation at network, all there are the problem of delay, packet loss separately in GSM and cdma network, thereby have incured loss through delay the transmission of data, have a strong impact on the reliability and the real-time of system.
Summary of the invention
Technology of the present invention is dealt with problems: overcome the deficiencies in the prior art, a kind of dual-mode wireless controller based on GSM and CDMA short message with reliability and real-time is provided, the transfer of data that can be used for remote monitoring, this controller has CDMA and two networks of GSM, can adopt the strategy of priority network or parallel network redundant each other.
Technical solution of the present invention: its characteristics of dual-mode wireless controller based on GSM and CDMA short message are: adopt two MCU designs, comprise MCU1 (microcontroller), MCU2, gsm module, CDMA module, power module, two UART1 of MCU1 link to each other with the CDMA module with gsm module respectively with UART1 ', are responsible for control gsm module, CDMA module transmitting-receiving note; The UART2 of MCU2 links to each other with field apparatus, is responsible for mutual with field apparatus; Pass through I between two MCU 2The C bus transfer data; Power module provides two working power.
MCU1 and MCU2 pass through I 2The C bus transfer data.I 2C have main send out, mainly receive, from send out, from receiving four kinds of mode of operations, two MCU are equal, the mode that adopts two MCU alternately to serve as master-slave equipment realizes based on I 2The communication of C bus.Data initiator is set to the main mode of operation of sending out, and distributes data and is changed to again from the receipts state, waits for receiving data.
Described power module comprises power supply, battery and relay, connects relay between the power supply MCU required voltage VCC that provides in parallel with battery, battery and VCC and links to each other.When disconnecting, abnormity of power supply can voltage be provided for the VCC of MCU by battery.Controller can report to the police, normally cut out GSM and CDMA module to Surveillance center under the power supply of battery.Can disconnect relay after finishing protection work, stop battery and power, prevent that battery power consumption is excessive, the protection battery life to MCU.
The present invention's advantage compared with prior art is: (1) has CDMA and two networks of GSM, can adopt the strategy of priority network or parallel network redundant each other; (2) dual-cpu structure make dual mode controller to the transmitting-receiving of note, parsing and with field apparatus alternately can parallel processing, improved efficient; When (3) abnormity of power supply disconnects, GSM and CDMA module be reported to the police, be closed to dual mode controller can to Surveillance center under powered battery, prevent to cause the module abnormal shutdown, thereby guarantee that behind power up module still can normally start in the low excessively situation of battery electric quantity.
Description of drawings
Fig. 1 is a structural representation of the present invention;
Fig. 2 is a power module schematic diagram of the present invention;
Fig. 3 is a MCU1 software flow pattern of the present invention.
Embodiment
As shown in Figure 1, the present invention is made up of MCU1 (1), MCU2 (2), gsm module (3), CDMA module (4) and power module (6), two UART (1) of MCU1 (1) link to each other with CDMA module (4) with gsm module (3) respectively with UART (1 '), are responsible for control gsm module, CDMA module transmitting-receiving note; The UART2 of MCU2 (2) links to each other with field apparatus (5), is responsible for mutual with field apparatus (5); Pass through I between two MCU 2C bus (7) transmission data; Power module (6) provides two working power.
The μ PSD3234 that MCU1 (1) and MCU2 (2) select for use STMicroelectronics (STMicw Electronics) company to produce, gsm module (3) is selected the TC35i module of Siemens TC35 series for use, CDMA module (4) is selected the Q2358 of WAVECOM company for use, and field apparatus (5) selects for use the cell board size to be chosen to be the display screen of 245mmX490mm.Gsm module (3) links to each other with two UART of MCU1 (1) respectively with CDMA module (4), and field apparatus (5) display screen links to each other with the UART2 of MCU2 (2).SDA and SCL are respectively I 2Serial data line and serial time clock line that the C universal serial bus uses, the pin SDA of line MCU1 (1) links to each other with the pin SDA of MCU2 (2), and the pin SCL of MCU1 (1) links to each other with the pin SCL of MCU2 (2).
As shown in Figure 2, be MCU1 software flow pattern of the present invention, MCU1 is two serial ports places of circulatory monitoring and I in main program 2The C bus is used for respectively the note that Surveillance center sends is sent to field apparatus and sends the data of field apparatus collection to Surveillance center.If gsm module is received note, send to MCU1 by UART1, MCU1 passes through I according to the message content that the messaging format of GSM parses Surveillance center 2C sends to MCU2, and MCU2 controls field apparatus according to message.If the CDMA module is received note, pass through UART1 ' and give MCU1, MCU1 passes through I according to the message content that the messaging format of CDMA parses Surveillance center 2C sends to MCU2, and MCU2 controls field apparatus according to message content.Field apparatus sends to MCU2 by UART2 after collecting field data, and MCU2 passes through I 2C sends the data to MCU1.The GSM_ENABLE and the CDMA_ENABLE that have defined the bit type among the MCU1 represent whether use GSM and cdma network respectively, and 1 expression is used, and 0 expression is not used.If MCU1 is from I 2Receive message on the C bus, judge the value of GSM_ENABLE from MCU2, if 1 with the messaging format encapsulation of GSM from the field data of MCU2 and send to Surveillance center.Judge the value of GSM_ENABLE again, if 1 with the encapsulation of the messaging format of CDMA from the field data of MCU2 and send to Surveillance center.
As shown in Figure 3, power module (6) comprises power supply (8), battery (11) and relay (12), and power supply (8) is selected for use+6V voltage, after voltage stabilizing, step-down, provides 3.6V voltage to VCC (10).Link to each other by relay (12) between battery (11) the MCU required voltage VCC (10) that also can provide in parallel, battery (11) and VCC (10) with power supply (8).Battery (11) links to each other with an end of relay (12) with power supply (8) back in parallel, the other end of relay (12) links to each other with the I/O pin Relay_Control (13) of MCU1, by Relay_Control (13) being put height and drag down adhesive and release between control relay moving contact and fixed contact, thereby whether control battery (11) gives VCC (10) power supply.
With receiving remote message is example, and the message that Surveillance center sends sends with the form of GSM and CDMA short message, and dual-mode wireless controller receives and parses message content after the note and be distributed on the display screen.
The present invention can guarantee the real-time and the accuracy of remote data transmission, and stable performance can be satisfied this field actual demand.This invention can be applied in a lot of embedded remote monitoring systems, and for example coal mine environment condition detection, home furnishings intelligent monitoring and equipment fault remote diagnosis etc. have good practical reference value.

Claims (3)

1, based on the dual-mode wireless controller of GSM and CDMA short message, it is characterized in that comprising: MCU1 (1), MCU2 (2), gsm module (3), CDMA module (4) and power module (6), two UART of MCU1 (1) link to each other with CDMA module (4) with gsm module (3) respectively, are responsible for control gsm module, CDMA module transmitting-receiving note; The UART of MCU2 (2) links to each other with field apparatus (5), is responsible for mutual with field apparatus (5); Pass through I between two MCU 2C bus (7) transmission data; Power module (6) provides two working powers; When described gsm module and CDMA module receive the short message of sending from Surveillance center, then issue MCU1 by two UART, MCU1 parses message content according to short message format, passes through I then 2C sends to MCU2, and MCU2 controls field apparatus according to message content by UART, and field apparatus sends to MCU2 by UART after collecting field data, and MCU2 passes through I 2C sends the data to MCU1, and encapsulation sends to gsm module and CDMA module from the field data of MCU2 and by two UART to MCU1 according to short message format, and finally the mode with short message sends to Surveillance center.
2, the dual-mode wireless controller based on GSM and CDMA short message according to claim 1 is characterized in that: the mode that described MCU1 (1) and MCU2 (2) alternately serve as master-slave equipment realizes based on I 2The data communication of C bus, data initiator is set to the main mode of operation of sending out, and distributes data and is changed to again from the receipts state, waits for receiving data.
3, the dual-mode wireless controller based on GSM and CDMA short message according to claim 1, it is characterized in that: described power module (6) comprises power supply (8), battery (11) and relay (12), power supply (8) the MCU required voltage VCC (10) that provides in parallel with battery (11), link to each other by relay (12) between battery (11) and the VCC (10), whether provide voltage to VCC (10) with relay control when disconnecting unusually by battery (11) at power supply (8).
CNB2006100895731A 2006-07-04 2006-07-04 Dual-mode wireless controller based on GSM and CDMA short message Expired - Fee Related CN100459772C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100895731A CN100459772C (en) 2006-07-04 2006-07-04 Dual-mode wireless controller based on GSM and CDMA short message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100895731A CN100459772C (en) 2006-07-04 2006-07-04 Dual-mode wireless controller based on GSM and CDMA short message

Publications (2)

Publication Number Publication Date
CN1878382A CN1878382A (en) 2006-12-13
CN100459772C true CN100459772C (en) 2009-02-04

Family

ID=37510636

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100895731A Expired - Fee Related CN100459772C (en) 2006-07-04 2006-07-04 Dual-mode wireless controller based on GSM and CDMA short message

Country Status (1)

Country Link
CN (1) CN100459772C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101287250B (en) * 2008-05-29 2011-05-18 德信无线通讯科技(北京)有限公司 Communication method and device for master/slave baseband module in double-mode mobile phone
CN102843388A (en) * 2011-06-20 2012-12-26 中兴通讯股份有限公司 Method, system and device for achieving synchronism of wireless data transmission and short message receiving and sending

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1424857A (en) * 2002-12-03 2003-06-18 袁兵 Method for realizing intelliget linked alarm by short-message processing technology
US20040174270A1 (en) * 2002-07-12 2004-09-09 Lg Electronics Inc. Mobile communication-based remote meter reading system and method
CN1642048A (en) * 2004-01-16 2005-07-20 深圳市鼎鑫源实业有限公司 Method and apparatus for realizing remote wireless monitoring via wireless network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040174270A1 (en) * 2002-07-12 2004-09-09 Lg Electronics Inc. Mobile communication-based remote meter reading system and method
CN1424857A (en) * 2002-12-03 2003-06-18 袁兵 Method for realizing intelliget linked alarm by short-message processing technology
CN1642048A (en) * 2004-01-16 2005-07-20 深圳市鼎鑫源实业有限公司 Method and apparatus for realizing remote wireless monitoring via wireless network

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
. .
嵌入式系统与手机短信的互通. 杨延广.电子技术,第5期. 2006
嵌入式系统与手机短信的互通. 杨延广. 电子技术,第5期. 2006 *

Also Published As

Publication number Publication date
CN1878382A (en) 2006-12-13

Similar Documents

Publication Publication Date Title
CN102287893A (en) Air conditioner remote control system based on wireless network
CN102565719A (en) System for wirelessly diagnosing fault of battery pack
CN203191729U (en) Intelligent remote industrial control system
CN102134929B (en) Parking stall lock management system based on wireless data communication network
CN105024198A (en) Intelligent plug
CN100459772C (en) Dual-mode wireless controller based on GSM and CDMA short message
CN108206715B (en) Unmanned vehicles formation flight control data chain system based on ethernet
CN101170443B (en) GPRS-based digital monitoring and alarm issuing device
CN104865840A (en) Intelligent household control device
CN201654548U (en) Intelligent simulation screen system of transformer substation
CN203984410U (en) Coal mine down-hole personnel monitoring wireless receiving substation
CN203133573U (en) Remote intelligent monitoring system of computer room
CN205666954U (en) Data interchange monitored control system based on cloud calculates
CN102903221A (en) Distribution transformer terminal wireless data transmission system for communication signal blind areas
CN202906948U (en) Communication apparatus based on modbus_RTU bus
CN202935897U (en) Sudden-stop lock switch position recognition device of belt conveyor
CN103312867A (en) Method using mobile phone as fire alarm
CN202916677U (en) Remote electrical appliance monitoring system
CN109922451A (en) A kind of switchgear house intelligence Mining and Control Device and system
CN203785173U (en) Air conditioner used for remote control ship
CN104155922A (en) Household electrical appliance monitoring system based on ZigBee
CN204559224U (en) A kind of wireless electric power monitoring system
CN109149773A (en) The system that a kind of pair of storage batteries of transformer substation group charge and discharge process is remotely controlled
CN103996275A (en) Communication device and method based on streetlamp control system
CN203858501U (en) Mining intrinsically-safe card reading substation

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
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: 20090204

Termination date: 20160704

CF01 Termination of patent right due to non-payment of annual fee