CN114312931A - Signal interface detection equipment, method and device of leveling equipment and storage medium - Google Patents

Signal interface detection equipment, method and device of leveling equipment and storage medium Download PDF

Info

Publication number
CN114312931A
CN114312931A CN202111370604.1A CN202111370604A CN114312931A CN 114312931 A CN114312931 A CN 114312931A CN 202111370604 A CN202111370604 A CN 202111370604A CN 114312931 A CN114312931 A CN 114312931A
Authority
CN
China
Prior art keywords
current
signal interface
leveling
preset event
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111370604.1A
Other languages
Chinese (zh)
Inventor
李洪人
***
周溢德
韩君龙
田纳新
张崑
王栋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guoneng Shuohuang Railway Development Co Ltd
Original Assignee
Guoneng Shuohuang Railway Development Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guoneng Shuohuang Railway Development Co Ltd filed Critical Guoneng Shuohuang Railway Development Co Ltd
Priority to CN202111370604.1A priority Critical patent/CN114312931A/en
Publication of CN114312931A publication Critical patent/CN114312931A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The application relates to a signal interface detection device, a method and a device of a leveling device and a storage medium. The signal interface detection device of the leveling device comprises a current control device and a control device. The control equipment is used for acquiring an initial level signal output by a signal interface of the leveling equipment and controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal; and the driving capability detection module is also used for outputting a driving capability detection result according to the type of a preset event. The blank of an instrument or a device for detecting the interface of the leveling equipment connected with the monitoring device is made up, the signal interface of the leveling equipment can be accurately detected, and the detection efficiency is high and the error is low.

Description

Signal interface detection equipment, method and device of leveling equipment and storage medium
Technical Field
The present application relates to the field of interface detection technologies, and in particular, to a signal interface detection device, a signal interface detection method, a signal interface detection apparatus, and a signal interface detection device for a leveling device.
Background
The wireless plane shunting (hereinafter referred to as level adjustment) equipment of the railway is connected with a signal interface of the monitoring device to serve as a channel for sending a shunting instruction to the train operation monitoring device, and is very important in the process of monitoring the shunting process by the monitoring device. Whether the monitoring device can monitor the shunting process directly influences the shunting operation and the safety of the shunting operation. However, in actual work, a maintainer usually performs a connection test on the interface and other devices, and confirms the state of the interface through a functional test, and this method has low operation efficiency and large error, and fails to find a fault of a signal interface connected to a monitoring device in time.
Disclosure of Invention
In view of the above, it is desirable to provide a detection device, a method, a device, and a storage medium capable of efficiently and accurately detecting a signal interface of a leveling device.
A signal interface detection device of a leveling device, comprising:
a current control device;
the control equipment is used for acquiring an initial level signal output by a signal interface of the leveling equipment and controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal; and the driving capability detection module is also used for outputting a driving capability detection result according to the type of a preset event.
In one embodiment, the system further comprises a detection interface; the detection interface is used for connecting a signal interface of the leveling equipment; the control equipment is used for acquiring the initial level signal output by the signal interface through the detection interface.
In one embodiment, the control device comprises an analog-to-digital converter and a processor; the analog-to-digital converter is respectively connected with the detection interface and the processor.
In one embodiment, the system further comprises a gesture detection device; the gesture detection equipment is used for detecting a gesture signal sent by a user and generating a corresponding operation instruction; the operation instruction is used for indicating the control equipment to complete corresponding operation.
A method for detecting a signal interface of a leveling device comprises the following steps:
acquiring an initial level signal output by a signal interface of a leveling device;
controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal;
and outputting a driving capability detection result according to the type of the preset event.
In one embodiment, the preset events comprise a first preset event and a second preset event; the step of controlling the current control device to execute a current absorption action or a current perfusion action on the leveling device until a preset event occurs according to the initial level signal comprises the following steps:
under the condition that the initial level is low level, controlling the current control equipment to execute current filling action on the leveling equipment until a first preset event occurs;
and under the condition that the initial level is high level, controlling the current control device to perform a current sinking action on the leveling device until a second preset event occurs.
In one embodiment, the first preset event includes that a value of a sink current generated by performing a current sink action is greater than a preset current value, or a voltage of the signal interface is greater than a first preset value;
the second preset event comprises the value of a source current generated by executing a current absorption action, or the voltage of the signal interface is smaller than a second preset value;
outputting a driving capability detection result according to the type of the preset event, comprising:
if the first preset event is that the value of the sink current generated by executing the current sink action is larger than a preset current value, outputting a driving capability detection result as qualified; if the first preset event is that the voltage of the signal interface is greater than a first preset value, outputting a driving capability detection result as unqualified;
if the second preset event is that the value of the source current generated by executing the current absorption action is larger than the preset current value, outputting a driving capability detection result as qualified; and if the second preset event is that the voltage of the signal interface is smaller than a second preset value, outputting the driving capability detection result as unqualified.
In one embodiment, the method further comprises the following steps:
sampling the voltage of the signal interface to obtain each sampling voltage; and within the preset time length, if the code patterns of all the sampling voltages are consistent, executing a decoding action.
A leveling device signal interface detection apparatus, comprising:
the level signal acquisition module is used for acquiring an initial level signal output by a signal interface of the leveling device;
the current control module is used for controlling the current control equipment to execute current absorption or current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal;
and the detection module is used for outputting a driving capability detection result according to the type of the preset event.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above method.
The signal interface detection device of the leveling device comprises a current control device and a control device. The control equipment is used for acquiring an initial level signal output by a signal interface of the leveling equipment, and controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal; and the driving capability detection module is also used for outputting a driving capability detection result according to the type of a preset event. The blank of an instrument or a device for detecting the interface of the leveling equipment connected with the monitoring device is made up, the signal interface of the leveling equipment can be accurately detected, and the detection efficiency is high and the error is low.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments or the conventional technologies of the present application, the drawings used in the descriptions of the embodiments or the conventional technologies will be briefly introduced below, it is obvious that the drawings in the following descriptions are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a first schematic structural diagram of a signal interface detection device of a leveling device in one embodiment;
FIG. 2 is a second schematic structural diagram of a signal interface detection device of the leveling device in one embodiment;
FIG. 3 is a third schematic structural diagram of a signal interface detection device of the leveling device in one embodiment;
FIG. 4 is a fourth schematic structural diagram of a signal interface detection device of the leveling device in one embodiment;
FIG. 5 is a first schematic flow chart diagram illustrating a method for leveling device signal interface detection in one embodiment;
FIG. 6 is a flowchart illustrating steps of controlling a current control device to perform a current sinking operation or a current sinking operation on a leveling device until a predetermined event occurs according to an initial level signal in an embodiment;
FIG. 7 is a flowchart illustrating steps of outputting a driving capability detection result according to a type of a predetermined event according to an embodiment;
FIG. 8 is a second schematic flow chart diagram illustrating a method for leveling device signal interface detection in one embodiment;
FIG. 9 is a schematic diagram of the output of an embodiment when a "start" command is sent to the leveling device;
fig. 10 is a schematic output diagram of an embodiment when an "unlock No. 5" instruction is sent to a leveling device.
Detailed Description
To facilitate an understanding of the present application, the present application will now be described more fully with reference to the accompanying drawings. Embodiments of the present application are set forth in the accompanying drawings. This application may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another.
It will be understood that when an element is referred to as being "connected" to another element, it can be directly connected to the other element or be connected to the other element through intervening elements. Further, "connection" in the following embodiments is understood to mean "electrical connection", "communication connection", or the like, if there is a transfer of electrical signals or data between the connected objects.
As used herein, the singular forms "a", "an" and "the" may include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises/comprising," "includes" or "including," etc., specify the presence of stated features, integers, steps, operations, components, parts, or combinations thereof, but do not preclude the presence or addition of one or more other features, integers, steps, operations, components, parts, or combinations thereof.
The monitoring device for railway train operation monitors shunting operation safety protection, and an interface connected with the monitoring device and railway wireless plane shunting (hereinafter referred to as level shunting) equipment is responsible for transmitting shunting instructions to the train operation monitoring device so as to realize a safety control function in a shunting process. The monitoring device and the leveling equipment jointly form a wireless leveling system. The wireless leveling system is of great importance to the safety of shunting operation.
Technical conditions of interfaces between a train operation monitoring and recording device and a plane shunting device are specified in technical conditions of railway plane wireless shunting devices (TB/T2834-2002), but at present, no instrument or device for detecting the technical conditions of the interfaces exists. In actual work, maintenance personnel adopt a method of connecting other equipment on a locomotive to perform a joint test to confirm the function of the signal interface state of the leveling equipment connected with the monitoring device, and the method has the defects of low operation efficiency, poor effect, large error and the like; the problems of potential performance reduction and the like such as reduction of the driving voltage of the signal interface, low driving current and the like cannot be found in time, whether the newly produced flat-tone equipment meets the technical condition standard cannot be judged, and the occurrence of signal interface faults cannot be effectively prevented.
In view of this, the present application provides a signal interface detection device of a leveling device, which is used for detecting a signal interface of the leveling device connected to a monitoring device, and has an accurate detection result and high detection efficiency. In one embodiment, as shown in fig. 1, there is provided a signal interface detecting device of a leveling device, including:
a current control device 10;
the control device 20 is configured to obtain an initial level signal output by a signal interface (not shown in fig. 1) of the leveling device 30, and control the current control device 10 to perform a current absorption action or a current sinking action on the leveling device 30 according to the initial level signal until a preset event occurs; and the driving capability detection module is also used for outputting a driving capability detection result according to the type of a preset event.
Specifically, the signal interface of the leveling device 30 is an interface connected to the monitoring apparatus, and the reliability of the function of the signal interface directly affects whether the monitoring apparatus can accurately obtain the shunting instruction sent by the leveling device 30, and directly determines whether the monitoring apparatus can smoothly monitor the shunting operation and play a role in supervising and checking the safety protection of shunting. In actual operation, the signal interface comprises 6 signal channels. The driving capability of the signal interface is the driving capability of each channel. The signal detection equipment can independently detect one channel to obtain the driving capability detection result of one channel; or the driving capability detection result of each channel can be obtained by respectively detecting each channel.
The current control device 10 is a controllable constant current source for simulating the current when the leveling device 30 is connected to a real load, and may sink or sink current from the leveling device 30, alternatively, the current control device 10 is a load current source.
The initial level signal comprises a high level signal and a low level signal, and is obtained according to the shunting instruction. For example, when the worker sends an "unlock No. 8" instruction to the leveling device 30, the signal interface outputs a high level signal. Specifically, when the initial level signal is a high level signal, the control device 20 controls the current control device 10 to perform a current sinking action on the leveling device 30; when the initial level signal is a low level signal, the current control device 10 is controlled to perform a current sinking action on the leveling device 30.
The preset events include: the current generated when the control device 10 performs the current sinking or current sinking action on the leveling device 30 is greater than a preset current value, or the voltage of the signal interface is greater than a first preset value; the preset event further comprises: the current generated when the control device 10 performs the current sinking or current sinking action on the leveling device 30 is greater than a preset current value, or the voltage of the signal interface is less than a second preset voltage. Wherein the control device 10 generates a source current when performing current sinking for the leveling device 30; the sink current generated when current sinking is performed on the leveling device 30. Optionally, the step of the control device 10 performing a current sinking action or a current sinking action on the leveling device 30 comprises linearly increasing the sinking or sourcing current from 0 milliamps until a preset event occurs.
Note that the control device 10 outputs the driving capability detection result according to the type of the preset event. Specifically, when the current generated when the control device 10 performs the current sinking or current sinking operation on the leveling device 30 is greater than a preset current value, the driving capability detection result is output as a pass; and when the voltage of the signal interface is greater than a first preset value or the voltage of the signal interface is less than a second preset value, outputting a driving capability detection result as unqualified.
The signal interface detection device of the leveling device comprises a current control device and a control device. The control equipment is used for acquiring an initial level signal output by a signal interface of the leveling equipment, and controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal; and the driving capability detection module is also used for outputting a driving capability detection result according to the type of a preset event. The blank of an instrument or a device for detecting the interface of the leveling equipment connected with the monitoring device is made up, the signal interface of the leveling equipment can be accurately detected, and the detection efficiency is high and the error is low.
In one embodiment, as shown in fig. 2, further comprises a detection interface 40; the detection interface 40 is used for connecting a signal interface (not shown in fig. 2) of the leveling device 30; the control device is used for acquiring an initial level signal output by the signal interface through the detection interface 40.
Specifically, the detection interface 40 is connected to the signal interface of the leveling device 30, and is used for transmitting the signal output by the signal interface, and also serves as a medium for detecting the voltage of the signal interface by the control device 20. Optionally, the shape of the detection interface 40 can be matched with the signal interface, and the detection interface is fixedly connected after being plugged. For example, in the case that the signal interface is a protrusion, the detection interface 40 has a groove structure; in the case that the signal interface has a groove structure, the detection interface 40 has a protrusion structure. It should be noted that the structure of the detection interface 40 is not limited, as long as the detection of the signal interface by the control device 20 can be completed by transmitting the signal output by the signal interface.
In one embodiment, as shown in fig. 3, the control device 20 includes an analog-to-digital converter 201 and a processor 202; the analog-to-digital converter 201 is connected to the detection interface 40 and the processor 202, respectively.
Specifically, the analog-to-digital converter 201 is connected to the detection interface 40 and the processor 202, respectively, and the processor 202 is connected to the current control apparatus 10. The voltage of the signal interface (not shown in fig. 3) of the leveling device 30 is transmitted to the analog-to-digital converter 201 through the detection interface 40, and the processor 202 is configured to obtain the voltage transmitted by the analog-to-digital converter 201.
The voltage of the signal interface of the leveling device 30 is an analog signal, and the analog-to-digital converter 201 is used for converting the analog signal into a digital signal. Specifically, the analog voltage of the signal interface of the leveling device 30 is transmitted to the input terminal of the analog-to-digital converter 201 through the detection interface 40, and the analog-to-digital converter 201 converts the analog voltage into a digital voltage and outputs the digital voltage to the processor 202.
It should be emphasized that the type of the Processor 202 is not limited, and may be set according to the actual application, for example, it may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; the current control device may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or the like, as long as an initial level signal transmitted by the analog-to-digital converter 201 can be obtained, and according to the initial level signal, the current control device 10 is controlled to perform a current sinking action or a current sinking action on the leveling device 30 until a preset event occurs; the driving capability detection result can be output according to the type of the preset event.
In one embodiment, as shown in FIG. 4, a gesture detection device 50 is also included; the gesture detection device 50 is used for detecting a gesture signal sent by a user and generating a corresponding operation instruction; the operation instruction is used to instruct the control device 20 to complete the corresponding operation.
In particular, gesture detection device 50 is a gesture detection device that enables a worker to interact directly with information displayed through a display, rather than indirectly with a pointer controlled through a mouse or touchpad. The gesture detection device 50 is configured to detect whether there is a gesture input, and generate an operation instruction corresponding to the gesture in response to the gesture input when there is the gesture input.
It is emphasized that the gesture signal is any gesture that can be realized by the palm; the operation instruction is any operation realized on a signal interface detection device of the leveling equipment; the generation method of the operation instruction is not limited, and may be any generation method in the art. Optionally, collecting each gesture signal of the worker, and packaging each gesture signal and the operation instruction in a database; and the gesture signals are arranged in one-to-one correspondence with the operation instructions. Specifically, when the worker sends a gesture signal directed at the display, the gesture detection device 50 may call a corresponding operation instruction in the database according to the gesture signal and send the operation instruction to the control device 20, and the control device 20 further completes the corresponding operation.
In a specific embodiment, when the worker waves the palm upward with respect to the display, the gesture detection device 50 generates an operation instruction for starting detection and sends the operation instruction to the control device 20, and the control device 20 completes the operation of starting detection after acquiring the operation instruction for starting detection.
In one embodiment, the signal interface detection device of the leveling device further comprises a power interface and a power switch; the power interface is connected with a power switch; the power switch is used for connecting or disconnecting the power supply.
Specifically, the power interface is used for connecting an external power supply. The type of power source interface is not limited and may be an interface matched to any power source in the art.
Above-mentioned signal interface check out test set of leveling equipment can make things convenient for carrying of check out test set through setting up power source and switch, improves detection efficiency.
In one embodiment, the signal interface detection device of the leveling device further comprises a power supply device and a power supply management device; the power management device is connected with the power device.
Specifically, the signal interface detection device of the leveling device may be externally connected with a power supply, or may use electric energy provided by its own power supply device. The type of power supply device is not limited and may be any one of power supplies in the art, and alternatively, a solar cell.
The power supply management equipment is used for controlling a power supply connected with the power supply interface to charge the power supply equipment when the electric quantity of the power supply equipment is low; and the energy conversion device is also used for converting the energy of the power supply equipment into electric energy to provide the electric energy for the detection device.
According to the signal interface detection equipment of the leveling equipment, through the arrangement of the power supply equipment and the power supply management equipment, the sustainability of the detection equipment is improved, and the situation that the detection equipment cannot work due to the fact that an external power supply cannot be provided on the site when the leveling equipment in the whole area is detected is avoided.
In one embodiment, the signal interface detection device of the leveling device further comprises a storage device; the storage device is connected with the control device.
Specifically, the storage device is used for storing the code pattern of the voltage of the signal interface so as to complete the subsequent decoding work.
In one embodiment, the signal interface detection device of the leveling device further comprises a display device; the display device is connected with the control equipment.
Specifically, the display device is used for displaying the detection result, the function selection of the detection device, the parameter setting, the startup and shutdown interfaces and the like. In a specific example, the display device is a touchable display screen for receiving operation instructions input by a user; the operation instruction is used for indicating the control equipment to complete corresponding operation. It is emphasized that the operation instruction is any operation implemented on the signal interface detection means of the leveling device. For example, the operator selects the button to initiate the test, and the test device then begins to perform signal interface testing.
In one embodiment, as shown in fig. 5, there is provided a method for detecting a signal interface of a leveling device, including the steps of:
s110, acquiring an initial level signal output by a signal interface of the leveling device;
specifically, the initial level signal output by the signal interface of the leveling device may be obtained in any manner known in the art. The initial level signal comprises a high level signal and a low level signal, and is obtained according to the shunting instruction. For example, when the worker sends an "unlock No. 8" instruction to the leveling device 30, the signal interface outputs a high level signal.
It should be noted that the signal interface includes 6 signal channels. The step of obtaining the initial level signal output by the signal interface of the leveling device comprises the following steps:
and acquiring initial level signals output by each signal channel.
S120, controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal;
specifically, when the initial level signal is a high level signal, the current control device is controlled to perform a current absorption action on the leveling device; and when the initial level signal is a low level signal, controlling the current control equipment to perform current filling action on the leveling equipment.
The preset events include: when the current absorption or current perfusion action is performed on the leveling equipment, the generated current is greater than a preset current value, or the voltage of a signal interface is greater than a first preset value; the preset event further comprises: when the current absorption or current perfusion action is performed on the leveling device, the generated current is larger than a preset current value, or the voltage of the signal interface is smaller than a second preset voltage. Wherein the source current is generated when current sinking is performed on the leveling device; and (3) a sink current generated when current is sunk to the leveling device. The step of performing a current sinking or sinking action on the leveling device includes linearly increasing the sinking or sourcing current from 0 milliamps until a predetermined event occurs.
S130, outputting a driving capability detection result according to the type of the preset event.
Specifically, when the current generated when the leveling device performs the current absorption or current infusion action is greater than a preset current value, the driving capability detection result is output to be qualified; and when the voltage of the signal interface is greater than a first preset value or the voltage of the signal interface is less than a second preset value, outputting a driving capability detection result as unqualified.
The signal interface detection method of the leveling device obtains an initial level signal output by a signal interface of the leveling device; controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal; according to the type of the preset event, the driving capability detection result is output, the driving capability of a signal interface of the leveling device can be accurately detected, and the detection efficiency is high and the error is low.
In one embodiment, the preset events include a first preset event and a second preset event; as shown in fig. 6, the step of controlling the current control device to perform the current sinking action or the current sinking action on the leveling device according to the initial level signal until the preset event occurs includes:
s140, under the condition that the initial level is low level, controlling the current control equipment to execute current perfusion action on the leveling equipment until a first preset event occurs;
and S150, controlling the current control device to perform a current sinking action on the leveling device under the condition that the initial level is high level until a second preset event occurs.
In one embodiment, the first predetermined event includes that a value of a sink current generated by performing a current sink action is greater than a predetermined current value, or a voltage of the signal interface is greater than a first predetermined value;
the second preset event comprises the value of a source current generated by executing a current sinking action or the voltage of the signal interface is smaller than a second preset value.
Specifically, the step of performing a current sink action or a current sink action on the leveling device includes linearly increasing the sink current or source current from 0 milliamps until a first preset event or a second preset event occurs.
In one embodiment, as shown in fig. 7, the step of outputting the driving capability detection result according to the type of the preset event includes:
s160, if the first preset event is that the value of the sink current generated by executing the current sink action is larger than a preset current value, outputting a drive capability detection result as qualified; if the first preset event is that the voltage of the signal interface is greater than a first preset value, outputting a driving capability detection result as unqualified;
specifically, the voltage of the signal interface is qualified within the range of 0 ± 0.5. Optionally, the preset current value is 6 milliamperes, and the first preset value is 0.5 amplitude. Specifically, if the value of the sink current generated by performing the current sink action is greater than 6 milliamperes and the voltage of the signal interface is less than or equal to 0.5 amplitude, the output driving capability detection result is qualified; and if the current is less than or equal to 6 milliamperes and the voltage of the signal interface is more than 0.5 amplitude, outputting the detection result of the driving capability to be unqualified.
S170, if the second preset event is that the value of the source current generated by executing the current absorbing action is larger than a preset current value, outputting a driving capability detection result as qualified; and if the second preset event is that the voltage of the signal interface is smaller than a second preset value, outputting the driving capability detection result as unqualified.
Specifically, the voltage of the signal interface is qualified within the range of 5 ± 0.5. Optionally, the preset current value is 6 milliamps, and the first preset value is 4.5 pieces. Specifically, if the value of the source current generated by executing the current absorption action is greater than 6 milliamperes and the voltage of the signal interface is greater than or equal to 4.5 amplitudes, the output driving capability detection result is qualified; if the source current is less than or equal to 6 milliamperes and the voltage of the signal interface is less than 4.5 amplitudes, the output driving capability detection result is unqualified.
In one embodiment, as shown in fig. 8, further comprising the steps of:
s180, sampling the voltage of the signal interface to obtain each sampling voltage;
specifically, the voltage of the signal interface is sampled every 10 milliseconds, and the voltages of 6 channels are read and stored simultaneously for each sampling, so that each sampled voltage is obtained.
And S190, in a preset time period, if the code patterns of the sampling voltages are consistent, executing a decoding action.
Specifically, if the code pattern of the voltage read this time is different from the last time, immediately covering and storing the last code pattern with a new code pattern; if the code pattern of one voltage is kept unchanged for 400 milliseconds, the output of the leveling device is considered to be stable, and the code pattern is processed by storage, decoding and the like.
It should be understood that although the various steps in the flowcharts of fig. 5-8 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 5-8 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
To further illustrate the present application, the following description is made with specific reference to specific examples:
as shown in fig. 9, the signal interface of the leveling device includes 6 signal channels, and when the worker sends a "start" command to the leveling device, the initial level signals output by the signal channel CH0 and the signal channel CH1 are both at a high level; the initial level signals output from the signal path CH2 to the signal path CH5 are all low.
As shown in fig. 10, the signal interface of the leveling device includes 6 signal channels, and when the worker sends an "unlock No. 5" instruction to the leveling device, the initial level signals output by the signal channel CH0 and the signal channel CH1 are both low level; the initial level signals output from the signal path CH2 to the signal path CH5 are all high.
In the process of detecting the driving capability of the signal interface, each signal channel is tested, and the test sequence of each round is CH0 → CH1 → CH2 → CH3 → CH4 → CH 5. When the change of the initial level signal of any signal channel is detected, a new round of test is immediately carried out. The specific test procedure is as follows:
if the initial level signal output by the signal channel is high level, the control device controls the current control device to absorb current from the leveling device, and the absorbed current increases linearly from 0 mA. While increasing the absorption current, the voltage VOH of the signal channel of the leveling device is detected, and if the absorption current reaches 8mA or VOH drops below 4.5V, the absorption current is stopped. If the stopping condition is that the absorbed current reaches 8mA, the high-level driving capability of the signal channel is qualified; if the stop condition is that the VOH is reduced to 4.5V, the high-level driving capability of the signal channel is unqualified;
if the initial level signal output by the signal channel is low level, the control equipment controls the current control equipment to feed current to the leveling equipment, and the fed current is linearly increased from 0 mA. And (3) gradually increasing the filling current, detecting the output voltage VOL of the leveling equipment, and stopping filling the current if the filling current reaches 8mA or the VOL rises to 0.5V. If the stopping condition is that the fed current reaches 8mA, the low-level driving capability of the channel is qualified; if the stop condition is that the VOL has risen to 0.5V, it indicates that the low level driving capability of the channel is not qualified.
In addition, the process of detecting the code pattern of the signal interface of the leveling device is as follows:
the voltages of all signal channels are sampled every 10ms, and the voltages of 6 channels are read and stored simultaneously for each sampling. If the code pattern of the voltage read this time is different from the last time, the new code pattern is immediately used for covering and storing the code pattern of the last time. If one code pattern is kept unchanged for 400ms, the output of the leveling device is considered to be stable, and the code pattern is processed by storage, decoding and the like.
In one embodiment, there is provided a leveling device signal interface detection apparatus, including:
the level signal acquisition module is used for acquiring an initial level signal output by a signal interface of the leveling device;
the current control module is used for controlling the current control equipment to execute current absorption or current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal;
and the detection module is used for outputting a driving capability detection result according to the type of the preset event.
In one embodiment, the preset events include a first preset event and a second preset event; the current control module includes:
the current-charging control module is used for controlling the current control equipment to execute current charging action on the leveling equipment under the condition that the initial level is low level until a first preset event occurs;
and the source current control module is used for controlling the current control device to execute a current absorption action on the leveling device until a second preset event occurs under the condition that the initial level is high level.
In one embodiment, the first predetermined event includes that a value of a sink current generated by performing a current sink action is greater than a predetermined current value, or a voltage of the signal interface is greater than a first predetermined value;
the second preset event comprises the value of a source current generated by executing a current absorption action, or the voltage of the signal interface is smaller than a second preset value;
the detection module includes:
the current-pouring detection module is used for outputting a driving capability detection result as qualified if a first preset event is that the value of the current which is generated by executing the current-pouring action is larger than a preset current value; if the first preset event is that the voltage of the signal interface is greater than a first preset value, outputting a driving capability detection result as unqualified;
the source current detection module is used for outputting a driving capability detection result as qualified if a second preset event is that the value of the source current generated by executing the current absorption action is larger than a preset current value; and if the second preset event is that the voltage of the signal interface is smaller than a second preset value, outputting the driving capability detection result as unqualified.
In one embodiment, the apparatus for detecting a signal interface of a leveling device further comprises:
the voltage sampling module is used for sampling the voltage of the signal interface to obtain each sampling voltage;
and the decoding module is used for executing decoding action if the code patterns of the sampling voltages are consistent within a preset time length.
For the specific definition of the signal interface detection device of the leveling device, reference may be made to the above definition of the signal detection method of the leveling device, and details are not described here. The modules in the signal detection device of the leveling device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules. It should be noted that, in the embodiment of the present application, the division of the module is schematic, and is only one logic function division, and there may be another division manner in actual implementation.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method of any one of the following:
acquiring an initial level signal output by a signal interface of a leveling device;
controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal;
and outputting a driving capability detection result according to the type of the preset event.
In one embodiment, the preset events include a first preset event and a second preset event; the computer program when executed by the processor further realizes the steps of:
under the condition that the initial level is low level, controlling the current control equipment to execute current filling action on the leveling equipment until a first preset event occurs;
and under the condition that the initial level is high level, controlling the current control device to perform a current sinking action on the leveling device until a second preset event occurs.
In one embodiment, the first predetermined event includes that a value of a sink current generated by performing a current sink action is greater than a predetermined current value, or a voltage of the signal interface is greater than a first predetermined value;
the second preset event comprises the value of a source current generated by executing a current absorption action, or the voltage of the signal interface is smaller than a second preset value;
the computer program when executed by the processor further realizes the steps of:
if the first preset event is that the value of the sink current generated by executing the current sink action is larger than a preset current value, outputting a driving capability detection result as qualified; if the first preset event is that the voltage of the signal interface is greater than a first preset value, outputting a driving capability detection result as unqualified;
if the second preset event is that the value of the source current generated by executing the current absorption action is larger than the preset current value, outputting a driving capability detection result as qualified; and if the second preset event is that the voltage of the signal interface is smaller than a second preset value, outputting the driving capability detection result as unqualified.
In one embodiment, the computer program when executed by the processor further performs the steps of:
sampling the voltage of the signal interface to obtain each sampling voltage;
and within the preset time length, if the code patterns of all the sampling voltages are consistent, executing a decoding action.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
In the description herein, references to the description of "some embodiments," "other embodiments," "desired embodiments," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, a schematic description of the above terminology may not necessarily refer to the same embodiment or example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A signal interface detection device for a leveling device, comprising:
a current control device;
the control equipment is used for acquiring an initial level signal output by a signal interface of the leveling equipment and controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal; and the driving capability detection module is also used for outputting a driving capability detection result according to the type of the preset event.
2. The signal interface detection device of a leveling device of claim 1, further comprising a detection interface; the detection interface is used for connecting a signal interface of the leveling device; the control equipment is used for acquiring the initial level signal output by the signal interface through the detection interface.
3. The signal interface detection device of a leveling device of claim 2 wherein the control device comprises an analog to digital converter and a processor; the analog-to-digital converter is respectively connected with the detection interface and the processor.
4. The signal interface detection device of a panning device of claim 1, further comprising a gesture detection device; the gesture detection equipment is used for detecting a gesture signal sent by a user and generating a corresponding operation instruction; the operation instruction is used for indicating the control equipment to complete corresponding operation.
5. A method for detecting a signal interface of a leveling device is characterized by comprising the following steps:
acquiring an initial level signal output by a signal interface of a leveling device;
controlling the current control equipment to execute a current absorption action or a current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal;
and outputting a driving capability detection result according to the type of the preset event.
6. The method according to claim 5, wherein the preset event comprises a first preset event and a second preset event; the step of controlling the current control device to execute a current absorption action or a current perfusion action on the leveling device until a preset event occurs according to the initial level signal comprises the following steps:
under the condition that the initial level is low level, controlling the current control equipment to execute current perfusion action on the leveling equipment until a first preset event occurs;
and under the condition that the initial level is a high level, controlling the current control equipment to perform a current absorption action on the leveling equipment until a second preset event occurs.
7. The method according to claim 6, wherein the first predetermined event comprises that the value of the sink current generated by the performing the current sink action is greater than a predetermined current value, or that the voltage of the signal interface is greater than a first predetermined value;
the second preset event comprises the value of a source current generated by the execution of the current absorption action or the voltage of the signal interface is smaller than a second preset value;
the step of outputting the driving capability detection result according to the type of the preset event includes:
if the first preset event is that the value of the current generated by the current carrying action is larger than a preset current value, outputting a driving capability detection result as qualified; if the first preset event is that the voltage of the signal interface is greater than a first preset value, outputting a driving capability detection result as unqualified;
if the second preset event is that the value of the source current generated by the execution of the current absorption action is larger than a preset current value, outputting a driving capability detection result as qualified; and if the second preset event is that the voltage of the signal interface is smaller than a second preset value, outputting a driving capability detection result as unqualified.
8. The method of claim 7, further comprising the steps of:
sampling the voltage of the signal interface to obtain each sampling voltage; and within a preset time length, if the code patterns of the sampling voltages are consistent, executing a decoding action.
9. A leveling device signal interface detection apparatus, comprising:
the level signal acquisition module is used for acquiring an initial level signal output by a signal interface of the leveling device;
the current control module is used for controlling the current control equipment to execute current absorption or current perfusion action on the leveling equipment until a preset event occurs according to the initial level signal;
and the detection module is used for outputting a driving capability detection result according to the type of the preset event.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 5 to 8.
CN202111370604.1A 2021-11-18 2021-11-18 Signal interface detection equipment, method and device of leveling equipment and storage medium Pending CN114312931A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111370604.1A CN114312931A (en) 2021-11-18 2021-11-18 Signal interface detection equipment, method and device of leveling equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111370604.1A CN114312931A (en) 2021-11-18 2021-11-18 Signal interface detection equipment, method and device of leveling equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114312931A true CN114312931A (en) 2022-04-12

Family

ID=81047189

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111370604.1A Pending CN114312931A (en) 2021-11-18 2021-11-18 Signal interface detection equipment, method and device of leveling equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114312931A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070040578A1 (en) * 2005-08-16 2007-02-22 Infineon Technologies Ag Input/output interface with current sensing
CN103063234A (en) * 2011-07-11 2013-04-24 洛克威尔自动控制技术股份有限公司 Electric transducer and method for automatically selecting sourcing mode thereof
CN106043357A (en) * 2016-06-30 2016-10-26 湖南中车时代通信信号有限公司 Shunting signal conversion device
CN106093544A (en) * 2016-06-17 2016-11-09 湖南中车时代通信信号有限公司 Collection shunting signal, locomotive digital quantity signal and electrical locomotive power three-in-one detection device
CN107783025A (en) * 2017-09-22 2018-03-09 深圳芯邦科技股份有限公司 A kind of test system and method based on chip port current driving ability

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070040578A1 (en) * 2005-08-16 2007-02-22 Infineon Technologies Ag Input/output interface with current sensing
CN103063234A (en) * 2011-07-11 2013-04-24 洛克威尔自动控制技术股份有限公司 Electric transducer and method for automatically selecting sourcing mode thereof
CN106093544A (en) * 2016-06-17 2016-11-09 湖南中车时代通信信号有限公司 Collection shunting signal, locomotive digital quantity signal and electrical locomotive power three-in-one detection device
CN106043357A (en) * 2016-06-30 2016-10-26 湖南中车时代通信信号有限公司 Shunting signal conversion device
CN107783025A (en) * 2017-09-22 2018-03-09 深圳芯邦科技股份有限公司 A kind of test system and method based on chip port current driving ability

Similar Documents

Publication Publication Date Title
CN104484248A (en) Diagnosis method and device for electrifying fault of computer motherboard
CN201812014U (en) Automatic open-circuit and short-circuit testing system for integrated circuits
CN107505520A (en) Scene-type intelligence automatically testing platform and method
CN104090259A (en) Automatic gauge test platform and method based on Python script
CN103165203A (en) Detection method for nuclear power station circuit board component
US20130221999A1 (en) Testing system and method
CN112327082A (en) Flexible direct current engineering complete energy consumption device testing method, device and system
CN102288849A (en) Highway addressable remote transducer (HART) loop fault diagnosis instrument and method
CN109634261B (en) System and method for automatically identifying and testing state of test system
CN114312931A (en) Signal interface detection equipment, method and device of leveling equipment and storage medium
CN108375708A (en) A kind of flexible direct current power transmission system power module functional test board
CN111122994B (en) Man-machine interaction testing device for simulation circuit breaker
KR20180080568A (en) Integrated performance diagnosis system and method for integrated circuit board of reactor protection system
CN114609465B (en) Power supply program control device of storage testing system for abnormal environment test
CN211478919U (en) Optical module testing arrangement
CN113848413A (en) Flexible direct current converter valve power module test system
CN209930204U (en) Solar cell simulation device
CN114121137A (en) Nand Flash particle power consumption test system and method
RU72773U1 (en) AUTOMATED CONTROL AND DIAGNOSTIC SYSTEM OF RADIO ELECTRONIC DEVICES "AC 5-2"
Cai et al. Design of IGBT parameter automatic test system based on LabVIEW
Zhang et al. An Automated Multi-Device Characterization System for Reliability Assessment of Power Semiconductors
CN215599256U (en) Automation equipment and circuit thereof
CN218122174U (en) Pulse back bias test system
CN115623077B (en) Autonomous controllable test system
CN211785746U (en) Accurate testing arrangement of transient voltage under pulse load

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination