CN106406179B - The multiplex roles host of modularized design, control system and method including the host - Google Patents
The multiplex roles host of modularized design, control system and method including the host Download PDFInfo
- Publication number
- CN106406179B CN106406179B CN201610928615.XA CN201610928615A CN106406179B CN 106406179 B CN106406179 B CN 106406179B CN 201610928615 A CN201610928615 A CN 201610928615A CN 106406179 B CN106406179 B CN 106406179B
- Authority
- CN
- China
- Prior art keywords
- unit
- host
- mcu
- terminal
- communication unit
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
- G05B19/0425—Safety, monitoring
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C17/00—Arrangements for transmitting signals characterised by the use of a wireless electrical link
- G08C17/02—Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2604—Test of external equipment
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2612—Data acquisition interface
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Small-Scale Networks (AREA)
Abstract
The invention discloses the multiplex roles hosts of modularized design, control system and method including the host, including MCU unit, the MCU unit is connect with the Power Management Unit of modularized design, real time clock unit, data storage cell, On-off signal unit, analog acquisition unit, control amount output unit, differential bus unit, radio frequency communications unit, WiFi communication unit, Ethernet converting unit, cellular communication unit, sha-1 encryption unit and temperature-humidity monitoring unit respectively.Live multiple types may be implemented, multi-quantity terminal carries out unified networking management, the storage of routing management, data, analysis processing.The limitation that can break through site environment is uploaded field data by the various ways such as GPRS/3G/4G public network or VPN virtual Private Network, website local area network (optical fiber ring network) by flexible configuration.WIFI debugging is realized at scene, and covering whole scene may be implemented in long distance of signal transmission.
Description
Technical field
The present invention relates to a kind of multiplex roles hosts of modularized design, control system and method including the host.
Background technique
In electric power supervisory control field, since monitoring project is numerous, so the type of monitor terminal and same monitoring
There are many number of terminal, in such systems, require to multiple types, the terminal of multi-quantity carries out unified networking management, road
By management, data storage, analysis processing;Meanwhile according to the limitation of system installation site environment, need host support is a variety of will count
According to the communication link for uploading to platform, and can flexibly be configured;Upload mode includes GPRS/3G/4G public network or VPN virtually special
Data can be exchanged through the above way and upload to monitor supervision platform by net, website local area network (optical fiber ring network), host;It realizes above-mentioned
Interface function and data processing function must research and develop a kind of live host unified management, compatible various interfaces;Simultaneously for convenience of tune
Wireless WiFi (remote compared to Bluetooth signal transmission distance, can to cover whole scene) communication interface need to be had by trying the host, and can
To access and debug each terminal node by host with hand-held intelligent terminal.
The Versatile modular monitoring host computer of Publication No. " 201010004437.4 " can only pass through local with monitor supervision platform
Network Communication is single cable interface with terminal interface, does not adapt to field demand, cannot correspond to various types of terminals.
The patented technology of Publication No. " 105547483A " discloses one kind and opens for the infrared matrix real-time measurement of networking type
The method for closing cabinet temperature;Be directed to it is a kind of processing and forwarding temperature data controller (said from system perspective, we term it
A kind of live host of the system-specific), although the major function of live host has been briefly described in the patent, there is no should
The detailed description of host.
Summary of the invention
The purpose of the present invention is to solve the above-mentioned problems, provide a kind of modularized design multiplex roles host including
The control system and method for the host, the multiplex roles design of the host module, may be implemented flexibly connecing for each Terminal Type in scene
Enter, while realizing that data processing, scheduling, storage and various ways upload.
To achieve the goals above, the present invention adopts the following technical scheme:
A kind of multiplex roles host based on modularized design, including MCU unit, the MCU unit are set with modularization respectively
The Power Management Unit of meter, real time clock unit, data storage cell, On-off signal unit, analog acquisition unit, control
Measure output unit, differential bus unit, radio frequency communications unit, WiFi communication unit, Ethernet converting unit, cellular communication list
Member, sha-1 encryption unit and the connection of temperature-humidity monitoring unit.
The MCU unit, temperature-humidity monitoring unit, On-off signal unit, radio frequency communications unit, WiFi communication unit,
Ethernet converting unit and cellular communication unit composition Host Status monitoring and pattern configurations management module.
The MCU unit, Ethernet converting unit, cellular communication unit and WiFi communication unit composition data upstream Interface
Control module;
The MCU unit, differential bus unit, radio frequency communications unit, On-off signal unit, analog acquisition unit and
Control amount output unit composition data downstream interface module.
The MCU unit, WiFi communication unit and On-off signal unit form host field adjustable interface module.
Comprising a kind of control system of the multiplex roles host based on modularized design, the MCU unit passes through radio frequency
Communication unit, WiFi communication unit, Ethernet converting unit or cellular communication unit are communicated with monitor supervision platform and terminal;Together
Shi Suoshu MCU unit is communicated by WIFI interface commissioning device with the monitor supervision platform.
Using the control method of the control system, comprising:
Power Management Unit is monitored the supply voltage of the host, guarantees the normal working voltage of host;
Temperature-humidity monitoring unit, On-off signal unit, radio frequency communications unit, WiFi communication unit, Ethernet conversion are single
Member and cellular communication unit are by completing status monitoring and pattern configurations management to host with the work of MCU unit matching;
It is logical that WiFi communication unit, ethernet communication unit and cellular communication unit contain all data uplinks of host
Host is sent data to monitor supervision platform by road;Temperature-humidity monitoring unit, On-off signal unit, analog acquisition unit, control
Amount output unit, differential bus unit and radio frequency communications unit contain all data downstream channels of host, and host is sent
Data are to terminal;
The field adjustable of host is carried out by WiFi communication unit, On-off signal unit and MCU unit;
Sha-1 encryption unit and the work of MCU unit matching carry out safety management certification.
The every 100ms of Power Management Unit carries out ADC sampling to host each section supply voltage, and sends result to
MCU unit;
MCU unit controls host and carries out power supply main standby switching or disconnected according to ADC sampled result and default safe voltage range
Electricity;
MCU unit carries out active-standby switch, energization or power-off to Power Management Unit and grasps according to the control command of monitor supervision platform
Make;
Each section supply voltage of the host has: main power source 48V, spare main power source 27V, 12V, 5V and 3.3V;When with
When upper 5 kinds of voltage class are more than default secure threshold, then partial power cutting is controlled by MCU unit, and it is different to generate power supply
Ordinary affair part, reports monitor supervision platform;
When main power source 48V is lower than spare main power source 27V, main power source is carried out by active-standby switch by MCU unit, is cut off
48V power supply, while using 27V power supply power supply;When 48V voltage class is greater than spare main power source, MCU unit is by host main power source
It is switched to 48V power supply.
Temperature-humidity monitoring unit is acquired and digitizes to the temperature and humidity of hosted environment, and it is mono- to send result to MCU
Member;
On-off signal unit connects trigger button, the door magnetism device etc. of mainframe box, and switch amount is acquired, and will be tied
Fruit is sent to MCU unit;
Radio frequency communications unit, WiFi communication unit, ethernet communication unit, cellular communication unit are respectively to location mode amount
It is recorded in real time, and is periodically sent to MCU unit;
The information package collected above is sent to monitor supervision platform by MCU unit, and monitor supervision platform is shown and alarms;
MCU unit receives the host operational mode configuration information that monitor supervision platform issues, and controls host and enter corresponding operation
Mode;
Operational mode includes normal operation mode and commissioning mode:
Under normal operation mode, MCU unit control selections WiFi communication unit, Ethernet converting unit, cellular communication list
One in member, as data uplink channel;
Under commissioning mode, MCU unit supports WiFi communication unit, ethernet communication unit, transmitted by cellular communication unit
All protocol datas and test data.
When MCU unit receives transparent protocol data from data feedback channel, host is by MCU unit forwards to counterpart terminal;
MCU unit timing controlled terminal carries out data acquisition, when MCU unit passes through data downstream channel reception to number of terminals
According to when, host is stored and is uploaded to monitor supervision platform by the data that MCU unit acquires terminal;
When MCU unit receives the host that monitor supervision platform issues or terminal program updating protocol, host by MCU unit and
Current data uplink channel receives program file;And according to program file description information, controls itself and carry out firmware
Upgrading or the forwarding of terminal program file;
When MCU unit receives the school of monitor supervision platform when agreement, when MCU unit obtains current from real time clock unit first
Between, compare protocol time and local zone time, and update local zone time;Then MCU unit separately down row of channels send and terminal
School when agreement.
When carrying out the field adjustable of host,
When On-off signal unit detects that odd-times external trigger inputs, host controls WiFi communication by MCU unit
Unit is powered on and is initialized, and is operated normally;
When On-off signal unit detects that even-times external trigger inputs, host controls WiFi communication by MCU unit
Unit power-off;
WiFi communication unit exists in WiFi local area network as AP, when the STA equipment with WiFi function accesses AP,
WiFi communication unit is reported to MCU unit;When WiFi communication unit receives the data of STA equipment transmission, WiFi communication list
It is first to be completely transmitted to MCU unit;
When WiFi communication unit receives the data of MCU unit transmission, WiFi communication unit can be forwarded the data to often
One STA equipment connected.
Carry out safety management certification method include:
MCU unit saves the code key of eight byte lengths, and eight byte longs are written by tooling in sha-1 encryption unit
The key of degree;
After host powers on, MCU unit sends control command and gives sha-1 encryption unit, reads the MAC of sha-1 encryption unit
Address, factory information;And the random number for sending 8 byte length of a column gives sha-1 encryption unit;
The MAC Address of the sha-1 encryption unit that MCU unit will acquire in order, factory information, 8 byte lengths with
Machine number, 8 byte lengths key merge into an one-dimension array, and carry out sha-1 abstract processing to it, finally obtain 20 words
Save the digest value of length;
Sha-1 encryption unit ibid carries out the processing of sha-1 algorithm abstract, obtains the digest value of 20 byte lengths;Concurrently
Give MCU unit;
Whether MCU unit compares two digest value identical;If identical, normal program operation, otherwise continue on
Step is stated, until certification passes through.
Further include:
Differential bus unit, radio frequency communications unit, On-off signal unit, analog acquisition unit, control amount output are single
Member respectively corresponds host logic port 1-5:
After MCU unit receives the 1 terminal incoming order of port that monitor supervision platform issues, it is poor that host is controlled by MCU unit
Divide whether bus unit scanning has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, report prison
Control platform;If accessed without terminal, monitor supervision platform is reported;
After MCU unit receives the 2 terminal incoming order of port that monitor supervision platform issues, host is penetrated by the control of MCU unit
Whether the scanning of frequency communication unit has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, reports prison
Control platform;If accessed without terminal, monitor supervision platform is reported;
After MCU unit receives the 3 terminal incoming order of port that monitor supervision platform issues, host is opened by the control of MCU unit
Whether pass amount input unit scanning has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, reports
Monitor supervision platform;If accessed without terminal, monitor supervision platform is reported;
After MCU unit receives the 4 terminal incoming order of port that monitor supervision platform issues, host controls mould by MCU unit
Whether the scanning of analog quantity acquisition unit has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, reports
Monitor supervision platform;If accessed without terminal, monitor supervision platform is reported;
After MCU unit receives the 5 terminal incoming order of port that monitor supervision platform issues, host passes through the control control of MCU unit
Amount output unit processed carries out opening and closing operation, and correlation engineering technical staff measures the lower terminal mounted in port 5, sentences
Whether disconnected control amount output is normal.
Beneficial effects of the present invention:
1, live multiple types may be implemented, multi-quantity terminal carries out unified networking management, routing management, data storage,
Analysis processing.
2, the limitation that can break through site environment, it is virtually special by GPRS/3G/4G public network or VPN by flexible configuration
The various ways such as net, website local area network (optical fiber ring network), field data is uploaded.
3, WIFI debugging is realized at scene, and covering whole scene may be implemented in long distance of signal transmission.
4, the flexible access of each Terminal Type in scene may be implemented, simultaneously in a kind of multiplex roles host based on modularized design
Realize that data processing, scheduling, storage and various ways upload.
5, control system possessed by the host may be implemented time synchronization simultaneously, multiplex roles compatibility, the real-time self-test of state,
Modularized design, general-purpose scheduler process, multi-level storage machine system configure multiple-working mode, strong adaptability function.
6, one-machine-multi-function is realized in implementation through the invention, is adapted to the various demands in scene, is reduced the usage amount of host, passes through
Help at low cost, the probability that goes wrong is low, improves the stability of entire Operation of Electric Systems, ensured operation power safety and
Reliably.
Detailed description of the invention
Fig. 1 is host hardware composition schematic diagram of the present invention;
Fig. 2 is engine control system block diagram of the present invention.
Specific embodiment
The invention will be further described with embodiment with reference to the accompanying drawing.
Such as Fig. 1, the multiplex roles host of modularized design is realized simultaneously in order to realize the flexible access of each Terminal Type in scene
Data processing, scheduling, storage and various ways upload, and mainly have following 14 hardware cells to constitute: Power Management Unit, MCU
Unit, real time clock unit, data storage cell, On-off signal unit, analog acquisition unit, control amount output unit,
Differential bus unit, radio frequency communications unit, WiFi communication unit, Ethernet converting unit, cellular communication unit, sha-1 encryption
Unit, temperature-humidity monitoring unit;Its hardware annexation block diagram such as Fig. 1.
Wherein, the Power Management Unit, the super capacitor group and different voltages for being 27V by 48V main power source and output
Generation circuit composition, reliable and stable power supply is provided for host.
The MCU unit is possessed 8 road serial communication interfaces, ensure that using STM32F429 high-performance ARM framework MCU
The multiplex roles of host design.
The real time clock unit, using PCF8563 chip, low-power consumption can be kept for a long time after guaranteeing host power-off
Orthochronous timing.
The data storage cell, using the FRAM chip FM25V20A and large capacity Noflash storage chip of 2M capacity.
The On-off signal unit, is made of elements such as triode, capacitor, resistance, can open external 0-5V benchmark
Pass amount is detected.
The simulation amount detection unit guarantees the accuracy to analog acquisition using high-precision adc chip.
Host circuit is isolated with external control circuit using relay for the control amount output unit.
The differential bus unit, using MAX13431 chip, stability is high, guarantees Differencing communication stability.
The radio frequency communications unit has selected the remote low-power consumption radio frequency chip SX1278 based on LoRa technology, guarantees
The distance and accuracy of radio communication under complex industrial environment.
The WiFi communication unit is realized using low-power-consumption embedded Wi-Fi module, and 802.11b/g/n is supported wirelessly to mark
Standard has UART/SPI/GPIO data communication, supports STA/AP/STA+AP coexistence work mode, and multichannel is supported (to be not less than 5
Road) TCP Client connection, support external antenna interface;It is specific to select model HF-LPB100 module.
The Ethernet converting unit uses embedded ethernet serial data conversion module, and it is adaptive to integrate 10/100M
Ethernet interface integrates ICP/IP protocol stack, has TCP Server, TCP Client, UDP and Real COM driver etc.
Multiple-working mode supports most four connections, supports functions, the built-in WEB servers such as domain name access that webpage is facilitated to configure,
It can be set within the scope of serial port baud rate 300bps~230.4kbps;It selects model IPort-2 (ZLG).
The cellular communication module supports 2.5G (GPRS/EDGE/CDMA1X)/3G (WCDMA/CDMA2000/TD-
SCDMA)/4G (TD-LTE/FDD-LTE) digital cellular wireless communication, the occasion for not cable network.
The sha-1 encryption unit, using the DS28E01 chip based on sha-1 digest algorithm.This unit is mainly exactly
Chip DS28E01 and its peripheral circuit, his major function are that the code key of one setting of write-in can be communicated by single port,
And can repeatedly erasable modification, but can only modify, can not read;On the other hand, the main program in the master chip of host also can
A key is prestored, before operation, can be docked first with the sha-1 chip communication using random number and key, if two
While all passing through to the data containing own key, the result that sha-1 abstract obtains is identical, then illustrates that the key of the two storage is identical,
Program continues to operate normally;Otherwise, program does not continue to run, can continuous verification this;The whole external world communicated in this way can not
The key in the chip of both sides is obtained, also can not release key by the way that sha-1 digest value is counter, even if guaranteeing that mainframe program is replicated,
But correct key cannot be written in chip DS28E01, host can not operate normally.
The temperature-humidity monitoring unit, using CC2D23S temperature-humidity monitoring chip.
Comprising a kind of control system of the multiplex roles host based on modularized design, the MCU unit passes through radio frequency
Communication unit, WiFi communication unit, Ethernet converting unit or cellular communication unit are communicated with monitor supervision platform and terminal;Together
Shi Suoshu MCU unit is communicated by WIFI interface commissioning device with the monitor supervision platform.
Energy supply control module, Host Status monitoring and pattern configurations management module, number can be formed by above-mentioned hardware system
According to dispatching management module, data uplink interface control module, data downstream interface control module, host field adjustable Interface Controller
Module, Data Storage, safety management module.Time synchronization may be implemented in final realize, multiplex roles are compatible, state is real
Shi Zijian, modularized design, general-purpose scheduler process, multi-level storage machine system configure multiple-working mode, the function of strong adaptability.
Specific descriptions are provided to the control method of control system below:
Energy supply control module is realized by Power Management Unit and MCU unit.Itself the specific implementation process is as follows:
1) the every 100ms of Power Management Unit carries out ADC sampling to host each section supply voltage, and sends result to
MCU unit.
2) MCU unit is according to ADC sampled result and default safe voltage range, control host carry out power supply main standby switching or
Power-off.
3) MCU unit carries out active-standby switch, energization, power-off to Power Management Unit according to the control command of monitor supervision platform
Operation.
For example, the mains voltage grade of Power Management Unit has: main power source 48V, spare main power source 27V, 12V, 5V,
3.3V;When above 5 kinds of voltage class are more than inherently safe threshold value, then host controls partial power cutting by MCU unit, and
Abnormity of power supply event is generated, monitor supervision platform is reported.
When main power source 48V is lower than spare main power source 27V, then host main power source is carried out active and standby cut by MCU unit by host
It changes, cuts off 48V power supply, while using 27V power supply power supply;When 48V voltage class is greater than spare main power source, MCU unit will be led
Owner's power supply is switched to 48V power supply.
When monitor supervision platform issues control command, the power supply of some hardware module is such as cut off, then host is carried out by MCU unit
It cuts off the power operation.
The Host Status monitoring and pattern configurations management module mainly pass through MCU unit and temperature-humidity monitoring unit, open
Input unit, radio frequency communications unit, WiFi communication unit, Ethernet converting unit, cellular communication unit are measured to realize in pass.Specifically
Realization process is as follows:
1) temperature-humidity monitoring unit is acquired and digitizes to the temperature and humidity of hosted environment, and sends result to MCU
Unit.
2) trigger button, the door magnetism device etc. of On-off signal unit connection mainframe box, and switch amount is acquired, it will
As a result it is sent to MCU unit.
3) radio frequency communications unit, WiFi communication unit, ethernet communication unit, cellular communication unit are respectively to location mode
Amount is recorded in real time, and is periodically sent to MCU unit.
4) information package more than MCU unit collected is sent to monitor supervision platform, and monitor supervision platform can be shown and alarm.
5) MCU unit receives the host operational mode configuration information that issues of monitor supervision platform, and controls host and enter and mutually meet the tendency of
Row mode.
Such as: the settable two kinds of operational modes of host, normal operation mode and commissioning mode.
Under normal operation mode, MCU unit control selections WiFi communication unit, Ethernet converting unit, cellular communication list
One in member, as data uplink channel;Under commissioning mode, MCU unit supports WiFi communication unit, ethernet communication list
All protocol datas and test data transmitted by member, cellular communication unit.
Data dispatch management module realized by host MCU unit, the specific implementation process is as follows:
1) it is logical to contain all data uplinks of host for WiFi communication unit, ethernet communication unit, cellular communication unit
Road (channel that host sends data to monitor supervision platform), temperature-humidity monitoring unit, On-off signal unit, analog acquisition list
Member, control amount output unit, differential bus unit, radio frequency communications unit contain all data downstream channel (hosts of host
Send data to the channel of terminal).
2) when MCU unit receives transparent protocol data from data feedback channel, host is by MCU unit forwards to corresponding whole
End;
3) MCU unit timing controlled various types terminal carries out data acquisition, when MCU unit is connect by data downstream channel
When receiving terminal data, host is stored and is uploaded to monitor supervision platform by the data that MCU unit acquires terminal.
4) when MCU unit receives the host or terminal program updating protocol that monitor supervision platform issues, host passes through MCU unit
Program file is received with current data uplink channel;And according to program file description information, controls itself and consolidated
Part upgrading or the forwarding of terminal program file.
5) when MCU unit receives the school of monitor supervision platform when agreement, MCU unit obtains from real time clock unit current first
Time compares protocol time and local zone time, and updates local zone time;Then row of channels is sent and end MCU unit separately down
The agreement when school at end.
Data uplink interface control module passes through MCU unit, Ethernet converting unit, cellular communication unit, WiFi communication
Unit realizes that main implementation is as follows:
1) host can provide 5 kinds of data uplinks by Ethernet converting unit, cellular communication unit, WiFi communication unit
Mode: GPRS mode (cellular communication unit), short message mode (cellular communication unit), 3G/4G networking mode (cellular communication list
Member), ether net mode (Ethernet converting unit), WiFi networking mode (WiFi communication unit).
2) when MCU unit receives the GPRS mode configuration order that monitor supervision platform issues, host is by MCU unit to honeycomb
Communication unit is powered on and initialized, runs control and condition monitoring.
3) when MCU unit receives the short message mode configuration order that monitor supervision platform issues, host is by MCU unit to honeycomb
Communication unit is powered on and initialized, runs control and condition monitoring.
4) when MCU unit receives the 3G/4G networking mode configuration order that monitor supervision platform issues, host passes through MCU unit
Cellular communication unit is powered on and initialized, runs control and condition monitoring.
5) when MCU unit receives the ether net mode configuration order that monitor supervision platform issues, host is by MCU unit to bee
Nest communication unit is powered on and initialized, runs control and condition monitoring.
6) when MCU unit receives the WiFi networking mode configuration order that monitor supervision platform issues, host passes through MCU unit pair
Cellular communication unit is powered on and initialized, runs control and condition monitoring.
Data downstream interface module passes through MCU unit, differential bus unit, radio frequency communications unit, On-off signal list
Member, analog acquisition unit, control amount output unit are realized.Main implementation is as follows:
1) differential bus unit, radio frequency communications unit, On-off signal unit, analog acquisition unit, control amount output
Unit respectively corresponds host logic port 1-5.
2) after MCU unit receives the 1 terminal incoming order of port that monitor supervision platform issues, host is controlled by MCU unit
Whether differential bus unit scan has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, reports
Monitor supervision platform;If accessed without terminal, monitor supervision platform is reported.
3) after MCU unit receives the 2 terminal incoming order of port that monitor supervision platform issues, host is controlled by MCU unit
Whether radio frequency communications unit scanning has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, reports
Monitor supervision platform;If accessed without terminal, monitor supervision platform is reported.
4) after MCU unit receives the 3 terminal incoming order of port that monitor supervision platform issues, host is controlled by MCU unit
Whether On-off signal unit scan has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, on
Report monitor supervision platform;If accessed without terminal, monitor supervision platform is reported.
5) after MCU unit receives the 4 terminal incoming order of port that monitor supervision platform issues, host is controlled by MCU unit
Whether analog acquisition unit scan has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, on
Report monitor supervision platform;If accessed without terminal, monitor supervision platform is reported.
6) after MCU unit receives the 5 terminal incoming order of port that monitor supervision platform issues, host is controlled by MCU unit
Control amount output unit carries out opening and closing operation, and correlation engineering technical staff measures the lower terminal mounted in port 5,
Judge whether control amount output is normal.
Host field adjustable interface module is realized by MCU unit, WiFi communication unit, On-off signal unit, main
Host is debugged and is controlled for the ease of engineering staff scene, main implementation is as follows:
1) when On-off signal unit detects that odd-times external trigger inputs, host controls WiFi by MCU unit and leads to
Letter unit is powered on and is initialized, and is operated normally.
2) when On-off signal unit detects that even-times external trigger inputs, host controls WiFi by MCU unit and leads to
Believe unit power-off.
3) WiFi communication unit exists in WiFi local area network as AP, when mobile phone etc. has the STA equipment of WiFi function
When accessing AP, WiFi communication unit is reported to MCU unit.When WiFi communication unit receives the data of STA equipment transmission,
WiFi communication unit can completely be transmitted to MCU unit.
4) when WiFi communication unit receives the data of MCU unit transmission, WiFi communication unit can be forwarded the data to
Each STA equipment connected.
Field adjustable refers to: by the intelligent WiFis equipment such as mobile phone, host WiFi network connected, and passes through WiFi network,
Send debug command (temperature data that host is detected as transfer mechanism, as terminal can be read in temp measuring system, the control of terminal
Terminal positioning indicator light such as lights at the operation), or read the main machine status information (parameters such as voltage, hosted environment temperature;Host name
The attributes such as title, number, installation site), or big file (mainframe program file, terminal program file) is transmitted to host, it carries out
The upgrading of the program of host or terminal.
Data Storage realizes that main implementation is as follows by data storage cell, MCU unit:
1) when host receives the data of terminal transmission, host controls data storage cell to receiving by MCU unit
Data stored.
2) when host receives the host configuration information of monitor supervision platform transmission, host deposits data by MCU unit
Storage.
3) when electricity operation on host, host passes through the configuration information in MCU unit reads data storage unit.
Safety management module mainly realizes that main implementation is as follows by sha-1 encryption unit and MCU unit:
1) MCU unit saves the code key of eight byte lengths, and eight bytes are written by tooling in sha-1 encryption unit
The key of length.
2) after host powers on, MCU unit sends control command and gives sha-1 encryption unit, reads sha-1 encryption unit
MAC Address, factory information.And the random number for sending 8 byte length of a column gives sha-1 encryption unit.
3) MAC Address of the sha-1 encryption unit that MCU unit will acquire in order, factory information, 8 byte lengths
Random number, 8 byte lengths key merge into an one-dimension array, and carry out sha-1 abstract processing to it, finally obtain 20
The digest value of byte length.
4) Sha-1 encryption unit ibid carries out the processing of sha-1 abstract, obtains the digest value of 20 byte lengths.And it sends
Give MCU unit.
5) whether identical MCU unit compares two digest value.If identical, otherwise normal program operation continues
Above-mentioned steps, until certification passes through.
Time synchronization, multiplex roles compatibility, the real-time self-test of state, modularized design, general-purpose scheduler stream may be implemented in the present invention
Journey, multi-level storage machine system configure multiple-working mode, strong adaptability function.
Time synchronization refers to that this host when logging in, can actively be calibrated with front end machine, and timing is with front end machine and respectively
The terminal of a port is calibrated.Time in guarantee data packet is in error range.
Multiplex roles are compatible, are that the design of this host is reserved with multiple uplink and downlink interface, can facilitate choosing depending on the site environment
Select uplink and downlink mode.The messaging parameter of each interface all has certain adaptivity, such as communication baud rate simultaneously.
The real-time self-test of state refers to that this host carries out self-test to self-operating state in real time, and extremely short after capable of occurring extremely
Alert event is generated in time, ensure that the safety of system.
Modularized design refers to that engine control system uses modeled programming thought completely, to different function or
Functional module carries out modularized encapsulation, improves the compatibility of host.
General-purpose scheduler process refers to that host carries out unified management and running to the data of each interface: to downstream interface into
Row timing inspection and state reporting are classified and are forwarded according to given protocol to the data of upstream Interface;It ensure that host
Compatibility.
Multi-level storage machine system, refer to that carrying out host to the data of each interface is locally stored, and does not consider that these data exist
Whether terminal is stored, when certain level one data is lost, can give data for change from multistage storage, improve Information Security.
Configurable multiple-working mode refers to that host supports two kinds of working methods of commissioning mode and normal mode, it is convenient into
Row debugging.
Strong adaptability refers to that host can be combined by certain configuration, uses under a variety of varying environments, improve host
Versatility.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention
The limitation enclosed, those skilled in the art should understand that, based on the technical solutions of the present invention, those skilled in the art are not
Need to make the creative labor the various modifications or changes that can be made still within protection scope of the present invention.
Claims (7)
1. using a kind of control method of the control system comprising multiplex roles host based on modularized design, control system includes
MCU unit, the MCU unit respectively with the Power Management Unit of modularized design, real time clock unit, data storage cell,
On-off signal unit, analog acquisition unit, control amount output unit, differential bus unit, radio frequency communications unit, WiFi are logical
Believe unit, ethernet communication unit, cellular communication unit, sha-1 encryption unit and the connection of temperature-humidity monitoring unit;
The MCU unit passes through radio frequency communications unit, WiFi communication unit, ethernet communication unit or cellular communication unit and prison
Control platform and terminal are communicated;The MCU unit is led to by WIFI interface commissioning device and the monitor supervision platform simultaneously
Letter;
It is characterized in that control method includes:
Power Management Unit is monitored the supply voltage of the host, guarantees the normal working voltage of host;
Temperature-humidity monitoring unit, On-off signal unit, radio frequency communications unit, WiFi communication unit, ethernet communication unit and
Cellular communication unit is by completing status monitoring and pattern configurations management to host with the work of MCU unit matching;
WiFi communication unit, ethernet communication unit and cellular communication unit contain all data uplink channels of host, will
Host sends data to monitor supervision platform;Temperature-humidity monitoring unit, On-off signal unit, analog acquisition unit, control amount are defeated
Unit, differential bus unit and radio frequency communications unit contain all data downstream channels of host out, and host is sent data
To terminal;
The field adjustable of host is carried out by WiFi communication unit, On-off signal unit and MCU unit;
Sha-1 encryption unit and the work of MCU unit matching carry out safety management certification;
Carry out safety management certification method include:
MCU unit saves the code key of eight byte lengths, and eight byte lengths are written by tooling in sha-1 encryption unit
Key;
After host powers on, MCU unit sends control command and gives sha-1 encryption unit, read sha-1 encryption unit MAC Address,
Factory information;And the random number for sending 8 byte length of a column gives sha-1 encryption unit;
The MAC Address of the sha-1 encryption unit that MCU unit will acquire in order, factory information, the random number of 8 byte lengths,
The key of 8 byte lengths merges into an one-dimension array, and sha-1 abstract processing is carried out to it, finally obtains 20 byte longs
The digest value of degree;
Sha-1 encryption unit ibid carries out the processing of sha-1 abstract, obtains the digest value of 20 byte lengths;And it is mono- to be sent to MCU
Member;
Whether MCU unit compares two digest value identical;If identical, otherwise normal program operation continues above-mentioned step
Suddenly, until certification passes through.
2. control method as described in claim 1, characterized in that
The every 100ms of Power Management Unit carries out ADC sampling to host each section supply voltage, and sends result to MCU
Unit;
MCU unit controls host and carries out power supply main standby switching or power-off according to ADC sampled result and default safe voltage range;
MCU unit carries out active-standby switch, energization or power operation to Power Management Unit according to the control command of monitor supervision platform;
Each section supply voltage of the host has: main power source 48V, spare main power source 27V, 12V, 5V and 3.3V;When above 5 kinds
When voltage class is more than default secure threshold, then partial power cutting is controlled by MCU unit, and generate abnormity of power supply thing
Part reports monitor supervision platform;
When main power source 48V is lower than spare main power source 27V, main power source is carried out by active-standby switch, cutting 48V electricity by MCU unit
Source, while using 27V power supply power supply;When 48V voltage class is greater than spare main power source, MCU unit switches host main power source
For 48V power supply.
3. control method as described in claim 1, characterized in that
Temperature-humidity monitoring unit is acquired and digitizes to the temperature and humidity of hosted environment, and sends result to MCU unit;
On-off signal unit connects the trigger button and door magnetism device of mainframe box, and switch amount is acquired, and result is sent out
Give MCU unit;
Radio frequency communications unit, WiFi communication unit, ethernet communication unit, cellular communication unit respectively carry out location mode amount
Record in real time, and it is periodically sent to MCU unit;
MCU unit transmits temperature and humidity information, switching value information and location mode amount to monitor supervision platform, monitor supervision platform into
Row is shown and alarm;
MCU unit receives the host operational mode configuration information that monitor supervision platform issues, and controls host into corresponding operational mode;
Operational mode includes normal operation mode and commissioning mode:
Under normal operation mode, MCU unit control selections WiFi communication unit, ethernet communication unit, in cellular communication unit
One, as data uplink channel;
Under commissioning mode, MCU unit supports WiFi communication unit, ethernet communication unit, institute transmitted by cellular communication unit
There are protocol data and test data.
4. control method as described in claim 1, characterized in that
When MCU unit receives transparent protocol data from data feedback channel, host is by MCU unit forwards to counterpart terminal;
MCU unit timing controlled terminal carries out data acquisition, when MCU unit passes through data downstream channel reception to terminal data
When, host is stored and is uploaded to monitor supervision platform by the data that MCU unit acquires terminal;
When MCU unit receives the host that monitor supervision platform issues or terminal program updating protocol, host is by MCU unit and currently
Data uplink channel program file is received;And according to program file description information, controls itself and carry out firmware upgrade
Or the forwarding of terminal program file;
When MCU unit receives the school of monitor supervision platform when agreement, MCU unit obtains current time from real time clock unit first,
Compare protocol time and local zone time, and updates local zone time;Then row of channels sends the school with terminal to MCU unit separately down
Shi Xieyi.
5. control method as described in claim 1, characterized in that when carrying out the field adjustable of host,
When On-off signal unit detects that odd-times external trigger inputs, host controls WiFi communication unit by MCU unit
It is powered on and is initialized, and operated normally;
When On-off signal unit detects that even-times external trigger inputs, host controls WiFi communication unit by MCU unit
Power-off;
WiFi communication unit exists in WiFi local area network as AP, and when the STA equipment with WiFi function accesses AP, WiFi is logical
Letter unit is reported to MCU unit;When WiFi communication unit receives the data of STA equipment transmission, WiFi communication unit is complete
Be transmitted to MCU unit;
When WiFi communication unit receives the data of MCU unit transmission, WiFi communication unit can forward the data to each
The STA equipment connected.
6. control method as described in claim 1, characterized in that further include:
Differential bus unit, radio frequency communications unit, On-off signal unit, analog acquisition unit, control amount output unit point
Other corresponding host logic port 1-5:
After MCU unit receives the 1 terminal incoming order of port that monitor supervision platform issues, host is total by MCU unit control difference
Whether line unit scan has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, and reports monitoring flat
Platform;If accessed without terminal, monitor supervision platform is reported;
After MCU unit receives the 2 terminal incoming order of port that monitor supervision platform issues, host controls radio frequency by MCU unit and leads to
Whether letter unit scan has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, and reports monitoring flat
Platform;If accessed without terminal, monitor supervision platform is reported;
After MCU unit receives the 3 terminal incoming order of port that monitor supervision platform issues, host passes through MCU unit control switch amount
Whether input unit scanning has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, reports monitoring
Platform;If accessed without terminal, monitor supervision platform is reported;
After MCU unit receives the 4 terminal incoming order of port that monitor supervision platform issues, host controls analog quantity by MCU unit
Whether acquisition unit scanning has terminal access, if there is terminal accesses, then obtains terminal attributive information, and store, reports monitoring
Platform;If accessed without terminal, monitor supervision platform is reported;
After MCU unit receives the 5 terminal incoming order of port that monitor supervision platform issues, host controls control amount by MCU unit
Output unit carries out opening and closing operation, and correlation engineering technical staff measures the lower terminal mounted in port 5, judges to control
Whether amount output processed is normal.
7. control method as described in claim 1, characterized in that the MCU unit, temperature-humidity monitoring unit, switching value are defeated
Enter unit, radio frequency communications unit, WiFi communication unit, ethernet communication unit and cellular communication unit composition Host Status monitoring
And pattern configurations management module;
The MCU unit, ethernet communication unit, cellular communication unit and the control of WiFi communication unit composition data upstream Interface
Module;
The MCU unit, differential bus unit, radio frequency communications unit, On-off signal unit, analog acquisition unit and control
Measure output unit composition data downstream interface module;
The MCU unit, WiFi communication unit and On-off signal unit form host field adjustable interface module.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610928615.XA CN106406179B (en) | 2016-10-31 | 2016-10-31 | The multiplex roles host of modularized design, control system and method including the host |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610928615.XA CN106406179B (en) | 2016-10-31 | 2016-10-31 | The multiplex roles host of modularized design, control system and method including the host |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106406179A CN106406179A (en) | 2017-02-15 |
CN106406179B true CN106406179B (en) | 2019-02-15 |
Family
ID=58012516
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610928615.XA Active CN106406179B (en) | 2016-10-31 | 2016-10-31 | The multiplex roles host of modularized design, control system and method including the host |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106406179B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107580362A (en) * | 2017-08-25 | 2018-01-12 | 东南大学 | A kind of low-power consumption remote wireless transmission system |
CN107703806A (en) * | 2017-10-16 | 2018-02-16 | 南京中高知识产权股份有限公司 | The intelligent industrial-control machine and preparation technology of a kind of compatible communication of multiplex roles |
CN108153205A (en) * | 2018-02-07 | 2018-06-12 | 沈磊 | Wireless switch controller based on Lora technologies |
CN108462583B (en) * | 2018-06-21 | 2023-07-21 | 浙江利欧环境科技有限公司 | Communication device |
CN111064929A (en) * | 2019-12-16 | 2020-04-24 | 佛山科学技术学院 | Video data acquisition system based on LoRa wireless transmission |
CN111432387B (en) * | 2020-03-31 | 2024-01-23 | 河北世纪恒兴电子技术有限公司 | Many-to-many switching module, multi-machine wireless communication system and communication method thereof |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604867A (en) * | 2009-05-27 | 2009-12-16 | 钜泉光电科技(上海)有限公司 | The changing method of a kind of main power source and back-up source and commutation circuit |
WO2012027877A1 (en) * | 2010-08-30 | 2012-03-08 | Nokia Corporation | Method and apparatus for conducting a search based on context |
CN103123485A (en) * | 2012-12-26 | 2013-05-29 | 上海迪爱斯通信设备有限公司 | Intelligent data acquisition and control terminal and Internet of Things system with same |
CN103338226A (en) * | 2013-05-27 | 2013-10-02 | 上海华兴数字科技有限公司 | Engineering machinery software remote debugging and updating system and method |
CN103529793A (en) * | 2013-10-18 | 2014-01-22 | 中山司南物联网科技有限公司 | Control system and control method for Internet of things based on STA (Station) mode and AP (Access Point) mode of WIFI (Wireless Fidelity) |
WO2014028656A2 (en) * | 2012-08-17 | 2014-02-20 | Illinois Tool Works Inc. | Wireless communication network for control of industrial equipment in harsh environments |
CN103686674A (en) * | 2013-09-30 | 2014-03-26 | 深圳市通力科技开发有限公司 | Network access method, intelligent terminal and WiFi access equipment |
CN104183226A (en) * | 2014-09-10 | 2014-12-03 | 天地科技股份有限公司 | Mining intrinsic safety type micro-power-consumption wireless and wired communication self-powered multifunctional display terminal |
CN104469981A (en) * | 2014-11-21 | 2015-03-25 | 广东瑞德智能科技股份有限公司 | Method and system for connecting intelligent household appliance into router |
CN104936312A (en) * | 2015-06-18 | 2015-09-23 | 山东建筑大学 | Internet of things intelligent node with functions of data preprocessing and equipment management, and method thereof |
CN205071321U (en) * | 2015-09-17 | 2016-03-02 | 北京阳光天成信息技术有限公司 | GPRS wireless communication time service terminal |
CN105871052A (en) * | 2016-04-27 | 2016-08-17 | 乐视控股(北京)有限公司 | Power supply switching method and apparatus |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7379791B2 (en) * | 2004-08-03 | 2008-05-27 | Uscl Corporation | Integrated metrology systems and information and control apparatus for interaction with integrated metrology systems |
-
2016
- 2016-10-31 CN CN201610928615.XA patent/CN106406179B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101604867A (en) * | 2009-05-27 | 2009-12-16 | 钜泉光电科技(上海)有限公司 | The changing method of a kind of main power source and back-up source and commutation circuit |
WO2012027877A1 (en) * | 2010-08-30 | 2012-03-08 | Nokia Corporation | Method and apparatus for conducting a search based on context |
WO2014028656A2 (en) * | 2012-08-17 | 2014-02-20 | Illinois Tool Works Inc. | Wireless communication network for control of industrial equipment in harsh environments |
CN103123485A (en) * | 2012-12-26 | 2013-05-29 | 上海迪爱斯通信设备有限公司 | Intelligent data acquisition and control terminal and Internet of Things system with same |
CN103338226A (en) * | 2013-05-27 | 2013-10-02 | 上海华兴数字科技有限公司 | Engineering machinery software remote debugging and updating system and method |
CN103686674A (en) * | 2013-09-30 | 2014-03-26 | 深圳市通力科技开发有限公司 | Network access method, intelligent terminal and WiFi access equipment |
CN103529793A (en) * | 2013-10-18 | 2014-01-22 | 中山司南物联网科技有限公司 | Control system and control method for Internet of things based on STA (Station) mode and AP (Access Point) mode of WIFI (Wireless Fidelity) |
CN104183226A (en) * | 2014-09-10 | 2014-12-03 | 天地科技股份有限公司 | Mining intrinsic safety type micro-power-consumption wireless and wired communication self-powered multifunctional display terminal |
CN104469981A (en) * | 2014-11-21 | 2015-03-25 | 广东瑞德智能科技股份有限公司 | Method and system for connecting intelligent household appliance into router |
CN104936312A (en) * | 2015-06-18 | 2015-09-23 | 山东建筑大学 | Internet of things intelligent node with functions of data preprocessing and equipment management, and method thereof |
CN205071321U (en) * | 2015-09-17 | 2016-03-02 | 北京阳光天成信息技术有限公司 | GPRS wireless communication time service terminal |
CN105871052A (en) * | 2016-04-27 | 2016-08-17 | 乐视控股(北京)有限公司 | Power supply switching method and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN106406179A (en) | 2017-02-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106406179B (en) | The multiplex roles host of modularized design, control system and method including the host | |
CN100517406C (en) | Wireless fire fighting detector network based on ZigBee and control method | |
CN206948382U (en) | It is a kind of based on the wireless equipment remote monitoring management systems with Internet technology of LORA | |
CN103402217B (en) | Antenna for base station parameter processing system | |
CN202472364U (en) | Zigbee wireless machine room environment monitoring device | |
CN101656014A (en) | Laboratory environment and equipment wireless monitoring and alarming system | |
CN104504598A (en) | U home smart community business management system | |
CN110740546A (en) | night illumination sensing system based on intelligent Internet of things | |
CN104571055A (en) | Intelligent home monitoring system based on internet of things | |
CN204631597U (en) | A kind of air conditioner intelligent networked control systems | |
CN204557187U (en) | A kind of IP network environmental monitoring system | |
CN203455652U (en) | Intelligent household appliance control system | |
CN101335670A (en) | Wireless sensor network warehouse monitoring system and method on basis of ZigBee | |
CN104332042A (en) | Arduino-based wireless sensor network island parameter monitoring system | |
CN110045629A (en) | A kind of intelligent security guard house control system | |
CN110648437A (en) | Entrance guard management system based on LoRa thing networking | |
CN205681449U (en) | A kind of industrial intelligent gateway | |
CN202583853U (en) | Power source and environment monitoring system of machine room of expressway toll station | |
CN201681475U (en) | Smart monitor and alarm system based on wireless local area network | |
CN102707688A (en) | Cloud-based grain monitoring system and grain monitoring method | |
CN101771206A (en) | Intelligent management system for monitoring grounding wire | |
CN202721501U (en) | Distribution power automation terminal | |
CN202014263U (en) | Centralized monitoring system for power and environmental equipment of communication base station | |
CN110113438A (en) | A kind of heavy construction environmental monitoring system based on LoRa | |
CN212258984U (en) | Gateway device of Internet of things |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 250101 A203, block F, entrepreneurship square, Qilu Software Park, No.1 Shunhua Road, high tech Development Zone, Jinan City, Shandong Province Patentee after: Conway Communication Technology Co., Ltd Address before: 250101 Qilu Software Park, No. 1 Shunhua Road, Jinan High-tech Development Zone, Shandong Province, A 203 Patentee before: SHANDONG KANGWEI COMMUNICATION TECHNOLOGY Co.,Ltd. |