Switch state detection circuit, control method and spacecraft
By designing a switch state detection circuit including detection branch, output port, current limiting resistor and controller, the space and cost waste caused by setting multiple state judgment paths for each single machine in the prior art is solved, and efficient detection of the switch states of each single machine in the entire star is achieved.
Patent Information
- Application Number
- CN202411973903.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-30
- Publication Date
- 2025-04-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the prior art, a path for state judgment and functional telemetry is set up for each stand-alone machine, resulting in a large space occupied, high cost and waste of resources.
A switching state detection circuit is designed, including at least two detection branches, output ports, current limiting resistors and controllers. Each switch to be inspected is connected to one end of the detection branch one by one, the other end of the detection branch is grounded through a current limiting resistor, and is electrically connected to the controller through an output port. The detection branch includes an anti-flow device and a load device. The controller determines the switching status of each switch to be detected by the port voltage at the output port.
It is possible to detect the switching states of each single machine in the entire star using fewer components, reducing space occupation and avoiding waste of resources.
Smart Images

Figure CN119805191A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of detection technology, and in particular to a switch state detection circuit, a control method and a spacecraft. Background Art
[0002] With the continuous development of space technology, the number and types of units inside satellites are increasing, and the demand for status judgment and functional telemetry of each unit is also increasing.
[0003] The current solution is to set up a status judgment and function telemetry path for each single machine, which requires the entire satellite to provide more analog telemetry interfaces, occupying more space in the entire satellite and causing a waste of the entire satellite's resources. Summary of the invention
[0004] The embodiments of the present invention provide a switch state detection circuit, a control method and a spacecraft, which solve the technical problems in the prior art of setting a state judgment and function telemetry path for each single machine, which occupies a large space, has a high cost and causes a waste of resources.
[0005] An embodiment of the present invention provides a switch state detection circuit, the switch state detection circuit comprising at least two detection branches, an output port, a current limiting resistor and a controller;
[0006] Each switch to be inspected is connected to one end of the detection branch in a one-to-one correspondence; the other end of each detection branch is grounded through the current limiting resistor; the other end of each detection branch is also electrically connected to the controller through the output port;
[0007] The detection branch includes a backflow prevention device and a load device, the backflow prevention device and the load device are sequentially connected between the switch to be detected and the output port, wherein the internal resistance of the load device of each detection branch is different;
[0008] The controller obtains the port voltage at the output port, and determines the switch state of each switch to be inspected according to the port voltage.
[0009] Furthermore, the backflow prevention device includes a diode, a positive terminal of the diode is electrically connected to the switch to be inspected, and a negative terminal of the diode is electrically connected to the load device.
[0010] Furthermore, the load device includes a resistor.
[0011] Further, the controller includes a voltage acquisition unit and a state determination unit;
[0012] The voltage acquisition unit is electrically connected to the output port, and the state determination unit is electrically connected to the voltage acquisition unit;
[0013] The voltage acquisition unit is used to obtain the port voltage at the output port;
[0014] The state determination unit determines the switch state of each of the switches to be inspected based on the port voltage.
[0015] An embodiment of the present invention further provides a control method for a switch state detection circuit. The controller in the switch state detection circuit described in any of the above embodiments executes the control method for the switch state detection circuit. The control method includes:
[0016] Get the port voltage at the output port;
[0017] determining a target pre-stored voltage equal to the port voltage based on the port voltage;
[0018] determining a corresponding target pre-stored resistance based on the target pre-stored voltage;
[0019] The switch state of each switch to be inspected is determined based on the target pre-stored resistance.
[0020] Further, determining the switch state of each switch to be inspected based on the target pre-stored resistance includes:
[0021] Based on the target pre-stored resistance, a preset resistance comparison table is searched to determine a detection branch where a resistance corresponding to the resistance value of the target pre-stored resistance is located;
[0022] The switch state of each switch to be inspected is determined based on the determined detection branch.
[0023] Furthermore, the method for creating the preset resistance comparison table includes:
[0024] All detection branches in the switch state detection circuit are turned on in sequence in a permutation and combination manner, and corresponding resistance values are recorded to obtain the preset resistance comparison table.
[0025] Further, determining the switch state of each switch to be inspected based on the determined detection branch includes:
[0026] The switch states of the switches to be inspected connected to the determined detection branches are all closed.
[0027] An embodiment of the present invention further provides a spacecraft, which includes a spacecraft body and the switch state detection circuit described in any of the above embodiments.
[0028] Furthermore, the spacecraft also includes a communication module, and the communication module is used to transmit the detection result of the switch state detection circuit to an external server.
[0029] The embodiment of the present invention discloses a switch state detection circuit, a control method and a spacecraft, wherein the switch state detection circuit comprises at least two detection branches, an output port, a current limiting resistor and a controller; each switch to be detected is connected to one end of the detection branch in a one-to-one correspondence; the other end of each detection branch is grounded through a current limiting resistor; the other end of each detection branch is also electrically connected to the controller through the output port; the detection branch comprises an anti-backflow device and a load device, which are sequentially connected between the switch to be detected and the output port, wherein the internal resistance of the load device of each detection branch is different; the controller obtains the port voltage at the output port, and determines the switch state of each switch to be detected through the port voltage. The present application connects each switch to be inspected to the controller through its own detection branch via the output port, and determines the turned-on detection branch by the port voltage of the output port, and then determines the switch state of the switch to be inspected, thereby solving the technical problems in the prior art of setting a path for status judgment and function telemetry for each single machine, which occupies a large space, is high in cost and causes waste of resources. The application achieves the technical effect of detecting the switch state of each single machine of the entire satellite with fewer components, reduces space occupation and avoids waste of resources. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 is a structural diagram of a switch state detection circuit provided by an embodiment of the present invention;
[0031] Figure 2 is a structural diagram of a detection branch provided by an embodiment of the present invention;
[0032] Figure 3 is a structural diagram of another switch state detection circuit provided by an embodiment of the present invention;
[0033] Figure 4 is a circuit diagram of a switch state detection circuit provided by an embodiment of the present invention;
[0034] Figure 5 It is a flow chart of a control method of a switch state detection circuit provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0035] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0036] It should be noted that the terms "first", "second", etc. in the specification, claims and drawings of the present invention are used to distinguish different objects, rather than to limit a specific order. The following embodiments of the present invention can be implemented separately, or in combination with each other, and the embodiments of the present invention do not specifically limit this.
[0037] Figure 1 It is a structural diagram of a switch state detection circuit provided by an embodiment of the present invention.
[0038] like Figure 1 As shown, the switch state detection circuit includes at least two detection branches 10, an output port 20, a current limiting resistor R and a controller 30;
[0039] Each switch to be inspected 40 is connected to one end of the detection branch 10 in a one-to-one correspondence; the other end of each detection branch 10 is grounded GND through a current limiting resistor R; and the other end of each detection branch 10 is also electrically connected to the controller 30 through the output port 20 .
[0040] Figure 2 is a structural diagram of the detection branch provided by an embodiment of the present invention. Figure 2 As shown, the detection branch 10 includes a backflow prevention device 11 and a load device 12, which are sequentially connected between the switch to be detected 40 and the output port 20, wherein the internal resistance of the load device 12 of each detection branch 10 is different.
[0041] The controller 30 obtains the port voltage at the output port 20 , and determines the switch state of each switch to be inspected 40 according to the port voltage 20 .
[0042] For example, Figure 1 and Figure 2 As shown, assuming that there are three detection branches 10 in a switch state detection circuit, since the internal resistances of the load devices 12 on different detection branches 10 are different, when the switch 40 to be detected corresponding to the first detection branch 10 is closed and the first detection branch 10 is turned on, the port voltage at the output port 20 detected by the controller 30 is the voltage divided by the internal resistance of the load device 12 on the first detection branch 10 and the current limiting resistor R. Then, when the port voltage obtained by the controller 30 is equal to the corresponding voltage, it can be determined that only the switch 40 to be detected corresponding to the first detection branch 10 is closed at this time.
[0043] When the switches to be inspected 40 corresponding to the first detection branch 10 and the second detection branch 10 are both closed, the port voltage at the output port 20 detected by the controller 30 is the resistance obtained by connecting the internal resistance of the load device 12 on the first detection branch 10 in parallel with the internal resistance of the load device 12 on the second detection branch 10, and then divided by the current limiting resistor R. When the port voltage obtained by the controller 30 is equal to the corresponding voltage, it can be determined that the switches to be inspected 40 corresponding to the first detection branch 10 and the second detection branch 10 are both closed at this time.
[0044] Similarly, based on the above-mentioned port voltage determination method, it is possible to quickly and accurately determine which of the switches 40 to be inspected corresponding to each detection branch 10 are closed and which are open.
[0045] The present application connects each switch to be inspected to the controller through its own detection branch via the output port, and determines the turned-on detection branch by the port voltage of the output port, and then determines the switch state of the switch to be inspected, thereby solving the technical problems in the prior art of setting a path for status judgment and function telemetry for each single machine, which occupies a large space, is high in cost and causes waste of resources. The application achieves the technical effect of detecting the switch state of each single machine of the entire satellite with fewer components, reduces space occupation and avoids waste of resources.
[0046] Optionally, the backflow prevention device 11 includes a diode, a positive terminal of the diode is electrically connected to the switch to be inspected 40 , and a negative terminal of the diode is electrically connected to the load device 12 .
[0047] Optionally, the load device 12 includes a resistor.
[0048] In the embodiment of the present invention, the load device 12 in the detection branch 10 can use the cheapest components such as resistors, and the anti-backflow device 11 can use the most effective and cheapest diode. On the one hand, the circuit structure is simpler, and on the other hand, the circuit occupies less space and has lower cost.
[0049] Figure 3 It is a structural diagram of another switch state detection circuit provided by an embodiment of the present invention.
[0050] Alternatively, if Figure 3 As shown, the controller 30 includes a voltage acquisition unit 31 and a state determination unit 32 ; the voltage acquisition unit 31 is electrically connected to the output port 20 , and the state determination unit 32 is electrically connected to the voltage acquisition unit 31 .
[0051] The voltage acquisition unit 31 is used to acquire the port voltage at the output port 20 ; the state determination unit 32 determines the switch state of each switch to be inspected 40 based on the port voltage.
[0052] The switch state detection circuit provided by the embodiment of the present invention is specifically introduced below with a specific embodiment.
[0053] Figure 4 It is a circuit diagram of a switch state detection circuit provided by an embodiment of the present invention.
[0054] For example, Figure 4 As shown, the switch state detection circuit has three detection branches 10, wherein the first detection branch 10 is connected to the switch A to be detected, the second detection branch 10 is connected to the switch B to be detected, and the third detection branch 10 is connected to the switch C to be detected, and the power distribution of each switch 40 to be detected is 28V; the anti-backflow device 11 on the first detection branch 10 is a diode D1, the anti-backflow device 11 on the second detection branch 10 is a diode D2, and the anti-backflow device 11 on the third detection branch 10 is a diode D3; the load device 12 on the first detection branch 10 is a resistor R1, whose resistance is 100KΩ, the load device 12 on the second detection branch 10 is a resistor R2, whose resistance is 150KΩ, and the load device 12 on the third detection branch 10 is a resistor R3, whose resistance is 600KΩ, and the resistance of the current limiting resistor R is 5.6KΩ.
[0055] When the switch state of the switch A to be tested is closed, the port voltage V detected by the controller 30 is 端口 =V 端口 =28*5.6 / (100+5.6)=1.4V;
[0056] When the switch state of the switch B to be tested is closed, the port voltage V detected by the controller 30 is 端口 =V 端口 =28*5.6 / (150+5.6)=2.3V;
[0057] When the switch state of the switch C to be tested is closed, the port voltage V detected by the controller 30 is 端口 =V 端口 =28*5.6 / (620+5.6)=0.26V;
[0058] When the switch states of the switches A and B to be tested are both closed, the port voltage V detected by the controller 30 is 端口 =V 端口 =28*5.6 / (60+5.6)=2.4V, where 60 is the resistance of resistors R1 and R2 in parallel;
[0059] When the switch states of the switches A and C to be tested are both closed, the port voltage V detected by the controller 30 is 端口 =V 端口=28*5.6 / (85.7+5.6)=1.7V, where 85.7 is the resistance of resistors R1 and R3 in parallel;
[0060] When the switch states of the switches B and C to be tested are both closed, the port voltage V detected by the controller 30 is 端口 =V 端口 =28*5.6 / (120+5.6)=1.2V, where 120 is the resistance of resistors R2 and R3 in parallel;
[0061] When the switch states of the switches A, B and C to be tested are all closed at the same time, the port voltage V detected by the controller 30 is 端口 =28*5.6 / (54.5+5.6)=2.6V, where 54.5 is the resistance of resistors R1, R2 and R3 in parallel.
[0062] When the switch states of the switches A, B and C to be tested are all disconnected, the port voltage V detected by the controller 30 is 端口 is 0.
[0063] At this point, the controller 30 can detect the closing status of each switch to be inspected 40 in any combination by detecting the port voltage at the output port 20 .
[0064] Figure 5 is a flow chart of a control method of a switch state detection circuit provided by an embodiment of the present invention. The controller in the switch state detection circuit in any of the above embodiments executes the control method of the switch state detection circuit; Figure 5 As shown, the control method of the switch state detection circuit specifically includes the following steps:
[0065] S101, obtaining the port voltage at the output port.
[0066] Specifically, a voltage acquisition unit is integrated inside the controller in the switch state detection circuit, and the port voltage at the output port can be acquired through the voltage acquisition unit. In another optional implementation, the voltage acquisition unit may not be integrated into the controller according to the needs of space layout, but may be independently arranged from the controller and connected to the controller to send the acquired voltage value into the controller.
[0067] S102, determining a target pre-stored voltage equal to the port voltage based on the port voltage.
[0068] S103, determining a corresponding target pre-stored resistance based on the target pre-stored voltage.
[0069] Specifically, after obtaining the port voltage at the output port, the controller queries the pre-stored voltage for a target pre-stored voltage that is equal to the port voltage. One target pre-stored voltage corresponds to a combination conduction condition of the switches to be tested, and a combination conduction condition of the switches to be tested corresponds to a resistance value. Therefore, the corresponding target pre-stored resistance can be determined based on the target pre-stored voltage.
[0070] S104, determining the switch state of each switch to be inspected based on the target pre-stored resistance.
[0071] Specifically, after the target pre-stored resistance is obtained, the combined conduction status of the switches to be inspected can be determined according to the specific value of the resistance, and then the switch state of each switch to be inspected can be determined.
[0072] Optionally, S104 specifically includes:
[0073] Based on the target pre-stored resistance, a preset resistance comparison table is queried to determine the detection branch where the resistance corresponding to the resistance value of the target pre-stored resistance is located; based on the determined detection branch, the switch state of each switch to be detected is determined.
[0074] Specifically, a preset resistance comparison table is pre-stored in the controller, in which the corresponding resistance values when different combinations of switches to be tested are turned on are pre-stored. The controller queries the table through the target pre-stored resistance to determine the detection branch where the resistance corresponding to the target pre-stored resistance is located, and then determines which detection branch is connected to the switch to be tested whose switch state is closed loop.
[0075] Optionally, the method for creating the preset resistance comparison table includes:
[0076] All detection branches in the switch state detection circuit are turned on in sequence in a permutation and combination manner, and the corresponding resistance values are recorded to obtain a preset resistance comparison table.
[0077] For example, see Figure 4When only the first detection branch 10 is turned on, the corresponding resistance is 100KΩ, which is the resistance of resistor R1; when only the second detection branch 10 is turned on, the corresponding resistance is 150KΩ, which is the resistance of resistor R2; when only the third detection branch 10 is turned on, the corresponding resistance is 600KΩ, which is the resistance of resistor R3; when the first detection branch 10 and the second detection branch 10 are turned on at the same time, the corresponding resistance is 60KΩ, which is the resistance of resistor R1 and resistor R2 in parallel; when the first detection branch 10 and the third detection branch 10 are turned on at the same time, the corresponding The resistance value is 85.7KΩ which is the resistance value of the resistor R1 and the resistor R3 in parallel; when the second detection branch 10 and the third detection branch 10 are turned on at the same time, the corresponding resistance value is 120KΩ which is the resistance value of the resistor R2 and the resistor R3 in parallel; when the first detection branch 10, the second detection branch 10 and the third detection branch 10 are all turned on, the corresponding resistance value is 54.5KΩ which is the resistance value of the resistor R1, R2 and R3 in parallel; when the first detection branch 10, the second detection branch 10 and the third detection branch 10 are all not turned on, the corresponding resistance value is 0.
[0078] Optionally, determining the switch state of each switch to be inspected based on the determined detection branch includes: the switch state of each switch to be inspected connected to each determined detection branch is closed.
[0079] Specifically, the resistance value of the determined detection branch causes a voltage drop, and thus the switch state of the switch to be detected connected to the determined detection branch is closed.
[0080] The control method of the switch state detection circuit provided in the embodiment of the present invention is executed by the switch state detection circuit in the above embodiment. Therefore, the control method of the switch state detection circuit provided in the embodiment of the present invention also has the beneficial effects described in the above embodiment, which will not be repeated here.
[0081] An embodiment of the present invention further provides a spacecraft, which includes a spacecraft body and the switch state detection circuit in any of the above embodiments.
[0082] Optionally, the spacecraft further includes a communication module, and the communication module is used to transmit the detection result of the switch state detection circuit to an external server.
[0083] The spacecraft provided in the embodiment of the present invention includes the switch state detection circuit in the above embodiment, so the spacecraft provided in the embodiment of the present invention also has the beneficial effects described in the above embodiment, which will not be described again here.
[0084] In the description of the embodiments of the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" 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 an indirect connection through an intermediate medium, or it can be the internal communication of 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.
[0085] Finally, it should be noted that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A switch state detection circuit, characterized in that: The switch state detection circuit comprises at least two detection branches, an output port, a current limiting resistor and a controller; Each switch to be inspected is connected to one end of the detection branch in a one-to-one correspondence; the other end of each detection branch is grounded through the current limiting resistor; the other end of each detection branch is also electrically connected to the controller through the output port; The detection branch includes a backflow prevention device and a load device, the backflow prevention device and the load device are sequentially connected between the switch to be detected and the output port, wherein the internal resistance of the load device of each detection branch is different; The controller obtains the port voltage at the output port, and determines the switch state of each switch to be inspected according to the port voltage.
2. The switch state detection circuit according to claim 1, characterized in that: The backflow prevention device includes a diode, a positive terminal of the diode is electrically connected to the switch to be inspected, and a negative terminal of the diode is electrically connected to the load device.
3. The switch state detection circuit according to claim 1, characterized in that: The load device includes a resistor.
4. The switch state detection circuit according to claim 1, characterized in that: The controller includes a voltage acquisition unit and a state determination unit; The voltage acquisition unit is electrically connected to the output port, and the state determination unit is electrically connected to the voltage acquisition unit; The voltage acquisition unit is used to obtain the port voltage at the output port; The state determination unit determines the switch state of each of the switches to be inspected based on the port voltage.
5. A control method for a switch state detection circuit, characterized in that: The controller in the switch state detection circuit according to any one of claims 1 to 4 executes a control method of the switch state detection circuit; the control method comprises: Get the port voltage at the output port; determining a target pre-stored voltage equal to the port voltage based on the port voltage; determining a corresponding target pre-stored resistance based on the target pre-stored voltage; The switch state of each switch to be inspected is determined based on the target pre-stored resistance.
6. The control method of the switch state detection circuit according to claim 5, characterized in that: Determining the switch state of each switch to be inspected based on the target pre-stored resistance includes: Based on the target pre-stored resistance, a preset resistance comparison table is searched to determine a detection branch where a resistance corresponding to the resistance value of the target pre-stored resistance is located; The switch state of each switch to be inspected is determined based on the determined detection branch.
7. The control method of the switch state detection circuit according to claim 6, characterized in that: The method for creating the preset resistance comparison table includes: All detection branches in the switch state detection circuit are turned on in sequence in a permutation and combination manner, and corresponding resistance values are recorded to obtain the preset resistance comparison table.
8. The control method of the switch state detection circuit according to claim 6, characterized in that: Determining the switch state of each switch to be inspected based on the determined detection branch includes: The switch states of the switches to be inspected connected to the determined detection branches are all closed.
9. A spacecraft, characterized in that: The spacecraft comprises a spacecraft body and the switch state detection circuit according to any one of claims 1 to 4 above.
10. The spacecraft according to claim 9, characterized in that The spacecraft further includes a communication module, and the communication module is used to transmit the detection result of the switch state detection circuit to an external server.
Citation Information
Patent Citations
Switch state detection circuit and method and automobile equipment
CN118625115A
Switch detection circuit
CN217820721U
Switch fault detection device
JP2020098140A