Disclosure of Invention
In order to solve the above problems, an object of the present invention is to provide an electrical testing method and system, which can achieve automatic plugging and automatic testing between a plurality of aerial connectors and a plurality of aerial sockets.
The invention provides an electrical testing method, which comprises the following steps:
determining to-be-tested data of a tested product according to an external instruction;
controlling a crimping push rod to move downwards at a first speed, enabling an aerial plug to be close to an aerial socket of a tested product downwards, and controlling the crimping push rod to continue to move downwards at a second speed when a pressure sensing value obtained by a pressure sensor reaches a first pressure threshold value, so that the aerial plug and the aerial socket are crimped, wherein the second speed is less than the first speed;
when the micro-pressure value obtained by the micro-pressure sensor reaches a micro-pressure threshold value, starting a vibration motor to enable the aerial plug and the aerial socket to be in aligned pressure connection through vibration, and when the pressure sensing value reaches a second pressure threshold value, stopping controlling the pressure connection push rod and closing the vibration motor;
generating input voltage according to the data to be tested, collecting test voltage of the product to be tested, and determining whether each signal interface in the aerial socket is connected or not according to the test voltage;
and generating an input waveform signal according to the data to be tested, acquiring a test waveform signal of the product to be tested, and determining whether each bus signal interface in the aerial socket is connected or not according to the test waveform signal.
As a further improvement of the invention, the determining the data to be tested of the tested product according to the external instruction comprises the following steps:
the external controller sends an external instruction to the core processor;
the core processor determines the data to be tested according to the type of the product to be tested, and sends the data to be tested to a connection testing module and a waveform testing module through each communication modulator, so that the connection testing module and the waveform testing module respectively perform voltage testing and waveform testing according to the data to be tested.
As a further improvement of the present invention, the controlling, at a first speed, a pressing push rod to move downward to make an aerial plug approach downward to an aerial socket of the tested product, and when a pressure sensing value obtained by a pressure sensor reaches a first pressure threshold, controlling, at a second speed, the pressing push rod to continue to move downward to press the aerial plug and the aerial socket, includes:
the first processor controls a push rod driver to drive the push rod driver to control the crimping push rod, and meanwhile, the pressure sensor measures a pressure sensing value corresponding to the crimping force between the aerial plug and the aerial socket in real time;
the push rod driver controls the crimping push rod to move downwards at the first speed, and the aerial plug is close to the aerial socket downwards;
when the pressure sensing value reaches the first pressure threshold value, the push rod driver controls the crimping push rod to continue moving downwards at the second speed, so that the aerial plug and the aerial socket are crimped.
As a further improvement of the present invention, when the micro pressure value obtained by the micro pressure sensor reaches a micro pressure threshold, the vibration motor is started to make the aerial plug and the aerial socket aligned and crimped by vibration, and when the pressure sensing value reaches a second pressure threshold, the crimping push rod is stopped being controlled, and the vibration motor is turned off, including:
the micro-pressure sensor measures the micro-pressure value of the alignment compression joint between the aerial plug and the aerial socket in real time;
when the micro-pressure value reaches a micro-pressure threshold value, the second processor controls the motor driving module to start the vibration motor, so that the aerial plug and the aerial socket are in vibration alignment compression joint, and meanwhile, the pressure sensor measures a pressure sensing value corresponding to compression joint force between the aerial plug and the aerial socket in real time;
and when the pressure sensing value reaches the second pressure threshold value, stopping controlling the crimping push rod, and simultaneously controlling the motor driving module to close the vibration motor and clear the micro-pressure value of the micro-pressure sensor.
As a further improvement of the present invention, generating an input voltage according to the data to be tested, collecting a test voltage of the product to be tested, and determining whether each signal interface in the aviation plug socket is connected according to the test voltage includes:
the third controller determines voltage information according to the data to be tested and controls the floating voltage generator to generate a floating voltage value according to the voltage information;
after the floating voltage value is subjected to voltage stabilization processing by the voltage stabilization module, the floating voltage value is modulated to form a stable level value which is used as the input voltage;
performing current limiting processing on the level value through a current limiter, and connecting the voltage subjected to the current limiting processing into a plurality of signal testing interfaces;
after the aerial plug and the aerial socket are aligned and crimped, current flows through the aerial plug and the aerial socket and then returns to the plurality of signal testing interfaces and is connected into a voltage acquisition circuit;
the voltage acquisition circuit acquires each test voltage output by the signal test interfaces, and each test voltage is input into the comparator through the electronic switch board according to a test sequence after being subjected to analog-to-digital conversion;
the comparator compares the test voltage returned by the signal test interface corresponding to each signal interface with the input voltage and outputs a comparison result of each voltage;
the third controller determines whether each signal interface in the aerial socket is connected or not according to the voltage comparison result output by the comparator;
and one signal test interface correspondingly tests one signal interface in the aerial socket.
As a further improvement of the present invention, the determining, by the third controller, whether each signal interface in the aerial socket is connected according to the voltage comparison result output by the comparator includes:
when the test voltage returned by the signal test interface corresponding to the signal interface is zero, the third controller determines that the signal interface is not connected;
when the difference value between the test voltage returned by the signal test interface corresponding to the signal interface and the input voltage is larger than zero and smaller than or equal to a voltage threshold value, the third controller determines that the signal interface is connected but the connection is unreliable;
and when the difference value between the test voltage returned by the signal test interface corresponding to the signal interface and the input voltage is greater than the voltage threshold value and less than or equal to the input voltage, the third controller determines that the signal interface is connected reliably.
As a further improvement of the present invention, generating an input waveform signal according to the data to be tested, acquiring a test waveform signal of the product to be tested, and determining whether each bus signal interface in the aviation plug socket is connected according to the test waveform signal includes:
the fourth controller determines waveform information according to the data to be tested, and controls the signal generator to generate an input waveform signal corresponding to the waveform information;
the input waveform signal is modulated by a frequency divider and then divided into multiple paths to be respectively output to a plurality of bus test interfaces;
after the aerial plug and the aerial socket are aligned and crimped, the multi-path input waveform signals return to the plurality of bus test interfaces after passing through the aerial plug and the aerial socket and are connected into a waveform acquisition circuit;
the waveform acquisition circuit acquires each test waveform signal output by the plurality of bus test interfaces and compares the test waveform signals with the input waveform signals through an oscilloscope;
the oscilloscope compares a test waveform signal output by a bus test interface corresponding to each bus signal interface with the input waveform signal and outputs each waveform comparison result, wherein the waveform comparison result comprises a waveform phase difference value and waveform amplitude attenuation;
the fourth controller determines whether each bus signal interface in the aerial socket is connected or not according to the waveform comparison result of the oscilloscope;
and one bus signal interface correspondingly tests one bus signal interface in the aerial socket.
As a further improvement of the present invention, the determining, by the fourth controller, whether a bus signal interface in the aerial socket is connected according to a waveform comparison result of the oscilloscope includes:
when the phase difference value between the test waveform signal output by the bus signal interface corresponding to the bus test interface and the input waveform signal is within the range of a difference threshold value, and the amplitude attenuation of the test waveform signal output by the bus signal interface corresponding to the bus test interface relative to the input waveform signal is within the range of an attenuation threshold value, the fourth controller determines that the bus signal interface is connected;
and when the phase difference value between the test waveform signal output by the bus signal interface corresponding to the bus test interface and the input waveform signal is not within the range of the difference threshold value, and/or the amplitude attenuation of the test waveform signal output by the bus signal interface corresponding to the bus test interface relative to the input waveform signal is not within the range of the attenuation threshold value, the fourth controller determines that the bus signal interface is not connected.
As a further improvement of the present invention, the method further comprises:
after the waveform signal test is finished, controlling the crimping push rod to move upwards at the second speed, enabling the aerial plug to be away from the aerial socket upwards, controlling the crimping push rod to continue moving upwards at the first speed when the pressure sensing value reaches the first pressure threshold value, enabling the aerial plug to be separated from the aerial socket, and stopping controlling the crimping push rod when the pressure sensing value reaches the third pressure threshold value.
The present invention also provides an electrical test system, the system comprising:
the crimping push rod control module is used for providing the pressure for splicing an aerial plug on the testing equipment and an aerial socket on a tested product so as to crimp the aerial plug and the aerial socket;
the vibration motor control module is used for providing vibration force when the aerial plug and the aerial socket are aligned and connected in a pressing mode so as to enable the aerial plug and the aerial socket to be aligned and connected in a pressing mode;
the connection testing module is used for carrying out voltage testing on the aerial socket according to data to be tested so as to determine whether each signal interface in the aerial socket is connected or not;
the waveform testing module is used for carrying out waveform testing on the aerial socket according to the data to be tested so as to determine whether a bus signal interface in the aerial socket is connected or not;
and the core processing module is used for communicating with the crimping push rod control module, the vibrating motor control module, the connection test module and the waveform test module.
As a further improvement of the present invention, the core processing module comprises: a core processor, an input driver, communication modulators and an output interface module,
wherein, the input driver receives an external instruction sent by an external controller;
the core processor determines the data to be tested according to the external instruction and the type of the product to be tested;
each communication modulator is used for communicating with the crimping push rod control module, the vibration motor control module, the connection test module and the waveform test module;
the output interface module is used for outputting the test results of the connection test module and the waveform test module.
As a further improvement of the present invention, the crimping push rod control module comprises: a first processor, a pressure sensor and a push rod driver,
the first processor controls the push rod driver to drive the push rod driver to control the crimping push rod, and the pressure sensor measures a pressure sensing value corresponding to the crimping force between the aerial plug and the aerial socket in real time;
the push rod driver controls the crimping push rod to move downwards at a first speed, so that the aerial plug is close to the aerial socket downwards;
when the pressure sensing value reaches a first pressure threshold value, the push rod driver controls the crimping push rod to continuously move downwards at a second speed, so that the aerial plug and the aerial socket are crimped;
and when the pressure sensing value reaches a second pressure threshold value, the push rod driver stops controlling the crimping push rod.
As a further improvement of the present invention, the vibration motor control module includes: a second processor, a micro-pressure sensor and a motor driving module,
the micro-pressure sensor is used for measuring a micro-pressure value of alignment compression joint between the aerial plug and the aerial socket;
when the micro-pressure value reaches a micro-pressure threshold value, the second processor controls the motor driving module to start a vibration motor, so that the aerial plug and the aerial socket are pressed and connected in a positioning mode through vibration;
and when the pressure sensing value reaches the second pressure threshold value, the second processor controls the motor driving module to close the vibration motor and clear the micro-pressure value of the micro-pressure sensor.
As a further improvement of the present invention, the connection test module includes: the device comprises a third controller, a floating voltage generator, a voltage stabilizing module, a current limiter, a plurality of signal testing interfaces, a voltage acquisition circuit, an electronic switch board and a comparator;
the third controller determines voltage information according to the data to be tested and controls the floating voltage generator to generate a floating voltage value;
the voltage stabilizing module is used for stabilizing the floating voltage value and modulating the floating voltage value to form a stable level value as the input voltage;
the current limiter carries out current limiting processing on the level value, and the voltage after current limiting processing is connected to the plurality of signal testing interfaces;
after the aerial plug and the aerial socket are aligned and crimped, current flows through the aerial plug and the aerial socket and then returns to the plurality of test interfaces;
the voltage acquisition circuit acquires each test voltage output by the plurality of test interfaces and performs analog-to-digital conversion;
the electronic switch board inputs the converted test voltages into the comparator according to a test sequence;
the comparator compares the test voltage returned by the signal test interface corresponding to each signal interface with the input voltage and outputs a comparison result of each voltage;
the third controller determines whether each signal interface in the aerial socket is connected or not according to the voltage comparison result output by the comparator;
and one signal test interface correspondingly tests one signal interface in the aerial socket.
As a further improvement of the present invention, the third controller determines whether each signal interface in the aerial socket is connected according to the voltage comparison result output by the comparator, including:
when the test voltage returned by the signal test interface corresponding to the signal interface is zero, the third controller determines that the signal interface is not connected;
when the difference value between the test voltage returned by the signal test interface corresponding to the signal interface and the input voltage is larger than zero and smaller than or equal to a voltage threshold value, the third controller determines that the signal interface is connected but the connection is unreliable;
and when the difference value between the test voltage returned by the signal test interface corresponding to the signal interface and the input voltage is greater than the voltage threshold value and less than or equal to the input voltage, the third controller determines that the signal interface is connected reliably.
As a further improvement of the invention, the waveform testing module comprises a fourth controller, a signal generator, a frequency divider, a plurality of bus testing interfaces, a waveform acquisition circuit and an oscilloscope,
the fourth controller determines waveform information according to the data to be tested, and controls the signal generator to generate an input waveform signal corresponding to the waveform information;
the frequency divider modulates the input waveform signal and then divides the modulated input waveform signal into multiple paths which are respectively output to a plurality of bus test interfaces;
after the aerial plug and the aerial socket are in counterpoint crimping, the multi-path input waveform signals return to the plurality of bus test interfaces after passing through the aerial plug and the aerial socket;
the waveform acquisition circuit respectively acquires each test waveform signal output by the plurality of bus test interfaces;
the oscilloscope compares a test waveform signal output by a bus test interface corresponding to each bus signal interface with the input waveform signal and outputs each waveform comparison result, wherein the waveform comparison result comprises a waveform phase difference value and waveform amplitude attenuation;
and the fourth controller determines whether a bus signal interface in the aerial socket is connected or not according to a waveform comparison result output by the oscilloscope.
As a further improvement of the present invention, the determining, by the fourth controller, whether a bus signal interface in the aerial socket is connected according to a waveform comparison result output by the oscilloscope includes:
when the phase difference value between the test waveform signal and the other input waveform signal is within a difference threshold range, and the amplitude attenuation of the test waveform signal relative to the other input waveform signal is within an attenuation threshold range, the fourth controller determines that the bus signal interface is connected;
and when the phase difference value of the test waveform signal and the other input waveform signal is not within the range of the difference threshold value and/or the amplitude attenuation of the test waveform signal relative to the other input waveform signal is not within the range of the attenuation threshold value, the fourth controller determines that the bus signal interface is not connected.
As a further improvement of the present invention, after the waveform signal test is completed, the push rod driver controls the press rod to move upward at the second speed, so that the aerial plug is moved upward away from the aerial socket, when the pressure sensing value reaches the first pressure threshold value, the push rod driver controls the press rod to continue moving upward at the first speed, so that the aerial plug is separated from the aerial socket, and when the pressure sensing value reaches a third pressure threshold value, the push rod driver stops controlling the press rod.
The invention has the beneficial effects that:
the invention can realize automatic plugging between a plurality of aerial connectors and a plurality of aerial sockets, avoid the damage caused by inaccurate alignment of the two plugging processes and no plugging or bent pins, reduce the damage caused by manual plugging and improve the plugging efficiency and accuracy. The invention can also realize automatic test and simultaneous test of each signal interface and bus signal interface of the tested product, and improve the reliability and accuracy of the test process.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, back, 8230; etc.) are involved in the embodiment of the present invention, the directional indications are only used for explaining the relative positional relationship between the components, the motion situation, etc. in a specific posture (as shown in the figure), and if the specific posture is changed, the directional indications are correspondingly changed.
In addition, in the description of the present invention, the terms used are only for illustrative purposes, and are not intended to limit the scope of the present invention. The terms "comprises" and/or "comprising" are used to specify the presence of stated elements, steps, operations, and/or components, but do not preclude the presence or addition of one or more other elements, steps, operations, and/or components. The terms "first," "second," and the like may be used to describe various elements, not necessarily order, and not necessarily limit the elements. In addition, in the description of the present invention, "a plurality" means two or more unless otherwise specified. These terms are only used to distinguish one element from another. These and/or other aspects will become apparent to those of ordinary skill in the art in view of the following drawings, and the description of the embodiments of the present invention will be more readily understood by those of ordinary skill in the art. The drawings are only for purposes of illustrating the described embodiments of the invention. One skilled in the art will readily recognize from the following description that alternative embodiments of the structures and methods illustrated in the present application may be employed without departing from the principles described in the present application.
As shown in fig. 1, an electrical testing method according to an embodiment of the present invention includes:
s1, determining to-be-tested data of a tested product according to an external instruction;
s2, controlling a crimping push rod to move downwards at a first speed, enabling an aerial plug to move downwards to be close to an aerial socket of the tested product, and controlling the crimping push rod to continue to move downwards at a second speed when a pressure sensing value obtained by a pressure sensor reaches a first pressure threshold value, so that the aerial plug and the aerial socket are crimped, wherein the second speed is less than the first speed;
s3, when the micro-pressure value obtained by the micro-pressure sensor reaches a micro-pressure threshold value, starting a vibration motor to enable the aerial plug and the aerial socket to be in counterpoint crimping through vibration, and when the pressure sensing value reaches a second pressure threshold value, stopping controlling the crimping push rod and closing the vibration motor;
s4, generating input voltage according to the data to be tested, collecting the test voltage of the product to be tested, and determining whether each signal interface in the aerial socket is connected or not according to the test voltage;
and S5, generating an input waveform signal according to the data to be tested, acquiring a test waveform signal of the product to be tested, and determining whether each bus signal interface in the aerial socket is connected or not according to the test waveform signal.
The invention provides an automatic testing method for automatic plugging of an aerial plug and an aerial socket. It can be understood that the aerial plug of the present invention may be a single aerial plug or an assembly of a plurality of aerial plugs, the aerial socket may be a single aerial socket or an assembly of a plurality of aerial sockets, and the aerial plug and the aerial socket are designed to be matched. In the automatic plugging process, the automatic plugging between a single aerial plug and a single aerial socket can be realized, and the simultaneous automatic plugging of a plurality of aerial plugs and a plurality of aerial sockets can also be realized. When a tested product needs to be tested, the crimping push rod is controlled at a first speed, and preliminary crimping between the aerial plug and the aerial socket is realized under the pressure action of the crimping push rod. After the aviation plug and the aviation plug socket are initially crimped, alignment errors may exist between the aviation plug and the aviation plug socket due to errors in a welding process, at the moment, vibration force is provided through a vibration motor, the crimping push rod is controlled at a second speed, and under the simultaneous action of the pressure and the vibration force of the crimping push rod, a pointer of the aviation plug can be automatically inserted into a jack of the aviation plug socket, so that accurate alignment crimping of the aviation plug and the aviation plug socket is achieved. After the two are in counterpoint crimping, automatic testing of voltage and waveform is respectively carried out on each signal interface and each bus signal interface in the aerial plug socket so as to determine the quality of a tested product. The first speed can be, for example, a maximum design speed, coarse adjustment of the aerial plug and the aerial socket is realized under the pressure of the pressing process at the first speed, and the second speed can be, for example, a minimum design speed, and fine adjustment of the aerial plug and the aerial socket is realized under the pressure and the vibration force of the pressing process at the second speed.
In an optional embodiment, the determining the data to be tested of the tested product according to the external instruction comprises:
the external controller sends an external instruction to the core processor;
the core processor determines the data to be tested according to the type of the product to be tested, and sends the data to be tested to a connection testing module and a waveform testing module through each communication modulator, so that the connection testing module and the waveform testing module respectively perform voltage testing and waveform testing according to the data to be tested.
The method of the invention can be suitable for electric products of multiple types, such as collectors, control terminals and the like, and the invention does not specifically limit the applicable electric products. The core processor is pre-stored with parameters of a plurality of types of electrical products and data and the like required to be tested by each type of electrical product. After the tested product is accessed, the to-be-tested data corresponding to the model of the tested product can be called from the core processor, and the to-be-tested data is sent to the corresponding testing module, for example, the connecting testing module and the waveform testing module, so that each testing module can respectively perform respective testing process on the tested product according to the to-be-tested data.
In an optional embodiment, the controlling, at a first speed, a downward movement of a crimping push rod to bring an aerial plug down close to an aerial socket of the tested product, and controlling, at a second speed, the continued downward movement of the crimping push rod to crimp the aerial plug and the aerial socket when a pressure sensing value obtained by a pressure sensor reaches a first pressure threshold value, includes:
the first processor controls a push rod driver to drive the push rod driver to control the crimping push rod, and meanwhile, the pressure sensor measures a pressure sensing value corresponding to the crimping force between the aerial plug and the aerial socket in real time;
the push rod driver controls the crimping push rod to move downwards at the first speed, and the aerial plug is close to the aerial socket downwards;
when the pressure sensing value reaches the first pressure threshold value, the push rod driver controls the crimping push rod to continue moving downwards at the second speed, so that the aerial plug and the aerial socket are crimped.
In an optional implementation manner, when the micro pressure value obtained by the micro pressure sensor reaches a micro pressure threshold, starting the vibration motor to make the aerial plug and the aerial socket press-contact through vibration alignment, and when the pressure sensing value reaches a second pressure threshold, stopping controlling the press-contact push rod and turning off the vibration motor includes:
the micro-pressure sensor measures a micro-pressure value of alignment compression joint between the aerial plug and the aerial socket in real time;
when the micro-pressure value reaches a micro-pressure threshold value, the second processor controls the motor driving module to start the vibration motor, so that the aerial plug and the aerial socket are in vibration contraposition compression joint, and meanwhile, the pressure sensor measures a pressure sensing value corresponding to compression joint force between the aerial plug and the aerial socket in real time;
and when the pressure sensing value reaches the second pressure threshold value, stopping controlling the crimping push rod, and simultaneously controlling the motor driving module to close the vibration motor and clear the micro-pressure value of the micro-pressure sensor.
When the method disclosed by the invention is used for realizing the automatic crimping process of the aerial plug and the aerial socket, the adaptive design needs to be carried out on the crimping force, the crimping damage of the aerial plug and the aerial socket caused by overlarge force is avoided, and the problem that the aerial plug and the aerial socket cannot be crimped caused by undersize force is also avoided. The method realizes coarse adjustment and fine adjustment through two crimping processes, and measures the pressure sensing value in the coarse adjustment and fine adjustment processes in real time through the pressure sensor to determine the crimping strength between the aerial plug and the aerial socket and ensure that the aerial plug and the aerial socket realize matched crimping.
The crimping process of the first speed control crimping push rod can be understood as a primary crimping process of the aerial plug and the aerial socket, and the pressure sensor measures a pressure sensing value in the primary crimping process in real time. The first pressure threshold value can be understood as a limit value of the preliminary crimping process, and when the pressure sensor value does not reach the limit value, rapid crimping is always performed at the first speed. When the pressure sensing value reaches the first pressure threshold value, the preliminary crimping is understood to reach the preset position, and the crimping speed can be reduced to enter the alignment crimping process. The second speed controls the crimping process of the crimping push rod and the vibration to be understood as a further alignment crimping process of the aerial plug and the aerial socket so as to realize accurate alignment between the aerial plug and the aerial socket. And in the alignment and crimping process, the pressure sensor continuously measures the pressure sensing value in real time. The second pressure threshold may be understood as a limit value of the alignment and crimping process, and when the pressure sensing value does not reach the limit value, the alignment and crimping is always vibrated at the second speed and the vibration force. When the pressure sensing value reaches the limit value, the alignment crimping is understood to reach the preset position, and the crimping process can be stopped. Wherein, counterpoint crimping process still need cooperate vibrations design, realizes accurate butt joint. The micro-pressure sensor measures the micro-pressure value of the alignment crimping in real time, the micro-pressure threshold value can be understood as a limit value for judging whether a vibration motor is started or not in the alignment crimping process, when the micro-pressure value reaches the micro-pressure threshold value, the micro-pressure sensor can understand that the initial crimping reaches a preset position, further alignment crimping needs to be carried out, at the moment, the vibration motor is started to provide vibration force in the alignment process, and after the alignment crimping is finished, the vibration motor is closed and the numerical value of the micro-pressure sensor is cleared to wait for the next crimping. The values of the first pressure threshold, the second pressure threshold and the micro-pressure threshold are not particularly limited, and can be specifically designed according to a product to be tested.
Optionally, when a pressure sensing value of the pressure sensor is abnormal, the control of the crimping push rod is stopped, and whether to continue crimping or stop crimping is further determined. For example, when the pressure sensor has no measurement data, whether the pressure sensor is damaged or not can be judged, if the pressure sensor is damaged, whether the aerial plug and the aerial socket realize crimping or not can be judged, if the aerial plug and the aerial socket do not realize crimping, continuous crimping can be selected, and if the aerial plug and the aerial socket realize crimping, the crimping needs to be stopped; if the pressure sensor is not damaged, the aerial plug and the aerial socket are not smoothly pressed, and the pressing is required to be stopped. For example, when the pressure sensing value of the pressure sensor exceeds the pressure range value in the crimping process but does not reach the second pressure threshold value, it can be determined that the crimping of the aerial plug and the aerial socket is not smooth, and the crimping needs to be stopped.
In an optional embodiment, generating an input voltage according to the data to be tested, collecting a test voltage of the product to be tested, and determining whether each signal interface in the aerial socket is connected according to the test voltage includes:
the third controller determines voltage information according to the data to be tested and controls the floating voltage generator to generate a floating voltage value according to the voltage information;
after the floating voltage value is subjected to voltage stabilization processing by the voltage stabilization module, the floating voltage value is modulated to form a stable level value which is used as the input voltage;
performing current limiting processing on the level value through a current limiter, and connecting the voltage subjected to the current limiting processing into a plurality of signal testing interfaces;
after the aerial plug and the aerial socket are aligned and crimped, current flows through the aerial plug and the aerial socket and then returns to the plurality of signal testing interfaces and is connected into a voltage acquisition circuit;
the voltage acquisition circuit acquires each test voltage output by the signal test interfaces, and each test voltage is input into the comparator through the electronic switch board according to a test sequence after being subjected to analog-to-digital conversion;
the comparator compares the test voltage returned by the signal test interface corresponding to each signal interface with the input voltage and outputs a comparison result of each voltage;
the third controller determines whether each signal interface in the aerial socket is connected or not according to the voltage comparison result output by the comparator;
and one signal test interface correspondingly tests one signal interface in the aerial socket.
When the method is used for testing a signal interface, a voltage testing principle is adopted, a voltage generation instruction is issued according to a core processor, an input voltage is generated through a floating voltage generator, voltage stabilization and current limiting output are performed through a modulation circuit, voltage recovery is performed through a collection point circuit, a comparator is used for judging a voltage value, comparison is performed in the core processor, and a test result is output. The automatic connection test of each signal interface in the aerial socket in the tested product can be realized through a plurality of signal test interfaces. One signal test interface correspondingly tests one signal interface, and a plurality of standby test interfaces can also be designed, but the number of the signal test interfaces is ensured to be larger than or equal to the number of the signal interfaces in the aerial socket. The signal testing interfaces in the aerial socket are simultaneously tested through the signal testing interfaces, the testing process is carried out in parallel, and compared with the sequential testing of the signal interfaces, the whole testing efficiency is improved.
In an optional implementation manner, the determining, by the third controller, whether each signal interface in the aerial socket is connected according to the voltage comparison result output by the comparator includes:
when the test voltage returned by the signal test interface corresponding to the signal interface is zero, the third controller determines that the signal interface is not connected;
when the difference value between the test voltage returned by the signal test interface corresponding to the signal interface and the input voltage is larger than zero and smaller than or equal to a voltage threshold value, the third controller determines that the signal interface is connected but the connection is unreliable;
and when the difference value between the test voltage returned by the signal test interface corresponding to the signal interface and the input voltage is greater than the voltage threshold value and less than or equal to the input voltage, the third controller determines that the signal interface is connected reliably.
In the above determination process, it can be understood that when the voltage difference between the test voltage and the input voltage is smaller than or equal to a preset threshold range, it indicates that the signal interface is connected but the interface connection is unreliable; when the voltage difference value between the test voltage and the input voltage is larger than the preset threshold range, the signal interface is proved to be reliably connected. And when no test voltage exists, the signal interface can be directly judged to be not connected. The invention does not specifically limit the value of the voltage threshold, and can be adaptively designed according to the product to be tested.
In an optional implementation manner, generating an input waveform signal according to the data to be tested, acquiring a test waveform signal of the product to be tested, and determining whether each bus signal interface in the aerial socket is connected according to the test waveform signal includes:
the fourth controller determines waveform information according to the data to be tested, and controls the signal generator to generate an input waveform signal corresponding to the waveform information;
the input waveform signal is modulated by a frequency divider and then divided into multiple paths to be respectively output to a plurality of bus test interfaces;
after the aerial plug and the aerial socket are aligned and crimped, the multi-path input waveform signals return to the plurality of bus test interfaces after passing through the aerial plug and the aerial socket and are connected into a waveform acquisition circuit;
the waveform acquisition circuit acquires each test waveform signal output by the plurality of bus test interfaces and compares the test waveform signals with the input waveform signals through an oscilloscope;
the oscilloscope compares a test waveform signal output by a bus test interface corresponding to each bus signal interface with the input waveform signal and outputs each waveform comparison result, wherein the waveform comparison result comprises a waveform phase difference value and waveform amplitude attenuation;
the fourth controller determines whether each bus signal interface in the aerial socket is connected or not according to the waveform comparison result of the oscilloscope;
and one bus signal interface correspondingly tests one bus signal interface in the aerial socket.
The method can realize automatic connection test of each bus signal interface in the aviation socket in the tested product through a plurality of bus test interfaces. One bus test interface correspondingly tests one bus signal interface, and a plurality of standby bus test interfaces can be designed, but the number of the bus test interfaces is ensured to be larger than or equal to that of the bus signal interfaces in the air-insertion socket. The bus signal interfaces in the aerial socket are simultaneously tested through the plurality of bus test interfaces, and the test process is performed in parallel, so that the whole test efficiency is improved compared with the sequential test of the bus signal interfaces. The bus signal interface in the aviation plug socket CAN be a CAN bus interface and an MIC bus interface, for example, the bus signal interface is not particularly limited, and the bus signal interface CAN be adaptively designed according to a product to be tested.
In an optional implementation manner, the determining, by the fourth controller, whether a bus signal interface in the aerial socket is connected according to the waveform comparison result of the oscilloscope includes:
when the phase difference value between the test waveform signal output by the bus signal interface corresponding to the bus test interface and the input waveform signal is within the range of the difference threshold value, and the amplitude attenuation of the test waveform signal output by the bus signal interface corresponding to the bus test interface relative to the input waveform signal is within the range of the attenuation threshold value, the fourth controller determines that the bus signal interface is connected;
and when the phase difference value between the test waveform signal output by the bus signal interface corresponding to the bus test interface and the input waveform signal is not within the range of the difference threshold value, and/or the amplitude attenuation of the test waveform signal output by the bus signal interface corresponding to the bus test interface relative to the input waveform signal is not within the range of the attenuation threshold value, the fourth controller determines that the bus signal interface is not connected.
The above determination process may be understood as designing two matching conditions, one is whether the phase difference value of the waveform is within the difference threshold range, and the other is whether the amplitude attenuation is within the attenuation threshold range, and when one of the two conditions is not met, it may be determined that the bus signal interface is not connected or the connection is wrong. And two matching conditions are set, so that the accuracy of the test process can be further improved.
In an optional embodiment, the method further comprises:
after the waveform signal test is finished, controlling the crimping push rod to move upwards at the second speed, enabling the aerial plug to be away from the aerial socket upwards, controlling the crimping push rod to continue moving upwards at the first speed when the pressure sensing value reaches the first pressure threshold value, enabling the aerial plug to be separated from the aerial socket, and stopping controlling the crimping push rod when the pressure sensing value reaches the third pressure threshold value.
According to the process, the test process is started after the aerial plug and the aerial socket are aligned and crimped, and when the test is finished, the aerial plug and the aerial socket are separated from each other in an opposite control process so as to wait for the next crimping.
An electrical test system according to an embodiment of the present invention includes:
the crimping push rod control module is used for providing the pressure for splicing an aerial plug on the testing equipment and an aerial socket on a tested product so as to crimp the aerial plug and the aerial socket;
the vibration motor control module is used for providing vibration force when the aerial plug and the aerial socket are in counterpoint crimping so as to ensure that the aerial plug and the aerial socket are in counterpoint crimping;
the connection testing module is used for carrying out voltage testing on the aerial socket according to data to be tested so as to determine whether each signal interface in the aerial socket is connected or not;
the waveform testing module is used for carrying out waveform testing on the aerial socket according to the data to be tested so as to determine whether a bus signal interface in the aerial socket is connected or not;
and the core processing module is used for communicating with the crimping push rod control module, the vibrating motor control module, the connection test module and the waveform test module.
The invention provides an automatic test system for automatically plugging an aerial plug and an aerial socket. It can be understood that the aerial plug of the present invention may be a single aerial plug or an assembly of a plurality of aerial plugs, the aerial socket may be a single aerial socket or an assembly of a plurality of aerial sockets, and the aerial plug and the aerial socket are designed to be matched. In the automatic plugging process, the automatic plugging between a single aerial plug and a single aerial socket can be realized, and the simultaneous automatic plugging of a plurality of aerial plugs and a plurality of aerial sockets can also be realized. The crimping push rod control module is mainly used for controlling the crimping push rod to finish automatic plugging of the aerial plug and the aerial socket. The vibration motor control module is mainly used for fine adjustment when the aerial plug and the aerial socket are plugged, so that the aerial plug can be smoothly plugged into the aerial socket to realize accurate alignment of the aerial plug and the aerial socket. The connection test module is mainly used for testing the signal connection accuracy and reliability of a tested product. The waveform testing module is mainly used for testing the bus transmission characteristics of a tested product. The core processing module is used for matching with each module to realize the automatic test of the whole system.
In an alternative embodiment, the core processing module comprises: a core processor, an input driver, communication modulators and an output interface module,
the input driver receives an external command sent by an external controller;
the core processor determines the data to be tested according to the external instruction and the type of the product to be tested;
each communication modulator is used for communicating with the crimping push rod control module, the vibration motor control module, the connection test module and the waveform test module;
the output interface module is used for outputting the test results of the connection test module and the waveform test module.
It can be understood that the core processing module is a processing core of the whole system and is responsible for coordinating functions of the modules of the system, the external controller transmits external instructions to the core processor through the communication interface, the core processor communicates with processors (a first processor, a second processor, a third processor and a fourth processor) of the four modules in real time, and relevant instructions are sent to the four modules in the whole test process.
In an alternative embodiment, the crimping pushrod control module comprises: a first processor, a pressure sensor and a push rod driver,
the first processor controls the push rod driver to drive the push rod driver to control the crimping push rod, and the pressure sensor measures a pressure sensing value corresponding to the crimping force between the aerial plug and the aerial socket in real time;
the push rod driver controls the pressing connection push rod to move downwards at a first speed, so that the aerial plug is close to the aerial socket downwards;
when the pressure sensing value reaches a first pressure threshold value, the push rod driver controls the crimping push rod to continuously move downwards at a second speed, so that the aerial plug and the aerial socket are crimped;
and when the pressure sensing value reaches a second pressure threshold value, the push rod driver stops controlling the crimping push rod.
In an alternative embodiment, the vibration motor control module includes: a second processor, a micro-pressure sensor and a motor driving module,
the micro-pressure sensor is used for measuring a micro-pressure value of alignment compression joint between the aerial plug and the aerial socket;
when the micro-pressure value reaches a micro-pressure threshold value, the second processor controls the motor driving module to start a vibration motor, so that the aerial plug and the aerial socket are pressed and connected in a positioning mode through vibration;
and when the pressure sensing value reaches the second pressure threshold value, the second processor controls the motor driving module to close the vibration motor and clear the micro-pressure value of the micro-pressure sensor.
The crimping push rod control module is an important module for realizing automatic splicing of the aerial plug and the aerial socket. When realizing the automatic crimping process of inserting plug and inserting socket by plane, need carry out the adaptability design to the crimping dynamics, avoid too big both crimping damage that lead to of dynamics, also avoid the dynamics undersize to lead to both unable crimping. The crimping push rod control module realizes coarse adjustment and fine adjustment through two crimping processes, and measures pressure sensing values in the coarse adjustment and fine adjustment processes in real time through the pressure sensor to determine the crimping strength between the aerial plug and the aerial socket and ensure that the aerial plug and the aerial socket realize matched crimping.
The crimping process of the first speed control crimping push rod can be understood as a preliminary crimping process of the aerial plug and the aerial socket, and the pressure sensor measures a pressure sensing value in the preliminary crimping process in real time. The first pressure threshold value can be understood as a limit value of the preliminary crimping process, and when the pressure sensor value does not reach the limit value, rapid crimping is always performed at the first speed. When the pressure sensing value reaches the first pressure threshold value, the preliminary crimping is understood to reach the preset position, and the crimping speed can be reduced to enter the alignment crimping process. The second speed controls the crimping process of the crimping push rod and the vibration to be understood as a further alignment crimping process of the aerial plug and the aerial socket so as to realize accurate alignment between the aerial plug and the aerial socket. And in the alignment and compression joint process, the pressure sensor continuously measures the pressure sensing value in real time. The second pressure threshold may be understood as a limit value of the alignment and crimping process, and when the pressure sensing value does not reach the limit value, the alignment and crimping is always vibrated at the second speed and the vibration force. When the pressure sensing value reaches the limit value, the alignment crimping is understood to reach the preset position, and the crimping process can be stopped. Wherein, counterpoint crimping process still need cooperate vibrations design, realizes accurate butt joint. The micro-pressure sensor measures the micro-pressure value of the alignment crimping in real time, the micro-pressure threshold value can be understood as a limit value for judging whether a vibration motor is started or not in the alignment crimping process, when the micro-pressure value reaches the micro-pressure threshold value, the micro-pressure sensor can understand that the initial crimping reaches a preset position, further alignment crimping needs to be carried out, at the moment, the vibration motor is started to provide vibration force in the alignment process, and after the alignment crimping is finished, the vibration motor is closed and the numerical value of the micro-pressure sensor is cleared to wait for the next crimping. The values of the first pressure threshold, the second pressure threshold and the micro-pressure threshold are not specifically limited, and can be specifically designed according to a product to be tested.
Optionally, when the pressure sensing value of the pressure sensor is abnormal, the crimping push rod control module stops controlling the crimping push rod, and further determines whether to continue crimping or stop crimping. For example, when the pressure sensor has no measurement data, whether the pressure sensor is damaged or not can be judged, if the pressure sensor is damaged, whether the aerial plug and the aerial socket realize crimping or not can be judged, if the aerial plug and the aerial socket do not realize crimping, continuous crimping can be selected, and if the aerial plug and the aerial socket realize crimping, the crimping needs to be stopped; if the pressure sensor is not damaged, the aerial plug and the aerial socket are not smoothly pressed, and the pressing is required to be stopped. For example, when the pressure sensing value of the pressure sensor exceeds the pressure range value in the crimping process but does not reach the second pressure threshold value, it can be determined that the crimping of the aerial plug and the aerial socket is not smooth, and the crimping needs to be stopped.
In an alternative embodiment, the connection testing module comprises: the device comprises a third controller, a floating voltage generator, a voltage stabilizing module, a current limiter, a plurality of signal testing interfaces, a voltage acquisition circuit, an electronic switch board and a comparator;
the third controller determines voltage information according to the data to be tested and controls the floating voltage generator to generate a floating voltage value;
the voltage stabilizing module is used for stabilizing the floating voltage value and modulating the floating voltage value to form a stable level value as the input voltage;
the current limiter carries out current limiting processing on the level value, and the voltage after current limiting processing is connected to the plurality of signal testing interfaces;
after the aerial plug and the aerial socket are aligned and crimped, current flows through the aerial plug and the aerial socket and then returns to the plurality of test interfaces;
the voltage acquisition circuit acquires each test voltage output by the plurality of test interfaces and performs analog-to-digital conversion;
the electronic switch board inputs the converted test voltages into the comparator according to a test sequence;
the comparator compares the test voltage returned by the signal test interface corresponding to each signal interface with the input voltage and outputs a comparison result of each voltage;
the third controller determines whether each signal interface in the aerial socket is connected or not according to the voltage comparison result output by the comparator;
and one signal test interface correspondingly tests one signal interface in the aerial socket.
When the system tests the signal interface, the voltage test principle is adopted, a voltage generation instruction is issued according to the core processor, an input voltage is generated through the floating voltage generator, voltage stabilization and current limiting output are performed through the modulation circuit, voltage recovery is performed through the acquisition point circuit, the voltage value is judged through the comparator, and comparison and test results are output in the core processor. The system provided by the invention is provided with a plurality of signal testing interfaces so as to realize automatic connection testing of each signal interface in the aviation plug socket in a tested product. One signal test interface correspondingly tests one signal interface, and a plurality of standby test interfaces can be designed, but the number of the signal test interfaces is ensured to be larger than or equal to that of the signal interfaces in the aerial plug socket. The signal testing interfaces in the aerial socket are simultaneously tested through the signal testing interfaces, the testing process is carried out in parallel, and compared with the sequential testing of the signal interfaces, the whole testing efficiency is improved.
In an optional implementation manner, the determining, by the third controller, whether each signal interface in the aerial socket is connected according to the voltage comparison result output by the comparator includes:
when the test voltage returned by the signal test interface corresponding to the signal interface is zero, the third controller determines that the signal interface is not connected;
when the difference value between the test voltage returned by the signal test interface corresponding to the signal interface and the input voltage is larger than zero and smaller than or equal to a voltage threshold value, the third controller determines that the signal interface is connected but the connection is unreliable;
and when the difference value between the test voltage returned by the signal test interface corresponding to the signal interface and the input voltage is greater than the voltage threshold value and less than or equal to the input voltage, the third controller determines that the signal interface is connected reliably.
When the system judges whether the signal interface is connected, the system can be understood that when the voltage difference value between the test voltage and the input voltage is smaller than or equal to a preset threshold range, the signal interface is connected but the interface connection is unreliable; when the voltage difference between the test voltage and the input voltage is larger than the preset threshold range, the signal interface is connected reliably. And when no test voltage exists, the signal interface can be directly judged to be not connected. The invention does not specifically limit the value of the voltage threshold, and can be adaptively designed according to the product to be tested.
In an alternative embodiment, the waveform testing module comprises a fourth controller, a signal generator, a frequency divider, a plurality of bus test interfaces, a waveform acquisition circuit and an oscilloscope,
the fourth controller determines waveform information according to the data to be tested, and controls the signal generator to generate an input waveform signal corresponding to the waveform information;
the frequency divider modulates the input waveform signal and then divides the modulated input waveform signal into multiple paths which are respectively output to a plurality of bus test interfaces;
after the aerial plug and the aerial socket are in counterpoint crimping, the multi-path input waveform signals return to the plurality of bus test interfaces after passing through the aerial plug and the aerial socket;
the waveform acquisition circuit respectively acquires each test waveform signal output by the plurality of bus test interfaces;
the oscilloscope compares a test waveform signal output by a bus test interface corresponding to each bus signal interface with the input waveform signal and outputs each waveform comparison result, wherein the waveform comparison result comprises a waveform phase difference value and waveform amplitude attenuation;
and the fourth controller determines whether the bus signal interface in the aerial socket is connected or not according to the waveform comparison result output by the oscilloscope.
The system is provided with a plurality of bus test interfaces so as to realize automatic connection test of each bus signal interface in the aviation socket in a tested product. One bus test interface correspondingly tests one bus signal interface, and a plurality of standby bus test interfaces can be designed, but the number of the bus test interfaces is ensured to be larger than or equal to that of the bus signal interfaces in the air-insertion socket. The bus signal interfaces in the aerial socket are simultaneously tested through the plurality of bus test interfaces, and the test process is performed in parallel, so that the whole test efficiency is improved compared with the sequential test of the bus signal interfaces. The bus signal interface in the aviation plug socket CAN be a CAN bus interface and an MIC bus interface, for example, the bus signal interface is not particularly limited, and the bus signal interface CAN be adaptively designed according to a product to be tested.
In an optional implementation manner, the determining, by the fourth controller, whether a bus signal interface in the aerial socket is connected according to a waveform comparison result output by the oscilloscope includes:
when the phase difference value between the test waveform signal and the other path of input waveform signal is within a difference threshold range, and the amplitude attenuation of the test waveform signal relative to the other path of input waveform signal is within an attenuation threshold range, the fourth controller determines that the bus signal interface is connected;
and when the phase difference value of the test waveform signal and the other input waveform signal is not within the range of the difference threshold value and/or the amplitude attenuation of the test waveform signal relative to the other input waveform signal is not within the range of the attenuation threshold value, the fourth controller determines that the bus signal interface is not connected.
When the system judges the transmission characteristics of the bus signal interface, two matching conditions are designed, one is whether the phase difference value of the waveform is in the range of the difference threshold value, the other is whether the amplitude attenuation is in the range of the attenuation threshold value, and when one of the two conditions is not met, the bus signal interface can be judged to be not connected or connected wrongly. And two matching conditions are set, so that the accuracy of the test process can be further improved.
In an optional embodiment, after the waveform signal test is completed, the push rod driver controls the crimping push rod to move upwards at the second speed, so that the aerial plug is away from the aerial socket upwards, when the pressure sensing value reaches the first pressure threshold value, the push rod driver controls the crimping push rod to continue moving upwards at the first speed, so that the aerial plug is separated from the aerial socket, and when the pressure sensing value reaches the third pressure threshold value, the push rod driver stops controlling the crimping push rod.
The above process can be understood as that after the system completes the alignment and crimping test of the aerial plug and the aerial socket, the aerial plug and the aerial socket are separated from each other in an opposite control process to wait for the next crimping.
In the description provided herein, numerous specific details are set forth. It is understood, however, that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Furthermore, those of ordinary skill in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
It will be understood by those skilled in the art that while the present invention has been described with reference to exemplary embodiments, various changes may be made and equivalents may be substituted for elements thereof without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from the essential scope thereof. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.