CN105228300A - Universal method for realizing multi-control object synchronous control - Google Patents
Universal method for realizing multi-control object synchronous control Download PDFInfo
- Publication number
- CN105228300A CN105228300A CN201510620560.1A CN201510620560A CN105228300A CN 105228300 A CN105228300 A CN 105228300A CN 201510620560 A CN201510620560 A CN 201510620560A CN 105228300 A CN105228300 A CN 105228300A
- Authority
- CN
- China
- Prior art keywords
- control
- synchronous control
- synchronous
- data frame
- controller
- 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.)
- Pending
Links
- 230000001360 synchronised effect Effects 0.000 title claims abstract description 88
- 238000000034 method Methods 0.000 title claims abstract description 13
- 238000007429 general method Methods 0.000 claims abstract description 13
- 238000004891 communication Methods 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 2
- 238000013461 design Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 1
Landscapes
- Lighting Device Outwards From Vehicle And Optical Signal (AREA)
Abstract
本发明公开了一种实现多控制对象同步控制的通用方法,该方法对多控制对象系统设置N个控制器,包括如下步骤:S1、其中任一控制器根据同步控制精度要求,设置CAN总线的总线速率、同步数据帧报文的优先级和报文发送周期;S2、S1中选择的控制器执行控制逻辑,设置CAN同步控制帧ID,装载同步控制数据帧,并在预设时间内向需要实现同步控制的余下控制器发送同步控制数据帧,同步控制数据帧包括余下控制器地址信号和输出端信号;S3、余下各个控制器接收S2中控制器设置的同步控制数据帧,根据其中的任一控制器地址信号判别该控制器是否执行同步控制。本发明可用于其他类似需要同步控制功能的场合,简单通用,效果良好,通用性强。The present invention discloses a general method for realizing synchronous control of multiple control objects, wherein N controllers are set for a multi-control object system, and the method comprises the following steps: S1, wherein any controller sets the bus rate of the CAN bus, the priority of the synchronous data frame message and the message sending cycle according to the synchronous control accuracy requirement; S2, wherein the controller selected in S1 executes the control logic, sets the CAN synchronous control frame ID, loads the synchronous control data frame, and sends the synchronous control data frame to the remaining controllers that need to realize synchronous control within a preset time, wherein the synchronous control data frame includes the remaining controller address signal and the output terminal signal; S3, wherein each remaining controller receives the synchronous control data frame set by the controller in S2, and determines whether the controller executes synchronous control according to the address signal of any controller therein. The present invention can be used for other similar occasions requiring synchronous control functions, and is simple and universal, has good effects and strong versatility.
Description
技术领域 technical field
本发明涉及控制器同步控制技术领域,尤其涉及一种实现多控制对象同步控制的通用方法。 The invention relates to the technical field of synchronous control of controllers, in particular to a general method for realizing synchronous control of multiple control objects.
背景技术 Background technique
在特种车底盘电气CAN总线控制系统设计中,驾驶员发出左(右)转信号时要求HMI上左(右)转指示灯、前部左(右)转向车灯、中部左(右)转向车灯、后部左(右)转向车灯同步闪烁;驾驶员发出双闪信号时要求HMI上左、右转指示灯,前部左、右转向车灯,中部左、右转向车灯,后部左、右转向车灯同步闪烁。由于特种车底盘电气CAN总线控制系统要求全型号底盘控制系统中各通用控制器软硬件通用,所以实现上述各车灯同步闪烁具有相当难度。 In the design of the electric CAN bus control system of the special vehicle chassis, when the driver sends a left (right) turn signal, the HMI is required to display the left (right) turn indicator light, the front left (right) turn light, and the middle left (right) turn signal. lights and the rear left (right) turn lights flash synchronously; when the driver sends out a double flash signal, the driver requires the HMI to display the left and right turn indicators, the front left and right turn lights, the middle left and right turn lights, and the rear The left and right turn lights flash synchronously. Since the electrical CAN bus control system of the special vehicle chassis requires that the software and hardware of all general controllers in the chassis control system of all models are common, it is quite difficult to realize the synchronous flashing of the above-mentioned vehicle lights.
同时在高层建筑物楼顶的同步闪烁系统也存在同样的问题。 Simultaneously the same problem also exists in the synchronous flashing system on the roof of a high-rise building.
目前还没有实现多控制对象同步工作的通用方法。 Currently there is no general method to realize the synchronous work of multiple control objects.
发明内容 Contents of the invention
基于背景技术存在的技术问题,本发明提出了一种实现多控制对象同步控制的通用方法。 Based on the technical problems existing in the background technology, the present invention proposes a general method for realizing synchronous control of multiple control objects.
本发明提出的一种实现多控制对象同步控制的通用方法,该方法对多控制对象系统设置N个控制器,N≥2,N个控制器采用CAN总线通讯实施同步控制,包括如下步骤: The present invention proposes a general method for realizing synchronous control of multiple control objects. The method sets N controllers for the multi-control object system, N≥2, and the N controllers adopt CAN bus communication to implement synchronous control, including the following steps:
S1、其中任一控制器根据同步控制精度要求,设置CAN总线的总线速率、同步数据帧报文的优先级和报文发送周期; S1. Any one of the controllers sets the bus rate of the CAN bus, the priority of the synchronization data frame message and the message sending cycle according to the synchronization control accuracy requirements;
S2、S1中选择的控制器执行控制逻辑,设置CAN同步控制帧ID,装载同步控制数据帧,并在预设时间内向需要实现同步控制的余下控制器发送同步控制数据帧,同步控制数据帧包括余下控制器地址信号和输出端信号; The controller selected in S2 and S1 executes the control logic, sets the CAN synchronous control frame ID, loads the synchronous control data frame, and sends the synchronous control data frame to the remaining controllers that need to realize synchronous control within the preset time. The synchronous control data frame includes The remaining controller address signals and output signals;
S3、余下各个控制器接收S2中控制器设置的同步控制数据帧,根据其中的任一控制器地址信号判别该控制器是否执行同步控制; S3, each of the remaining controllers receives the synchronous control data frame set by the controller in S2, and judges whether the controller performs synchronous control according to any controller address signal;
S4、余下各个控制器根据S2中控制器装载同步控制数据帧中输出端口信号及其状态实施对控制对象的控制。 S4. The remaining controllers control the control objects according to the output port signals and their states in the synchronous control data frame loaded by the controllers in S2.
优选地,S2中同步控制数据帧具有可变的N-1个控制器数量和输出端口数量。 Preferably, the synchronous control data frame in S2 has a variable number of N-1 controllers and output ports.
优选地,S3中余下控制器设置同步控制和常规控制,同步控制与常规控制兼容,当各余下任一控制器同时收到同步控制报文和常规控制报文时,所述控制端口优先执行同步控制报文。 Preferably, the remaining controllers in S3 are configured with synchronous control and conventional control, and the synchronous control is compatible with the conventional control. When any of the remaining controllers receives the synchronous control message and the conventional control message at the same time, the control port preferentially executes the synchronization control message.
优选地,该方法的多控制对象为车辆底盘左、右转向信号灯和双闪信号灯的同步闪烁系统。 Preferably, the multi-control object of the method is the synchronous flashing system of left and right turn signal lamps and double flashing signal lamps of the vehicle chassis.
优选地,该方法的多控制对象为高层建筑物顶部的同步闪烁系统。 Preferably, the multi-control object of the method is a synchronous flashing system on the top of a high-rise building.
本发明提出的一种实现多控制对象同步控制的通用方法,由于设置了N个控制器,并对其中一个控制器根据同步控制精度要求,设置CAN总线的总线速率、同步数据帧报文的优先级和报文发送周期;很好地实现了车辆底盘左、右转向信号灯和双闪信号灯的同步闪烁控制、高层建筑物顶部的同步闪烁控制,实现了由多控制器控制的多个控制对象同步工作,各控制器无需进行专门设计或参数设置。本发明可用于其他类似需要同步控制功能的场合,简单通用,效果良好,通用性强。 A kind of general method that realizes synchronous control of multi-control object that the present invention proposes, because N controllers are set, and according to the requirement of synchronous control accuracy, the bus rate of CAN bus and the priority of synchronous data frame message are set for one of the controllers. level and message sending cycle; well realize the synchronous flashing control of the left and right turn signals and double flashing lights of the vehicle chassis, the synchronous flashing control of the top of high-rise buildings, and realize the synchronization of multiple control objects controlled by multiple controllers work, each controller does not require special design or parameter setting. The present invention can be used in other similar occasions requiring synchronous control functions, is simple and universal, has good effect and strong universality.
具体实施方式 detailed description
下面结合具体实施例来对本发明作进一步说明。 The present invention will be further described below in conjunction with specific embodiments.
实施例一 Embodiment one
本发明提出的一种实现多控制对象同步控制的通用方法,该方法对多控制对象系统设置N个控制器,N≥2,N个控制器采用CAN总线通讯实施同步控制,该方法的多控制对象为车辆底盘左、右转向信号灯和双闪信号灯的同步闪烁系统。包括如下步骤: A general method for realizing synchronous control of multiple control objects proposed by the present invention, the method sets N controllers for the multi-control object system, N≥2, and N controllers adopt CAN bus communication to implement synchronous control, the multi-control of the method The object is the synchronous flashing system of the left and right turn signal lamps and double flashing signal lamps of the vehicle chassis. Including the following steps:
S1、其中任一控制器根据同步控制精度要求,设置CAN总线的总线速率、同步数据帧报文的优先级和报文发送周期; S1. Any one of the controllers sets the bus rate of the CAN bus, the priority of the synchronization data frame message and the message sending cycle according to the synchronization control accuracy requirements;
S2、S1中选择的控制器执行控制逻辑,设置CAN同步控制帧ID,装载同步控制数据帧,并在预设时间内向需要实现同步控制的余下控制器发送同步控制数据帧,同步控制数据帧包括余下控制器地址信号和输出端信号; The controller selected in S2 and S1 executes the control logic, sets the CAN synchronous control frame ID, loads the synchronous control data frame, and sends the synchronous control data frame to the remaining controllers that need to realize synchronous control within the preset time. The synchronous control data frame includes The remaining controller address signals and output signals;
S3、余下各个控制器接收S2中控制器设置的同步控制数据帧,根据其中的任一控制器地址信号判别该控制器是否执行同步控制; S3, each of the remaining controllers receives the synchronous control data frame set by the controller in S2, and judges whether the controller performs synchronous control according to any controller address signal;
S4、余下各个控制器根据S2中控制器装载同步控制数据帧中输出端口信号及其状态实施对控制对象的控制。 S4. The remaining controllers control the control objects according to the output port signals and their states in the synchronous control data frame loaded by the controllers in S2.
实施例二 Embodiment two
本发明提出的一种实现多控制对象同步控制的通用方法,该方法对多控制对象系统设置N个控制器,N≥2,N个控制器采用CAN总线通讯实施同步控制,该方法的多控制对象为高层建筑物顶部的同步闪烁系统。包括如下步骤: A general method for realizing synchronous control of multiple control objects proposed by the present invention, the method sets N controllers for the multi-control object system, N≥2, and N controllers adopt CAN bus communication to implement synchronous control, the multi-control of the method The object is a synchronized scintillation system on top of a high-rise building. Including the following steps:
S1、其中任一控制器根据同步控制精度要求,设置CAN总线的总线速率、同步数据帧报文的优先级和报文发送周期; S1. Any one of the controllers sets the bus rate of the CAN bus, the priority of the synchronization data frame message and the message sending cycle according to the synchronization control accuracy requirements;
S2、S1中选择的控制器执行控制逻辑,设置CAN同步控制帧ID,装载同步控制数据帧,并在预设时间内向需要实现同步控制的余下控制器发送同步控制数据帧,同步控制数据帧包括余下控制器地址信号和输出端信号; The controller selected in S2 and S1 executes the control logic, sets the CAN synchronous control frame ID, loads the synchronous control data frame, and sends the synchronous control data frame to the remaining controllers that need to realize synchronous control within the preset time. The synchronous control data frame includes The remaining controller address signals and output signals;
S3、余下各个控制器接收S2中控制器设置的同步控制数据帧,根据其中的任一控制器地址信号判别该控制器是否执行同步控制; S3, each of the remaining controllers receives the synchronous control data frame set by the controller in S2, and judges whether the controller performs synchronous control according to any controller address signal;
S4、余下各个控制器根据S2中控制器装载同步控制数据帧中输出端口信号及其状态实施对控制对象的控制。 S4. The remaining controllers control the control objects according to the output port signals and their states in the synchronous control data frame loaded by the controllers in S2.
上述实施例一、实施例二中,S2中同步控制数据帧具有可变的N-1个控制器数量和输出端口数量;S3中余下控制器设置同步控制和常规控制,同步控制与常规控制兼容,当各余下任一控制器同时收到同步控制报文和常规控制报文时,所述控制端口优先执行同步控制报文。 In the first and second embodiments above, the synchronous control data frame in S2 has a variable number of N-1 controllers and the number of output ports; the remaining controllers in S3 are set with synchronous control and conventional control, and the synchronous control is compatible with conventional control , when any of the remaining controllers receives the synchronous control message and the regular control message at the same time, the control port preferentially executes the synchronous control message.
以上所述,仅为本发明较佳的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,根据本发明的技术方案及其发明构思加以等同替换或改变,都应涵盖在本发明的保护范围之内。 The above is only a preferred embodiment of the present invention, but the scope of protection of the present invention is not limited thereto, any person familiar with the technical field within the technical scope disclosed in the present invention, according to the technical solution of the present invention Any equivalent replacement or change of the inventive concepts thereof shall fall within the protection scope of the present invention.
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510620560.1A CN105228300A (en) | 2015-09-27 | 2015-09-27 | Universal method for realizing multi-control object synchronous control |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510620560.1A CN105228300A (en) | 2015-09-27 | 2015-09-27 | Universal method for realizing multi-control object synchronous control |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN105228300A true CN105228300A (en) | 2016-01-06 |
Family
ID=54996894
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510620560.1A Pending CN105228300A (en) | 2015-09-27 | 2015-09-27 | Universal method for realizing multi-control object synchronous control |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105228300A (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110376979A (en) * | 2019-06-14 | 2019-10-25 | 苏州汇川技术有限公司 | Multi_motor control device parallel system, method, equipment and storage medium |
| CN110402003A (en) * | 2019-08-13 | 2019-11-01 | 江苏普天万通科技发展有限公司 | A kind of Intelligent illumination control device and method |
| CN120722816A (en) * | 2025-08-27 | 2025-09-30 | 浙江双元科技股份有限公司 | Industrial synchronous control system and control method thereof |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100091513A1 (en) * | 2008-10-10 | 2010-04-15 | Denso Corporation | Vehicle detection apparatus, vehicle detection program and light control apparatus |
| CN203496761U (en) * | 2013-09-11 | 2014-03-26 | 北京汽车研究总院有限公司 | Turning light control system and automobile |
| CN104216360A (en) * | 2014-08-06 | 2014-12-17 | 北京航天发射技术研究所 | Universal method for synchronously controlling multiple controlled objects |
-
2015
- 2015-09-27 CN CN201510620560.1A patent/CN105228300A/en active Pending
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100091513A1 (en) * | 2008-10-10 | 2010-04-15 | Denso Corporation | Vehicle detection apparatus, vehicle detection program and light control apparatus |
| CN203496761U (en) * | 2013-09-11 | 2014-03-26 | 北京汽车研究总院有限公司 | Turning light control system and automobile |
| CN104216360A (en) * | 2014-08-06 | 2014-12-17 | 北京航天发射技术研究所 | Universal method for synchronously controlling multiple controlled objects |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110376979A (en) * | 2019-06-14 | 2019-10-25 | 苏州汇川技术有限公司 | Multi_motor control device parallel system, method, equipment and storage medium |
| CN110376979B (en) * | 2019-06-14 | 2021-07-27 | 苏州汇川技术有限公司 | Multi-motor controller parallel system, method, device and storage medium |
| CN110402003A (en) * | 2019-08-13 | 2019-11-01 | 江苏普天万通科技发展有限公司 | A kind of Intelligent illumination control device and method |
| CN120722816A (en) * | 2025-08-27 | 2025-09-30 | 浙江双元科技股份有限公司 | Industrial synchronous control system and control method thereof |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN105066324B (en) | Multi-connected air conditioner communication means | |
| CN105228300A (en) | Universal method for realizing multi-control object synchronous control | |
| EP2530600A3 (en) | Memory controllers with dynamic port priority assignment capabilities | |
| WO2017124867A1 (en) | Automobile electrical system and isolation system for automobile electrical system | |
| CN111698139A (en) | RS485 bus multi-host competition switching method | |
| CN104216360B (en) | Realize the universal method of many control object Synchronization Controls | |
| CN104949299B (en) | air conditioning unit and control method thereof | |
| CN102777101B (en) | Intelligent window controlling method based on linear (LIN) bus | |
| CN106201964A (en) | The on-line automatic addressing of RDM driver and RDM bus short circuit positioner and method | |
| CN102331762B (en) | Control method for master station write-in of address codes by RS-485 buses | |
| CN104486559B (en) | Splicing system and its control method of dual master control | |
| CN204613630U (en) | A kind of automatic control system of drilling machine | |
| CN203455671U (en) | Group control fan filtering unit system | |
| CN205318153U (en) | Intermediate handing circuit of RS485 signal bus hang -up | |
| CN203241812U (en) | Configurable switch | |
| TW201306015A (en) | Column drivers with embedded high-speed video interface timing controller | |
| CN204791547U (en) | Novel intelligent transportation signal control system | |
| JPS62105594A (en) | Multiple equipment group control system | |
| CN203149742U (en) | Warning lamp box | |
| CN202351653U (en) | Analog input/output module | |
| CN204172770U (en) | The automobile video frequency monitored control system controlled based on CAN and this heavy-duty vehicle | |
| CN103906312A (en) | RGB toning control device and method based on Zigbee | |
| CN205149632U (en) | Tractor work light controller and control system ; tractor | |
| CN204287930U (en) | A kind of remote failure protective device based on CAN | |
| CN105759691B (en) | A kind of the master-slave swap communication means and system existing by 485 causes for gossip |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160106 |