Gate motor control methods, devices, equipment and storage media
Patent Information
- Application Number
- CN202310151726.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2043-02-22
AI Technical Summary
[0004]鉴于以上所述现有技术的缺点,本发明的目的在于提供一种门控电机控制方法、装置、设备及存储介质,用于解决主控模块对门控电机的控制发生异常时,不能有效切断该异常控制,而导致轨道交通运行异常以及危及乘客人身安全的技术问题
[0035]通过监测门控电机霍尔传感器和门控电机电流,获得第一霍尔数据和第一电流数据,然后分析第一霍尔数据获得霍尔时序数据,以及分析第一电流数据获得电流特征曲线,并基于每一霍尔时序数据和每一电流特征曲线的一一对应关系,判断霍尔时序数据和电流特征曲线是否匹配,进一步地,若霍尔时序数据和电流特征曲线不匹配,则根据第一霍尔数据和第一电流数据判断主控模块对门控电机的控制状态,最后若主控模块对门控电机的控制状态为异常状态,切断门控电机当前的主控驱动信号,使用备用主控模块生成备用驱动信号,并通过备用驱动信号控制门控电机。对门控电机的控制,存在着主控模块和备用主控模块,当备用主控模块监测到主控模块对门控电机的控制出现异常时,可以主动切断主控模块与门控电机的连接,由备用主控模块控制门控电机,即启用冗余的门控电机控制电路对门控电机进行控制,保证门控电机的正确运行,能够有效避免轨道交通运行异常以及危及乘客人身安全等问题。
Smart Images

Figure CN116430764B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of motor control technology, and in particular to a gated motor control method, device, equipment, and storage medium. Background Technology
[0002] Platform screen doors in urban rail transit are a type of safety and security device used on subway, monorail, and light rail platforms. They possess safety functions, and their reliability, as well as the safety of passengers and trains, must be fully considered during design, manufacturing, and installation, employing multiple safety protection measures. The opening and closing of platform screen doors in urban rail transit systems are controlled by motors to facilitate passenger boarding and alighting. Any abnormality or malfunction in the door control motor will affect passenger and train safety.
[0003] Traditional gate motor control typically uses a pulse width modulation (PWM) signal output by the gate motor main control module to control the motor current based on the required driving capacity, thus ensuring stable motor operation. However, when an abnormality or malfunction occurs in the gate motor control module, there is no effective method to cut off the control of the abnormality or malfunction, leading to abnormal operation of rail transit and endangering the personal safety of passengers. Summary of the Invention
[0004] In view of the shortcomings of the prior art described above, the purpose of this invention is to provide a gate control motor control method, device, equipment and storage medium to solve the technical problem that when the main control module's control of the gate control motor is abnormal, it cannot effectively cut off the abnormal control, which leads to abnormal operation of rail transit and endangers the personal safety of passengers.
[0005] To address the above problems, the present invention provides a gate-controlled motor control method, the method comprising:
[0006] Monitor the Hall sensor of the gate motor and the current of the gate motor to obtain the first Hall data and the first current data;
[0007] Analyze the first Hall data to obtain Hall timing data, and analyze the first current data to obtain current characteristic curves. Based on the one-to-one correspondence between each Hall timing data and each current characteristic curve, determine whether the Hall timing data and the current characteristic curve match.
[0008] If the Hall timing data and the current characteristic curve do not match, the control status of the main control module on the gate motor is determined based on the first Hall data and the first current data.
[0009] If the main control module's control state of the gate motor is abnormal, the current main control drive signal of the gate motor is cut off, a backup drive signal is generated using the backup main control module, and the gate motor is controlled by the backup drive signal.
[0010] In one embodiment of the present invention, before determining the control state of the gate motor by the main control module based on the first Hall data and the first current data, the method further includes:
[0011] The system receives second Hall data and second current data sent by the main control module. The second Hall data is the Hall data corresponding to the gate motor under the control of the main control module, and the second current data is the current data corresponding to the gate motor under the control of the main control module.
[0012] In one embodiment of the present invention, determining the control state of the main control module over the gate motor based on the first Hall data and the first current data includes:
[0013] The second Hall data is compared with the first Hall data, and the second current data is compared with the first current data to obtain the comparison result;
[0014] Based on the comparison results, the control status of the main control module over the gate motor is determined.
[0015] In one embodiment of the present invention, determining the control state of the main control module over the gate motor based on the comparison result includes:
[0016] If the second Hall data is consistent with the first Hall data, and the second current data is consistent with the first current data, then the control state of the main control module for the gate motor is normal.
[0017] If the first Hall data is inconsistent with the second Hall data, and / or the first current data is inconsistent with the second current data, then the control state of the main control module for the gate motor is abnormal.
[0018] In one embodiment of the present invention, cutting off the current main control drive signal of the gate motor includes:
[0019] Switch the waveform cutoff circuit from the closed state to the open state to disconnect the main control module from the gate control motor.
[0020] In one embodiment of the present invention, a backup master control module is used to generate a backup drive signal, and the gate motor is controlled by the backup drive signal, including:
[0021] The backup master control module generates the backup drive signal based on the first Hall data and the first current data;
[0022] The pulse width signal is adjusted based on the backup drive signal, and the adjusted pulse width signal is transmitted to the gate motor to control the operation of the gate motor.
[0023] In one embodiment of the present invention, the method further includes:
[0024] If the second Hall data is consistent with the first Hall data, and the second current data is consistent with the first current data, then the gate motor continues to be controlled according to the backup drive signal.
[0025] This invention also provides a door control motor control device, the device comprising:
[0026] The backup main control module is used to monitor the Hall sensor of the gate motor and the current of the gate motor to obtain the first Hall data and the first current data;
[0027] The first judgment module is used to analyze the first Hall data to obtain Hall timing data and analyze the first current data to obtain current characteristic curves, and to determine whether the Hall timing data and the current characteristic curves match based on the one-to-one correspondence between each Hall timing data and each current characteristic curve.
[0028] The second judgment module is used to determine the control state of the main control module on the gate motor based on the first Hall data and the first current data if the Hall timing data and the current characteristic curve match.
[0029] The cut-off module is used to cut off the current main control drive signal of the gate motor if the control state of the main control module is abnormal, generate a backup drive signal using the backup main control module, and control the gate motor through the backup drive signal.
[0030] This invention also provides an electronic device, including a processor, a memory, and a communication bus;
[0031] The communication bus is used to connect the processor and the memory;
[0032] The processor is used to execute a computer program stored in the memory to implement the method as described in any of the above embodiments.
[0033] This invention also provides a computer-readable storage medium having a computer program stored thereon, the computer program being used to cause the computer to perform the method as described in any of the above embodiments.
[0034] As described above, the gate motor control method, apparatus, device, and storage medium provided by the embodiments of the present invention have the following beneficial effects:
[0035] By monitoring the Hall sensor and current of the gate motor, first Hall data and first current data are obtained. Then, the first Hall data is analyzed to obtain Hall timing data, and the first current data is analyzed to obtain current characteristic curves. Based on the one-to-one correspondence between each Hall timing data and each current characteristic curve, it is determined whether the Hall timing data and current characteristic curves match. Furthermore, if the Hall timing data and current characteristic curves do not match, the control state of the main control module on the gate motor is determined based on the first Hall data and the first current data. Finally, if the control state of the main control module on the gate motor is abnormal, the current main control drive signal of the gate motor is cut off, a backup drive signal is generated using the backup main control module, and the gate motor is controlled by the backup drive signal. The gate control motor is controlled by a main control module and a backup main control module. When the backup main control module detects an abnormality in the main control module's control of the gate control motor, it can actively disconnect the main control module from the gate control motor and let the backup main control module control the gate control motor. That is, the redundant gate control motor control circuit is used to control the gate control motor, ensuring the correct operation of the gate control motor and effectively avoiding abnormal operation of rail transit and problems that endanger passenger safety. Attached Figure Description
[0036] Figure 1 This is a schematic diagram illustrating the implementation environment of a gate motor control device in the related art, as shown in an exemplary embodiment of this application;
[0037] Figure 2 This is a schematic diagram illustrating the implementation environment of a gate motor control device, as shown in an exemplary embodiment of this application;
[0038] Figure 3 This is a flowchart illustrating a gate motor control method in an exemplary embodiment of this application;
[0039] Figure 4 This is an exemplary communication flowchart illustrating an exemplary embodiment of this application;
[0040] Figure 5 This is a flowchart illustrating a main control module controlling a gate motor, as shown in an exemplary embodiment of this application.
[0041] Figure 6 This is a flowchart illustrating an exemplary embodiment of this application of a backup master control module controlling a gate motor;
[0042] Figure 7 This is a block diagram illustrating a gate motor control device in an exemplary embodiment of this application;
[0043] Figure 8 This is a schematic diagram of the structure of an electronic device provided in one embodiment of this application. Detailed Implementation
[0044] The following specific examples illustrate the implementation of the present invention. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and various details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that, unless otherwise specified, the following embodiments and features described therein can be combined with each other.
[0045] It should be noted that the illustrations provided in the following embodiments are only schematic representations of the basic concept of the present invention. Therefore, the drawings only show the components related to the present invention and are not drawn according to the actual number, shape and size of the components in the actual implementation. In the actual implementation, the form, quantity and proportion of each component can be arbitrarily changed, and the layout of the components may also be more complex.
[0046] Urban rail transit platform screen door systems control the opening and closing of platform screen doors via motor drives. Specifically, the main control module of the door control motor outputs pulse-width modulation (PWM) signals to control the motor current based on the required driving capacity, ensuring stable motor operation and facilitating passenger boarding and alighting. Therefore, when the main control module malfunctions in its control of the door control motor, it affects passenger and train safety. However, there is no effective method to interrupt the control of the door control motor in the event of such malfunctions, leading to abnormal rail transit operations and endangering passenger safety.
[0047] Please see Figure 1 , Figure 1 This is a schematic diagram illustrating the implementation environment of a gate motor control device in the related art, as shown in an exemplary embodiment of this application. Figure 1As shown, the control of the gate motor includes the gate motor itself, a main control module, a current acquisition module, a waveform conversion circuit, a pre-drive module, and an inverter circuit. The main control module is connected to the current acquisition module, which in turn is connected to the gate motor. The main control module is also connected sequentially to the waveform conversion circuit, the pre-drive module, and the inverter circuit, before finally connecting to the gate motor. The gate motor controls the opening and closing of the platform door; the main control module controls the gate motor; the current acquisition module acquires the electrode current of the gate motor in real time; the waveform conversion circuit and the pre-drive module convert the drive signal output from the main control module; and the inverter circuit converts DC power into AC power with fixed frequency and voltage or frequency and voltage regulation. The main control module acquires the current of the gate motor in real time through the current acquisition module, and then, based on the current, transmits the drive signal to the gate motor sequentially through the waveform conversion circuit, the pre-drive module, and the inverter circuit, thereby controlling the operation of the gate motor. Therefore, controlling the gate motor solely through the gate motor main control module can easily lead to abnormal rail transit operation and endanger passenger safety if the control of the gate motor malfunctions or fails.
[0048] To address the aforementioned problems, this application provides a gate motor control method. Please refer to [link to relevant documentation]. Figure 2 , Figure 2 This is a schematic diagram illustrating the implementation environment of a gate motor control device, as shown in an exemplary embodiment of this application. Figure 2As shown in the schematic diagram of the implementation environment, the gate control motor includes a gate control motor, a backup main control circuit for the gate control motor, a main control circuit for the gate control motor, and a motor drive signal cutoff circuit. The backup main control circuit for the gate control motor includes a backup main control module, a first waveform conversion circuit, a first pre-drive module, and a first inverter circuit. The backup main control module ensures the normal operation of the gate control motor through monitoring, cutoff, and control measures. The main control circuit for the gate control motor includes a main control module, a second waveform conversion circuit, a second pre-drive module, and a second inverter circuit. The motor drive signal cutoff circuit includes a backup main control module, a waveform cutoff circuit, and a second waveform conversion circuit. The backup main control module controls the waveform cutoff circuit to cut off the second waveform conversion circuit. The backup main control module is also connected to the gate control motor through a first motor Hall sensor acquisition module on the gate control motor's Hall sensor monitoring channel and a first current acquisition module on the gate control motor's current monitoring channel. The main control module is also connected to the gate control motor through a second motor Hall sensor acquisition module on the gate control motor's Hall sensor monitoring channel and a second current acquisition module on the gate control motor's current monitoring channel. The backup main control module communicates with the main control module via a communication module. When the backup main control module detects an abnormality in the main control module's control of the gate motor, it can actively disconnect the main control module from the gate motor and take over control of the gate motor from the backup main control module. This means that redundant gate motor control circuitry is activated to control the gate motor. By using the main control module and the backup main control module to jointly control the gate motor, the correct operation of the gate motor can be guaranteed.
[0049] Please see Figure 3 , Figure 3 This is a flowchart illustrating a gate motor control method in an exemplary embodiment of this application. This method can be applied to... Figure 2 The implementation environment is shown, and the method is specifically executed by the association resolution module within that implementation environment. It should be understood that this method can also be applied to other exemplary implementation environments and executed by devices in other implementation environments; this embodiment does not limit the implementation environment to which the method is applicable. To address these issues, embodiments of this application propose a gate motor control method, a gate motor control device, an electronic device, and a computer-readable storage medium, which will be described in detail below.
[0050] like Figure 3 As shown, in an exemplary embodiment, the gate motor control method includes at least steps S301 to S304, which are described in detail below:
[0051] Step S301: Monitor the Hall sensor of the gate motor and the current of the gate motor to obtain the first Hall data and the first current data.
[0052] It should be understood that the backup main control module of the gate motor has the functions of monitoring the control status of the main control module on the gate motor, cutting off the main control module's control of the gate motor, and controlling the operation of the gate motor. Therefore, during the process of the main control module controlling the gate motor, the backup main control module can monitor the main control module's control of the gate motor in real time.
[0053] Please continue reading Figure 2 The backup main control module for the gate motor is connected to the gate motor via the first motor Hall sensor acquisition module on the gate motor Hall sensor monitoring channel to monitor the gate motor's Hall sensor data, and also via the first current acquisition module on the gate motor's current monitoring channel to monitor the gate motor's current, thereby obtaining the first Hall data and the first current data. Therefore, the first Hall data is the Hall data of the gate motor detected by the backup main control module during the main control module's control of the gate motor; the first current data is the current data of the gate motor detected by the backup main control module during the main control module's control of the gate motor.
[0054] Step S302: Analyze the first Hall data to obtain Hall timing data, and analyze the first current data to obtain current characteristic curves. Based on the one-to-one correspondence between each Hall timing data and each current characteristic curve, determine whether the Hall timing data and the current characteristic curves match.
[0055] Considering whether the first Hall data and first current data obtained by the backup main control module are the accurate Hall data and accurate current data required for the operation of the gate motor, after monitoring and obtaining the first Hall data and first current data, the backup main control module of the gate motor needs to judge the accuracy of the first Hall data and first current data. That is, to analyze the first Hall data and then obtain the Hall timing data, and to analyze the first current data and then obtain the current characteristic curve. It should be understood that there is a one-to-one correspondence between the Hall timing data and the current characteristic curve. Therefore, the accuracy of the first Hall data and first current data can be judged by judging whether the above-mentioned Hall timing data and current characteristic curve match.
[0056] Step S303: If the Hall timing data and the current characteristic curve do not match, the control status of the main control module on the gate motor is determined based on the first Hall data and the first current data.
[0057] The system determines whether the Hall effect timing data and the current characteristic curve match. If they match, it indicates that the first Hall effect data and the first current data are the accurate Hall effect data and accurate current data required for the operation of the gate motor. Therefore, the control status of the main control module over the gate motor can be determined based on the first Hall effect data and the first current data. If they do not match, it indicates that there is a problem with the first Hall effect data and the first current data monitored by the backup main control module. This indicates that the main control module's monitoring is abnormal, and therefore, the first Hall effect data and the first current data serve as the basis for determining the control status of the main control module over the gate motor.
[0058] In one embodiment, before determining the control state of the gate motor by the main control module based on the first Hall data and the first current data, the method further includes:
[0059] The system receives the second Hall data and the second current data sent by the main control module. The second Hall data is the Hall data corresponding to the gate motor under the control of the main control module, and the second current data is the current data corresponding to the gate motor under the control of the main control module.
[0060] After determining that the Hall timing data and current characteristic curve do not match, the backup master control module indicates that the master control module is abnormally controlling the motor. Therefore, the master control module's control status over the gate motor can be judged based on the first Hall data and the first current data. This judgment requires determining the corresponding Hall data and current data of the gate motor collected by the master control module during its control process—namely, the second Hall data and the second current data. Therefore, while monitoring the master control module's control status over the gate motor, the backup master control module sends the aforementioned second Hall data and second current data to the backup master control module in real time. It should be understood that the gate motor's main control circuit outputs the main control drive signal based on the second Hall data and the second current data. Therefore, judging the master control module's control status over the gate motor requires verifying the accuracy of the second Hall data and the second current data; hence, the master control module sends the second Hall data and the second current data to the backup master control module for judgment.
[0061] Please see Figure 4 , Figure 4 This is an exemplary communication flowchart illustrating an exemplary embodiment of this application. (As shown...) Figure 4As shown, the main control module and the backup main control module communicate through a communication module. First, the main control module initializes the communication module; then it checks whether the communication module is communicating normally. If the communication is not normal, it indicates that the main control module and the backup main control module cannot communicate, so the communication ends. At this time, the communication module needs to be checked and repaired. If the communication is normal, the second Hall data and the second current data are transmitted to the backup CNC module, and the communication ends.
[0062] In one embodiment, determining the control state of the gate motor by the main control module based on the first Hall data and the first current data includes:
[0063] The second Hall data is compared with the first Hall data, and the second current data is compared with the first current data to obtain the comparison results;
[0064] Based on the comparison results, the control status of the main control module over the gate motor is determined.
[0065] Furthermore, the backup main control module determines the control status of the main control module on the gate motor based on the first Hall data and the first current data. First, it compares the second Hall data with the first Hall data and the second current data with the first current data to obtain the comparison results. Then, based on the comparison results, it determines the control status of the main control module on the gate motor.
[0066] In one embodiment, determining the control state of the main control module over the gate motor based on the comparison results includes:
[0067] If the second Hall data is consistent with the first Hall data, and the second current data is consistent with the first current data, then the main control module's control status for the gate motor is normal.
[0068] If the first Hall data is inconsistent with the second Hall data, and / or the first current data is inconsistent with the second current data, then the main control module's control status for the gate motor is abnormal.
[0069] Specifically, the main control module's control state for the gate motor includes two types: normal state and abnormal state. When the second Hall effect data matches the first Hall effect data and the second current data matches the first current data, the main control module's control state for the gate motor is normal. When the first Hall effect data and the second Hall effect data are inconsistent, and / or the first current data and the second current data are inconsistent, the main control module's control state for the gate motor is abnormal. That is, when any one of the following sets of data is mismatched: the first Hall effect data and the second Hall effect data, or the first current data and the second current data, the main control module's control state for the gate motor is abnormal.
[0070] Step S304: If the control state of the main control module for the gate motor is abnormal, cut off the current main control drive signal of the gate motor, use the backup main control module to generate a backup drive signal, and control the gate motor through the backup drive signal.
[0071] Considering that an abnormal state in the main control module's control of the gate motor could lead to malfunctions in rail transit and endanger passenger safety, the backup main control module activates a cutoff function upon detecting this abnormality. This function actively disconnects the current main control drive signal to the gate motor. This main control drive signal is generated by the gate motor's main control circuit during operation. Timely disconnection of the main control drive signal prevents abnormal operation of the gate motor. The backup main control module then activates its control function, generating a backup drive signal to achieve normal control of the gate motor.
[0072] In one embodiment, cutting off the current master control drive signal of the gate motor includes:
[0073] Switch the waveform cutoff circuit from the closed state to the open state to disconnect the main control module from the gate control motor.
[0074] By changing the operating state of the waveform cutoff circuit, the connection between the main control module and the gate motor is disconnected, thereby cutting off the main control drive signal of the gate motor. For example, the waveform cutoff circuit can be an electronic switch with a single-pole double-throw function, including an open state and a closed state. When the main control module controls the gate motor, the electronic switch is in the closed state. When it is necessary to disconnect the main control module's control over the gate motor, the state of the electronic switch can be switched to the open state, disconnecting the connection between the main control module and the gate motor.
[0075] In one embodiment, a backup drive signal is generated using a backup master control module, and the gate motor is controlled by the backup drive signal, including:
[0076] The backup main control module generates a backup drive signal based on the first Hall effect data and the first current data;
[0077] The pulse width signal is regulated based on the backup drive signal, and the regulated pulse width signal is transmitted to the gate motor to control the operation of the gate motor.
[0078] The backup main control module activates the cut-off function. After actively cutting off the current main control drive signal of the gate motor, it immediately activates the control function. That is, it generates a backup drive signal based on the first Hall data and the first current data, and then adjusts the pulse width signal based on the backup drive signal. The adjusted pulse width signal is then transmitted to the gate motor to control the gate motor and realize the normal operation of the gate motor.
[0079] In one embodiment, the method further includes:
[0080] If the second Hall data is consistent with the first Hall data, and the second current data is consistent with the first current data, then the gate motor will continue to be controlled according to the main control drive signal.
[0081] When the second Hall data is consistent with the first Hall data, and the second current data is consistent with the first current data, it indicates that the main control module is not controlling the gate motor abnormally. Therefore, the backup main control module will not control the waveform cutoff circuit to cut off the current main control drive signal of the gate motor, but will continue to control the operation of the gate motor according to the main control drive signal.
[0082] Please see Figure 5 , Figure 5 This is a flowchart illustrating a main control module controlling a gate motor, as shown in an exemplary embodiment of this application. Figure 5 As shown, the main control module first acquires the Hall sensor data of the gate motor, i.e., the second Hall data; then it determines whether the Hall sensor data is valid. It should be noted that Hall sensor data can be analyzed to obtain Hall timing data. The validity of the Hall sensor data is determined based on the Hall timing data. Here, validity and invalidity indicate whether the Hall sensor data acquired by the main control module is accurate. If the Hall sensor data is invalid, it means that the gate motor cannot be controlled based on the Hall sensor data, and the process ends; if the Hall sensor data is valid, the main control drive signal output is controlled based on the Hall sensor data to control the gate motor, and then the process ends.
[0083] Please see Figure 6 , Figure 6 This is a flowchart illustrating an exemplary embodiment of this application, showing a backup master control module controlling a gate motor. For example... Figure 6As shown, during the monitoring process of the main control module on the gate motor, the backup main control module collects Hall sensor data and current data of the gate motor, namely the first Hall sensor data and the first current data. Then, it determines whether the Hall sensor data is valid. Validity or invalidity here indicates whether the Hall sensor data collected by the backup main control module is accurate. If the Hall sensor data is invalid, it means that the control status of the main control module on the gate motor cannot be determined based on the Hall sensor data, and the process ends. If the Hall sensor data is valid, it determines whether the control module of the gate motor is the backup main control module. If it is, it controls the output of the backup drive signal based on the Hall sensor data and current data to control the gate motor, and the process ends. If not, it determines whether the Hall sensor data is valid. The system checks whether the sensing timing and current characteristic curves match, i.e., it re-determines the accuracy of the Hall data based on the current data. If they match, it indicates that the Hall data is accurate, and the main control module's control over the gate motor does not need to be cut off, so the process ends. If they do not match, it indicates that the main control module's control over the gate motor is abnormal. Further, if it is determined that the main control module's control over the gate motor is abnormal, the control waveform cutoff circuit cuts off the main control module's control over the gate motor. Then, the gate motor control is set to the backup main control module, i.e., the backup main control module enables its control function. When the backup main control module enables its control function, it controls the output of the backup drive signal based on the collected Hall data and current data to control the gate motor, and then the process ends.
[0084] The gate motor control method provided in the above embodiments obtains first Hall data and first current data by monitoring the Hall sensor and the current of the gate motor. Then, it analyzes the first Hall data to obtain Hall timing data and analyzes the first current data to obtain current characteristic curves. Based on the one-to-one correspondence between each Hall timing data and each current characteristic curve, it determines whether the Hall timing data and the current characteristic curve match. Further, if the Hall timing data and the current characteristic curve do not match, it determines the control state of the main control module on the gate motor based on the first Hall data and the first current data. Finally, if the control state of the main control module on the gate motor is abnormal, it cuts off the current main control drive signal of the gate motor, uses the backup main control module to generate a backup drive signal, and controls the gate motor through the backup drive signal. The gate control motor is controlled by a main control module and a backup main control module. When the backup main control module detects an abnormality in the main control module's control of the gate control motor, it can actively disconnect the main control module from the gate control motor and let the backup main control module control the gate control motor. That is, the redundant gate control motor control circuit is used to control the gate control motor, ensuring the correct operation of the gate control motor and effectively avoiding abnormal operation of rail transit and problems that endanger passenger safety.
[0085] Please see Figure 7 , Figure 7 This is a block diagram illustrating a gate motor control device in an exemplary embodiment of this application, as shown below. Figure 7 As shown, this embodiment provides a door control motor control device 700, which includes:
[0086] The backup main control module 701 is used to monitor the Hall sensor of the gate motor and the current of the gate motor to obtain the first Hall data and the first current data.
[0087] The first judgment module 702 is used to analyze the first Hall data to obtain Hall timing data and analyze the first current data to obtain current characteristic curves, and to judge whether the Hall timing data and current characteristic curves match based on the one-to-one correspondence between each Hall timing data and each current characteristic curve.
[0088] The second judgment module 703 is used to determine the control status of the main control module on the gate motor based on the first Hall data and the first current data if the Hall timing data and the current characteristic curve do not match.
[0089] The disconnection module 704 is used to disconnect the current main control drive signal of the gate motor if the control state of the main control module is abnormal, generate a backup drive signal using the backup main control module, and control the gate motor through the backup drive signal.
[0090] In this embodiment, the device is essentially configured with multiple modules to execute the methods in any of the above embodiments. The specific functions and technical effects can be referred to in the above embodiments, and will not be repeated here.
[0091] Please see Figure 8 The present invention also provides an electronic device 800, including a processor 801, a memory 802 and a communication bus 803;
[0092] Communication bus 803 is used to connect processor 801 and memory 802;
[0093] The processor 801 is used to execute a computer program stored in the memory 802 to implement one or more methods as described in the above embodiments.
[0094] This invention also provides a computer-readable storage medium, characterized in that it stores a computer program thereon.
[0095] A computer program is used to cause a computer to perform any of the methods described in Embodiment 1 above.
[0096] This application also provides a non-volatile readable storage medium storing one or more modules (programs). When these modules are applied to a device, they enable the device to execute the instructions included in Embodiment 1 of this application.
[0097] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0098] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0099] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0100] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0101] The above embodiments are merely illustrative of the principles and effects of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by those skilled in the art without departing from the spirit and technical concept disclosed in the present invention should still be covered by the claims of the present invention.
Claims
1. A method of controlling a gate motor, characterized by, The method includes: Monitor the Hall sensor of the gate motor and the current of the gate motor to obtain the first Hall data and the first current data; Analyze the first Hall data to obtain Hall timing data, and analyze the first current data to obtain current characteristic curves. Based on the one-to-one correspondence between each Hall timing data and each current characteristic curve, determine whether the Hall timing data and the current characteristic curve match. If the Hall timing data and the current characteristic curve do not match, the control status of the main control module on the gate motor is determined based on the first Hall data and the first current data. If the main control module's control state of the gate motor is abnormal, the current main control drive signal of the gate motor is cut off, a backup drive signal is generated using the backup main control module, and the gate motor is controlled by the backup drive signal.
2. The gate motor control method according to claim 1, characterized in that, Before determining the control state of the gate motor by the main control module based on the first Hall data and the first current data, the method further includes: The system receives second Hall data and second current data sent by the main control module. The second Hall data is the Hall data corresponding to the gate motor under the control of the main control module, and the second current data is the current data corresponding to the gate motor under the control of the main control module.
3. The gate motor control method according to claim 2, characterized in that, The control state of the main control module over the gate motor is determined based on the first Hall data and the first current data, including: The second Hall data is compared with the first Hall data, and the second current data is compared with the first current data to obtain the comparison result; Based on the comparison results, the control status of the main control module over the gate motor is determined.
4. The gate motor control method according to claim 3, characterized in that, Based on the comparison results, the control state of the main control module over the gate motor is determined, including: If the second Hall data is consistent with the first Hall data, and the second current data is consistent with the first current data, then the control state of the main control module for the gate motor is normal. If the first Hall data is inconsistent with the second Hall data, and / or the first current data is inconsistent with the second current data, then the control state of the main control module for the gate motor is abnormal.
5. The gate motor control method according to claim 1, characterized in that, Disconnecting the current main control drive signal of the gate motor includes: Switch the waveform cutoff circuit from the closed state to the open state to disconnect the main control module from the gate control motor.
6. The gate motor control method according to claim 1, characterized in that, Using a backup master control module to generate a backup drive signal, and controlling the gate motor through the backup drive signal, including: The backup master control module generates the backup drive signal based on the first Hall data and the first current data; The pulse width signal is adjusted based on the backup drive signal, and the adjusted pulse width signal is transmitted to the gate motor to control the operation of the gate motor.
7. The gate motor control method according to any one of claims 2 to 4, characterized in that, The method further includes: If the second Hall data is consistent with the first Hall data, and the second current data is consistent with the first current data, then the gate motor continues to be controlled according to the main control drive signal.
8. A gate-controlled motor control device, characterized in that, The device includes: The backup main control module is used to monitor the Hall sensor of the gate motor and the current of the gate motor to obtain the first Hall data and the first current data. The first judgment module is used to analyze the first Hall data to obtain Hall timing data and analyze the first current data to obtain current characteristic curves, and to determine whether the Hall timing data and the current characteristic curves match based on the one-to-one correspondence between each Hall timing data and each current characteristic curve. The second judgment module is used to determine the control status of the main control module on the gate motor based on the first Hall data and the first current data if the Hall timing data and the current characteristic curve do not match. The cut-off module is used to cut off the current main control drive signal of the gate motor if the control state of the main control module is abnormal, generate a backup drive signal using the backup main control module, and control the gate motor through the backup drive signal.
9. An electronic device, characterized in that, Includes processor, memory, and communication bus; The communication bus is used to connect the processor and the memory; The processor is used to execute a computer program stored in the memory to implement the method as described in any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, It contains computer programs. The computer program is used to cause the computer to perform the method as described in any one of claims 1-7.
Citation Information
Patent Citations
Platform door fault detection method and device, computer equipment and storage medium
CN113568393A
Device and method for detecting starting state of synchronous motor
CN114079410A