CN105735167A - Traffic road cone recycling and placing control system and method - Google Patents
Traffic road cone recycling and placing control system and method Download PDFInfo
- Publication number
- CN105735167A CN105735167A CN201610124314.1A CN201610124314A CN105735167A CN 105735167 A CN105735167 A CN 105735167A CN 201610124314 A CN201610124314 A CN 201610124314A CN 105735167 A CN105735167 A CN 105735167A
- Authority
- CN
- China
- Prior art keywords
- controller
- road
- turning arm
- motor
- slide rail
- 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
Links
Landscapes
- Refuge Islands, Traffic Blockers, Or Guard Fence (AREA)
- Road Signs Or Road Markings (AREA)
Abstract
本发明公开了一种交通路锥收放控制系统,包括控制器以及与控制器电连接的驱动装置、检测装置和人机交互装置,其中,驱动装置包括用于驱动存放盘转动的存放盘电机、用于驱动旋转臂直线运动的滑轨电机、用于驱动旋转臂相对于滑轨转动的旋转臂电机,用于吸取路锥的电磁铁以及用于控制翻板旋转以回收路面上路锥的翻板电机;检测装置包括用于检测车速的车速传感器、用于检测存放盘位置的接近开关、用于检测旋转臂旋转角度的旋转编码器、第一限位开关、微动开关、用于检测翻板是否翻转到位的第二限位开关,以及用于检测旋转臂上是否吸取路锥的压力传感器。本发明提出的交通路锥收放控制系统,保证了投放与回收过程的精确性同时还减少了人工操作。
The invention discloses a traffic cone retraction control system, which includes a controller, a drive device electrically connected to the controller, a detection device and a human-computer interaction device, wherein the drive device includes a storage disc motor for driving the storage disc to rotate , the slide rail motor used to drive the linear motion of the rotary arm, the rotary arm motor used to drive the rotary arm to rotate relative to the slide rail, the electromagnet used to absorb the road cones, and the flipper used to control the rotation of the flap to recover the road cones on the road board motor; the detection device includes a vehicle speed sensor for detecting the vehicle speed, a proximity switch for detecting the position of the storage tray, a rotary encoder for detecting the rotation angle of the rotating arm, a first limit switch, a micro switch, and a The second limit switch for whether the plate is overturned in place, and the pressure sensor for detecting whether the road cone is sucked on the rotating arm. The traffic cone retraction control system proposed by the present invention ensures the accuracy of the throwing and recycling process and reduces manual operations at the same time.
Description
技术领域 technical field
本发明涉及路锥投放控制技术领域,尤其涉及一种交通路锥收放控制系统及其收放路锥控制方法。 The invention relates to the technical field of road cone release control, in particular to a traffic cone retraction control system and a road cone retraction control method.
背景技术 Background technique
目前我国道路交通事故死亡人数居世界第一,而且交通事故居高不下,全国道路交通安全形势严峻。2012年,我国道路交通事故致死率为21.10%(其中高速公路交通事故致死率更是高达33.32%),而同期美国为1.45%,日本仅为0.54%。交通事故应急救援不及时,是导致致死率高居不下的重要原因之一。随着车辆的日益增多,由于驾车者对道路事故处置经验不足、事故检测设施缺乏、救援不及时等原因,“二次事故”时有发生,发生地多为高速公路和市内快速道路。由于高速公路是高指标线形的全封闭道路,驾驶员对侧向障碍及前方的突发障碍通常预计不足。当前方有事故而自身车速又偏高时,往往会刹车不及,造成二次事故。在发生重大交通事件后,需要将事件现场进行必要的隔离,一方面可以防止二次事故的发生,降低损失防止事态恶化,保护现场,另一方面可保障正常车辆安全通过事件路段,避免交通堵塞。 At present, the death toll of road traffic accidents in my country ranks first in the world, and traffic accidents remain high. The national road traffic safety situation is severe. In 2012, the fatality rate of road traffic accidents in my country was 21.10% (of which the fatality rate of highway traffic accidents was as high as 33.32%), compared with 1.45% in the United States and 0.54% in Japan during the same period. The untimely emergency rescue of traffic accidents is one of the important reasons leading to the high fatality rate. With the increasing number of vehicles, due to drivers' lack of experience in dealing with road accidents, lack of accident detection facilities, and untimely rescue and other reasons, "secondary accidents" occur from time to time, mostly on expressways and urban expressways. Since the expressway is a fully enclosed road with a high index and linear shape, drivers usually have insufficient expectations for lateral obstacles and sudden obstacles ahead. When there is an accident ahead and the speed of the vehicle is high, the brakes are often insufficient, causing secondary accidents. After a major traffic incident, it is necessary to isolate the scene of the incident. On the one hand, it can prevent the occurrence of secondary accidents, reduce losses, prevent the deterioration of the situation, and protect the scene. On the other hand, it can ensure that normal vehicles can safely pass through the incident road section and avoid traffic jams. .
目前我国国内高速公路大多已进入维修保养期,在高速公路上维修保养作业时,需要对部分路段进行封闭,在维修养护作业时,必须保证作业区行车的安全,因此需要在作业区外摆放交通路锥以引导车辆行驶。交通路锥的放置和回收主要都是由2到3名施工人员站在道路施工车尾部沿着高速公路特定路线进行放置和回收,这种作业方式速度慢、安全系数低、交通路锥码放间隔不统一,而且施工人员直接暴露在高速公路上,十分危险。 At present, most of the expressways in my country have entered the maintenance period. During the maintenance work on the expressway, some road sections need to be closed. During the maintenance work, it is necessary to ensure the safety of driving in the work area, so it needs to be placed outside the work area. Traffic cones to guide vehicles. The placement and recovery of traffic cones are mainly carried out by 2 to 3 construction workers standing at the rear of the road construction vehicle along the specific route of the expressway. It is not uniform, and construction workers are directly exposed to the highway, which is very dangerous.
在最近几年国内已研发出几款交通路锥自动、半自动收放车及若干投放、回收装置等,如上海电控研究所于2012年研发的SY-100型交通路锥自动收放车,但该领域的自动化控制技术目前还没有进入大规模应用阶段。现有相关专利大多数都是机械传动,路锥收放自动化控制系统较少。在面对突发性交通事故时无法做到路锥的快速精确投放。 In recent years, several types of traffic cone automatic and semi-automatic retractable vehicles have been developed in China, as well as a number of throwing and recycling devices, such as the SY-100 traffic cone automatic retractable vehicle developed by Shanghai Electric Control Research Institute in 2012. However, the automation control technology in this field has not yet entered the stage of large-scale application. Most of the existing relevant patents are mechanical transmission, and there are few automatic control systems for retracting and retracting road cones. In the face of sudden traffic accidents, the fast and accurate delivery of road cones cannot be achieved.
发明内容 Contents of the invention
本发明的主要目的在于提供一种交通路锥收放控制系统及其收放路锥控制方法,旨在实现交通路锥的精确自动投放。 The main purpose of the present invention is to provide a control system for retracting and retracting traffic cones and a control method for retracting and retracting traffic cones, aiming at realizing accurate and automatic placement of traffic cones.
为实现上述目的,本发明提供一种交通路锥收放控制系统,包括控制器以及与所述控制器电连接的驱动装置、检测装置和人机交互装置,其中, In order to achieve the above object, the present invention provides a control system for retracting and retracting traffic cones, including a controller, a driving device electrically connected to the controller, a detection device and a human-computer interaction device, wherein,
所述驱动装置包括用于驱动存放路锥的存放盘转动的存放盘电机、用于驱动旋转臂在滑轨上直线运动的滑轨电机、用于驱动旋转臂相对于滑轨转动以吸取路锥的旋转臂电机、用于吸取路锥的电磁铁,以及用于控制翻板旋转以回收路面上路锥的翻板电机,所述存放盘电机、滑轨电机、旋转臂电机、电磁铁和翻板电机均与所述控制器电连接; The driving device includes a storage disc motor for driving the storage disc for storing road cones to rotate, a slide rail motor for driving the rotary arm to move linearly on the slide rail, and a slide rail motor for driving the rotary arm to rotate relative to the slide rail to suck the road cones. The rotary arm motor, the electromagnet used to absorb the road cone, and the flap motor used to control the rotation of the flap to recover the road cone on the road, the storage tray motor, the slide rail motor, the rotary arm motor, the electromagnet and the flap The motors are all electrically connected to the controller;
所述检测装置包括用于检测路锥收放车车速的车速传感器、用于检测存放盘位置的接近开关、用于检测旋转臂旋转角度的旋转编码器、用于检测旋转臂在滑轨上位置的第一限位开关、用于检测路锥是否插入翻板上的微动开关、用于检测翻板是否翻转到位的第二限位开关,以及用于检测旋转臂上是否吸取路锥的压力传感器,所述车速传感器、接近开关、微动开关、第一限位开关、第二限位开关和压力传感器均与所述控制器电连接; The detection device includes a vehicle speed sensor used to detect the speed of the road cone retractable vehicle, a proximity switch used to detect the position of the storage tray, a rotary encoder used to detect the rotation angle of the rotating arm, and a rotary encoder used to detect the position of the rotating arm on the slide rail. The first limit switch, the micro switch used to detect whether the road cone is inserted into the flap, the second limit switch used to detect whether the flap is flipped in place, and the pressure used to detect whether the road cone is sucked on the rotating arm sensor, the vehicle speed sensor, proximity switch, micro switch, first limit switch, second limit switch and pressure sensor are all electrically connected to the controller;
所述人机交互装置用于接收用户的指令后将指令发送至控制器并接收控制器的反馈信号。 The human-computer interaction device is used to receive the user's instruction, send the instruction to the controller and receive the feedback signal of the controller.
优选地,所述人机交互装置设置有触摸屏以供用户在多个功能界面之间切换,所述人机交互装置通过RS232串口与控制器连接。 Preferably, the human-computer interaction device is provided with a touch screen for the user to switch between multiple functional interfaces, and the human-computer interaction device is connected to the controller through the RS232 serial port.
优选地,所述交通路锥收放控制系统还包括与所述控制器连接的电源装置。 Preferably, the traffic cone retraction control system further includes a power supply device connected to the controller.
本发明进一步提出一种基于上述的交通路锥收放控制系统的收放路锥控制方法,包括以下步骤: The present invention further proposes a control method for retracting and retracting road cones based on the above-mentioned traffic cone retracting and retracting control system, comprising the following steps:
当人机交互装置接收到用户发出的投放路锥指令时,控制器控制所有执行机构初始化; When the human-computer interaction device receives the user's instruction to release the road cone, the controller controls all actuators to initialize;
控制器获取车速传感器和压力传感器传送的实时信号; The controller obtains the real-time signals transmitted by the vehicle speed sensor and the pressure sensor;
当控制器获取到压力传感器无信号变化时,控制器发送旋转臂下行指令至滑轨电机,旋转臂沿滑轨下行直至控制器获取到压力传感器有信号变化,控制器控制旋转臂一端的电磁铁得电以吸取路锥; When the controller obtains no signal change from the pressure sensor, the controller sends the rotating arm down command to the slide rail motor, and the rotating arm moves down along the slide rail until the controller obtains a signal change from the pressure sensor, and the controller controls the electromagnet at one end of the rotating arm energized to absorb road cones;
待旋转臂吸取路锥后,控制器发送旋转臂上行指令至滑轨电机使其沿滑轨上行,待旋转臂上行时间达到第一预设时间时,控制器发送转动指令至旋转臂电机使旋转臂旋转,待旋转臂上行时间达到第二预设时间时,控制器同时发送旋转臂下行指令和存放盘转动指令分别至滑轨电机和存放盘电机,旋转臂下行直至控制器获取到第一限位开关的信号,存放盘旋转直至控制器获取到接近开关的信号; After the rotating arm absorbs the road cone, the controller sends the rotating arm up command to the slide rail motor to make it go up along the slide rail, and when the rotating arm’s up time reaches the first preset time, the controller sends a rotation command to the rotating arm motor to rotate The arm rotates, and when the up time of the rotating arm reaches the second preset time, the controller simultaneously sends the down command of the rotating arm and the rotation command of the storage plate to the slide motor and the motor of the storage plate respectively, and the rotating arm goes down until the controller obtains the first limit. The signal of the position switch, the storage disk rotates until the controller obtains the signal of the proximity switch;
当投放车行驶至预设位置时,控制器控制电磁铁失电以投放路锥; When the delivery vehicle travels to the preset position, the controller controls the electromagnet to lose power to release the road cone;
待旋转臂投放路锥后,控制器同时发送旋转臂上行指令和转动指令分别至滑轨电机和旋转臂电机,待旋转臂上行时间达到第三预设时间时,控制器发送旋转臂下行指令直至旋转臂移动至存放盘上路锥的正上方,并继续执行获取车速传感器和压力传感器传送的实时信号的步骤直到接收到停止指令时结束。 After the rotating arm puts the road cone, the controller sends the rotating arm up command and the rotating command to the slide rail motor and the rotating arm motor at the same time, and when the up time of the rotating arm reaches the third preset time, the controller sends the rotating arm down command until The rotating arm moves to directly above the on-road cone of the storage tray, and continues to execute the step of acquiring the real-time signals transmitted by the vehicle speed sensor and the pressure sensor until the stop instruction is received.
优选地,所述交通路锥收放控制系统的收放路锥控制方法还包括: Preferably, the traffic cone retraction control method of the traffic cone retraction control system also includes:
当人机交互装置接收到用户发出的回收路锥指令时,控制器控制所有执行机构初始化; When the human-computer interaction device receives the instruction to recover the road cone from the user, the controller controls all actuators to initialize;
控制器同时发送旋转臂上行指令以及转动指令分别至滑轨电机和旋转臂电机并获取微动开关传送的实时信号; The controller simultaneously sends the up command and rotation command of the rotating arm to the slide rail motor and the rotating arm motor respectively, and obtains the real-time signal transmitted by the micro switch;
判断微动开关是否得电; Determine whether the micro switch is powered;
当微动开关未得电且旋转臂上行时间达到第四预设时间时,控制器发送上行停止指令至滑轨电机并返回继续判断微动开关是否得电,当微动开关得电时,控制器发送翻板旋转指令至翻板电机; When the micro switch is not energized and the up time of the rotating arm reaches the fourth preset time, the controller sends an up stop command to the slide rail motor and returns to continue to judge whether the micro switch is energized. When the micro switch is energized, the control The device sends the flip rotation command to the flip motor;
当旋转臂上行时间达到第四预设时间且翻板处第二限位开关未得电时,控制器发送上行停止指令至滑轨电机直至获取到第二限位开关得电信号,当旋转臂上行时间达到第四预设时间且翻板处第二限位开关得电时,控制器发送旋转臂下行指令至滑轨电机; When the up time of the rotating arm reaches the fourth preset time and the second limit switch at the flip plate is not powered on, the controller sends an upward stop command to the slide rail motor until the electric signal of the second limit switch is obtained, when the rotating arm When the up time reaches the fourth preset time and the second limit switch at the flap is energized, the controller sends the rotating arm down command to the slide rail motor;
旋转臂下行直至控制器获取到压力传感器的信号,控制器控制电磁铁得电以吸取路锥; The rotating arm goes down until the controller obtains the signal of the pressure sensor, and the controller controls the electromagnet to be energized to absorb the road cone;
待旋转臂吸取路锥后,控制器发送旋转臂上行指令,待旋转臂上行时间达到第五预设时间时,控制器发送转动指令至旋转臂电机,待旋转臂上行时间达到第六预设时间时,控制器同时发送翻板旋转指令和旋转臂下行指令分别至翻板电机和滑轨电机; After the rotating arm absorbs the road cone, the controller sends the rotating arm up command, and when the up time of the rotating arm reaches the fifth preset time, the controller sends a rotation command to the motor of the rotating arm, and waits for the up time of the rotating arm to reach the sixth preset time At the same time, the controller sends the rotation command of the flap and the down command of the rotating arm to the flap motor and the slide rail motor respectively;
当旋转臂下行时间达到第七预设时间时,控制器控制旋转臂停止下行并控制电磁铁失电放锥,待旋转臂放置路锥后,控制器发送存放盘转动指令至存放盘电机直至存放盘转动到位,并继续执行控制器同时发送旋转臂上行指令以及转动指令分别至滑轨电机和旋转臂电机并获取微动开关传送的实时信号的步骤直到接收到停止指令时结束。 When the down time of the rotating arm reaches the seventh preset time, the controller controls the rotating arm to stop descending and controls the electromagnet to de-energize and release the cone. The disc rotates in place, and continues to execute the steps that the controller simultaneously sends the rotating arm up command and the rotating command to the slide rail motor and the rotating arm motor respectively, and obtains the real-time signal transmitted by the micro switch until the stop command is received.
优选地,所述交通路锥收放控制系统的收放路锥控制方法还包括: Preferably, the traffic cone retraction control method of the traffic cone retraction control system also includes:
当控制器未接收人机交互装置发出的控制信号时,控制器发出休眠控制指令至驱动装置和检测装置以使系统处于低功耗模式。 When the controller does not receive the control signal sent by the human-computer interaction device, the controller sends a dormancy control command to the drive device and the detection device so that the system is in a low power consumption mode.
优选地,在旋转臂吸取路锥时,所述控制器控制滑轨电机暂停第八预设时间以保证路锥吸取到位。 Preferably, when the rotating arm picks up the road cone, the controller controls the slide rail motor to pause for an eighth preset time to ensure that the road cone is picked up in place.
优选地,所述控制器具有容错功能,当出现突发情况系统时,所述控制器记录断电前驱动装置的状态以及当前存放盘上路锥的个数,以便重新上电后继续工作;所述控制器中预设所述驱动装置的极限工作速度,控制器根据布设路锥速度要求调整所述驱动装置实际工作速度,当所述实际工作速度大于相应所述极限工作速度时,所述控制器控制所述驱动装置按所述极限工作速度动作,并给予所述人机界面装置以提示。 Preferably, the controller has a fault-tolerant function. When an unexpected situation occurs, the controller records the state of the drive device before power-off and the number of road cones currently stored on the disk, so as to continue to work after power-on; The limit working speed of the driving device is preset in the controller, and the controller adjusts the actual working speed of the driving device according to the speed requirement of laying road cones. When the actual working speed is greater than the corresponding limit working speed, the control The controller controls the driving device to operate at the limit working speed, and gives the man-machine interface device a prompt.
优选地,所述交通路锥收放控制系统的收放路锥控制方法还包括: Preferably, the traffic cone retraction control method of the traffic cone retraction control system also includes:
当接收到停止指令时,控制器控制当前作业过程走完一个投放或回收周期后自动停止。 When the stop instruction is received, the controller controls the current operation process to stop automatically after completing a delivery or recovery cycle.
优选地,所述交通路锥收放控制系统的收放路锥控制方法还包括: Preferably, the traffic cone retraction control method of the traffic cone retraction control system also includes:
当接收到急停指令时,控制器控制当前作业过程立即停止,当再次投放路锥指令或回收路锥指令时,控制器控制检测装置和驱动装置按照停止前状态继续执行。 When the emergency stop command is received, the controller controls the current operation process to stop immediately, and when the road cone command is released or the road cone recovery command is received again, the controller controls the detection device and the drive device to continue to execute according to the state before the stop.
本发明提出的交通路锥收放控制系统,通过设置控制器与驱动装置、检测装置和人机交互装置配合使用,实现了对路锥的自动投放与自动回收,控制器自动控制保证了投放与回收过程的精确性同时还减少了人工操作。另外,本交通路锥收放控制系统还具有构造简单且安全可靠的优点。 The traffic cone retraction control system proposed by the present invention realizes the automatic release and automatic recovery of the road cones by setting the controller to cooperate with the driving device, the detection device and the human-computer interaction device, and the automatic control of the controller ensures the release and release The precision of the recycling process also reduces manual operations. In addition, the traffic cone retraction control system also has the advantages of simple structure, safety and reliability.
附图说明 Description of drawings
图1为本发明交通路锥收放控制系统优选实施例的电路结构示意图; Fig. 1 is the schematic diagram of the circuit structure of the preferred embodiment of the control system for retracting and releasing traffic cones of the present invention;
图2为本发明交通路锥收放控制系统优选实施例的串口通信处理图; Fig. 2 is the serial port communication processing diagram of the preferred embodiment of the traffic cone retraction control system of the present invention;
图3为本发明交通路锥收放控制系统的收放路锥控制方法中投放路锥流程的示意图; Fig. 3 is the schematic diagram of throwing road cone process in the retractable road cone control method of the traffic road cone retractable control system of the present invention;
图4为本发明交通路锥收放控制系统的收放路锥控制方法中回收路锥流程的示意图; Fig. 4 is the schematic diagram of recovery road cone flow process in the retractable road cone control method of the traffic road cone retractable control system of the present invention;
图5为本发明交通路锥收放控制系统的收放路锥控制方法中的停止控制流程图; Fig. 5 is the stop control flowchart in the retractable road cone control method of the traffic road cone retractable control system of the present invention;
图6为本发明交通路锥收放控制系统的收放路锥控制方法中的急停控制流程图; Fig. 6 is the emergency stop control flowchart in the retractable road cone control method of the traffic road cone retractable control system of the present invention;
图7为本发明交通路锥收放控制系统的收放路锥控制方法中的停止操作执行流程图; Fig. 7 is a flow chart of the execution of the stop operation in the retractable and retractable road cone control method of the traffic road cone retractable and retractable control system of the present invention;
图8为本发明交通路锥收放控制系统的收放路锥控制方法中的急停操作执行流程图; Fig. 8 is a flow chart of emergency stop operation execution in the retractable and retractable road cone control method of the traffic road cone retractable control system of the present invention;
图9为本发明交通路锥自动收放控制系统的收放路锥控制方法的控制任务分布图; Fig. 9 is a control task distribution diagram of the retractable road cone control method of the traffic road cone automatic retractable control system of the present invention;
图10为本发明交通路锥自动收放控制的收放路锥控制方法的任务传递图。 Fig. 10 is a task transfer diagram of the method for retracting and retracting road cones of the present invention for automatic retracting and retracting control of traffic cones.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。 The realization of the purpose of the present invention, functional characteristics and advantages will be further described in conjunction with the embodiments and with reference to the accompanying drawings.
具体实施方式 detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。 It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.
本发明提出一种交通路锥收放控制系统。 The invention proposes a traffic cone retraction control system.
参照图1,图1为本发明交通路锥收放控制系统优选实施例的电路结构示意图。 Referring to FIG. 1 , FIG. 1 is a schematic diagram of the circuit structure of a preferred embodiment of the traffic cone retraction control system of the present invention.
本优选实施例中,一种交通路锥收放控制系统,包括控制器以及与控制器电连接的驱动装置、检测装置和人机交互装置,其中, In this preferred embodiment, a traffic cone retraction control system includes a controller, a drive device electrically connected to the controller, a detection device and a human-computer interaction device, wherein,
驱动装置包括用于驱动存放路锥的存放盘转动的存放盘电机、用于驱动旋转臂在滑轨上直线运动的滑轨电机、用于驱动旋转臂相对于滑轨转动以吸取路锥的旋转臂电机、用于吸取路锥的电磁铁(电磁铁位于旋转臂的末端,旋转臂运动时带动电磁铁运动),以及用于控制翻板旋转以回收路面上路锥的翻板电机,存放盘电机、滑轨电机、旋转臂电机、电磁铁和翻板电机均与控制器电连接; The driving device includes a storage disc motor for driving the storage disc for storing road cones to rotate, a slide rail motor for driving the rotary arm to move linearly on the slide rail, and a slide rail motor for driving the rotary arm to rotate relative to the slide rail to absorb the rotation of the road cone Arm motor, electromagnet for picking up road cones (the electromagnet is located at the end of the rotating arm, which drives the electromagnet to move when the rotating arm moves), and the flap motor for controlling the rotation of the flap to recover the road cones on the road, and the storage disc motor , slide rail motor, rotating arm motor, electromagnet and flap motor are all electrically connected to the controller;
检测装置包括用于检测路锥收放车车速的车速传感器、用于检测存放盘位置的接近开关、用于检测旋转臂旋转角度的旋转编码器、用于检测旋转臂在滑轨上位置的第一限位开关(设置有两个,分别用于检测旋转臂的上行与下行极限位置)、用于检测路锥是否插入翻板上的微动开关(设置有4个,当4个微动开关同时得电时说明路锥插到位,保证了检测精度)、用于检测翻板位置的第二限位开关(第二限位开关设置有两个,分别在翻板处于水平和竖直状态时闭合),以及用于检测旋转臂上是否吸取路锥的压力传感器,车速传感器、接近开关、微动开关、第一限位开关、第二限位开关和压力传感器均与控制器电连接; The detection device includes a vehicle speed sensor for detecting the speed of the road cone retractable vehicle, a proximity switch for detecting the position of the storage tray, a rotary encoder for detecting the rotation angle of the rotating arm, and a first sensor for detecting the position of the rotating arm on the slide rail. A limit switch (two sets, respectively used to detect the up and down limit positions of the rotating arm), a micro switch used to detect whether the road cone is inserted into the flap (four sets, when four micro switches At the same time, when the power is on, it means that the road cone is inserted in place, which ensures the detection accuracy), the second limit switch used to detect the position of the flap (there are two second limit switches, respectively when the flap is in the horizontal and vertical states closed), and the pressure sensor used to detect whether the road cone is sucked on the rotating arm, the vehicle speed sensor, the proximity switch, the micro switch, the first limit switch, the second limit switch and the pressure sensor are all electrically connected to the controller;
人机交互装置用于接收用户的指令后将指令发送至控制器并接收控制器的反馈信号。 The human-computer interaction device is used for receiving the user's instruction, sending the instruction to the controller and receiving the feedback signal of the controller.
路锥收放车上固定有滑轨,旋转臂安装于滑轨上且相对于其可上下滑动。旋转臂设置相应机构使其相对于滑轨可转动,从而实现抓取不同位置的路锥。路锥收放车的一侧设置有翻板。路锥收放车上还设置有存放盘,存放盘可转动,存放盘上设置有多个支撑架,每一支撑架上放置有多个路锥。存放盘转动时,带动支撑架转动,从而使旋转臂可吸取每个支撑架上的路锥。在回收路锥时,当翻板处于水平状态时,其上的支撑杆可插入到倒立的路锥中,当翻板竖直时,其支撑杆带动路锥竖直,旋转臂运动至竖直的路锥上方,电磁铁吸电从而将翻板上的支撑杆吸取。 A slide rail is fixed on the road cone retractable car, and the rotating arm is installed on the slide rail and can slide up and down relative to it. The rotating arm is provided with a corresponding mechanism to make it rotatable relative to the slide rail, so as to realize grabbing road cones at different positions. One side of the road cone retractable car is provided with a flap. The road cone retractable car is also provided with a storage tray, which is rotatable, and the storage tray is provided with a plurality of support frames, and a plurality of road cones are placed on each support frame. When the storage tray rotates, it drives the support frame to rotate, so that the rotating arm can absorb the road cone on each support frame. When recycling the road cone, when the flap is in a horizontal state, the support rod on it can be inserted into the inverted road cone. When the flap is vertical, the support rod drives the road cone to be vertical, and the rotating arm moves to the vertical position. Above the road cone, the electromagnet absorbs electricity so as to absorb the support rod on the turning plate.
本实施例中,采用TQFP-144封装、ARMCortex-M3内核的STM32F103ZET6单片机作为控制器,控制器的P23和P24脚接8MHZ的外部晶振,工作频率可至72MHZ,其供电电压为3.3V,参考电压P31(VREF-)脚接GND,P32(VREF+)脚接3.3V。 In this embodiment, the STM32F103ZET6 microcontroller with TQFP-144 package and ARM Cortex-M3 core is used as the controller. The P23 and P24 pins of the controller are connected to an 8MHZ external crystal oscillator, and the operating frequency can reach 72MHZ. The power supply voltage is 3.3V, and the reference voltage P31 (VREF-) pin is connected to GND, P32 (VREF+) pin is connected to 3.3V.
本实施例中,通过设置车速传感器可实现对路锥的定点投放。车速检测的数据可由车载电脑通过CAN总线传递给控制器,选用芯片SN65HVD230实现CAN数据传递,芯片供电电压3.3V,其1、4脚分别与单片机PB9、PB8相连,因为要保证CAN总线数据的正常传送,需要在其7、8脚间挂接一个120欧姆的终端匹配电阻,控制器根据车速实时监测路锥收放车运行的距离。存放盘的位置检测是通过接近开关实现的,存放盘上每堆路锥的正下方都安装有铁片,接近开关输出的为12V的开关量信号,通过TLP281光耦隔离输出可识别的高低电平信号,将其作为控制器开关量信号输入,由外部中断判断,当CPU检测到电平跳变,说明存放盘上某堆路锥已到达指定位置。旋转臂的位置检测与转动角度位置检测主要靠编码器实现,旋转臂编码器与滑轨编码器的A相、B相、Z相经过AM26LS32差分接收器分别和控制器PA6、PA7、PB0与PB6、PB7、PB1连接,构成编码器信号输入捕获,差分接收器必须接终端电阻,约330欧姆。另外加装了三个同型号的限位开关,一个用于旋转臂初始位置校准,其它两个(即第一限位开关)用于旋转臂在滑轨极限位置限定(即上行与下行极限位置),限位开关输出的为12V的开关量信号,通过TLP281光耦隔离输出可识别的高低电平信号,将其作为控制器开关量信号输入,由外部中断判断,当CPU检测到电平跳变,可以校准旋转臂以及限定旋转臂在滑轨的行程。翻板位置通过第二限位开关进行检测,原理同上,CPU可根据其输出信号控制翻板准确的定位在水平和垂直两个方向上。路锥的位置主要靠安装在翻板上的四个微动开关检测,原理同上,CPU可根据其输出信号准确的把握路锥是否可被回收。压力传感器主要用于判定路锥吸取的最佳时期,压力传感器输出为4-20mA的电流信号,其供电电压为12V,先采用精密电阻将其转化成电压信号,再通过OPA365构成的电压跟随器隔离、缓冲、信号调理,输出稳定的电压信号供单片机AD通道采集。 In this embodiment, fixed-point delivery of road cones can be realized by setting a vehicle speed sensor. The data of the vehicle speed detection can be transmitted to the controller by the on-board computer through the CAN bus. The chip SN65HVD230 is selected to realize the CAN data transmission. For transmission, a 120-ohm terminal matching resistor needs to be connected between pins 7 and 8, and the controller monitors the running distance of the road cone retractable car in real time according to the speed of the vehicle. The position detection of the storage tray is realized by the proximity switch. Iron sheets are installed directly under each pile of road cones on the storage tray. The proximity switch outputs a 12V switching signal, and the identifiable high and low voltage is output through the TLP281 optocoupler isolation. Level signal, which is input as the switch signal of the controller, judged by the external interrupt, when the CPU detects a level jump, it means that a pile of road cones on the storage disk has reached the designated position. The position detection and rotation angle position detection of the rotating arm are mainly realized by the encoder. The A phase, B phase and Z phase of the rotating arm encoder and the slide rail encoder pass through the AM26LS32 differential receiver and the controllers PA6, PA7, PB0 and PB6 respectively. , PB7, and PB1 are connected to form an encoder signal input capture, and the differential receiver must be connected to a terminal resistor, about 330 ohms. In addition, three limit switches of the same type are installed, one is used for the calibration of the initial position of the rotary arm, and the other two (ie, the first limit switch) are used to limit the limit position of the rotary arm on the slide rail (ie, the limit position of up and down). ), the output of the limit switch is a 12V switching signal, and the identifiable high and low level signals are output through the TLP281 optocoupler isolation, which is used as the controller switching signal input, judged by an external interrupt, when the CPU detects a level jump Change, you can calibrate the swivel arm and limit the stroke of the swivel arm on the slide rail. The position of the flap is detected by the second limit switch, the principle is the same as above, and the CPU can control the flap to be accurately positioned in the horizontal and vertical directions according to its output signal. The position of the road cone is mainly detected by the four micro switches installed on the flap. The principle is the same as above, and the CPU can accurately grasp whether the road cone can be recycled according to its output signal. The pressure sensor is mainly used to determine the best time for road cone absorption. The output of the pressure sensor is a current signal of 4-20mA, and its power supply voltage is 12V. First, it is converted into a voltage signal by using a precision resistor, and then through a voltage follower composed of OPA365 Isolation, buffering, signal conditioning, outputting stable voltage signal for single-chip AD channel collection.
驱动装置的控制包括控制各执行机构转动以及电磁铁得失电。其中,所有电机控制原理都一样,除了简单的启动、停止和使能等控制,还有为了正确的传送脉冲量数据,统一采用差分驱动方式,利用控制器TIM1_CH1、TIM5_CH2、TIM8_CH1、TIM2_CH1通道经过AM26LS31差分驱动器分别对旋转臂电机、翻板电机、滑轨电机以及存放盘电机进行调频调速控制,驱动器也会反馈报警与到位信号经过差分驱动器传送给CPU。由于单片机输出的TTL电平功率较低,其不能直接控制电磁铁得失电,可先通过光耦隔离,在通过三极管放大驱动继电器控制电磁铁供电电源来达到控制目的,在继电器两端需加一个反向续流二极管,以保护三极管不被损坏。 The control of the driving device includes controlling the rotation of each actuator and the power gain and loss of the electromagnet. Among them, all motor control principles are the same, except for simple start, stop and enable control, and in order to transmit the pulse data correctly, the differential drive mode is uniformly adopted, and the AM26LS31 The differential drive controls the frequency and speed of the rotating arm motor, turnover motor, slide rail motor, and storage tray motor respectively, and the drive will also feedback alarm and in-position signals to the CPU through the differential drive. Because the TTL level power output by the single-chip microcomputer is low, it cannot directly control the power gain and loss of the electromagnet. It can be isolated through the optocoupler first, and then the relay is amplified and driven by the triode to control the power supply of the electromagnet to achieve the purpose of control. One needs to be added at both ends of the relay. Reverse freewheeling diode to protect the triode from being damaged.
具体地,人机交互装置设置有触摸屏以供用户在多个功能界面之间切换,人机交互装置通过RS232串口与控制器连接。人机交互装置采用串口RS232通信,是一种全双工的串行异步通信,其中驱动芯片采用的是MAX3232,该芯片具有两路接收器和两路驱动器,提供1uA关断模式,在最差的工作条件下能够保证120Kbps的数据速率。其过压过流保护包括P6KE13CA的TVS管做电压保护、100mA保险做电流保护、100Ω的限流电阻,避免因为瞬时高压烧坏芯片,实现与带RS232接口触摸屏的稳定通信。为了更准确的接收和发送,系统自定义的包头包尾与数据ID,其中包括电源控制命令、投放、回收、停止、急停、路锥个数的设置与显示等,其通讯协议处理参照图2,当上位发送命令引发中断时,每次接收8个字节的数据包,系统检测是否为包尾0x3d,若是,则清除中断和解析数据包,否则计数到8个字节自动清零并清除中断。 Specifically, the human-computer interaction device is provided with a touch screen for the user to switch between multiple functional interfaces, and the human-computer interaction device is connected to the controller through the RS232 serial port. The human-computer interaction device uses serial port RS232 communication, which is a full-duplex serial asynchronous communication. The driver chip is MAX3232, which has two receivers and two drivers, and provides 1uA shutdown mode. The data rate of 120Kbps can be guaranteed under the working conditions. Its overvoltage and overcurrent protection includes P6KE13CA TVS tube for voltage protection, 100mA insurance for current protection, and 100Ω current limiting resistor to avoid burning the chip due to instantaneous high voltage, and realize stable communication with the touch screen with RS232 interface. In order to receive and send more accurately, the system customizes the packet header and packet tail and data ID, including power control commands, release, recovery, stop, emergency stop, setting and display of the number of road cones, etc., and its communication protocol processing reference figure 2. When the host sends a command to cause an interrupt, each time a data packet of 8 bytes is received, the system detects whether it is the end of the packet 0x3d, and if so, clears the interrupt and parses the data packet, otherwise the count reaches 8 bytes and is automatically cleared and Clear interrupts.
进一步地,本交通路锥收放控制系统还包括与控制器连接的电源装置。电源装置的控制原理与电磁铁得失电控制原理一样,其可通过上位机控制220V和12V电源通断,达到电源管理的目的,另外当长时间不作业时,系统会进入一种低功耗模式,即stop模式,进入该模式前需将控制器PA10(串口接收端)设置为外部中断输入,在该中断服务程序中,恢复CPU时钟并将改端口设置为串口数据接收端,这样就可以通过上位唤醒低功耗模式而不影响后续工作。 Further, the traffic cone retraction control system also includes a power supply device connected to the controller. The control principle of the power supply device is the same as that of the electromagnet power gain and loss control. It can control the 220V and 12V power on and off through the host computer to achieve the purpose of power management. In addition, when the system does not work for a long time, the system will enter a low power consumption mode , that is, stop mode. Before entering this mode, the controller PA10 (serial port receiving end) needs to be set as an external interrupt input. In this interrupt service program, restore the CPU clock and set the port as a serial port data receiving end. The upper bit wakes up the low power consumption mode without affecting the subsequent work.
为了防止掉电后重要数据丢失而影响正常工作,本系统设计了16k的数据存储空间,CPU通过I2C总线协议访问AT24C16芯片,写入每堆路锥个数、滑轨和旋转臂状态位置等信息。AT24C16的1、2、3号脚为I2C地址设置输入脚,将其全部接地,5、6号脚分别接单片机的数据线SDA和时钟线SCL,7号脚接地,以禁止芯片写保护。 In order to prevent the loss of important data after power failure and affect the normal work, the system has designed a 16k data storage space. The CPU accesses the AT24C16 chip through the I2C bus protocol, and writes information such as the number of road cones in each pile, the status and position of the slide rail and the rotating arm . Pins 1, 2, and 3 of AT24C16 are I2C address setting input pins, all of which are grounded, pins 5 and 6 are respectively connected to the data line SDA and clock line SCL of the microcontroller, and pin 7 is grounded to prohibit chip write protection.
控制器嵌入了uCOS-II操作系统,为了提高交通路锥自动收放作业效率与实时性,系统建立了多任务运行机制。参照图9和图10,系统软件集成了12个任务,其中任务一优先级别最高,具有最高的运行权利,任务一至任务十优先级别依次降低。其中,任务七到任务十二的每个任务中都有根据不同流程步骤有不同的运行状态。任务的执行是通消息邮箱和信号量传递实现的。任务的切换是依靠任务块优先级依次执行。 The controller is embedded with the uCOS-II operating system. In order to improve the efficiency and real-time performance of the automatic retraction and retraction of traffic cones, the system has established a multi-task operation mechanism. Referring to Figures 9 and 10, the system software integrates 12 tasks, among which task one has the highest priority and has the highest operating right, and the priorities of tasks one to ten are lowered in turn. Among them, each task from task seven to task twelve has different running states according to different process steps. The execution of the task is realized through message mailbox and semaphore delivery. Task switching is performed sequentially depending on the task block priority.
本发明提出的交通路锥收放控制系统,通过设置控制器与驱动装置、检测装置和人机交互装置配合使用,实现了对路锥的自动投放与自动回收,控制器自动控制保证了投放与回收过程的精确性同时还减少了人工操作。另外,本交通路锥收放控制系统还具有构造简单且安全可靠的优点。 The traffic cone retraction control system proposed by the present invention realizes the automatic release and automatic recovery of the road cones by setting the controller to cooperate with the driving device, the detection device and the human-computer interaction device, and the automatic control of the controller ensures the release and release The precision of the recycling process also reduces manual operations. In addition, the traffic cone retraction control system also has the advantages of simple structure, safety and reliability.
本发明进一步提出一种交通路锥收放控制系统的收放路锥控制方法。 The present invention further proposes a traffic cone retraction and retraction control method for the traffic cone retraction and retraction control system.
参照图3,图3为本发明交通路锥收放控制系统的收放路锥控制方法中投放路锥流程的示意图。 Referring to FIG. 3 , FIG. 3 is a schematic diagram of the process of putting in road cones in the method for retracting and releasing road cones in the traffic cone retracting and releasing control system of the present invention.
本发明提出的基于上述交通路锥收放控制系统的收放路锥控制方法的优选实施例,包括以下步骤: A preferred embodiment of the method for retracting and retracting road cones based on the above-mentioned traffic cone retraction and retraction control system proposed by the present invention comprises the following steps:
步骤S10,当人机交互装置接收到用户发出的投放路锥指令时,控制器控制所有执行机构初始化; Step S10, when the human-computer interaction device receives the user's instruction to release the road cone, the controller controls all actuators to initialize;
用户可通过人机交互装置发出投放路锥指令,当人机交互装置接收到用户发出的投放路锥指令,控制器控制所有执行机构初始化。执行机构包括滑轨、存放盘、翻板以及旋转臂。系统初始化主要实现各执行机构的位置校准。 The user can issue a road cone release command through the human-computer interaction device, and when the human-computer interaction device receives the road cone release command from the user, the controller controls all actuators to initialize. The actuator includes a slide rail, a storage tray, a flap, and a swivel arm. System initialization mainly realizes the position calibration of each actuator.
步骤S11,控制器获取车速传感器和压力传感器传送的实时信号; Step S11, the controller obtains the real-time signals transmitted by the vehicle speed sensor and the pressure sensor;
步骤S12,当控制器获取到压力传感器无信号变化时,控制器发送旋转臂下行指令至滑轨电机,旋转臂沿滑轨下行直至控制器获取到压力传感器有信号变化,控制器控制旋转臂一端的电磁铁得电以吸取路锥; Step S12, when the controller obtains no signal change from the pressure sensor, the controller sends the rotating arm down command to the slide rail motor, and the rotating arm moves down along the slide rail until the controller obtains a signal change from the pressure sensor, and the controller controls one end of the rotating arm The electromagnet is energized to attract the road cone;
当控制器获取到压力传感器有信号变化时,说明路锥位于压力传感器的正下方,此时,控制器控制旋转臂一端的电磁铁得电以吸取路锥。 When the controller obtains a signal change from the pressure sensor, it means that the road cone is located directly below the pressure sensor. At this time, the controller controls the electromagnet at one end of the rotating arm to be energized to attract the road cone.
步骤S13,待旋转臂吸取路锥后,控制器发送旋转臂上行指令至滑轨电机使其沿滑轨上行,待旋转臂上行时间达到第一预设时间时,控制器发送转动指令至旋转臂电机使旋转臂旋转(控制旋转臂旋转270度),待旋转臂上行时间达到第二预设时间时(第二预设时间从控制器发送旋转臂上行指令时刻开始计算),控制器同时发送旋转臂下行指令和存放盘转动指令分别至滑轨电机和存放盘电机,旋转臂下行直至控制器获取到第一限位开关(下行的第一限位开关)的信号,存放盘旋转直至控制器获取到接近开关的信号; Step S13, after the rotating arm absorbs the road cone, the controller sends the rotating arm up command to the slide rail motor to make it go up along the slide rail, and when the rotating arm's up time reaches the first preset time, the controller sends a rotation command to the rotating arm The motor rotates the rotating arm (controlling the rotating arm to rotate 270 degrees), and when the up time of the rotating arm reaches the second preset time (the second preset time is calculated from the moment when the controller sends the rotating arm up command), the controller sends the rotating arm at the same time The arm down command and the storage tray rotation command are respectively sent to the slide rail motor and the storage tray motor, the rotating arm goes down until the controller obtains the signal of the first limit switch (the first limit switch in downlink), and the storage tray rotates until the controller obtains the signal of the first limit switch. signal to the proximity switch;
第一预设时间大于或等于旋转臂取锥后沿滑轨上行至恰好规避触碰区域(即存放盘上路锥高度区域)所用的时间,在每个路锥投放周期中,第一预设时间是一定值。第二预设时间大于旋转臂旋转90度所用的时间加第一预设时间,第二预设时间为一定值。 The first preset time is greater than or equal to the time it takes for the rotating arm to take the cone and move up the slide rail to just avoid the contact area (that is, the height area of the road cone on the storage tray). In each road cone delivery cycle, the first preset time is a certain value. The second preset time is greater than the time taken for the rotating arm to rotate 90 degrees plus the first preset time, and the second preset time is a certain value.
步骤S14,当投放车行驶至预设位置时,控制器控制电磁铁失电以投放路锥; Step S14, when the delivery vehicle travels to the preset position, the controller controls the electromagnet to be de-energized to release the road cone;
投放车行驶至预设位置是通过车速传感器来实现的。车速传感器实时检测投放车的车速,控制器计算当前时刻路锥投放车行使的距离,当达到投放间距要求时,控制器控制电磁铁失电,路锥完成投放过程。 It is realized by the vehicle speed sensor that the delivery vehicle travels to the preset position. The vehicle speed sensor detects the vehicle speed of the delivery vehicle in real time, and the controller calculates the distance traveled by the vehicle for delivery of road cones at the current moment. When the requirement for delivery distance is reached, the controller controls the electromagnet to lose power, and the delivery process of road cones is completed.
步骤S15,待旋转臂投放路锥后,控制器同时发送旋转臂上行指令和转动指令分别至滑轨电机和旋转臂电机,待旋转臂上行时间达到第三预设时间时,控制器发送旋转臂下行指令直至旋转臂移动至存放盘上路锥的正上方,并继续执行步骤S10直到接收到停止指令时结束。 Step S15, after the rotating arm drops the road cone, the controller simultaneously sends the rotating arm up command and the rotating command to the slide rail motor and the rotating arm motor respectively, and when the rotating arm up time reaches the third preset time, the controller sends the rotating arm The down command is performed until the rotating arm moves to the top of the storage disk up road cone, and the execution of step S10 is continued until the stop command is received.
第三预设时间为一变值,随存放盘上路锥高度的变化而变化,即路锥高度越高,第三预设时间值越大。 The third preset time is a variable value, which varies with the height of the road cone on the storage tray, that is, the higher the height of the road cone, the greater the value of the third preset time.
本发明提出的收放路锥控制方法,在控制旋转臂投放路锥的过程中,控制存放盘上路锥转动,减少了下次投放路锥周期过程中等待存放盘上路锥转动的时间,提高了投放路锥效率,在接收到停止指令之前,控制器会自动控制驱动装置和检测装置循环工作完成多个投放路锥的周期,避免人工重复操作投放路锥,进一步提高了投放效率并简化人工操作。同时,本实施例提出的收放路锥控制方法,通过控制器和车速传感器的精确的配合,保证了路锥定点投放位置的精确性。 The control method for retracting and unwinding road cones proposed by the present invention controls the rotation of the upper road cones on the storage tray during the process of controlling the rotating arm to put the road cones in, which reduces the time for waiting for the rotation of the upper road cones on the storage tray during the next cycle of putting in road cones, and improves the Cone delivery efficiency, before receiving the stop command, the controller will automatically control the driving device and the detection device to complete the cycle of multiple delivery of road cones, avoiding manual repeated operation of putting road cones, further improving the delivery efficiency and simplifying manual operations . At the same time, the control method for retracting and retracting road cones proposed in this embodiment ensures the accuracy of the fixed-point delivery of road cones through the precise cooperation of the controller and the vehicle speed sensor.
参照图4,图4中所示的为回收路锥流程,其可在图3所示的投放路锥流程之前或之后执行均可。 Referring to FIG. 4 , shown in FIG. 4 is the process of recycling road cones, which can be executed before or after the process of throwing road cones shown in FIG. 3 .
进一步地,本发明提出的交通路锥收放控制系统的收放路锥控制方法,还包括以下步骤: Further, the method for retracting and retracting road cone control of the traffic cone retraction control system proposed by the present invention also includes the following steps:
步骤S20,当人机交互装置接收到用户发出的回收路锥指令时,控制器控制所有执行机构初始化; Step S20, when the human-computer interaction device receives the command to recover the road cone from the user, the controller controls all actuators to initialize;
步骤S21,控制器同时发送旋转臂上行指令以及转动指令(控制旋转臂旋转180度)分别至滑轨电机和旋转臂电机并获取微动开关传送的实时信号; Step S21, the controller simultaneously sends the rotating arm up command and the rotation command (to control the rotating arm to rotate 180 degrees) respectively to the slide rail motor and the rotating arm motor and obtains the real-time signal transmitted by the micro switch;
步骤S22,判断微动开关是否得电;当微动开关未得电时,执行步骤S23并返回执行步骤S22,当微动开关得电时,执行步骤S24; Step S22, judging whether the micro switch is energized; when the micro switch is not energized, execute step S23 and return to execute step S22; when the micro switch is energized, execute step S24;
步骤S23,当旋转臂上行时间达到第四预设时间时,控制器发送上行停止指令至滑轨电机; Step S23, when the up time of the rotating arm reaches the fourth preset time, the controller sends an up stop command to the slide rail motor;
微动开关未得电,说明此时路锥尚未回收到翻板上,则需控制旋转臂暂停上行,以等待路锥回收。 The micro switch is not energized, indicating that the road cone has not been recovered to the flap at this time, so it is necessary to control the rotating arm to pause upward to wait for the road cone to be recovered.
步骤S24,控制器发送翻板旋转指令至翻板电机(翻板旋转指令控制翻板旋转90度,从而使路锥由水平状态变更为竖直状态); Step S24, the controller sends the flap rotation instruction to the flap motor (the flap rotation instruction controls the flap to rotate 90 degrees, so that the road cone is changed from a horizontal state to a vertical state);
步骤S25,判断翻板处第二限位开关是否得电;当第二限位开关未得电时,执行步骤S26并返回执行步骤S25,当第二限位开关得电时,执行步骤S27; Step S25, judging whether the second limit switch at the flap is energized; when the second limit switch is not energized, execute step S26 and return to execute step S25; when the second limit switch is energized, execute step S27;
步骤S26,当旋转臂上行时间达到第四预设时间,控制器发送上行停止指令至滑轨电机; Step S26, when the up time of the rotating arm reaches the fourth preset time, the controller sends an up stop command to the slide rail motor;
步骤S27,当旋转臂上行时间达到第四预设时间时,控制器发送旋转臂下行指令至滑轨电机; Step S27, when the up time of the rotating arm reaches the fourth preset time, the controller sends the down command of the rotating arm to the slide rail motor;
第四预设时间为一变值,随存放盘上路锥的高度变化而变化,即高度越高,第四预设时间值越小。 The fourth preset time is a variable value that varies with the height of the on-road cone of the storage tray, that is, the higher the height, the smaller the value of the fourth preset time.
步骤S28,旋转臂下行直至控制器获取到压力传感器的信号,控制器控制电磁铁得电以吸取路锥; Step S28, the rotating arm goes down until the controller obtains the signal of the pressure sensor, and the controller controls the electromagnet to be energized to absorb the road cone;
步骤S29,待旋转臂吸取路锥后,控制器发送旋转臂上行指令,待旋转臂上行时间达到第五预设时间时,控制器发送转动指令至旋转臂电机(控制旋转臂反向旋转180度,使旋转臂重新回到存放盘上方),待旋转臂上行时间达到第六预设时间时,控制器同时发送翻板旋转指令和旋转臂下行指令分别至翻板电机和滑轨电机; Step S29, after the rotating arm absorbs the road cone, the controller sends the rotating arm up command, and when the rotating arm's up time reaches the fifth preset time, the controller sends a rotation command to the rotating arm motor (controls the rotating arm to rotate 180 degrees in reverse , so that the rotating arm returns to the top of the storage tray), when the up time of the rotating arm reaches the sixth preset time, the controller simultaneously sends the flap rotation command and the swivel arm down command to the flap motor and the slide rail motor respectively;
第五预设时间一变值,随存放盘上路锥的高度变化而变化,即高度越高,第五预设时间值越大。第六预设时间随存放盘上路锥的高度变化而变化,即高度越高,第六预设时间值越小。 The value of the fifth preset time varies with the height of the on-road cone of the storage tray, that is, the higher the height, the greater the value of the fifth preset time. The sixth preset time varies with the height of the on-road cone of the storage tray, that is, the higher the height, the smaller the value of the sixth preset time.
步骤S30,当旋转臂下行时间达到第七预设时间时,控制器控制旋转臂停止下行并控制电磁铁失电放锥,待旋转臂放置路锥后,控制器发送存放盘转动指令至存放盘电机直至存放盘转动到位,并继续执行步骤S21直到接收到停止指令时结束。 Step S30, when the down time of the rotating arm reaches the seventh preset time, the controller controls the rotating arm to stop descending and controls the electromagnet to power off and release the cone. After the rotating arm places the road cone, the controller sends the rotation command of the storage disc to the storage disc The motor rotates until the storage tray is in place, and continues to execute step S21 until it receives a stop command and ends.
进一步地,本交通路锥收放控制系统的收放路锥控制方法还包括: Further, the road cone retraction control method of the traffic cone retraction control system also includes:
步骤S40,当控制器未接收人机交互装置发出的控制信号时,控制器发出休眠控制指令至驱动装置和检测装置以使系统处于低功耗模式。 Step S40, when the controller does not receive the control signal sent by the human-computer interaction device, the controller sends a sleep control command to the driving device and the detecting device so that the system is in a low power consumption mode.
具体地,步骤S40在回收路锥流程和投放路锥流程之前或之后执行均可。 Specifically, step S40 can be performed before or after the process of recovering road cones and the process of releasing road cones.
进一步地,参照图5和图7,本交通路锥收放控制系统的收放路锥控制方法还包括: Further, referring to Fig. 5 and Fig. 7, the traffic cone retracting and retracting control method of the traffic cone retraction control system also includes:
步骤S50,当接收到停止指令时,控制器控制当前作业过程走完一个投放或回收周期后自动停止。 Step S50, when the stop command is received, the controller controls the current operation process to stop automatically after completing a release or recovery cycle.
步骤S50可在回收路锥流程和投放路锥流程中任两步骤之间执行均可。 Step S50 can be performed between any two steps in the process of recovering road cones and the process of releasing road cones.
进一步地,参照图6和图8,本交通路锥收放控制系统的收放路锥控制方法还包括: Further, referring to Fig. 6 and Fig. 8, the traffic cone retracting and retracting control method of the traffic cone retraction control system also includes:
步骤S60,当接收到急停指令时,控制器控制当前作业过程立即停止,当再次投放路锥指令或回收路锥指令时,控制器控制检测装置和驱动装置按照停止前状态继续执行。 Step S60, when the emergency stop instruction is received, the controller controls the current operation process to stop immediately, and when the instruction of injecting road cones or recovering road cones is issued again, the controller controls the detection device and the driving device to continue execution according to the state before the stop.
步骤S60可在回收路锥流程和投放路锥流程中任两步骤之间执行均可。 Step S60 can be performed between any two steps in the process of recovering road cones and the process of releasing road cones.
进一步地,在旋转臂吸取路锥时,控制器控制滑轨电机暂停第八预设时间以保证路锥吸取到位。本实施例中,设置第八预设时间为0.1s。另外,控制器会根据准备吸取路锥时刻段适当降低滑轨电机的运动速度。当旋转臂末端与当下路锥的距离小于一定高度时,控制器会适当降低滑轨电机运动速度。 Further, when the rotating arm picks up the road cone, the controller controls the slide rail motor to pause for an eighth preset time to ensure that the road cone is picked up in place. In this embodiment, the eighth preset time is set to 0.1s. In addition, the controller will appropriately reduce the movement speed of the slide rail motor according to the time when the road cone is ready to be sucked. When the distance between the end of the rotating arm and the downhill cone is less than a certain height, the controller will appropriately reduce the moving speed of the slide rail motor.
进一步地,控制器具有容错功能,当出现突发情况系统时,控制器记录断电前驱动装置的状态以及当前存放盘上路锥的个数,以便重新上电后继续工作;控制器中预设驱动装置的极限工作速度,控制器根据布设路锥的速度要求调整驱动装置实际工作速度,当实际工作速度大于相应极限工作速度时,控制器控制驱动装置按极限工作速度动作,并给予人机界面装置以提示。 Further, the controller has a fault-tolerant function. When an unexpected situation occurs in the system, the controller records the state of the driving device before the power failure and the number of road cones on the current storage disk, so as to continue to work after the power is turned on again; the preset value in the controller is The limit working speed of the driving device, the controller adjusts the actual working speed of the driving device according to the speed requirement of laying the road cones, when the actual working speed is greater than the corresponding limit working speed, the controller controls the driving device to act at the limit working speed, and gives device to prompt.
另外,控制器还可根据当前存放盘上路锥的个数来调整滑轨电机在投放和回收过程的高速运动时间,以保证作业流程的效率。存放盘上路锥的个数越多,滑轨电机在投放和回收过程的高速运动时间越短。 In addition, the controller can also adjust the high-speed movement time of the slide rail motor during the feeding and recycling process according to the number of road cones on the current storage tray, so as to ensure the efficiency of the operation process. The more the number of road cones on the storage tray, the shorter the high-speed motion time of the slide rail motor in the process of putting in and recovering.
具体采用以下方法:当下存放盘上路锥个数越少,相当于取锥滑轨下降的行程就会越长,控制电机高速运动的时间相对来说越长越好,即路锥个数与滑轨电机高速运动的时间有其对应关系,公式为: Specifically, the following method is adopted: the fewer the number of road cones on the current storage disk, the longer the stroke of the cone-taking slide rail will be, and the longer the time for controlling the high-speed movement of the motor is, the better. There is a corresponding relationship between the high-speed motion time of the rail motor, and the formula is:
T=s/v+k*(S_num-N_num); T=s/v+k*(S_num-N_num);
上式中,T为滑轨电机高速运动的时间,s为定值(上行的第一限位开关距离路锥叠放高度的最小值),v为当前滑轨电机的速度,k为系数,S_num为路锥的总个数,N_num为当前路锥的个数。 In the above formula, T is the high-speed motion time of the slide rail motor, s is a fixed value (the minimum value of the stacking height of the first limit switch on the uplink from the road cone), v is the current speed of the slide rail motor, k is a coefficient, S_num is the total number of road cones, and N_num is the current number of road cones.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. All equivalent structural transformations made by using the description of the present invention and the contents of the accompanying drawings, or directly or indirectly used in other related technical fields, are all the same. included in the scope of patent protection of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610124314.1A CN105735167B (en) | 2016-03-04 | 2016-03-04 | Traffic conic road-sign folding and unfolding control system and its folding and unfolding road cone control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610124314.1A CN105735167B (en) | 2016-03-04 | 2016-03-04 | Traffic conic road-sign folding and unfolding control system and its folding and unfolding road cone control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105735167A true CN105735167A (en) | 2016-07-06 |
CN105735167B CN105735167B (en) | 2017-11-17 |
Family
ID=56250026
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610124314.1A Expired - Fee Related CN105735167B (en) | 2016-03-04 | 2016-03-04 | Traffic conic road-sign folding and unfolding control system and its folding and unfolding road cone control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105735167B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106192802A (en) * | 2016-07-22 | 2016-12-07 | 南京信息职业技术学院 | Intelligent roadblock system and control method thereof |
CN106368140A (en) * | 2016-09-06 | 2017-02-01 | 武汉理工大学 | Road cone automatic recovery device and recovery method thereof |
CN106894358A (en) * | 2017-04-10 | 2017-06-27 | 山东理工大学 | A kind of cone automatic deploying and retracting stores car |
CN107804210A (en) * | 2017-09-28 | 2018-03-16 | 中国兵器装备集团上海电控研究所 | A kind of road cone automatic deploying and retracting car based on manipulator |
CN110700136A (en) * | 2019-10-15 | 2020-01-17 | 成方园 | Highway anti-collision barrel arrangement structure and construction method thereof |
CN112482262A (en) * | 2020-11-07 | 2021-03-12 | 广州交投绿化建设有限公司 | Control system for automatic traffic cone placing vehicle and implementation method thereof |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2163689A2 (en) * | 2004-08-31 | 2010-03-17 | Alan Jordan | A cone collecting and laying apparatus |
AT509600A4 (en) * | 2010-04-01 | 2011-10-15 | Peiner Stefan Metallbau Eu | RECORDING EQUIPMENT FOR A VEHICLE |
GB2479558A (en) * | 2010-04-14 | 2011-10-19 | Laurence Ross Jones | Vehicle attachment |
CN104005348A (en) * | 2014-04-23 | 2014-08-27 | 南京理工大学 | Chain type road cone storing, collecting and dispensing device with mechanical arm |
CN104727245A (en) * | 2014-10-14 | 2015-06-24 | 缪明月 | Engineering truck, system and method for operating traffic indicating device |
CN104790310A (en) * | 2015-05-14 | 2015-07-22 | 上海电机学院 | Rotary automatic traffic road cone collecting and placing vehicle and collecting and placing method |
-
2016
- 2016-03-04 CN CN201610124314.1A patent/CN105735167B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2163689A2 (en) * | 2004-08-31 | 2010-03-17 | Alan Jordan | A cone collecting and laying apparatus |
AT509600A4 (en) * | 2010-04-01 | 2011-10-15 | Peiner Stefan Metallbau Eu | RECORDING EQUIPMENT FOR A VEHICLE |
GB2479558A (en) * | 2010-04-14 | 2011-10-19 | Laurence Ross Jones | Vehicle attachment |
CN104005348A (en) * | 2014-04-23 | 2014-08-27 | 南京理工大学 | Chain type road cone storing, collecting and dispensing device with mechanical arm |
CN104727245A (en) * | 2014-10-14 | 2015-06-24 | 缪明月 | Engineering truck, system and method for operating traffic indicating device |
CN104790310A (en) * | 2015-05-14 | 2015-07-22 | 上海电机学院 | Rotary automatic traffic road cone collecting and placing vehicle and collecting and placing method |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106192802A (en) * | 2016-07-22 | 2016-12-07 | 南京信息职业技术学院 | Intelligent roadblock system and control method thereof |
CN106192802B (en) * | 2016-07-22 | 2018-04-03 | 南京信息职业技术学院 | Intelligent roadblock system and control method thereof |
CN106368140A (en) * | 2016-09-06 | 2017-02-01 | 武汉理工大学 | Road cone automatic recovery device and recovery method thereof |
CN106894358A (en) * | 2017-04-10 | 2017-06-27 | 山东理工大学 | A kind of cone automatic deploying and retracting stores car |
CN107804210A (en) * | 2017-09-28 | 2018-03-16 | 中国兵器装备集团上海电控研究所 | A kind of road cone automatic deploying and retracting car based on manipulator |
CN107804210B (en) * | 2017-09-28 | 2020-08-25 | 中国兵器装备集团上海电控研究所 | Automatic car that receive and releases of way awl based on manipulator |
CN110700136A (en) * | 2019-10-15 | 2020-01-17 | 成方园 | Highway anti-collision barrel arrangement structure and construction method thereof |
CN112482262A (en) * | 2020-11-07 | 2021-03-12 | 广州交投绿化建设有限公司 | Control system for automatic traffic cone placing vehicle and implementation method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105735167B (en) | 2017-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105735167B (en) | Traffic conic road-sign folding and unfolding control system and its folding and unfolding road cone control method | |
CN103529831B (en) | Four-wheel micro computer mouse MPU Controlled All Digital Servo System controller based on double-core | |
CN102922272B (en) | Vacuum aspiration type high-speed intelligent automatic screw fastening machine structure | |
CN102922271B (en) | Universal type high-speed intelligent automatic screw fastening machine structure | |
CN205121333U (en) | AGV on -board control system | |
CN110578462A (en) | The control system of the low-voltage servo swing gate movement | |
CN203276413U (en) | Delivery mechanism of push type vending machine | |
CN203535477U (en) | Four-wheel micro-mouse sprint controller based on ARM9 | |
CN202985058U (en) | Vacuum absorbing type high-speed intelligent automatic screw-fastening mechanism | |
CN206156700U (en) | Fork lever mechanism | |
CN206060355U (en) | A kind of long-distance operating device of visualization distributor breaker dolly | |
CN105070063A (en) | Road monitoring system | |
CN205279887U (en) | Level motion target system | |
CN202694070U (en) | Integrated control system used in pneumatic marking machine | |
CN102525242B (en) | Method for automatically adjusting edge collision distance of sliding curtain | |
CN202492817U (en) | Double-arm split type superspeed barrier | |
CN201451154U (en) | Intelligently controlled airport bird-expelling vehicle | |
CN105474782B (en) | A kind of control method of aerospacecraft driver train | |
CN203063303U (en) | Remote program control vertical sealing device | |
CN102941470A (en) | Universal type high speed intelligent automatic screw fastening mechanism | |
CN103605363A (en) | Four-wheeled microcomputer mouse sprint controller based on ARM9 | |
CN203125104U (en) | Universal type high speed intelligent automatic screw fastening mechanism | |
CN202334547U (en) | Dual-network access physical isolation online switch device based on USB bus | |
CN208182554U (en) | A kind of piler walking safety device | |
CN202282071U (en) | Automatic snapshot controller during process of running red light for vehicle |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20171117 |