CN103395420A - Screen door control system based on dual-core control - Google Patents

Screen door control system based on dual-core control Download PDF

Info

Publication number
CN103395420A
CN103395420A CN2013103185429A CN201310318542A CN103395420A CN 103395420 A CN103395420 A CN 103395420A CN 2013103185429 A CN2013103185429 A CN 2013103185429A CN 201310318542 A CN201310318542 A CN 201310318542A CN 103395420 A CN103395420 A CN 103395420A
Authority
CN
China
Prior art keywords
chip
module
motor
dsp
mcu
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.)
Granted
Application number
CN2013103185429A
Other languages
Chinese (zh)
Other versions
CN103395420B (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.)
Ningbo CRRC Times Transducer Technology Co Ltd
Original Assignee
Ningbo CSR Times Transducer Technology Co Ltd
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 Ningbo CSR Times Transducer Technology Co Ltd filed Critical Ningbo CSR Times Transducer Technology Co Ltd
Priority to CN201310318542.9A priority Critical patent/CN103395420B/en
Publication of CN103395420A publication Critical patent/CN103395420A/en
Application granted granted Critical
Publication of CN103395420B publication Critical patent/CN103395420B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power-Operated Mechanisms For Wings (AREA)

Abstract

The invention discloses a screen door control system based on dual-core control. The system comprises a microcontroller, a motor, a transmission mechanism and a door. A master control chip in the microcontroller comprises a MCU (micro control unit) chip and a DSP (digital signal processor) chip. The MCU chip and the DSP chip detect external signals at the same. The DSP chip reports the signals to the MCU chip through a universal serial bus. The MCU chip compares the signals, executes signal actions if the signals are consistent, and pends if the signals are not consistent. A peripheral motor module of the system connects to the motor through a security relay which is controlled by the MCU chip; once anomaly occurs, the MCU chip turns off the security relay; the DSP chip can control a speech module which is added to play speeches. The system has the advantages that dual-core control allows the screen door to operate stably and reliably and the overcurrent protection function and the speech module added allow the system to be more human.

Description

Screen door control system based on double-core control
Technical field
The present invention relates to the screen door control system of platform in track traffic.
Background technology
At present, there is the subway construction project in a lot of cities, the whole nation, and screen door can effectively improve waiting environment as its auxiliary product, improves the safety of subway circulation, also can reduce the metro operation cost simultaneously.The subway shield accelerator control system is typical electro-mechanical system, control system is take microcontroller as core, by the microcontroller drive motor, drive the motion of door body by motor by mechanical transmission mechanism, microcontroller is realized the accurate control of opposite house body by the speed, position and the armature loop current signal that detect motor, Fig. 1 is typical shielded gate control principle drawing.But only have a micro controller system or micro-control unit in present microcontroller, during the master cock shielded gate, operation stability is poor.
Summary of the invention
Technical matters to be solved by this invention is to overcome the above-mentioned deficiency of prior art and a kind of screen door control system of controlling based on double-core is provided, and can stablize, control reliably shielded gate.
the present invention addresses the above problem the technical scheme that adopts: based on the screen door control system of double-core control, comprise microcontroller, motor, transmission device, the door body, the microcontroller drive motor, drive the shielded gate body by motor by transmission device, it is characterized in that: in described microcontroller, main control chip comprises micro-control unit (MCU) chip and digital signal processor (DSP) chip, carry out communication by universal serial bus between MCU chip and dsp chip, MCU chip and dsp chip detect the outside switch gate body command signal that sends simultaneously, the command signal that dsp chip will receive by universal serial bus reports the MCU chip, MCU chip contrast judges whether the signal that external command signal and dsp chip report is consistent, as inconsistent executive command not, as unanimously sending command signal to DSP, after DSP receives command signal, drive motor carries out switch gate.
Described control system also comprises input/output module, memory module, address module, communication module, motor module, power module: input/output module receives outward sign, controls outside output, and input/output module is connected with MCU chip, dsp chip respectively; Memory module storage data, shielded gate operational factor, be connected with dsp chip by synchronous serial Peripheral Interface (SPI) universal serial bus; Address module arranges the address of door control unit (DCU), conveniently with upper computer, communicates by letter, and (IIC) is connected with dsp chip by IC bus; Communication module and host computer monitoring software are carried out communication; Motor module connects dsp chip and motor, and dsp chip is controlled motor by motor module; Power module provides operating voltage for microcontroller.
Described motor module connects motor by safety relay, and safety relay is by the MCU chip controls.
Described motor module comprises two groups of Intelligent Power Module (IPM), wherein one group of IPM is used for drive motor, another group IPM external braking resistor realizes the energy consumption of electrical machinery braking, the motor starting, accelerates and at the uniform velocity the decelerating phase is by the IPM work of resistance braking by the IPM work of drive motor the stage.
Described control system also comprises position transduser, sampling resistor; the position of motor and current signal are by position transduser, sampling resistor input dsp chip; DSP sampling proportion integration differentiation (PID) control algorithm; with position, current signal and given value relatively; if position, current anomaly, will cut off safety relay protection motor by the MCU chip.
Described control system also comprises voice module, and voice module comprises speech play chip, voice power amplifier chips, loud speaker, and voice module is connected with DSP by the SPI universal serial bus, and voice content is deposited in memory module, and DSP can control voice module and play voice.
Compared with prior art, the invention has the advantages that: 1, adopt double-core---MCU chip and dsp chip control, MCU chip and dsp chip detect external command signal simultaneously, the command signal that dsp chip will receive by universal serial bus reports the MCU chip, the MCU chip compares signal, unanimously carry out corresponding command action, otherwise be failure to actuate, increased stability and the reliability of motor operation; 2, motor module connects motor by safety relay, MCU chip controls safety relay, the turned position of motor, current signal are transferred to dsp chip by position transduser, sampling resistor, in case the program in dsp chip occurs abnormal, perhaps Motor Over Speed rotation or electric current are excessive, cut off safety relay, quit work at once, prevent unexpected the generation, increased safety; 3, control system increases voice module, and voice content is deposited in memory module, and DSP can control voice module and play voice, like this, when the master cock shielded gate, can be by voice suggestion passenger, hommization more.
Description of drawings
Fig. 1 is the screen door control system schematic diagram.
Fig. 2 is control principle drawing of the present invention.
Fig. 3 is the annexation figure of dsp chip and motor in the present invention.
The specific embodiment
The present invention is further described below in conjunction with accompanying drawing, embodiment.
Embodiment, screen door control system as shown in Figure 2 and Figure 3.
In microcontroller, main control chip comprises micro-control unit (MCU) chip and digital signal processor (DSP) chip, and the peripheral module of control system comprises input/output module, memory module, address module, communication module, motor module, power module.
Input/output module receives outward sign, controls outside output, and input/output module is connected with MCU chip, dsp chip respectively; Memory module storage data, shielded gate operational factor, be connected with dsp chip by synchronous serial Peripheral Interface (SPI) universal serial bus; Address module arranges the address of door control unit (DCU), conveniently with upper computer, communicates by letter, and (IIC) is connected with dsp chip by IC bus; Communication module and host computer monitoring software are carried out communication; Motor module connects dsp chip and motor, and dsp chip is controlled motor by motor module; Power module provides operating voltage for microcontroller.
The MCU chip can be selected the PIC18F14K22 micro controller system, this chip maximum running frequency is 64MHZ, operating voltage is 1.8V-3.6V, there are 17 I/O pins and 1 pin that only is used for input, 4 timer module, enhancement mode seizure/comparison/PWM module in peripheral hardware resource aspect, main synchronous serial interface, support 3 line SPI and IIC, enhanced general synchronous/asynchronous transmitter-receiver (UART), support RS232, RS485 and LIN2.0.
Dsp chip can be selected the TMS320F28335 chip, and this chip maximum running frequency is 150MHZ, and core operational voltage is 1.9V, I/O mouth operating voltage is 3.3V, the inside FLASH of 256K and the SARAM of 34K is arranged, the peripheral hardware aboundresources, 64 I/O functional pins are arranged, maximum 18 road PWM outputs, 6 tunnel events catch the ECAP input, the timer of 3 32,2 road CAN, 3 road SCI(UART), 2 road McBSP, 1 road SPI, the AD sampling channel on 1 12, IIC,16 road, road;
MCU and DSP carry out communication by the UART universal serial bus, MCU chip and dsp chip detect the switch gate body command signal that outside upper computer sends simultaneously, the command signal that dsp chip will receive by universal serial bus reports the MCU chip, MCU chip contrast judges whether the signal that external command signal and dsp chip report is consistent, as inconsistent executive command not, as unanimously sending command signal to DSP, after DSP receives command signal, rotate by the motor module drive motor, the door body that is driven shielded gate by transmission device carries out the switch gate action.
In order to protect motor, be connected with safety relay between motor module and motor, safety relay is by the MCU chip controls, in case unusual condition occurs, the MCU chip cuts off safety relay.Adopt software, hardware dual mode protection motor.
Protected mode on hardware: motor module comprises two groups of Intelligent Power Module (IPM), and IPM not only integrates device for power switching and driving circuit.And, with over voltage, excess current and the trouble detect circuit such as overheated, detection signal can be delivered to dsp chip.Wherein one group of IPM is used for drive motor; the external braking resistor of another group IPM realizes the energy consumption of electrical machinery braking; two groups of IPM repel each other; can only have one group of IPM in running order: motor is started to walk, is accelerated and at the uniform velocity the stage can only be by the IPM work of drive motor; decelerating phase can only be by the IPM work of resistance braking; in case the DSP program exception, MCU can also cut off safety relay protection motor.
Protected mode on software: setting position sensor, sampling resistor in control system; position transduser and sampling resistor all are connected with dsp chip with motor; the position of motor and current signal are by position transduser, sampling resistor input dsp chip; DSP adoption rate integral differential (PID) control algorithm; with position, current signal and given value relatively; if position, current anomaly, will cut off safety relay protection motor by the MCU chip.
For increasing hommization and practicality, control system has also increased language module, and language module is controlled by dsp chip, and both are connected by spi bus.The voice hardware module comprises that voice content FLASH, speech play chip, voice power amplifier chips and loud speaker form, and voice FLASH chip, select AT25DF641, and this chip has the internal memory of 8Mbytesd, supports spi bus; Speech play chip ML22420, support spi bus, and the voice power amplifier chips is selected TPA3113D2.At first the voice content that will play by dsp chip is write in the voice content storage chip, then by dsp chip, to the voice core, sends play command, and the speech play chip reads voice content by spi bus, through power amplifier chips, amplifies, and by loud speaker, is play.

Claims (6)

1. the screen door control system of controlling based on double-core, comprise microcontroller, motor, transmission device, the door body, the microcontroller drive motor, drive the shielded gate body by motor by transmission device, it is characterized in that: in described microcontroller, main control chip comprises micro-control unit (MCU) chip and digital signal processor (DSP) chip, carry out communication by universal serial bus between MCU chip and dsp chip, MCU chip and dsp chip detect the outside switch gate body command signal that sends simultaneously, the command signal that dsp chip will receive by universal serial bus reports the MCU chip, MCU chip contrast judges whether the signal that external command signal and dsp chip report is consistent, as inconsistent executive command not, as unanimously sending command signal to DSP, after DSP receives command signal, drive motor carries out switch gate.
2. the screen door control system of controlling based on double-core according to claim 1, it is characterized in that: described control system also comprises input/output module, memory module, address module, communication module, motor module, power module:
Input/output module receives outward sign, controls outside output, and input/output module is connected with MCU chip, dsp chip respectively;
Memory module storage data, shielded gate operational factor, be connected with dsp chip by synchronous serial Peripheral Interface (SPI) universal serial bus;
Address module arranges the address of door control unit (DCU), conveniently with upper computer, communicates by letter, and (IIC) is connected with dsp chip by IC bus;
Communication module and host computer monitoring software are carried out communication;
Motor module connects dsp chip and motor, and dsp chip is controlled motor by motor module;
Power module provides operating voltage for microcontroller.
3. the screen door control system of controlling based on double-core according to claim 2, it is characterized in that: described motor module connects motor by safety relay, and safety relay is by the MCU chip controls.
4. according to claim 2 or 3 described screen door control systems of controlling based on double-core, it is characterized in that: described motor module comprises two groups of Intelligent Power Module (IPM), wherein one group of IPM is used for drive motor, the external braking resistor of another group IPM realizes the energy consumption of electrical machinery braking, motor starting, accelerate and at the uniform velocity the decelerating phase is by the IPM work of resistance braking by the IPM work of drive motor the stage.
5. the screen door control system of controlling based on double-core according to claim 3; it is characterized in that: described control system also comprises position transduser, sampling resistor; the position of motor and current signal are by position transduser, sampling resistor input dsp chip; DSP sampling proportion integration differentiation (PID) control algorithm; with position, current signal and given value relatively; if position, current anomaly, will cut off safety relay protection motor by the MCU chip.
6. the described screen door control system of controlling based on double-core of 2,3 or 5 any one according to claim 1,, it is characterized in that: described control system also comprises voice module, voice module comprises speech play chip, voice power amplifier chips, loud speaker, voice module is connected with DSP by the SPI universal serial bus, voice content is deposited in memory module, and DSP can control voice module and play voice.
CN201310318542.9A 2013-07-26 2013-07-26 The screen door control system controlled based on double-core Active CN103395420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310318542.9A CN103395420B (en) 2013-07-26 2013-07-26 The screen door control system controlled based on double-core

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310318542.9A CN103395420B (en) 2013-07-26 2013-07-26 The screen door control system controlled based on double-core

Publications (2)

Publication Number Publication Date
CN103395420A true CN103395420A (en) 2013-11-20
CN103395420B CN103395420B (en) 2016-08-17

Family

ID=49559226

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310318542.9A Active CN103395420B (en) 2013-07-26 2013-07-26 The screen door control system controlled based on double-core

Country Status (1)

Country Link
CN (1) CN103395420B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104360185A (en) * 2014-10-30 2015-02-18 惠州市创仕实业有限公司 LCM (liquid crystal module) electric measurement function expansion device
CN104712214A (en) * 2015-01-26 2015-06-17 宁波南车时代传感技术有限公司 Control method for motor driving shield door and provided with position sensor
CN105096516A (en) * 2014-05-23 2015-11-25 株洲南车时代电气股份有限公司 Shield door voice prompt device and method and shield door system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1814485A (en) * 2005-01-31 2006-08-09 上海嘉成轨道交通安全保障***有限公司 Urban rail traffic station platform safety door system
KR20070084905A (en) * 2006-02-22 2007-08-27 김병문 System and method for controlling platform screen door
CN101105096A (en) * 2007-08-23 2008-01-16 上海交通大学 Platform shield door intelligent control system
CN101761284A (en) * 2008-12-22 2010-06-30 重庆川仪自动化股份有限公司 Controller of rail transportation safety door
CN201826672U (en) * 2010-03-23 2011-05-11 杭州安松科技有限公司 Controller system for automatic door
CN102497151A (en) * 2011-12-30 2012-06-13 常州大学 Intelligent reconstruction flexible motor driven controller

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1814485A (en) * 2005-01-31 2006-08-09 上海嘉成轨道交通安全保障***有限公司 Urban rail traffic station platform safety door system
KR20070084905A (en) * 2006-02-22 2007-08-27 김병문 System and method for controlling platform screen door
CN101105096A (en) * 2007-08-23 2008-01-16 上海交通大学 Platform shield door intelligent control system
CN101761284A (en) * 2008-12-22 2010-06-30 重庆川仪自动化股份有限公司 Controller of rail transportation safety door
CN201826672U (en) * 2010-03-23 2011-05-11 杭州安松科技有限公司 Controller system for automatic door
CN102497151A (en) * 2011-12-30 2012-06-13 常州大学 Intelligent reconstruction flexible motor driven controller

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105096516A (en) * 2014-05-23 2015-11-25 株洲南车时代电气股份有限公司 Shield door voice prompt device and method and shield door system
CN105096516B (en) * 2014-05-23 2017-08-25 株洲南车时代电气股份有限公司 Shield door sound prompt device, method and screen door
CN104360185A (en) * 2014-10-30 2015-02-18 惠州市创仕实业有限公司 LCM (liquid crystal module) electric measurement function expansion device
CN104712214A (en) * 2015-01-26 2015-06-17 宁波南车时代传感技术有限公司 Control method for motor driving shield door and provided with position sensor
CN104712214B (en) * 2015-01-26 2017-05-24 宁波中车时代传感技术有限公司 Control method for motor driving shield door and provided with position sensor

Also Published As

Publication number Publication date
CN103395420B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN102419559B (en) Train traction control system
CN103395420A (en) Screen door control system based on dual-core control
CN103015831B (en) Integrated rail transit screen door machine controller
CN105089407B (en) The controlling device for doors of compatible shield door and safety door, system and method
CN103777607A (en) Door operator controller of platform screen door
CN205880566U (en) High voltage isolator intelligence control system of transformer substation
CN201106352Y (en) Automatic door controller
CN114056281B (en) Door unlocking system
CN106080499A (en) A kind of active pretension seat belt controlling system
CN205836760U (en) A kind of active pretension seat belt controlling system
CN103010299B (en) Automobile electric booster steering system
CN206812881U (en) A kind of children in vehicles locks warning device
CN117022159A (en) Power supply switching system, power supply switching method, electronic device, readable storage medium and vehicle
CN204196774U (en) A kind of engine noise analog system
CN202929480U (en) Medical AGV logistic control system
CN202656976U (en) System for controlling overall pure electric automobile
CN105905090B (en) A kind of electric vacuum pump control circuit
CN102642480A (en) Vehicle control system of pure electric vehicle
CN206282107U (en) A kind of meal delivery robot circuit system based on CAN
CN107834925B (en) Alternating current asynchronous motor controller controlled by directional vector
CN205220503U (en) Loudspeaker of can changing voice
CN203452524U (en) Subway door control system based on single-chip microcomputer
CN205662873U (en) Fan door module of intelligence speed governing
CN219143117U (en) Modularized gate traffic performance test based on wireless communication
CN203747704U (en) Motor driving system, sickbed moving system and X-ray machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 315021 Zhejiang Province, Ningbo Jiangbei District Yongjiang Industrial Park No. 138 vibration Yonglu

Applicant after: NINGBO CRRC TIMES SENSING TECHNOLOGY CO., LTD.

Address before: 315021 Zhejiang Province, Ningbo Jiangbei District Yongjiang Industrial Park No. 138 vibration Yonglu

Applicant before: Ningbo CSR Times Transducer Technique Co., Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant