Driving signal detection system and method

By designing a driving signal detection system, using logic detection circuits to detect various driving signals of the driving circuit, the complex and expensive problems of existing equipment are solved and efficient and economical detection results are achieved.

CN114690021BActive Publication Date: 2025-04-11SINENG ELECTRIC CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011630499.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-31
Publication Date
2025-04-11
Estimated Expiration
2040-12-31

AI Technical Summary

Technical Problem

Existing driving signal detection equipment is complex and expensive, and it is difficult to meet the needs of small and micro enterprises, and it is impossible to detect the fault of short circuits of the driving circuit and its output terminal pins.

Method used

A driving signal detection system is designed, including a control board, a top computer and a tool board. A logic detection circuit is provided on the tool board. Each driving signal of the driving circuit is detected through the logic detection circuit, and the test status and data are feedback in real time through the host computer.

Benefits of technology

The detection of various driving signals of the driving circuit is realized, which reduces material costs, solves the complex and expensive problems of existing equipment, and improves the testing efficiency through automated detection and reduces labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114690021B_ABST
    Figure CN114690021B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the field of testing technology, and provides a drive signal detection system and method for detecting each drive signal in the drive circuit of the control board. The system includes a control board, a host computer, and a tooling board; the control board is provided with a communication port, a drive port and an IO port, and the tooling board is provided with a logic detection circuit; each input end of the logic detection circuit is respectively connected to each drive of the drive circuit through the drive port, and the output end of the logic detection circuit is connected to the IO port, and is used to perform a logical operation on the input level signal of each drive and then output a detection signal to the IO port; the control board sends a control signal to the tooling board through the drive port according to the test command issued by the host computer, and determines whether the function of each drive signal is normal according to the detection signal collected by the IO port; the host computer monitors the test data of the control board through the communication port. The drive signal detection system provided by the present invention solves the problem that the existing drive signal detection equipment is complicated and expensive.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of testing technology, and in particular relates to a drive signal detection system and method. Background Art

[0002] With the development of power electronics technology, the integration of control boards is getting higher and higher, including AD ports, IO ports, drive circuits, communication circuits, etc. The drive circuit is generally the most important part of the entire control board, so the drive circuit must be effectively tested to determine whether it is good or bad.

[0003] Currently, an oscilloscope is commonly used to detect the driving circuit, and the function of the driving circuit is tested through a corresponding set of equipment and supporting software. The parameters of the waveform are fed back to the LabVIEW system through the oscilloscope to judge whether the driving circuit is good or bad.

[0004] However, the use of an oscilloscope to detect the drive waveform requires the investment of expensive oscilloscopes and supporting equipment, which is costly when production is low. At the same time, the software supporting the detection is complex to write, which is not friendly to small and micro enterprises. At the same time, the existing test method cannot detect the short circuit fault of the drive circuit and its output terminal pins. Summary of the invention

[0005] The purpose of the embodiment of the present invention is to provide a driving signal detection system, aiming to solve the problem that the existing driving signal detection equipment is complicated and expensive.

[0006] The embodiment of the present invention is implemented as follows: a drive signal detection system is used to detect various drive signals in the drive circuit of the control board, and the system includes a control board, a host computer, and a tooling board;

[0007] The control board is provided with a communication port for communicating with the host computer, and a drive port and an IO port connected to the tooling board, and the tooling board is provided with a logic detection circuit for connecting to the drive circuit;

[0008] Each input end of the logic detection circuit is connected to each drive of the drive circuit through the drive port, and the output end of the logic detection circuit is connected to the IO port, so as to perform logic operation on the input level signal of each drive and then output the detection signal to the IO port;

[0009] The control board is used to send a control signal corresponding to a preset action to the logic detection circuit of the tooling board through the drive port according to the test command issued by the host computer, and determine whether the functions of each drive signal in the drive circuit are normal according to the detection signal collected by the IO port, and the control signal controls the level signal of each drive;

[0010] The host computer is used to monitor the test data of the control board in communication through the communication port, so as to feed back the test status and test data to the user in real time.

[0011] Furthermore, the logic detection circuit includes a first logic circuit unit and a second logic circuit unit;

[0012] The two input ends of the first logic circuit unit are connected to the two driving ends of the driving circuit;

[0013] The output end of the first logic circuit unit and one driving path in the driving circuit are respectively connected to two input ends of the second logic circuit unit;

[0014] The output end of the second logic circuit unit is connected to the IO port.

[0015] Furthermore, the first logic circuit unit and the second logic circuit unit are logic OR gate circuits.

[0016] Furthermore, the system also includes a simulator;

[0017] The control board is also provided with a burning port connected to the simulator;

[0018] The test program of the control board is burned by the simulator through the burning port.

[0019] Another embodiment of the present invention aims to provide a driving signal detection method, which is applicable to the driving signal detection system described above, and the method comprises:

[0020] When the control board receives a test command issued by the host computer based on the user through the communication port, the control board sends a control signal corresponding to the preset action to the logic detection circuit of the tooling board through the drive port, and the control signal controls the level signal of each drive in the drive circuit;

[0021] The control board collects the detection signal output by the logic detection circuit after performing logic operation according to the level signals of each input end thereof through the IO port;

[0022] The control board determines whether the functions of the driving signals of the driving circuit in the control board are normal according to the theoretical signal corresponding to the preset action and the detection signal detected by the IO port;

[0023] The control board uploads the test data to the host computer through the communication port, so that the host computer monitors the test data of the control board and feeds back the test results to the user accordingly.

[0024] Furthermore, the control board sends a control signal corresponding to a preset action to the logic detection circuit of the tooling board through the drive port, including the following steps:

[0025] The control board initially sends a first control signal to the logic detection circuit of the tooling board, so that the level signal of one of the driving circuits is different from the default level;

[0026] The control board sends a second control signal to the logic detection circuit of the tooling board to restore all driving level signals in the driving circuit to a default level;

[0027] The control board sends the first control signal and the second control signal to the logic detection circuit of the tooling board at intervals until the level signal of each driving path in the driving circuit is controlled in sequence and is different from the default level.

[0028] Furthermore, the step of determining whether the functions of the driving signals of the driving circuit in the control board are normal includes:

[0029] The control board determines whether the functions of the driving signals of each channel of the driving circuit are normal according to whether the detected signal detected when the level signal of each channel of driving is different from the default level is consistent with the corresponding theoretical signal;

[0030] When the control board detects that the detection signal is inconsistent with the corresponding theoretical signal when the level signal of the target path drive is different from the default level, it is determined that the function of the target path drive signal of the drive circuit is abnormal;

[0031] When the control board detects that the detection signal is consistent with the corresponding theoretical signal when the level signal of each driving channel is different from the default level, it is determined that the functions of the driving signals of each channel of the driving circuit are normal.

[0032] Furthermore, the method further comprises:

[0033] When the host computer detects that the function of the target path driving signal in the driving circuit detected by the control board is abnormal, an abnormal alarm signal containing the target path driving signal is issued.

[0034] The drive signal detection system provided by the embodiment of the present invention is provided with a control board to be tested, a host computer and a tooling board, and a logic detection circuit is provided on the tooling board. At this time, the input end of the logic detection circuit is connected to the drive of the drive circuit in the control board through the drive port, and the output end of the logic detection circuit is connected to the IO port of the control board, so that the logic detection circuit can perform a logic operation on the level signal of each drive output by the control board and then output it to the IO port. At this time, the control board can determine whether the function of the drive signal is normal according to the theoretical signal corresponding to the level signal of each drive currently controlled and the detection signal collected by the IO port, and upload it to the host computer so that the test status and data can be fed back to the user, so that the drive signals of each drive circuit can be detected without investing in expensive oscilloscopes and supporting equipment, thereby reducing material costs and solving the problem that the existing drive signal detection equipment is complicated and expensive. At the same time, the host computer drives the control board to automatically detect and realize automation and systematization, thereby improving the test efficiency, eliminating the need for manual detection by testers, and reducing labor costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 is a module schematic diagram of a driving signal detection system provided by an embodiment of the present invention;

[0036] Figure 2 is a circuit diagram of a driving circuit in a driving signal detection system provided by an embodiment of the present invention;

[0037] Figure 3 is a circuit diagram of a logic detection circuit in a drive signal detection system provided by an embodiment of the present invention;

[0038] Figure 4 is a flow chart of a driving signal detection method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.

[0040] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be internal communication between two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances. The term "and / or" used herein includes any and all combinations of one or more related listed items.

[0041] The present invention sets a control board to be tested, a host computer and a tooling board, and a logic detection circuit is arranged on the tooling board. At this time, the input end of the logic detection circuit is connected to the driving of the driving circuit in the control board through a driving port, and the output end of the logic detection circuit is connected to the IO port of the control board, so that the logic detection circuit can perform logic operations on the level signals of each drive output by the control board and then output the signals to the IO port. At this time, the control board can determine whether the function of the driving signal is normal according to the theoretical signal corresponding to the level signal of each drive currently controlled and the detection signal collected by the IO port, and upload the result to the host computer so as to feed back the test status and data to the user, so that the detection of each drive signal of the driving circuit can be realized without investing in expensive oscilloscopes and supporting equipment, thus reducing material costs and solving the problem that the existing drive signal detection equipment is complicated and expensive. At the same time, the host computer drives the control board to automatically detect and realize automation and systematization, thus improving the test efficiency, eliminating the need for manual detection by testers, and reducing labor costs.

[0042] Embodiment 1

[0043] See also Figure 1 , is a schematic diagram of the structure of a driving signal detection system provided by a first embodiment of the present invention. For the sake of convenience, only the parts related to the embodiment of the present invention are shown. The driving signal detection system provided by the embodiment of the present invention is used to detect various driving signals in the driving circuit of the control board. The system includes:

[0044] Control board 20, host computer 30, and tooling board 40;

[0045] The control board 20 is provided with a communication port for communicating with the host computer 30, and a drive port and an IO port connected to the tooling board 40. The tooling board 40 is provided with a logic detection circuit for connecting to the drive circuit;

[0046] Each input end of the logic detection circuit is connected to each drive of the drive circuit through the drive port, and the output end of the logic detection circuit is connected to the IO port, so as to perform logic operation on the input level signal of each drive and then output the detection signal to the IO port;

[0047] The control board 20 is used to send a control signal corresponding to the preset action to the logic detection circuit of the tooling board 40 through the drive port according to the test command issued by the host computer 30, and determine whether the function of each drive signal in the drive circuit is normal according to the detection signal collected by the IO port, and the control signal controls the level signal of each drive;

[0048] The host computer 30 is used to monitor the test data of the control board 20 in communication through the communication port, so as to feed back the test status and data to the user in real time.

[0049] Among them, in one embodiment of the present invention, the control board 20 is used to process and forward signals, and the control board 20 communicates with the host computer 30 through the communication port set, so that when receiving the test command sent by the host computer 30, the control board 20 sends a corresponding control signal and controls the action of the tooling board 40 through the set drive port, and after the detection signal generated by the tooling board 40 performing the action is detected at the set IO port and the corresponding processing and analysis is performed, the test status and data are uploaded to the host computer 30 through the communication port set, so that the user of the host computer 30 can view the test data and results of the monitoring control board 20 in real time. Among them, Figure 1 As shown, the control board 20 and the tooling board 40 are also connected to a power source for achieving working power supply.

[0050] In one embodiment of the present invention, a driving circuit is provided on the control board 20, wherein the driving circuit includes a driving module and a corresponding three-phase driving bridge arm; wherein the three phases are respectively U phase, V phase, and W phase, and each phase driving bridge arm has multiple driving channels, and the number of driving channels in the driving circuit is set according to the specific equipment to be controlled, which is not limited here. Specifically in this embodiment, Figure 2 As shown, the drive circuit has a U-phase drive bridge arm, a V-phase drive bridge arm and a W-phase drive bridge arm, and each phase drive bridge arm has four drives, for example, the U-phase drive bridge arm has a U-phase 1 tube, a U-phase 2 tube, a U-phase 3 tube and a U-phase 4 tube, wherein the U-phase 1 tube is named DRV_U_T1_H, and the U-phase 2 tube is named DRV_U_T2_H. At this time, the number of its drive modules is 6, and the two output ends of each drive module are respectively connected to two adjacent drives in each phase drive bridge arm. Specifically, its drive module includes a PWM voltage driver, and a plurality of resistors connected to the PWM voltage driver, wherein the first enable terminal INA and the second enable terminal INB of the PWM voltage driver are respectively connected to the internal control port of the control board 20 through resistors, and the first output terminal OUTA and the second output terminal OUTB of the PWM voltage driver are respectively connected to the two drives in the drive circuit through resistors.

[0051] like Figure 2As shown, the first enable terminal INA in the PWM voltage driver U56 is connected to the control port PWM2_U_G1 of the control board 20, the second enable terminal INB is connected to the control port PWM2_U_G2 of the control board 20, the first output terminal OUTA is connected to the U phase 1 tube (DRV_U_T1_H), and the second output terminal OUTB is connected to the U phase 2 tube (DRV_U_T2_H). At this time, the first enable terminal INA of the PWM voltage driver U56 inputs the control signal logically, and the output of the first output terminal OUTA is controlled accordingly. When the logic input is "0", the U phase 1 tube is turned off; when the logic input is "1", the U phase 1 tube is turned on. At this time, each phase driving bridge arm is connected to two driving modules, and the signal of each control port controls the level signal of each driving corresponding to the driving circuit. In other embodiments of the present invention, when each phase driving bridge arm has two driving channels, the number of its driving modules is 3, that is, each phase driving bridge arm is connected to one driving module.

[0052] Among them, in one embodiment of the present invention, a logic detection circuit for connecting to the drive circuit is provided on the tooling board 40, and when it is used specifically, the control board 20 is placed in a fixture with the tooling board 40 and is electrically connected to the logic detection circuit on the tooling board 40, and its logic detection circuit is used to perform a logic operation on the level signals of each input drive and then output a detection signal to the IO port, wherein it should be pointed out that the number of its logic detection circuits is multiple, and the number of logic detection circuits is the same as the number of drives in each phase drive bridge arm. Therefore, in this embodiment, when there are four-way drives in each phase drive bridge arm, the number of its logic detection circuits is 4, and each input end of its logic detection circuit is connected to a drive corresponding to each phase in the three-phase drive bridge arm, and the output end of the logic detection circuit is connected to the IO port, for example, each input end of the first logic detection circuit is connected to U phase 1 tube, V phase 1 tube and W phase 1 tube, and its corresponding output end is connected to the IO port. Correspondingly, in other embodiments of the present invention, when there are two-way drives in each phase drive bridge arm, the number of logic detection circuits is 2.

[0053] Further, in one embodiment of the present invention, the logic detection circuit includes a first logic circuit unit and a second logic circuit unit;

[0054] The two input ends of the first logic circuit unit are connected to the two drivers, the output end and one driver of the first logic circuit unit are respectively connected to the two input ends of the second logic circuit unit, and the output end of the second logic circuit unit is connected to the IO port.

[0055] Specifically, the two input ends of the first logic circuit unit are connected to one of the two phases of the three-phase driving bridge arm, and the input end of the second logic circuit unit is connected to one of the remaining phases of the three-phase driving bridge arm. Figure 3 As shown, the first logic circuit unit and the second logic circuit unit are logic OR gate circuits, wherein the two input ends of the first logic circuit unit are connected to the U phase 1 tube (DRV_U_T1_H) and the V phase 1 tube (DRV_V_T1_H) through resistors respectively, the output end of the first logic circuit unit is connected to one input end of the second logic circuit unit through a resistor, and the other input end of the second logic circuit unit is connected to the W phase 1 tube (DRV_W_T1_H) through a resistor, and the output end of the second logic circuit unit is connected to M2_VERSON_1 in the IO port through a resistor. Based on the above, the connection of other logic detection circuits refers to Figure 3 It is not repeated here. It should be noted that in other embodiments of the present invention, the logic detection circuit can also use a four-two-input OR gate integrated chip, such as the CD4071B model, which integrates four two-input OR gate logic circuits. In this case, one logic detection circuit can include two first logic circuit units and two second logic circuit units. In this case, the tooling board 40 only needs to use two logic detection circuits. It should also be noted that in other embodiments of the present invention, the first logic circuit unit and the second logic circuit unit can also be logic AND gate circuits.

[0056] Furthermore, in one embodiment of the present invention, the drive signal detection system also includes an emulator 50 connected to the host computer 30; the control board 20 is also provided with a burning port connected to the emulator 50; the test program of the control board 20 is burned by the emulator 50 through the burning port.

[0057] During specific operation, the test program is burned into the control board 20 by the host computer 30 through the emulator 50. Therefore, after the user burns the test program through the emulator interface, the host computer 30 and the control board 20 can communicate. When the user needs to perform functional detection of each drive signal of the drive circuit of the control board 20, the control board 20 is placed in a fixture with a tooling board 40, and the drive port and IO port of the control board 20 are connected to the corresponding logic detection circuit in the tooling board 40. At this time, the user can send a test command to the control board 20 through the host computer 30, so that the control board 20 detects each drive signal in its drive circuit according to the test command sent by the host computer 30. At the same time, the host computer 30 monitors the test data in the control board 20 through the communication port.

[0058] In this embodiment, the first logic circuit unit and the second logic circuit unit are logic OR gate circuits. When the control board 20 detects the U-phase 1 tube driving signal of the driving circuit, the control board 20 correspondingly controls the PWM2_U_G1 in its internal control port so that the U-phase 1 tube (DRV_U_T1_H) level signal generated by the PWM voltage driver U56 is high, and controls the level signals of the remaining drives to be low, and the drive port outputs the level signals of each drive to each logic detection circuit of the tooling board 40. At this time, after the high level of the U-phase 1 tube (DRV_U_T1_H) is subjected to the OR gate logic operation by the first logic detection circuit, theoretically, a high level is generated at the output end M2_VERSON_1 of the first logic detection circuit, and the output ends of the remaining logic detection circuits are still low. Therefore, when the control board 20 detects that the output end M2_VERSON_1 of the first logic detection circuit in the IO port is high and the output ends of the remaining logic detection circuits are low, it can be preliminarily determined that the U-phase 1 tube is normal.

[0059] If the U-phase 1 tube is damaged and short-circuited, the U-phase 1 tube (DRV_U_T1_H) level signal is always at a low level, so that the control board 20 detects that the output end M2_VERSON_1 of the first logic detection circuit in the IO port is at a low level. At this time, the control board 20 determines that the U-phase 1 tube is short-circuited based on the detection signal and the corresponding theoretical signal.

[0060] For example, when Figure 2 When pins 2 and 4 of the PWM voltage driver U56 are short-circuited by solder, the level signal of the U-phase 2 tube (DRV_U_T2_H) is also correspondingly high, so that after the corresponding second logic detection circuit performs an OR gate logic operation, its output terminal M2_VERSON_2 also generates a high level, so that the control board 20 detects that the output terminal M2_VERSON_2 of the second logic detection circuit in the IO port is also high. At this time, the control board 20 determines that a short circuit occurs between the U-phase 1 tube and the U-phase 2 tube based on the detection signal and the corresponding theoretical signal. At this time, through the communication port of the control board 20, its host computer 30 can also correspondingly monitor the short circuit between the U-phase 1 tube and the U-phase 2 tube in the control board 20.

[0061] Furthermore, the control board 20 correspondingly controls the level signal of the U-phase 1 tube (DRV_U_T1_H) generated by the PWM voltage driver U56 to be changed to a low level. At this time, after the first logic detection circuit performs an OR gate logic operation, it theoretically generates a low level. When the control board 20 detects that the output terminal M2_VERSON_1 of the first logic detection circuit in the IO port is a low level, it is finally determined that the U-phase 1 tube drive signal is correct. When the control board 20 still detects that the output terminal M2_VERSON_1 of the first logic detection circuit in the IO port is a high level, it is correspondingly determined that the U-phase 1 tube drive signal is faulty.

[0062] Correspondingly, the detection of other drives is sequentially referred to the above description. At this time, the control board 20 controls the level signal of each drive to be detected to be high level, and controls the level signals of other drives to be low level, so as to ensure the single variable control of the drive to be detected without interference from other drives; at the same time, after controlling the level signal of the drive to be detected to be high level, continue to control the level signal of the drive to be detected to be low level, and judge whether the drive signal is functioning normally according to the two detection results. At this time, when the level signal of the drive to be detected is controlled to be high level, if the drive signal is normal, the corresponding logic detection circuit detected by the IO port is high level; when the drive signal to be detected is controlled to be low level, if the drive signal is normal, the corresponding logic detection circuit detected by the IO port is low level. By adding signal detection to restore the level signal of each drive to a low level state, it is avoided that when the drive signal works abnormally and the detection result is always high level, the problem of misjudgment of subsequent detection caused by detecting other drive signals is avoided. Furthermore, after the test of the tested control board 20 is completed, its user can replace other tested control boards 20 for testing. At this time, only the control board 20 and the tooling board 40 need to be used together to realize the functional test of the driving signal of the driving circuit, without the need to invest in expensive oscilloscopes and supporting equipment, thereby reducing material costs. In the case of low production, it is obvious that economic benefits can be effectively improved; at the same time, the test of the control board 20 is more comprehensive and accurate, and the performance is outstanding in testing short circuits and open circuits; at the same time, due to the automation and systematic testing of the control board 20, the test efficiency is effectively improved; at the same time, since the user can directly determine whether the driving circuit of the control board 20 is functioning normally through the feedback of the host computer 30, it is no longer necessary to manually judge the quality of the driving circuit through the waveform of the oscilloscope and the supporting software, thereby reducing the labor cost; at the same time, since only a simple logic detection circuit is arranged on the tooling board 40, even if the tooling board 40 fails and is replaced, the cost of equipment maintenance is lower than that of the existing oscilloscope and its supporting equipment.

[0063] Also refer to Figure 2 and Figure 3 As shown, each driver of the driving circuit is arranged in sequence, and each logic detection circuit is connected to a corresponding driver of each phase in the three-phase driving bridge arm, so that one driver of each phase driving bridge arm is not adjacent to a corresponding driver of another phase driving bridge arm, thereby avoiding the problem that the driving pins of each input end in a logic detection circuit are in adjacent positions, so that when the pins driven by it are short-circuited by solder, it can be determined by the level signals of the output ends of multiple logic detection circuits, while avoiding the problem that when the driving pins of each input end in the logic detection circuit are in adjacent positions, even if a solder short-circuit occurs, it cannot be determined by the output level of the logic detection circuit. This avoids the situation where, for example, a solder short circuit occurs between the U-phase 1 tube (DRV_U_T1_H) and the V-phase 1 tube (DRV_V_T1_H). When the host computer 30 controls the U-phase 1 tube drive signal to be detected to be high, the output end M2_VERSON_1 of the first logic detection circuit detected is high; and when the host computer 30 controls the V-phase 1 tube drive signal to be detected to be high, the output end M2_VERSON_1 of the first logic detection circuit detected is still high, making it impossible to determine whether the functions of each drive circuit are normal through the output end of the logic detection circuit.

[0064] At the same time, it should be pointed out that when the first logic circuit unit and the second logic circuit unit are logic AND gate circuits, the level signal of the drive to be detected is controlled to be low level, and the level signals of other drives are high level, so that after the logic AND gate operation of the logic detection circuit, a low level is output. The corresponding control board 20 continues to control the level signal of the drive to be detected to be changed to a high level after detecting the detection signal of the IO port. At this time, when the control board 20 detects that the detection signal of the level signal of the drive to be detected is the same as the theoretical signal when the control board 20 controls the level signal of the drive to be detected twice, it is determined that the drive signal is normal; when it is detected that the output signal of the output end of multiple logic detection circuits is the same as the signal output by the output end of the logic detection circuit that performs logic operation on the level signal of the drive to be detected, it is determined that the drive to be detected is short-circuited; when the signal output by the output end of the detected logic detection circuit is low level during two controls, it is determined that the drive to be detected is open.

[0065] The present invention is provided with a control board to be tested, a host computer and a tooling board, and a logic detection circuit is provided on the tooling board, at this time, the input end of the logic detection circuit is connected to the driving of the driving circuit in the control board through the driving port, and the output end of the logic detection circuit is connected to the IO port of the control board, so that the logic detection circuit can perform a logic operation on the level signal of each drive output by the control board and then output the IO port, at this time, the control board can determine whether the function of the driving signal is normal according to the theoretical signal corresponding to the level signal of each drive currently controlled and the detection signal collected by the IO port, and upload it to the host computer, so that the feedback test state and data are given to the user, so that it is not necessary to invest in an expensive oscilloscope and supporting equipment to realize the detection of each drive signal of the driving circuit, reduce the material cost, solve the problem that the existing drive signal detection equipment is complicated and expensive, and at the same time, the host computer drives the control board to automatically detect and realize automation and systematization, so that the test efficiency is improved, so that the manual detection of the tester is not required, and the labor cost is reduced. At the same time, the problems of short circuit and open circuit in the driving circuit can also be effectively tested.

[0066] Embodiment 2

[0067] See also Figure 4 , is a flow chart of a driving signal detection method provided by a second embodiment of the present invention. For the sake of convenience, only the part related to the embodiment of the present invention is shown. The driving signal detection method is implemented based on the driving signal detection system described in the first embodiment. The method includes:

[0068] Step S10, when the control board receives the test command issued by the host computer based on the user through the communication port, the control board sends a control signal corresponding to the preset action to the logic detection circuit of the tooling board through the drive port, and the control signal controls the level signal of each drive in the drive circuit.

[0069] Among them, in the embodiment of the present invention, the control board sends a control signal corresponding to the preset action through the drive port to the logic detection circuit of the tooling board by the following steps:

[0070] 1. The control board initially sends a first control signal to the logic detection circuit of the tooling board, so that the level signal of one of the driving circuits is different from the default level;

[0071] 2. The control board sends a second control signal to the logic detection circuit of the tooling board to restore the level signals of all drivers in the drive circuit to the default level;

[0072] 3. The control board sends the first control signal and the second control signal to the logic detection circuit of the tooling board at intervals until the level signal of each drive in the drive circuit is controlled in turn and is different from the default level.

[0073] Among them, when the first logic circuit unit and the second logic circuit unit are logic OR gate circuits, the default level is a low level; when the first logic circuit unit and the second logic circuit unit are logic AND gate circuits, the default level is a high level; specifically, in the embodiment of the present invention, the first logic circuit unit and the second logic circuit unit are logic OR gate circuits, and the specific steps are: the control board sends a first control signal to enable each drive module in the control board to control the level signal of the U phase 1 tube (DRV_U_T1_H) generated by the PWM voltage driver to be a high level, and the level signals of other drives are low levels, and the level signals of each drive are output from the drive port to the logic detection circuit of the tooling board, and after executing the following steps S20 and S30, The control board sends a second control signal to change the level signal of the U phase 1 tube (DRV_U_T1_H) to a low level. Further, after executing the following steps S20 and S30, the control board continues to send the first control signal to make the level signal of the V phase 1 tube (DRV_V_T1_H) a high level, while the level signals of other drives are low levels. Further, after executing the following steps S20 and S30, the control board continues to send the second control signal to change the level signal of the V phase 1 tube (DRV_V_T1_H) to a low level. Accordingly, the control board sends the first control signal and the second control signal to the tooling board at intervals until the level signal of each drive in the drive circuit is controlled in turn to be different from the default level.

[0074] Step S20, the control board collects, through the IO port, a detection signal output by the logic detection circuit after performing a logic operation based on the level signals of its various input terminals.

[0075] Among them, in an embodiment of the present invention, after the control board sends a control signal corresponding to a preset action to the logic detection circuit of the tooling board, the logic detection circuit on the tooling board performs a logic operation on the level signals of each drive at its input end, and outputs the corresponding detection signal to the IO port of the control board after the logic operation is completed, so that the control board can collect the detection signal through the IO port.

[0076] Step S30, the control board determines whether the functions of the various driving signals of the driving circuit in the control board are normal according to the theoretical signal corresponding to the preset action and the detection signal detected by the IO port.

[0077] The step of determining whether the functions of the driving signals of the driving circuit in the control board are normal includes:

[0078] The control board determines whether the functions of the driving signals of each channel of the driving circuit are normal according to whether the detected signal is consistent with the corresponding theoretical signal when the level signal of each channel of driving is different from the default level;

[0079] When the control board detects that the detection signal is inconsistent with the corresponding theoretical signal when the level signal of the target path drive is different from the default level, it is determined that the function of the target path drive signal of the drive circuit is abnormal;

[0080] When the control board detects that the detection signal is consistent with the corresponding theoretical signal when the level signal of each driving channel is different from the default level, it is determined that the functions of each driving signal of the driving circuit are normal.

[0081] Among them, in this embodiment, since each phase driving bridge arm adopts 4-way drive, 4 logic detection circuits are adopted, so that each logic detection circuit outputs a detection signal to the IO port of the control board respectively. Correspondingly, the control board can determine the 4-way theoretical signals obtained by the logic operation performed by each logic detection circuit according to its control signal. At this time, the control board compares the received 4-way detection signals with the 4-way theoretical signals. When the comparison is consistent, the control board continues to send control signals to the tooling board;

[0082] When the comparison is inconsistent, the specific detection signal that is different from the theoretical signal is detected. At this time, the control board determines whether the logic detection circuit that outputs the specific detection signal performs a logic operation on the level signal driven by the target path. If so, it is determined that the target path drive signal of the drive circuit is open-circuited; if not, it is determined that the target path drive signal of the drive circuit is short-circuited. For example, when the control board sends a control signal to perform a functional detection on the level signal of the U phase 1 tube, its theoretical signal is that the output end M2_VERSON_1 of the first logic detection circuit is high, while the output ends of the other logic detection circuits are all low. At this time, when the comparison between each detection signal and the theoretical signal is inconsistent, such as the output end M2_VERSON_2 of the second logic detection circuit is also at a high level, when it is determined that the second logic detection circuit that outputs the high level is not a logic detection circuit that performs logic operations on the U-phase 1 tube, it is determined that the U-phase 1 tube drive signal of the drive circuit is short-circuited, and the adjacent U-phase 2 tube is short-circuited; and when each detection signal is inconsistent with the theoretical signal, such as the output end M2_VERSON_1 of the first logic detection circuit is at a low level, when it is determined that the first logic detection circuit that outputs the low level is a logic detection circuit that performs logic operations on the U-phase 1 tube, it is determined that the U-phase 1 tube drive signal of the drive circuit is open-circuited.

[0083] Furthermore, when all control signals are sent to the tooling board in sequence, so that the level signal of each drive controlled in the drive circuit in sequence is different from the default level, and its 4-way detection signal is consistent with the 4-way theoretical signal, it is determined that the function of each drive signal of the drive circuit is normal.

[0084] Step S40, the control board uploads the test data to the host computer through the communication port, so that the host computer monitors the test data of the control board and feeds back the test results to the user accordingly;

[0085] Among them, after the control board determines whether the functions of various drive signals of its drive circuit are normal according to the theoretical signal corresponding to the preset action and the detection signal detected by the IO port, the control board can upload the test data during the test to the host computer through the communication port, so that the host computer can monitor the test status and test data. At the same time, the test result can be fed back to the user when the test is completed, so that the user can clearly determine whether the functions of various drive signals of the drive circuit in the control board are normal according to the test result fed back from the host computer, without the need to invest in expensive oscilloscopes and supporting equipment and manual testing by testers, thereby effectively reducing the cost of manpower and material resources.

[0086] Furthermore, in one embodiment of the present invention, after step S40, the following steps are further included:

[0087] When the host computer detects that the function of the target path driving signal in the driving circuit detected by the control board is abnormal, an abnormal alarm signal containing the target path driving signal is issued.

[0088] At this time, when a functional failure of the target path drive signal of the drive circuit is determined according to the above-mentioned detection method, an abnormal alarm signal is issued accordingly. The user of the host computer can repair or replace the drive circuit accordingly according to the abnormal alarm signal displayed by the host computer, so that it can quickly detect whether the drive circuit is short-circuited or open-circuited, effectively improving the detection efficiency and reducing the cost of manpower and material resources.

[0089] In this embodiment, each time a drive is detected, it only controls the level signal of the corresponding drive to be different from the default level, and then detects whether the drive signal function is normal. After each drive is detected, it continues to detect whether the next drive signal function is normal, so that the drive signal detection of the drive circuit can be automatically realized, which effectively improves the test efficiency. At the same time, the short circuit and open circuit of the drive can also be tested during the test, which makes it more comprehensive and accurate. At the same time, since there is no need to invest in expensive oscilloscopes and supporting equipment and manual testing by testers, the cost of manpower and material resources is effectively reduced, and the problem of complex and expensive existing drive signal detection equipment is solved.

[0090] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be assigned to different functional units or modules as needed, that is, the internal structure of the storage device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the implementation method can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

[0091] Those skilled in the art will understand that Figures 1 to 3 The structure shown in the figure does not constitute a limitation on the drive signal detection system of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently. Figure 4 The driving signal detection method in Figures 1 to 3 The present invention may be implemented with more or fewer components than those shown in the drawings, or with a combination of certain components, or with a different arrangement of components.

[0092] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A driving signal detection system, characterized in that: Used to detect various driving signals in the driving circuit of the control board, the system includes a control board, a host computer, and a tooling board; The control board is provided with a communication port for communicating with the host computer, and a drive port and an IO port connected to the tooling board, and the tooling board is provided with a logic detection circuit for connecting to the drive circuit; Each input end of the logic detection circuit is connected to each drive of the drive circuit through the drive port, and the output end of the logic detection circuit is connected to the IO port, so as to perform logic operation on the input level signal of each drive and then output the detection signal to the IO port; The control board is used to send a control signal corresponding to a preset action to the logic detection circuit of the tooling board through the drive port according to the test command issued by the host computer, and determine whether the functions of each drive signal in the drive circuit are normal according to the detection signal collected by the IO port, and the control signal controls the level signal of each drive; The host computer is used to monitor the test data of the control board in communication through the communication port, so as to feed back the test status and test data to the user in real time.

2. The driving signal detection system according to claim 1, characterized in that: The logic detection circuit includes a first logic circuit unit and a second logic circuit unit; The two input ends of the first logic circuit unit are connected to the two driving ends of the driving circuit; The output end of the first logic circuit unit and one driving path in the driving circuit are respectively connected to two input ends of the second logic circuit unit; The output end of the second logic circuit unit is connected to the IO port.

3. The driving signal detection system according to claim 2, characterized in that: The first logic circuit unit and the second logic circuit unit are logic OR gate circuits.

4. The driving signal detection system according to claim 1, characterized in that: The system also includes a simulator; The control board is also provided with a burning port connected to the simulator; The test program of the control board is burned by the simulator through the burning port.

5. A driving signal detection method, applicable to the driving signal detection system according to any one of claims 1 to 4, characterized in that: The method comprises: When the control board receives a test command issued by the host computer based on the user through the communication port, the control board sends a control signal corresponding to the preset action to the logic detection circuit of the tooling board through the drive port, and the control signal controls the level signal of each drive in the drive circuit; The control board collects the detection signal output by the logic detection circuit after performing logic operation according to the level signals of each input end thereof through the IO port; The control board determines whether the functions of the driving signals of the driving circuit in the control board are normal according to the theoretical signal corresponding to the preset action and the detection signal detected by the IO port; The control board uploads the test data to the host computer through the communication port, so that the host computer monitors the test data of the control board and feeds back the test results to the user accordingly.

6. The driving signal detection method according to claim 5, characterized in that: The step of the control board sending a control signal corresponding to a preset action to the logic detection circuit of the tooling board through the drive port includes: The control board initially sends a first control signal to the logic detection circuit of the tooling board, so that the level signal of one of the driving circuits is different from the default level; The control board sends a second control signal to the logic detection circuit of the tooling board to restore all driving level signals in the driving circuit to a default level; The control board sends the first control signal and the second control signal to the logic detection circuit of the tooling board at intervals until the level signal of each driving path in the driving circuit is controlled in sequence and is different from the default level.

7. The driving signal detection method according to claim 6, characterized in that: The step of determining whether the functions of the driving signals of the driving circuit in the control board are normal comprises: The control board determines whether the functions of the driving signals of each channel of the driving circuit are normal according to whether the detected signal detected when the level signal of each channel of driving is different from the default level is consistent with the corresponding theoretical signal; When the control board detects that the detection signal is inconsistent with the corresponding theoretical signal when the level signal of the target path drive is different from the default level, it is determined that the function of the target path drive signal of the drive circuit is abnormal; When the control board detects that the detection signal is consistent with the corresponding theoretical signal when the level signal of each driving channel is different from the default level, it is determined that the functions of the driving signals of each channel of the driving circuit are normal.

8. The driving signal detection method according to claim 5, characterized in that: The method further comprises: When the host computer detects that the function of the target path driving signal in the driving circuit detected by the control board is abnormal, an abnormal alarm signal containing the target path driving signal is issued.

Citation Information

Patent Citations

  • I / O port logical detection method and system

    CN104459514A

  • Automatic test circuit of photovoltaic inverter driving module

    CN210166450U