CN114488993A - Circuit state detection device and method - Google Patents
Circuit state detection device and method Download PDFInfo
- Publication number
- CN114488993A CN114488993A CN202111564542.8A CN202111564542A CN114488993A CN 114488993 A CN114488993 A CN 114488993A CN 202111564542 A CN202111564542 A CN 202111564542A CN 114488993 A CN114488993 A CN 114488993A
- Authority
- CN
- China
- Prior art keywords
- assembly
- circuit
- state
- electrically connected
- output
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 121
- 238000000034 method Methods 0.000 title abstract description 13
- 238000005070 sampling Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 11
- 230000005611 electricity Effects 0.000 claims description 6
- 239000000126 substance Substances 0.000 claims description 2
- 230000004044 response Effects 0.000 abstract description 2
- 238000004891 communication Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0208—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
- G05B23/0213—Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/28—Testing of electronic circuits, e.g. by signal tracer
- G01R31/2801—Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
- G01R31/281—Specific types of tests or tests for a specific type of fault, e.g. thermal mapping, shorts testing
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
Abstract
The invention provides a circuit state detection device and a method, comprising the following steps: the power supply device comprises a power supply assembly, a switch assembly, a state detection assembly and a controller, wherein the power supply input end of the switch assembly is electrically connected with the output end of the power supply assembly, and the output end of the switch assembly is used for providing an electric signal for a load element; the first input end of the state detection assembly is electrically connected with the output end of the power supply assembly, and the second input end of the state detection assembly is electrically connected with the output end of the switch assembly; the output end of the controller is electrically connected with the signal input end of the switch assembly, the first input end of the controller is electrically connected with the output end of the state detection assembly, the controller is set to send a control signal to the switch assembly, receives a state feedback signal output by the state detection assembly, and determines the circuit connection state based on the state feedback signal. The circuit state detection device and the method provided by the invention can realize the detection of the circuit state, facilitate the timely response of the circuit fault and improve the reliability and stability of the circuit.
Description
Technical Field
The present invention relates to the field of circuit technologies, and in particular, to a circuit state detection apparatus and method.
Background
With the development of automation and informatization of vehicles and working machines, the application degree of electric control technology on the vehicles and the working machines is deeper and deeper, and the controllers can be applied to the vehicles and the working machines to realize the acquisition and control of various signals of a vehicle body, such as the acquisition of instrument information, the walking of an excavator, the control of a mechanical arm and a bucket, and the like.
With the progress of technology, the market demand and the continuous improvement of product functions, the functions of the current controller are very limited, and the requirements of future automobile and engineering machinery products, particularly products under the large background of the development trend of full electric control of engineering machinery, cannot be met; meanwhile, the state of the control circuit is difficult to detect, and the circuit fault cannot be responded in time.
Disclosure of Invention
The invention provides a circuit state detection device and a circuit state detection method, which are used for solving the problems that the state of a control circuit is difficult to detect and the circuit fault cannot be responded in time in the prior art, so that the reliability and the stability of the circuit are improved.
The present invention provides a circuit state detection device, including: the device comprises a power supply assembly, a switch assembly, a state detection assembly and a controller; wherein the content of the first and second substances,
the power supply input end of the switch assembly is electrically connected with the output end of the power supply assembly, and the output end of the switch assembly is used for providing an electric signal for a load element;
a first input end of the state detection assembly is electrically connected with an output end of the power supply assembly, and a second input end of the state detection assembly is electrically connected with an output end of the switch assembly;
the output end of the controller is electrically connected with the signal input end of the switch assembly, and the first input end of the controller is electrically connected with the output end of the state detection assembly;
the controller is configured to send a control signal to the switch assembly, receive a state feedback signal output by the state detection assembly, and determine a circuit connection state based on the control signal and the state feedback signal.
According to the circuit state detection device provided by the invention, the circuit connection state comprises at least one of normal connection, short circuit between the load element and the ground, no electric signal output at the output end of the switch assembly, disconnection between the load element and the output end of the switch assembly, and short circuit between the output end of the switch assembly and the output end of the power supply assembly.
According to the circuit state detection device provided by the invention, the state detection component comprises:
the first end of the first resistor is electrically connected with the output end of the power supply assembly;
a first end of the second resistor is electrically connected with a second end of the first resistor, the first end of the second resistor is also electrically connected with an output end of the switch component, and the second end of the second resistor is electrically connected with a first input end of the controller;
a first end of the third resistor is electrically connected with a second end of the second resistor, and a second end of the third resistor is grounded; the resistance value of the first resistor is larger than that of the second resistor, and the resistance value of the second resistor is larger than that of the third resistor.
According to the present invention, there is provided a circuit state detection device comprising:
the first end of the sampling resistor is electrically connected with the output end of the switch component, the second end of the sampling resistor is electrically connected with the second input end of the state detection component, and the second end of the sampling resistor is also electrically connected with the load element.
According to the circuit state detection device provided by the present invention, the circuit state detection device further includes:
the current detection subassembly, the first input of current detection subassembly with the first end electricity of sampling resistance is connected, the second input of current detection subassembly with the second end electricity of sampling resistance is connected, the output of current detection subassembly with the second input electricity of controller is connected, the controller still is configured to receive the detected signal of current detection subassembly output, based on the detected signal adjustment control signal.
According to the circuit state detection device provided by the present invention, the circuit state detection device further includes:
and the input end of the voltage following component is electrically connected with the output end of the current detection component, and the output end of the voltage following component is electrically connected with the second input end of the controller.
The present invention also provides a circuit state detection method applied to any one of the above circuit state detection devices, the circuit state detection method including:
acquiring a state feedback signal;
determining a circuit connection state based on the state feedback signal.
According to the circuit state detection method provided by the invention, the determining the circuit connection state based on the state feedback signal comprises the following steps:
if the state feedback signal is 0, determining that the circuit connection state is that the load element is in short circuit with the ground or no electric signal is output from the output end of the switch assembly;
if the state feedback signal is in a first voltage interval, determining that the circuit connection state is that the load element is disconnected with the output end of the switch assembly;
if the state feedback signal is in a second voltage interval, determining that the circuit connection state is that the load element is in short circuit with the output end of the power supply assembly; wherein the second voltage interval is greater than the first voltage interval.
The present invention also provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned circuit state detection methods when executing the program.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the circuit state detection method as described in any of the above.
According to the circuit state detection device and method provided by the invention, the first input end of the state detection assembly is electrically connected with the output end of the power supply assembly, the second input end of the state detection assembly is electrically connected with the output end of the switch assembly, and the output end of the state detection assembly is electrically connected with the first input end of the controller, so that the controller can receive the state feedback signal, and the circuit connection state is judged, and thus the circuit state can be detected, the circuit fault can be responded in time, and the reliability and stability of the circuit can be improved.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of a circuit status detection apparatus provided in the present invention;
FIG. 2 is a schematic flow chart of a circuit state detection method provided by the present invention;
fig. 3 is a schematic structural diagram of an electronic device provided in the present invention.
Reference numerals:
10: a power supply assembly; 20: a switch assembly; 30: a state detection component;
r1: a first resistor; r2: a second resistor; r3: a third resistor;
40: a controller; 50: a current detection component; 60: a voltage follower component;
70: a load element; r0: the resistance is sampled.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. 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.
The circuit state detection apparatus and method of the present invention will be described with reference to fig. 1 to 3.
As shown in fig. 1, the present invention provides a circuit state detection device, including: a power supply assembly 10, a switch assembly 20, a status detection assembly 30, and a controller 40.
Wherein the power input terminal of the switch assembly 20 is electrically connected to the output terminal of the power supply assembly 10, and the output terminal of the switch assembly 20 is used for providing an electrical signal to the load element 70.
It can be understood that the power supply assembly 10 can provide an electrical signal to the load element 70 through the switch assembly 20, for example, can provide power to the load element 70, the load element 70 can be an actuator of a vehicle or a working machine, for example, an automobile dashboard, or a walking device, a robot arm, or a bucket of an excavator, in a practical application, the power supply assembly 10 can provide power to the switch assembly 20, the controller 40 can send a control signal to the switch assembly 20, and the controller 40 can change an electrical signal input received by the load element 70 by changing the control signal, so as to determine an operating state of the load element 70.
A first input terminal of the status detecting assembly 30 is electrically connected to the output terminal of the power supply assembly 10, and a second input terminal of the status detecting assembly 30 is electrically connected to the output terminal of the switch assembly 20.
It can be understood that the status detecting assembly 30 is used for detecting the electrical signal output from the output terminal of the switch assembly 20, the output terminal of the switch assembly 20 is electrically connected to the input terminal of the load element 70, the first connection cable connected to the output terminal of the switch assembly 20 is connected to the input terminal of the load element 70, and the first input terminal of the status detecting assembly 30 can be connected to the first connection cable connected to the output terminal of the switch assembly 20 and the input terminal of the load element 70, so that the status detecting assembly 30 can detect the electrical signal output from the switch assembly 20 to the load element 70.
The output end of the power supply assembly 10 is also electrically connected to the first input end of the state detection assembly 30, and the output end of the power supply assembly 10 can supply power to the state detection assembly 30.
An output terminal of the controller 40 is electrically connected to a signal input terminal of the switch assembly 20, a first input terminal of the controller 40 is electrically connected to an output terminal of the state detection assembly 30, and the controller 40 is configured to send a control signal to the switch assembly 20, receive a state feedback signal output by the state detection assembly 30, and determine a circuit connection state based on the state feedback signal.
The circuit connection state may represent a connection state of a circuit between the switch assembly 20 and the load element 70, and when a failure occurs in the circuit connection between the switch assembly 20 and the load element 70, the switch assembly 20 cannot accurately control the power on and off of the load element 70 based on the control signal sent by the controller 40, and thus the circuit connection state needs to be accurately detected.
It is understood that the controller 40 may be an ARM chip, such as an M7 core ARM chip that may be 480MHz, and the controller 40 may send a control signal to the switch component 20 through its output; after receiving the control signal, the switch module 20 may respond to the control signal and adjust the electrical signal output by the output terminal thereof; the state detection assembly 30 can receive the electrical signal output by the switch assembly 20 and output a state feedback signal according to the electrical signal, the output terminal of the state detection assembly 30 is electrically connected to the first input terminal of the controller 40, and the first input terminal of the controller 40 can receive the state feedback signal.
The controller 40 may determine a circuit connection status from the received status feedback signal, the circuit connection status being indicative of a physical connection status of the circuit between the switch assembly 20 and the load element 70, and the circuit connection status may include: other states may also be included, and the specific type of circuit connection state is not limited herein, such as normal, the load element 70 being shorted to ground, no electrical signal being output at the output of the switching assembly 20, the load element 70 being disconnected from the output of the switching assembly 20, or the output of the switching assembly 20 being shorted to the output of the power supply assembly 10.
When the circuit connection state is normal, the controller 40 may normally output a control signal to control the operating state of the load element 70.
According to the circuit state detection device provided by the invention, the first input end of the state detection assembly 30 is electrically connected with the output end of the power supply assembly 10, the second input end of the state detection assembly 30 is electrically connected with the output end of the switch assembly 20, and the output end of the state detection assembly 30 is electrically connected with the first input end of the controller 40, so that the controller 40 can receive the state feedback signal to judge the circuit connection state, the detection of the circuit state can be realized, the timely response to the circuit fault is facilitated, and the reliability and the stability of the circuit can be improved.
In some embodiments, the circuit connection state includes at least one of a normal connection, a short circuit of the load element to ground, no electrical signal output at the output of the switching assembly, a disconnection of the load element from the output of the switching assembly, and a short circuit of the output of the switching assembly to the output of the power supply assembly. As shown in fig. 1, in some embodiments, the status detection component 30 includes: a first resistor R1, a second resistor R2, and a third resistor R3.
A first end of the first resistor R1 is electrically connected with an output end of the power supply assembly 10; a first end of the second resistor R2 is electrically connected to a second end of the first resistor R1, a first end of the second resistor R2 is also electrically connected to the output terminal of the switch component 20, and a second end of the second resistor R2 is electrically connected to a first input terminal of the controller 40; the first end of the third resistor R3 is electrically connected with the second end of the second resistor R2, and the second end of the third resistor R3 is grounded.
It is understood that the power supply assembly 10 may provide a voltage signal to the first terminal of the first resistor R1. In some embodiments, the first resistor R1 is larger in resistance than the second resistor R2, and the second resistor R2 is larger in resistance than the third resistor R3. For example, in one embodiment, the power supply module 10 outputs a voltage of 24V (volts), the first resistor R1 has a resistance of 316K Ω (kilo-ohms), the second resistor R2 has a resistance of 60.4K Ω (kilo-ohms), and the third resistor R3 has a resistance of 10K K Ω (kilo-ohms).
As shown in fig. 1, in some embodiments, the circuit state detection device further comprises: resistor R0 is sampled. A first terminal of the sampling resistor R0 is electrically connected to the output terminal of the switch component 20, a second terminal of the sampling resistor R0 is electrically connected to the second input terminal of the state detection component 30, and a second terminal of the sampling resistor R0 is further used for supplying power to the load element 70.
It is understood that the sampling resistor R0 may be coupled between the output of the switching assembly 20 and the input of the load element 70, and the sampling resistor R0 is also coupled between the output of the switching assembly 20 and the second input of the state detection assembly 30.
As shown in fig. 1, in some embodiments, the circuit state detection device further comprises: a current sensing assembly 50.
The first input end of the current detection component 50 is electrically connected to the first end of the sampling resistor R0, the second input end of the current detection component 50 is electrically connected to the second end of the sampling resistor R0, the output end of the current detection component 50 is electrically connected to the second input end of the controller 40, and the controller 40 is further configured to receive the detection signal output by the current detection component 50 and adjust the control signal based on the detection signal.
It is understood that the current detecting component 50 may be connected in parallel to two ends of the sampling resistor R0, so as to measure the voltage value of the two ends of the sampling resistor R0, when the resistance value of the sampling resistor R0 is known, the current value of the sampling resistor R0 can be obtained through the measured voltage value and the known resistance value, and the current value can be used as a detection signal, of course, the current detecting component 50 may also process the detected voltage value to obtain a detection signal, and send the detection signal to the second input terminal of the controller 40.
The specific form of the detection signal is not limited herein, and the controller 40 may adjust the control signal according to the detection signal after receiving the detection signal, so that the switching assembly 20 can stably supply power to the load element 70.
As shown in fig. 1, in some embodiments, the circuit state detection device further comprises: the voltage follower assembly 60.
An input terminal of the voltage follower 60 is electrically connected to an output terminal of the current detecting assembly 50, and an output terminal of the voltage follower 60 is electrically connected to a second input terminal of the controller 40.
It is understood that the voltage follower component 60 can perform an impedance matching function, so that the detection signal detected by the current detection component 50 can be amplified, the load capacity can be improved, the waveform and amplitude of the detection signal can be kept unchanged, and a buffering function and an isolation function can be performed between the current detection component 50 and the controller 40.
As shown in fig. 2, the present invention further provides a circuit state detection method, which is applied to the circuit state detection apparatus, and the circuit state detection method includes the following steps 210 to 220.
In step 210, a state feedback signal is obtained.
It is understood that the circuit state detection method may be executed by the controller 40 in the circuit state detection apparatus, the power supply assembly 10 may supply power to the load element 70 through the switch assembly 20, the load element 70 may be an actuating element of a vehicle or a working machine, such as an automobile dashboard, or a traveling device, a robot arm, or a bucket of an excavator, during an actual application, the power supply assembly 10 may supply power to the switch assembly 20, the controller 40 may send a control signal to the switch assembly 20, and the controller 40 may change an electrical signal input received by the load element 70 by changing the control signal, so as to determine an operating state of the load element 70.
The state detection assembly 30 is configured to detect an electrical signal output by an output end of the switch assembly 20, the output end of the switch assembly 20 is electrically connected to an input end of the load element 70, a first connection cable connected to the output end of the switch assembly 20 is connected to the input end of the load element 70, and a first input end of the state detection assembly 30 may be connected to the first connection cable connected to the output end of the switch assembly 20 and the input end of the load element 70, so that the state detection assembly 30 can detect the electrical signal output from the switch assembly 20 to the load element 70.
An output terminal of the controller 40 is electrically connected to a signal input terminal of the switch assembly 20, a first input terminal of the controller 40 is electrically connected to an output terminal of the state detection assembly 30, and the controller 40 is configured to send a control signal to the switch assembly 20 and receive a state feedback signal output by the state detection assembly 30.
And step 220, determining the circuit connection state based on the state feedback signal.
It will be appreciated that the controller 40 may determine a circuit connection status based on the control signal it transmits and the connection feedback signal status feedback signal it receives, the circuit connection status being used to represent a physical connection status of the circuit, and the circuit connection status may include: other states may also be included, as normal, the load element 70 is shorted to ground, no current is output from the output of the switching assembly 20, the load element 70 is disconnected from the output of the switching assembly 20, or the output of the switching assembly 20 is shorted to the output of the power supply assembly 10, and the specific type of circuit connection state is not limited herein.
In some embodiments, step 220, determining the circuit connection status based on the status feedback signal, includes steps 221 through 223.
In step 221, if the state feedback signal is 0, it is determined that the circuit connection state is the load element 70 is shorted to ground or no signal is output from the output terminal of the switching element 20.
It is understood that when the state feedback signal is 0, it may be determined that the circuit connection state is that the load element 70 is shorted to ground, or that no electrical signal is output from the output terminal of the switching assembly 20, and the PWM state received by the load element 70 may be ON.
In a specific application scenario, when the switch assembly 20 is in the closed state, the load element 70 is short-circuited to the ground, at this time, the full range of the state feedback signal is full, and when the switch assembly 20 is in the open state, the load element 70 is short-circuited to the ground, and at this time, it cannot be determined.
In step 222, if the state feedback signal is in the first voltage interval, it is determined that the circuit connection state is that the load element 70 is disconnected from the output terminal of the switch assembly 20.
It is understood that when the state feedback signal is in the first voltage interval, the circuit connection state may be that the load element 70 and the output terminal of the switching assembly 20 are open, and the PWM state received by the load element 70 may be OFF.
In a specific application scenario, when the switch assembly 20 is in the closed state, if the load element 70 is open, the state feedback signal is abnormal; when the switch assembly 20 is in the open state, if the load element 70 is open, in the above embodiment, the state feedback signal is 0.62V; if the load element is normal, the state feedback signal is close to 0.
Step 223, if the state feedback signal is in the second voltage interval, it is determined that the circuit connection state is that the output end of the switch component 20 is short-circuited with the output end of the power supply component 10, and the second voltage interval is greater than the first voltage interval.
In the above embodiment, the first voltage interval may be 0.13V-0.19V, and the second voltage interval may be 2.77V-4.05V. When the state feedback signal is in the second voltage interval, the circuit connection state may be a short circuit between the load element 70 and the output terminal of the power supply assembly 10, and the PWM state received by the load element 70 may be OFF.
In a specific application scenario, when the switch component 20 is in a closed state, if the output terminal of the switch component 20 is short-circuited with the output terminal of the power supply component 10, the state feedback signal deviates from the calibration data, and when the switch component 20 is in an open state, if the output terminal of the switch component 20 is short-circuited with the output terminal of the power supply component 10, the load element 70 may operate at this time, but is different from the control logic, see table 1.
TABLE 1 Circuit connection status LUT
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor)310, a communication Interface (communication Interface)320, a memory (memory)330 and a communication bus 340, wherein the processor 310, the communication Interface 320 and the memory 330 communicate with each other via the communication bus 340. The processor 310 may call logic instructions in the memory 330 to perform a circuit state detection method comprising: acquiring a state feedback signal; based on the state feedback signal, a circuit connection state is determined.
Determining the circuit connection state based on the state feedback signal comprises: if the state feedback signal is 0, determining that the circuit connection state is that the load element 70 is short-circuited with the ground or that no signal is output from the output end of the switching element 20; if the state feedback signal is in the first voltage interval, determining that the circuit connection state is that the load element 70 is disconnected from the output terminal of the switch assembly 20; if the state feedback signal is in the second voltage interval, the circuit connection state is determined to be that the load element 70 is short-circuited with the output end of the power supply assembly 10, and the second voltage interval is greater than the first voltage interval.
In addition, the logic instructions in the memory 330 may be implemented in the form of software functional units and stored in a computer readable storage medium when the software functional units are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product including a computer program, the computer program being storable on a non-transitory computer-readable storage medium, the computer program being capable of executing, when executed by a processor, the circuit state detection method provided by the above methods, the method including: acquiring a state feedback signal; based on the state feedback signal, a circuit connection state is determined.
Determining the circuit connection state based on the state feedback signal comprises: if the state feedback signal is 0, determining that the circuit connection state is that the load element 70 is short-circuited with the ground or that no signal is output from the output end of the switching element 20; if the state feedback signal is in the first voltage interval, determining that the circuit connection state is that the load element 70 is disconnected from the output terminal of the switch assembly 20; if the state feedback signal is in the second voltage interval, the circuit connection state is determined to be that the load element 70 is short-circuited with the output end of the power supply assembly 10, and the second voltage interval is greater than the first voltage interval.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, the computer program being implemented by a processor to perform the circuit state detection method provided by the above methods, the method comprising: acquiring a state feedback signal; based on the state feedback signal, a circuit connection state is determined.
Determining the circuit connection state based on the state feedback signal comprises: if the state feedback signal is 0, determining that the circuit connection state is that the load element 70 is short-circuited with the ground or that no signal is output from the output end of the switching element 20; if the state feedback signal is in the first voltage interval, determining that the circuit connection state is that the load element 70 is disconnected from the output terminal of the switch assembly 20; if the state feedback signal is in the second voltage interval, the circuit connection state is determined to be that the load element 70 is short-circuited with the output end of the power supply assembly 10, and the second voltage interval is greater than the first voltage interval.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A circuit condition detection device, comprising: the device comprises a power supply assembly, a switch assembly, a state detection assembly and a controller; wherein the content of the first and second substances,
the power supply input end of the switch assembly is electrically connected with the output end of the power supply assembly, and the output end of the switch assembly is used for providing an electric signal for a load element;
a first input end of the state detection assembly is electrically connected with an output end of the power supply assembly, and a second input end of the state detection assembly is electrically connected with an output end of the switch assembly;
the output end of the controller is electrically connected with the signal input end of the switch assembly, and the first input end of the controller is electrically connected with the output end of the state detection assembly;
the controller is configured to send a control signal to the switch assembly, receive a state feedback signal output by the state detection assembly, and determine a circuit connection state based on the state feedback signal.
2. The circuit state detection device according to claim 1, wherein the circuit connection state includes at least one of a normal connection, a short circuit of the load element to ground, no electrical signal output from the output terminal of the switching assembly, a disconnection of the load element from the output terminal of the switching assembly, and a short circuit of the output terminal of the switching assembly to the output terminal of the power supply assembly.
3. The circuit state detection device of claim 1, wherein the state detection component comprises:
the first end of the first resistor is electrically connected with the output end of the power supply assembly; a first end of the second resistor is electrically connected with a second end of the first resistor, the first end of the second resistor is also electrically connected with an output end of the switch component, and the second end of the second resistor is electrically connected with a first input end of the controller; a first end of the third resistor is electrically connected with a second end of the second resistor, and a second end of the third resistor is grounded;
the resistance value of the first resistor is larger than that of the second resistor, and the resistance value of the second resistor is larger than that of the third resistor.
4. The circuit state detection device according to any one of claims 1 to 3, characterized by further comprising:
the first end of the sampling resistor is electrically connected with the output end of the switch component, the second end of the sampling resistor is electrically connected with the second input end of the state detection component, and the second end of the sampling resistor is also electrically connected with the load element.
5. The circuit state detection device according to claim 4, further comprising:
the current detection subassembly, the first input of current detection subassembly with the first end electricity of sampling resistance is connected, the second input of current detection subassembly with the second end electricity of sampling resistance is connected, the output of current detection subassembly with the second input electricity of controller is connected, the controller still is configured to receive the detected signal of current detection subassembly output, based on the detected signal adjustment control signal.
6. The circuit state detection device according to claim 5, further comprising:
and the input end of the voltage following component is electrically connected with the output end of the current detection component, and the output end of the voltage following component is electrically connected with the second input end of the controller.
7. A circuit state detection method applied to the circuit state detection device according to any one of claims 1 to 6, comprising:
acquiring a state feedback signal;
determining a circuit connection state based on the state feedback signal.
8. The circuit state detection method of claim 7, wherein the determining a circuit connection state based on the state feedback signal comprises:
if the state feedback signal is 0, determining that the circuit connection state is that the load element is in short circuit with the ground or no electric signal is output from the output end of the switch assembly;
if the state feedback signal is in a first voltage interval, determining that the circuit connection state is that the load element is disconnected with the output end of the switch assembly;
if the state feedback signal is in a second voltage interval, determining that the circuit connection state is that the load element is in short circuit with the output end of the power supply assembly; wherein the second voltage interval is greater than the first voltage interval.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the circuit state detection method according to claim 7 or 8 when executing the program.
10. A non-transitory computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the circuit state detection method according to claim 7 or 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111564542.8A CN114488993A (en) | 2021-12-20 | 2021-12-20 | Circuit state detection device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111564542.8A CN114488993A (en) | 2021-12-20 | 2021-12-20 | Circuit state detection device and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114488993A true CN114488993A (en) | 2022-05-13 |
Family
ID=81494896
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111564542.8A Pending CN114488993A (en) | 2021-12-20 | 2021-12-20 | Circuit state detection device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114488993A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013047005A1 (en) * | 2011-09-29 | 2013-04-04 | 富士電機株式会社 | Load driving circuit |
CN203337781U (en) * | 2013-05-06 | 2013-12-11 | 深圳市芯海科技有限公司 | Power supply detection circuit, power supply circuit and electronic equipment |
CN104035435A (en) * | 2014-06-17 | 2014-09-10 | 上海华兴数字科技有限公司 | Drive port self-diagnostic circuit |
CN107491064A (en) * | 2017-10-14 | 2017-12-19 | 厦门芯阳科技股份有限公司 | A kind of water pump concatenation temperature controller control circuit and temperature controller condition detection method |
CN109406989A (en) * | 2018-11-12 | 2019-03-01 | 深圳和而泰小家电智能科技有限公司 | A kind of load circuit detection method, load detecting circuit and electronic equipment |
CN210129024U (en) * | 2019-03-20 | 2020-03-06 | 日立汽车系统(苏州)有限公司 | Load diagnosis device |
CN111366803A (en) * | 2020-03-25 | 2020-07-03 | 广州华凌制冷设备有限公司 | Power supply circuit, circuit fault detection method, circuit board and vehicle-mounted air conditioner |
CN211429601U (en) * | 2020-04-07 | 2020-09-04 | 珠海市圣昌电子有限公司 | Open circuit and short circuit detection circuit and LED switching power supply control system |
CN111766533A (en) * | 2019-04-01 | 2020-10-13 | 宁德时代新能源科技股份有限公司 | Fault detection circuit and fault detection method |
CN112117806A (en) * | 2020-09-23 | 2020-12-22 | 上海华兴数字科技有限公司 | Power consumption management system and excavator |
CN213240401U (en) * | 2020-10-09 | 2021-05-18 | 深圳莱福德科技股份有限公司 | Load detection circuit and system |
CN213903759U (en) * | 2020-10-13 | 2021-08-06 | 惠州市德赛西威汽车电子股份有限公司 | Load open circuit detection circuit |
-
2021
- 2021-12-20 CN CN202111564542.8A patent/CN114488993A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013047005A1 (en) * | 2011-09-29 | 2013-04-04 | 富士電機株式会社 | Load driving circuit |
CN203337781U (en) * | 2013-05-06 | 2013-12-11 | 深圳市芯海科技有限公司 | Power supply detection circuit, power supply circuit and electronic equipment |
CN104035435A (en) * | 2014-06-17 | 2014-09-10 | 上海华兴数字科技有限公司 | Drive port self-diagnostic circuit |
CN107491064A (en) * | 2017-10-14 | 2017-12-19 | 厦门芯阳科技股份有限公司 | A kind of water pump concatenation temperature controller control circuit and temperature controller condition detection method |
CN109406989A (en) * | 2018-11-12 | 2019-03-01 | 深圳和而泰小家电智能科技有限公司 | A kind of load circuit detection method, load detecting circuit and electronic equipment |
CN210129024U (en) * | 2019-03-20 | 2020-03-06 | 日立汽车系统(苏州)有限公司 | Load diagnosis device |
CN111766533A (en) * | 2019-04-01 | 2020-10-13 | 宁德时代新能源科技股份有限公司 | Fault detection circuit and fault detection method |
CN111366803A (en) * | 2020-03-25 | 2020-07-03 | 广州华凌制冷设备有限公司 | Power supply circuit, circuit fault detection method, circuit board and vehicle-mounted air conditioner |
CN211429601U (en) * | 2020-04-07 | 2020-09-04 | 珠海市圣昌电子有限公司 | Open circuit and short circuit detection circuit and LED switching power supply control system |
CN112117806A (en) * | 2020-09-23 | 2020-12-22 | 上海华兴数字科技有限公司 | Power consumption management system and excavator |
CN213240401U (en) * | 2020-10-09 | 2021-05-18 | 深圳莱福德科技股份有限公司 | Load detection circuit and system |
CN213903759U (en) * | 2020-10-13 | 2021-08-06 | 惠州市德赛西威汽车电子股份有限公司 | Load open circuit detection circuit |
Non-Patent Citations (1)
Title |
---|
刘红奎;相征;罗辉果;: "基于动态电位判断的负载状态在线检测技术研究", 电子测量与仪器学报, no. 07 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103250061B (en) | Insulation resistance measurement circuit having self-est function without generating leakage current | |
CN109521359B (en) | Power battery cathode relay state detection circuit and method | |
CN110389289B (en) | Insulation fault detection method and control device | |
CN102116836A (en) | Circuit fault detecting device and method | |
CN103703382A (en) | Detecting device and current sensor | |
CN111679183B (en) | Relay adhesion detection circuit and method, vehicle and storage medium | |
EP2527854B1 (en) | Systems and methods for determining electrical faults | |
KR20130039817A (en) | Circuit for monitoring relay | |
CN107110900A (en) | Insulation resistance measuring device and method | |
US20130205866A1 (en) | Testing of a measuring device arrangement, corresponding measuring device arrangement and test arrangement | |
CN113092922B (en) | Independent diagnosis device and method for high-voltage contactor of power battery system | |
JP2015529332A (en) | Circuit for guiding current | |
CN115091957A (en) | Device and method for diagnosing contact state of high-voltage upper and lower electric contactors and vehicle | |
CN105866671A (en) | Magnetic switch general-purpose tester and testing method thereof | |
CN108223882A (en) | A kind of electrohydraulic servo valve drive control circuit and method | |
CN112729186A (en) | Fault processing method, device and system for displacement sensor and processor | |
CN110869783B (en) | System and method for diagnosing relay fault | |
CN111766533B (en) | Fault detection circuit and fault detection method | |
CN114488993A (en) | Circuit state detection device and method | |
CN113906302A (en) | Method for determining the resistance of an electrical supply line | |
CN115718255A (en) | Detection circuit, detection method, detection device, energy storage system and readable storage medium | |
JP2024507487A (en) | Communication link operating characteristics test system and test method | |
CN111629314B (en) | Overvoltage detection reminding system and method for vehicle-mounted loudspeaker | |
KR20210111478A (en) | System and method for managing battery | |
CN219122377U (en) | Cable breakage detection device and welding equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |