A method for self-checking of a compressed mechanism signal switch, an electronic device, and a storage medium thereof
Patent Information
- Application Number
- CN202411915941.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-24
- Publication Date
- 2026-08-21
- Estimated Expiration
- 2044-12-24
AI Technical Summary
[0003]本发明实施例提供了一种压缩机构信号开关自检方法,以解决现有的垃圾车压缩机构中由于压缩机构使用工况恶劣,信号开关容易因腐蚀或外力撞击导致损坏,但对于信号开关是否正常无明显的报警装置,人们不易发现,不及时处理会导致机械的损坏,出现安全事故,影响人们安全的问题
本发明实施例中,通过控制压缩机构的动作,判断各动作中的接近开关是否收到到位信号,判断压力感应装置是否感应到预设压力值,若接近开关收到到位信号或压力继电器到达设定压力值或等待时间到达预设时间,则进入到下一步,在同一个动作循环执行两次后,判断是否连续两次出现压力感应装置感应到设定压力值,接近开关未收到到位信号且等待时间到达预设时间,若压力感应装置循环两次下连续两次出现压力感应装置感应到预设压力值,则语音喇叭进行满箱报警,若当连续两次出现接近开关未收到到位信号且其对应的等待时间到达预设时间时,则进行语音喇叭进行接近开关故障报警。从而提醒人们需要对信号检测开关进行维修,在满箱时及时播放语音提醒,防止过载损坏机械结构。
Smart Images

Figure CN119527743B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of signal switch detection technology for compression mechanisms, and in particular to a self-testing method for signal switches of compression mechanisms, an electronic device, and its storage medium. Background Technology
[0002] Currently, most compactor garbage trucks use position signal switches as reversing switches for the compaction mechanism. Due to the harsh operating conditions of the compaction mechanism, the signal switches are prone to damage from corrosion or external impacts, leading to abnormal reversing. Operators may find it difficult to detect and handle the fault in time. If the fault is not detected and handled promptly, it can cause mechanical damage, safety accidents, and endanger public safety. Summary of the Invention
[0003] This invention provides a self-testing method for the signal switch of a compression mechanism, which solves the problem that in existing garbage truck compression mechanisms, due to the harsh operating conditions of the compression mechanism, the signal switch is easily damaged by corrosion or external impact. However, there is no obvious alarm device to indicate whether the signal switch is normal, making it difficult for people to detect. Failure to address this issue in a timely manner can lead to mechanical damage, safety accidents, and affect people's safety.
[0004] In a first aspect, embodiments of the present invention provide a self-testing method for a compression mechanism signal switch, the method comprising the following steps: S101, Control the scraper to open; S102. Determine whether the first proximity switch has received the position signal I1, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T1 has reached the preset time T1'. If the first proximity switch has received the position signal I1 or the pressure relay has reached the set pressure value P or the waiting time T1 has reached the preset time T1', then proceed to step S103. S103, Control the slide plate downwards S104. Determine whether the second proximity switch has received the position signal I2, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T2 has reached the preset time T. If the second proximity switch has received the position signal I2 or the pressure relay has reached the set pressure value P or the waiting time T2 has reached the preset time T2', then proceed to step S105. S105, Control scraper closure; S106. Determine whether the third proximity switch has received the position signal I3, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T3 has reached the preset time T. If the third proximity switch has received the position signal I3 or the pressure relay has reached the set pressure value P or the waiting time T3 has reached the preset time T3', then proceed to step S105. S107, Control the skateboard to move upwards; S108. Determine whether the fourth proximity switch has received the position signal I4, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T4 has reached the preset time T. If the fourth proximity switch has received the position signal I4 or the pressure relay has reached the set pressure value P or the waiting time T4 has reached the preset time T4', then proceed to step S101. S109. After the judgment steps S101-S108 are repeated twice, determine whether the following occur consecutively: the pressure sensor detects the set pressure value P, the first proximity switch does not receive the positioning signal I1 and the waiting time T1 reaches the preset time T1', the second proximity switch does not receive the positioning signal I2 and the waiting time T2 reaches the preset time T2', the third proximity switch does not receive the positioning signal I3 and the waiting time T3 reaches the preset time T3', and the fourth proximity switch does not receive the positioning signal I4 and the waiting time T4 reaches the preset time T4'. If the pressure sensor detects the set pressure value P consecutively after the pressure sensor is repeated twice, a full box alarm will be sounded by the voice speaker. If the proximity switch does not receive the positioning signal consecutively twice and the corresponding waiting time reaches the preset time T, a proximity switch fault alarm will be sounded by the voice speaker.
[0005] Optionally, if after two cycles, the first proximity switch fails to receive the arrival signal I1 twice in a row and the waiting time T1 reaches the preset time T1', the voice speaker will issue a fault alarm for the first proximity switch. If, after two cycles, the second proximity switch fails to receive the arrival signal I2 twice in a row and the waiting time T2 reaches the preset time T2', the voice speaker will issue a fault alarm for the second proximity switch. If, after two cycles, the third proximity switch fails to receive the arrival signal I3 twice in a row and the waiting time T3 reaches the preset time T3', the voice speaker will issue a fault alarm for the third proximity switch. If, after two cycles, the fourth proximity switch fails to receive the arrival signal I4 twice consecutively and the waiting time T4 reaches the preset time T4', the voice speaker will issue a fault alarm for the fourth proximity switch.
[0006] Optionally, the pressure sensing device is a pressure relay.
[0007] Optionally, the compression mechanism includes a cylinder for controlling the opening and closing of the scraper and the sliding of the slide plate, and a hydraulic power system for providing power to the cylinder, wherein the preset time T1', T2', T3', T4'>Q / A, where Q is the flow rate of the hydraulic power system and A is the cross-sectional area of the cylinder.
[0008] In a second aspect, embodiments of the present invention provide an electronic device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps in the compression mechanism signal switch self-test method.
[0009] Thirdly, embodiments of the present invention provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the self-test method for the signal switch of a compression mechanism.
[0010] Compared with existing technologies, the beneficial effects of this technical solution are as follows: In this embodiment of the invention, by controlling the operation of the compression mechanism, it is determined whether the proximity switch receives a positioning signal and whether the pressure sensing device senses a preset pressure value. If the proximity switch receives a positioning signal, the pressure relay reaches the set pressure value, or the waiting time reaches the preset time, the process proceeds to the next step. After the same operation is executed twice in a loop, it is determined whether the pressure sensing device senses the set pressure value twice consecutively, while the proximity switch does not receive a positioning signal and the waiting time reaches the preset time. If the pressure sensing device senses the preset pressure value twice consecutively in two loops, a full-box alarm is triggered by a voice horn. If the proximity switch does not receive a positioning signal twice consecutively and its corresponding waiting time reaches the preset time, a proximity switch fault alarm is triggered by a voice horn. This serves as a reminder to maintain the signal detection switch and to play a timely voice reminder when the box is full, preventing overload damage to the mechanical structure.
[0011] Additional aspects and advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. Attached Figure Description
[0012] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0013] Figure 1 This is a flowchart illustrating the self-test method for the signal switch of the compression mechanism according to an embodiment of the present invention; Figure 2 This is a flowchart illustrating steps S100 to S105 of the compression mechanism signal switch self-test method according to an embodiment of the present invention. Figure 3This is a flowchart illustrating steps S105 to S109 of the compression mechanism signal switch self-test method according to an embodiment of the present invention. Detailed Implementation The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Well-known modules, units, and their connections, links, communications, or operations are not shown or described in detail. Furthermore, the described features, architectures, or functions can be combined in any way in one or more embodiments. Those skilled in the art should understand that the various embodiments described below are for illustrative purposes only and are not intended to limit the scope of protection of the present invention. It is also readily understood that the modules, units, or processing methods in the various embodiments shown herein and in the accompanying drawings can be combined and designed in various different configurations. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention. The definitions of various terms or methods used in the following embodiments are, except where logically impossible, generally defined as broad concepts that can be implemented based on the content disclosed in the embodiments. Under this understanding, all specific subordinate limitations of terms or methods should be considered as part of the invention and should not be narrowly interpreted or biased simply because the specification does not disclose such a specific limitation. Similarly, provided it is logically feasible, the order of steps in the method is flexible and variable. The specific subordinate limitations of the broad concepts of various terms or methods... All of these provisions fall within the scope of protection of this invention.
[0014] The main solution of this application embodiment is as follows: By controlling the operation of the compression mechanism, it is determined whether the proximity switch receives a positioning signal in each operation, and whether the pressure sensing device senses the set pressure value. If the proximity switch receives a positioning signal, the pressure relay reaches the set pressure value, or the waiting time reaches a preset time, the process proceeds to the next step. After the same operation is executed twice in a loop, it is determined whether the pressure sensing device senses the set pressure value twice consecutively, while the proximity switch does not receive a positioning signal and the waiting time reaches the preset time. If the pressure sensing device senses the set pressure value twice consecutively in two loops, a full-box alarm is triggered by a voice horn. If the proximity switch does not receive a positioning signal twice consecutively and its corresponding waiting time reaches the preset time, a proximity switch fault alarm is triggered by a voice horn. This reminds people to maintain the signal detection switch and plays a timely voice reminder when the box is full to prevent overload damage to the mechanical structure.
[0015] In current technology, most garbage compactors use position signal switches as reversing switches for the compaction mechanism. Due to the harsh operating conditions of the compaction mechanism, the signal switches are prone to damage from corrosion or external impacts, leading to abnormal reversing. Operators may find it difficult to detect and handle the fault in time. If not detected and addressed promptly, it can cause mechanical damage, safety accidents, and endanger public safety.
[0016] This application provides a solution that can perform self-testing on the compression mechanism signal switch and issue an alarm, so that operators can more clearly know whether the compression mechanism signal switch is normal.
[0017] Therefore, the present invention provides a self-testing method for a compression mechanism signal switch. (Refer to...) Figures 1 to 3 In one embodiment of the present invention, the self-test method for the compression mechanism signal switch includes steps S100-S109, wherein: S101, Control the scraper to open; S102. Determine whether the first proximity switch has received the position signal I1, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T1 has reached the preset time T1'. If the first proximity switch has received the position signal I1 or the pressure relay has reached the set pressure value P or the waiting time T1 has reached the preset time T1', then proceed to step S103. S103, Control the slide plate downwards S104. Determine whether the second proximity switch has received the position signal I2, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T2 has reached the preset time T. If the second proximity switch has received the position signal I2 or the pressure relay has reached the set pressure value P or the waiting time T2 has reached the preset time T2', then proceed to step S105. S105, Control scraper closure; S106. Determine whether the third proximity switch has received the position signal I3, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T3 has reached the preset time T. If the third proximity switch has received the position signal I3 or the pressure relay has reached the set pressure value P or the waiting time T3 has reached the preset time T3', then proceed to step S105. S107, Control the skateboard to move upwards; S108. Determine whether the fourth proximity switch has received the position signal I4, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T4 has reached the preset time T. If the fourth proximity switch has received the position signal I4 or the pressure relay has reached the set pressure value P or the waiting time T4 has reached the preset time T4', then proceed to step S101. S109. After the judgment steps S101-S108 are repeated twice, determine whether the following occur consecutively: the pressure sensor detects the set pressure value P, the first proximity switch does not receive the positioning signal I1 and the waiting time T1 reaches the preset time T1', the second proximity switch does not receive the positioning signal I2 and the waiting time T2 reaches the preset time T2', the third proximity switch does not receive the positioning signal I3 and the waiting time T3 reaches the preset time T3', and the fourth proximity switch does not receive the positioning signal I4 and the waiting time T4 reaches the preset time T4'. If the pressure sensor detects the set pressure value P consecutively after the pressure sensor is repeated twice, a full box alarm will be sounded by the voice speaker. If the proximity switch does not receive the positioning signal consecutively twice and the corresponding waiting time reaches the preset time T, a proximity switch fault alarm will be sounded by the voice speaker.
[0018] In this embodiment, the actions of the compression mechanism include scraper opening, slide plate descent, scraper closing, and slide plate ascending. During scraper opening, a first proximity switch detects whether the scraper is fully open. During slide plate descent, a second proximity switch detects whether the slide plate is fully descending. During scraper closing, a third proximity switch detects whether the scraper is fully closing. During slide plate ascending, a fourth proximity switch detects whether the slide plate is fully ascending. In this embodiment, the detection of the compression mechanism's actions and the detection of the hydraulic system are independent and do not affect each other. When the compression mechanism operates, a timer begins, which is the waiting time. The timer corresponds to the timing of the compression mechanism under the corresponding action. For example, when controlling the scraper to open, a count is performed; when the first proximity switch receives the completion signal, the count stops, and the waiting time T1 is recorded. The preset time is manually preset and set by the operator. The compression mechanism includes a cylinder for controlling the scraper opening and closing and controlling the slide plate sliding, and a hydraulic power system that provides power to the cylinder. The preset time follows the rule that T>Q / A, where Q is the flow rate of the hydraulic power system and A is the cross-sectional area of the cylinder.
[0019] In this embodiment, the acquisition of pressure information of the hydraulic system of the compression mechanism is as follows: when the compression mechanism operates, the pressure in its hydraulic system changes, and the pressure sensing device continuously acquires and stores the pressure in the hydraulic system. The sensors used to detect the hydraulic system of the compression mechanism can be pressure relays, pressure sensors, or flow sensors; preferably, pressure relays are used for hydraulic system detection. In step S109, it is determined whether, after two cycles of steps S101-S108, the pressure sensing device senses the set pressure value P twice consecutively in the corresponding steps. For the pressure detection of the hydraulic system, the pressure value detected under each action is independent, and the counting is also independent, without affecting each other. For example, in step S100, the scraper is opened, at which time the pressure of the hydraulic system changes. The pressure sensing device detects the pressure of the hydraulic system. When the pressure sensing device senses the pressure value P, it counts. The first count corresponding to the scraper opening action is 1. When the pressure... If the sensing device does not detect the pressure value P, it will not count. After running to step S103, the pressure sensing device detects the pressure of the hydraulic system. When the pressure sensing device detects the pressure value P, it counts. The first count for the sliding plate going down is 1. The first count for the scraper opening action and the first count for the sliding plate going down are 1. These two counts are not added together, but exist independently. When running to the scraper opening action for the second time, when the pressure sensing device detects the pressure value P and the second count for the scraper opening action is 2, the voice speaker is triggered to sound a full box alarm.
[0020] In this embodiment, step S109 further includes: If, after two cycles, the first proximity switch fails to receive the arrival signal I1 twice in a row and the waiting time T1 reaches the preset time T1', the voice speaker will issue a fault alarm for the first proximity switch. If, after two cycles, the second proximity switch fails to receive the arrival signal I2 twice in a row and the waiting time T2 reaches the preset time T2', the voice speaker will issue a fault alarm for the second proximity switch. If, after two cycles, the third proximity switch fails to receive the arrival signal I3 twice in a row and the waiting time T3 reaches the preset time T3', the voice speaker will issue a fault alarm for the third proximity switch. If, after two cycles, the fourth proximity switch fails to receive the arrival signal I4 twice consecutively and the waiting time T4 reaches the preset time T4', the voice speaker will issue a fault alarm for the fourth proximity switch.
[0021] When the voice speaker plays a voice message, the alarm content of the corresponding proximity switch is different. The corresponding proximity switch can be accurately located based on the different voice alarm content, so that precise repair can be performed without the operator having to check each proximity switch one by one.
[0022] When controlling the speaker to play a voice message, the control logic is as follows: When a certain action of the compression mechanism is executed for the first time, it checks whether the corresponding proximity switch receives a signal. If a signal is received, the proximity switch count is reset to zero, indicating that the proximity switch is working normally. If no signal is received, it checks whether the pressure relay has received pressure during the transition from the current action to the next action, and whether the pressure relay pressure has reached the pressure relay's set pressure P. If the set pressure P is reached, a full-box alarm is triggered, counting begins, and the next action is executed. If the set pressure P is not reached during the transition from the current action to the next action, it checks the time required for the transition. If the time reaches the set time T, a proximity switch fault is detected, counting begins, and the next action is executed. This process is repeated until all the actions of the compression mechanism are completed. At the start of the second cycle, a certain action of the compression mechanism is executed for the second time. According to the above control logic, when the full-box alarm count occurs twice consecutively, it is considered full, and the speaker plays a voice message indicating a full box. When the proximity switch fault count occurs twice consecutively, the speaker plays a voice message indicating a proximity switch fault.
[0023] This invention also proposes a computer device, which includes a compression mechanism signal detection switch self-testing device as described in the above embodiments. It is worth noting that since the computer device of this invention is based on the above-described self-testing device, the embodiments of the computer device of this invention include all the technical solutions of all embodiments of the above-described self-testing device, and the achieved technical effects are completely the same, which will not be repeated here. It should be noted that in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or system that includes that element. The sequence numbers of the above embodiments are merely for description and do not represent the superiority or inferiority of the embodiments. Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods of the various embodiments of this invention. The above are merely preferred embodiments of this invention and do not limit the patent scope of this invention. Any equivalent structural or procedural transformations made based on the description and drawings of this invention, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this invention.
Claims
1. A self-testing method for a compression mechanism signal switch, characterized in that, Includes the following steps: S101, Control the scraper to open; S102. Determine whether the first proximity switch has received the position signal I1, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T1 has reached the preset time T1'. If the first proximity switch has received the position signal I1 or the pressure relay has reached the set pressure value P or the waiting time T1 has reached the preset time T1', then proceed to step S103. S103, Control the slide plate downwards S104. Determine whether the second proximity switch has received the position signal I2, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T2 has reached the preset time T. If the second proximity switch has received the position signal I2 or the pressure relay has reached the set pressure value P or the waiting time T2 has reached the preset time T2', then proceed to step S105. S105, Control scraper closure; S106. Determine whether the third proximity switch has received the position signal I3, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T3 has reached the preset time T. If the third proximity switch has received the position signal I3 or the pressure relay has reached the set pressure value P or the waiting time T3 has reached the preset time T3', then proceed to step S107. S107, Control the skateboard to move upwards; S108. Determine whether the fourth proximity switch has received the position signal I4, whether the pressure sensing device has sensed the pressure value P, and whether the waiting time T4 has reached the preset time T. If the fourth proximity switch has received the position signal I4 or the pressure relay has reached the set pressure value P or the waiting time T4 has reached the preset time T4', then proceed to step S101. S109. After the judgment steps S101-S108 are repeated twice, check whether the pressure sensing device senses the set pressure value P, the first proximity switch does not receive the position signal I1 and the waiting time T1 reaches the preset time T1', the second proximity switch does not receive the position signal I2 and the waiting time T2 reaches the preset time T2', the third proximity switch does not receive the position signal I3 and the waiting time T3 reaches the preset time T3', and the fourth proximity switch does not receive the position signal I4 and the waiting time T4 reaches the preset time T4'. If the pressure sensing device senses the set pressure value P twice in a row after the pressure sensing device is repeated twice, the voice horn will sound a full box alarm. If the proximity switch does not receive the position signal twice in a row and the corresponding waiting time reaches the preset time T, the voice horn will sound a proximity switch fault alarm.
2. The self-testing method for the signal switch of the compression mechanism according to claim 1, characterized in that, Step S109 includes: If, after two cycles, the first proximity switch fails to receive the arrival signal I1 twice in a row and the waiting time T1 reaches the preset time T1', the voice speaker will issue a fault alarm for the first proximity switch. If, after two cycles, the second proximity switch fails to receive the arrival signal I2 twice in a row and the waiting time T2 reaches the preset time T2', the voice speaker will issue a fault alarm for the second proximity switch. If, after two cycles, the third proximity switch fails to receive the arrival signal I3 twice in a row and the waiting time T3 reaches the preset time T3', the voice speaker will issue a fault alarm for the third proximity switch. If, after two cycles, the fourth proximity switch fails to receive the arrival signal I4 twice consecutively and the waiting time T4 reaches the preset time T4', the voice speaker will issue a fault alarm for the fourth proximity switch.
3. The self-testing method for the signal switch of the compression mechanism according to claim 1, characterized in that, The pressure sensing device is a pressure relay.
4. The self-testing method for the signal switch of the compression mechanism according to claim 1, characterized in that, The compression mechanism includes a cylinder for controlling the opening and closing of the scraper and the sliding of the slide plate, and a hydraulic power system for providing power to the cylinder. The preset times T1', T2', T3', T4'>Q / A, where Q is the flow rate of the hydraulic power system and A is the cross-sectional area of the cylinder.
5. An electronic device, characterized in that, include: The memory, the processor, and the computer program stored in the memory and executable on the processor, wherein the processor, when executing the computer program, implements the steps in the compression mechanism signal switch self-test method as described in any one of claims 1 to 4.
6. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the compression mechanism signal switch self-test method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Time and pressure judgment based intelligent detection device for mobile compression station
CN106395208A
Full-box control method for split rubbish compression box
CN110436096A