Signal machine driving device, method and electronic device with self-diagnosis function
Through the combination of the signal control circuit and the diagnostic control module, self-inspection and real-time monitoring of the signal drive circuit are achieved, which solves the problem of distinguishing between signal failure and power supply failure, and ensures the reliability of signal drive and train safety.
Patent Information
- Application Number
- CN202111680111.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-30
- Publication Date
- 2025-10-17
- Estimated Expiration
- 2041-12-30
AI Technical Summary
The existing signal drive circuit cannot effectively distinguish between signal failure and power supply failure, resulting in misjudgment and affecting the safety of train operation.
By adopting the signal control circuit, acquisition module and diagnosis control module, the conduction state of the switch elements and the current information collection are controlled to realize the self-inspection and real-time monitoring of the signal control circuit and judge the normality of the signal drive circuit.
The reliability monitoring of the signal drive circuit is realized, which can detect faults in advance, avoid misjudgment, and ensure the safety of train operation.
Smart Images

Figure CN116409359B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure generally relates to the field of rail transit, and in particular, to a signal driving device with self-diagnosis function, method and electronic device. BACKGROUND
[0002] The signal is an important part of the railway signal equipment, mainly used for guiding the safe operation of the train, and the normal display is directly related to the safety of train operation, and is known as the eye of train safety. The signal driving circuit of the prior art mostly outputs the fault state of the signal to the acquisition control circuit of the signal through the alarm signal device of the signal itself, and determines whether the signal itself is faulty by judging whether there is an alarm signal. However, only the alarm signal is used to infer the fault state of the signal, and the power supply and transmission failure of the alarm signal are ignored, which may cause misjudgment of the state of the signal itself. SUMMARY
[0003] In view of the above defects or deficiencies in the prior art, it is desirable to provide a signal driving device with self-diagnosis function, method and electronic device.
[0004] In a first aspect, a signal driving device with self-diagnosis function is provided, comprising:
[0005] a signal control circuit, an acquisition module and a diagnosis control module;
[0006] The signal control circuit comprises a power supply, a sampling resistor, a first switching element, a second switching element, a self-checking resistor, a third switching element and a signal; wherein the power supply, the sampling resistor, the first switching element, the third switching element and the signal are connected in series; the second switching element is connected in parallel with the series circuit of the first switching element, the sampling resistor and the power supply after being connected in series with the self-checking resistor, and is connected in parallel with the series circuit of the third switching element and the signal;
[0007] The acquisition module is connected in parallel with the sampling resistor and in series with the diagnosis control module;
[0008] The acquisition module is configured to acquire current information passing through the sampling resistor;
[0009] The diagnosis control module is configured to control whether the first switching element, the second switching element and the third switching element are conductive, and to acquire state information of the third switching element, and to determine whether the signal control circuit is normal according to the state information of the third switching element and the current information acquired by the acquisition module.
[0010] In a second aspect, a signal driving method with self-diagnosis function is provided, comprising:
[0011] The power supply, the sampling resistor, the first switching element, the third switching element and the signal machine are connected in series; the second switching element is connected in series with the self-checking resistor, and is connected in parallel with the series circuit composed of the first switching element, the sampling resistor and the power supply, and is connected in parallel with the series circuit composed of the third switching element and the signal machine, thereby forming a signal machine control circuit;
[0012] The diagnostic control module controls whether the first switching element, the second switching element and the third switching element are turned on or not;
[0013] The acquisition module acquires current information passing through the sampling resistor;
[0014] The diagnostic control module acquires state information of the third switching element, and determines whether the signal machine control circuit is normal according to the state information of the third switching element and the current information acquired by the acquisition module.
[0015] In a third aspect, an electronic device is provided, and the device comprises:
[0016] One or more processors;
[0017] A memory for storing one or more programs,
[0018] When the one or more programs are executed by the one or more processors, the one or more processors perform the signal machine driving method with a self-diagnosis function provided by the embodiments of the present application.
[0019] In a fourth aspect, a computer readable storage medium storing a computer program is provided, and the program is executed by a processor to implement the signal machine driving method with a self-diagnosis function provided by the embodiments of the present application.
[0020] The present application provides a signal machine driving device and method with a self-diagnosis function, an electronic device, and the self-diagnosis function is realized by controlling whether the first switching element, the second switching element and the third switching element are turned on or not by a diagnostic control module, so that the self-checking or real-time monitoring function of the signal machine control circuit is realized. When the signal machine is not driven, the self-checking can determine whether the corresponding signal machine self-checking circuit is normal, the state of the signal machine control circuit is found in advance, and the reliability of driving the signal machine is ensured. When the signal machine is driven, the real-time monitoring can determine whether the corresponding signal machine driving circuit is normal, so that it can be judged whether it is the signal machine itself and power supply failure or signal machine driving circuit failure. BRIEF DESCRIPTION OF DRAWINGS
[0021] Other features, objects and advantages of the present application will become more apparent from the following detailed description of non-limiting embodiments made with reference to the accompanying drawings:
[0022] Figure 1An exemplary structural block of a signal machine driving device with a self-diagnosis function provided by an embodiment of the present application Figure 1 ;
[0023] Figure 2 An exemplary structural block of a signal machine driving device with a self-diagnosis function provided by an embodiment of the present application Figure 2 ;
[0024] Figure 3 An exemplary flow block diagram of a signal machine driving method with a self-diagnosis function provided by an embodiment of the present application
[0025] Figure 4 An exemplary structural diagram of an electronic device provided by an embodiment of the present application DETAILED DESCRIPTION
[0026] The present application will be further described below in conjunction with the accompanying drawings and embodiments. It can be understood that the specific embodiments described herein are only used to explain the related application, but not to limit the application. In addition, it should be noted that only the parts related to the application are shown in the drawings for the convenience of description.
[0027] It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict. The present application will be described in detail below with reference to the accompanying drawings and embodiments.
[0028] Reference should be made to Figure 1 , which shows an exemplary structural block diagram of a signal machine driving device with a self-diagnosis function provided by an embodiment of the present application.
[0029] As shown in Figure 1 , in the present embodiment, the signal machine driving device with a self-diagnosis function provided by the present application comprises a signal machine control circuit, an acquisition module and a diagnosis control module;
[0030] The signal machine control circuit comprises a power supply, a sampling resistor, a first switching element, a second switching element, a self-checking resistor, a third switching element and a signal machine; the power supply, the sampling resistor, the first switching element, the third switching element and the signal machine are connected in series; the second switching element is connected in parallel with the series circuit composed of the first switching element, the sampling resistor and the power supply after being connected in series with the self-checking resistor, and is connected in parallel with the series circuit composed of the third switching element and the signal machine;
[0031] The acquisition module is connected in parallel with the sampling resistor and in series with the diagnosis control module;
[0032] The acquisition module is configured to acquire current information passing through the sampling resistor;
[0033] The diagnostic control module is used for controlling whether the first switch element, the second switch element and the third switch element are turned on or not, and is used for collecting state information of the third switch element, and determining whether the signal machine control circuit is normal according to the state information of the third switch element and current information collected by the collection module.
[0034] Specifically, the power supply is an alternating current (AC) power supply, a live wire (L) of the AC power supply is connected with the sampling resistor, and a neutral wire (N) of the AC power supply is connected with the self-check resistor and the signal machine respectively. The AC power supply is used for providing AC power for the sampling resistor, the self-check resistor and the signal machine in the signal machine control circuit. The AC voltage output by the AC power supply can be set according to actual needs, such as 220v.
[0035] The application does not use additional monitoring wire harness for collection, reduces external wiring, reduces failure points and saves cost. In the application, whether the first switch element, the second switch element and the third switch element are turned on or not is controlled by the diagnostic control module to realize the self-checking or real-time monitoring function of the signal machine control circuit. When the signal machine is not driven, whether the corresponding signal machine self-checking circuit is normal can be determined through self-checking, the state of the signal machine control circuit is found in advance, and the reliability of driving the signal machine is ensured. When the signal machine is driven, whether the corresponding signal machine driving circuit is normal can be determined through real-time monitoring, so that it can be judged whether it is caused by the signal machine itself and power supply failure or signal machine driving circuit failure.
[0036] In one embodiment, the determination of whether the signal machine control circuit is normal according to the state information of the third switch element and the current information collected by the collection module comprises:
[0037] When the signal machine is not driven, the third switch element is in an open state, and the diagnostic control module is used for controlling the first switch element and the second switch element to be turned on. The power supply, the sampling resistor, the first switch element, the second switch element and the self-check resistor form a signal machine self-checking circuit.
[0038] The collection module collects the self-checking current passing through the sampling resistor, and the diagnostic control module is used for determining whether the signal machine self-checking circuit is normal according to the self-checking current collected by the collection module.
[0039] Specifically, in the prior art, when the signal machine is not driven, the signal machine driving circuit does not have a self-checking function, and the state of the signal machine driving circuit cannot be known. In the present application, when the signal machine is not driven, the signal machine control circuit has a self-checking function of power-on self-checking and periodic fault checking. The self-checking step is that the 220V AC power input reaches the first switching element through a sampling resistor, the diagnostic control module controls the first switching element and the second switching element to be conductive, the second switching element is connected in series with a self-checking resistor between the live wire and the zero line of the 220V AC power supply to supply a self-checking current, and the power supply, the sampling resistor, the first switching element, the second switching element and the self-checking resistor form a signal machine self-checking circuit. The self-checking current passing through the sampling resistor is collected in real time by the collection module, and whether the signal machine self-checking circuit is normal is determined according to the self-checking current collected in real time. The state of the signal machine control circuit is found in advance through self-checking, and the reliability of driving the signal machine is ensured.
[0040] In one embodiment, the diagnostic control module is configured to determine whether the signal machine self-checking circuit is normal according to the self-checking current collected by the collection module.
[0041] When the self-checking current collected by the collection module is within a first threshold range, the signal machine self-checking circuit is normal; otherwise, the signal machine self-checking circuit is abnormal, and the diagnostic control module is configured to control the first switching element to be disconnected.
[0042] Specifically, the self-checking current rated value I is set in advance, wherein U is the voltage provided by the AC power supply, R1 is the resistance value of the sampling resistor, and R2 is the resistance value of the self-checking resistor. The first threshold range is set according to the self-checking current rated value I, i.e. P1=(I-lower limit margin value, I+upper limit margin value), I-lower limit margin value is the lower limit threshold of the first threshold range P1, and I+upper limit margin value is the upper limit threshold of the first threshold range P1. The upper limit margin value and the lower limit margin value can be set to the same value or different values according to actual requirements. When the signal machine is not driven, if the self-checking current collected in real time by the collection module is not within the first threshold range, it is determined that the signal machine self-checking circuit is abnormal, and at the same time, the diagnostic control module controls the first switching element to be disconnected, thereby realizing the monitoring and control linkage of the signal machine control circuit and ensuring the reliability of driving the signal machine.
[0043] In one embodiment, the signal machine self-checking circuit being abnormal includes:
[0044] When the self-checking current collected by the collection module exceeds the upper limit threshold of the first threshold range, the signal machine self-checking circuit is short-circuited; and when the self-checking current collected by the collection module is lower than the lower limit threshold of the first threshold range, the signal machine self-checking circuit is open-circuited.
[0045] Specifically, the self-checking current collected by the collection module in real time is compared with the upper threshold and the lower threshold of the first threshold range to determine the specific fault type of the signal machine control circuit, thereby assisting the maintenance personnel to perform corresponding maintenance operations.
[0046] In one embodiment, the determination of whether the signal machine control circuit is normal according to the state information of the third switching element and the current information collected by the collection module comprises:
[0047] When driving the signal machine, the diagnostic control module is configured to control the first switching element and the third switching element to be conductive and control the second switching element to be non-conductive; the power supply, the sampling resistor, the first switching element, the third switching element, and the signal machine form a signal machine driving circuit.
[0048] The collection module is configured to collect the driving current of the signal machine, and the diagnostic control module is configured to determine whether the signal machine driving circuit is abnormal according to the driving current of the signal machine.
[0049] Specifically, in the prior art, when driving the signal machine, if the signal machine appears in an unexpected state, it is impossible to determine whether the fault is caused by the signal machine itself and power supply or the signal machine driving circuit. In the present application, when driving the signal machine, the state of the signal machine can be monitored in real time. The monitoring steps are as follows: the 220V AC power supply input reaches the first switching element through the sampling resistor, the diagnostic control module controls the first switching element to be conductive, controls the second switching element to be non-conductive, controls the third switching element to be conductive, outputs the LED signal machine light control instruction, the signal machine driving current forms a loop, and the power supply, the sampling resistor, the first switching element, the third switching element, and the signal machine form a signal machine driving circuit. The signal machine driving current of the signal machine driving circuit loop is collected in real time by the collection module, and whether the signal machine driving circuit loop is normal is determined according to the real-time collected signal machine driving current, so that it can be determined whether the fault is caused by the signal machine or the signal machine driving circuit.
[0050] In one embodiment, the diagnostic control module is configured to determine whether the signal machine driving circuit is abnormal according to the driving current of the signal machine, and the determination comprises:
[0051] When the driving current of the signal machine is within the second threshold range, the signal machine driving circuit is normal; otherwise, the signal machine driving circuit is abnormal, and the diagnostic control module is configured to control the first switching element or / and the third switching element to be non-conductive.
[0052] Specifically, the signal machine current rating is set in advance Wherein, U is the voltage provided by the alternating power supply, R1 is the resistance value of the sampling resistor, and R3 is the resistance value of the signal machine. The second threshold range is set according to the signal machine current rating I0, that is, P2=(I0-lower limit margin value, I0+upper limit margin value), I0-lower limit margin value is the lower limit threshold of the second threshold range P2, and I0+upper limit margin value is the upper limit threshold of the second threshold range P2. The upper limit margin value and the lower limit margin value can be set to the same value or different values according to actual needs.
[0053] When the driving current of the signal machine collected by the collection module in real time is not within the second threshold range when the signal machine is not driven, it is determined that the signal machine driving circuit is abnormal, and at the same time, the diagnosis control module controls the first switching element or / and the third switching element to be disconnected, realizing the monitoring and control linkage of the signal machine control circuit and ensuring the reliability of the signal machine driving. Using the first switching element disconnection or the third switching element disconnection mode, the open circuit of the signal machine driving circuit can be realized, the signal machine cannot be driven, and accidents caused by driving the signal machine are avoided. Using the first switching element and the third switching element disconnection mode, the first switching element disconnection can realize the signal machine driving, and controlling the third switching element disconnection can not only stop driving the signal machine, but also feed back the current disconnection state information of the third switching element to the diagnosis control module, facilitating subsequent further operation.
[0054] In one embodiment, the signal machine driving circuit abnormality includes:
[0055] When the driving current of the signal machine exceeds the upper limit threshold of the second threshold range, the signal machine driving circuit is short-circuited;
[0056] When the driving current of the signal machine is lower than the lower limit threshold of the second threshold range, the signal machine driving circuit is open-circuited or / and the signal machine brightness is degraded.
[0057] Specifically, comparing and judging the driving current of the signal machine collected by the collection module in real time with the upper limit threshold and the lower limit threshold of the second threshold range can determine the specific fault type of the signal machine control circuit, that is, whether the signal machine is faulty or the signal machine driving circuit is faulty, to assist maintenance personnel to perform corresponding maintenance operation.
[0058] In one embodiment, the first switching element and the second switching element are electronic switches respectively; and the third switching element is a safety relay.
[0059] Specifically, as Figure 2As shown, the first switch element is an electronic switch 1, the second switch element is an electronic switch 2, and the third switch element is a safety relay. By controlling the conduction states of the first switch element, the second switch element and the third switch element, the self-checking or real-time monitoring function of the signal machine control circuit is realized; and the safety relay realizes the safety control of the signal machine driving circuit. The first switch element can also be used to realize the overall disconnection of the signal machine control circuit when a fault of the signal machine control circuit is found, so as to avoid the occurrence of accidents of driving the signal machine and improve the safety of train operation.
[0060] In one embodiment, the acquisition module includes at least one set of isolation voltage sensors, differential-to-single-ended amplification circuits and AD conversion circuits connected in series.
[0061] The isolation voltage sensor is used for voltage conversion and amplification operation on the current information collected by the sampling resistor, to obtain differential voltage information after isolation and amplification.
[0062] The differential-to-single-ended amplification circuit is used for differential-to-single-ended and amplification operation on the differential voltage information after isolation and amplification, to obtain a single-ended voltage signal.
[0063] The AD conversion circuit is used for analog-to-digital operation on the single-ended voltage signal, to obtain a digital voltage signal.
[0064] Specifically, when the acquisition module includes one set of isolation voltage sensors, differential-to-single-ended amplification circuits and AD conversion circuits connected in series, the acquisition of current information can be realized. As shown, Figure 2 As shown, when the acquisition module includes two sets of isolation voltage sensors, differential-to-single-ended amplification circuits and AD conversion circuits connected in series, the use of multiple acquisition modes can ensure the accuracy of the acquired current information, facilitating the subsequent accurate judgment of whether the signal machine control circuit is normal. The acquisition module further includes an isolation power supply for supplying power to the isolation voltage sensor. The isolation voltage sensor IC (integrated circuit chip) uses the isolation acquisition chip AMC1301 of TI. It converts the driving current into voltage through the sampling resistor, and isolates and amplifies the voltage across the sampling resistor to output to the differential-to-single-ended amplification circuit at the back end, and ensures the electrical isolation of the input and output. Because the output of the isolation voltage sensor IC is a differential voltage signal, in order to facilitate acquisition, the differential-to-single-ended amplification circuit is required to process the required acquisition signal for the CPU.
[0065] In one embodiment, the diagnostic control module includes at least one CPU; and the signal output end of the AD conversion circuit is electrically connected to the signal input end of the CPU.
[0066] Specifically, when the diagnosis control module comprises a central processing unit (CPU), the digital voltage signal output by the AD conversion circuit is output to the CPU, and the CPU can control the conduction of the first switching element, the second switching element and the third switching element. Figure 2 As shown in the figure, when the diagnosis control module comprises two CPUs, CPU-1 and CPU-2; when the acquisition module comprises two groups of isolation voltage sensors, differential-to-single-ended amplification circuits and AD conversion circuits connected in series, the signal output end of one AD conversion circuit is electrically connected to the signal input end of CPU-1, and CPU-1 is used to control whether the first switching element is conductive; the signal output end of the other AD conversion circuit is electrically connected to the signal input end of CPU-2, and CPU-2 is used to control whether the second switching element and the third switching element are conductive, and is used to acquire the state information of the third switching element.
[0067] Figure 3 An exemplary flow chart of a signal machine driving method with a self-diagnosis function provided by an embodiment of the present application is shown in the figure, Figures 1-2 The signal machine driving device with a self-diagnosis function shown in the figure can correspondingly execute Figure 3 The signal machine driving method with a self-diagnosis function shown in the figure.
[0068] As shown in the figure, Figure 3 In this embodiment, the present application provides a signal machine driving method with a self-diagnosis function, which comprises:
[0069] The power supply, the sampling resistor, the first switching element, the third switching element and the signal machine are connected in series; the second switching element is connected in series with the self-checking resistor, and is connected in parallel with the series circuit composed of the first switching element, the sampling resistor and the power supply, and is connected in parallel with the series circuit composed of the third switching element and the signal machine, thereby forming a signal machine control circuit;
[0070] The diagnosis control module controls whether the first switching element, the second switching element and the third switching element are conductive;
[0071] The acquisition module acquires the current information passing through the sampling resistor;
[0072] The diagnosis control module acquires the state information of the third switching element, and determines whether the signal machine control circuit is normal according to the state information of the third switching element and the current information acquired by the acquisition module.
[0073] Specifically, the specific definition of the signal machine driving method with self-diagnosis function can refer to the definition of the signal machine driving device with self-diagnosis function in the foregoing, which will not be repeated here. In this application, the first switching element, the second switching element and the third switching element are controlled by the diagnosis control module to realize the self-checking or real-time monitoring function of the signal machine control circuit. When the signal machine is not driven, the signal machine driving circuit has the self-checking function of power-on self-checking and periodic fault checking; when the signal machine is driven, the monitoring function of the signal machine state is provided, and it can be judged whether it is caused by the signal machine itself and power supply fault or signal machine driving circuit fault. At the same time, when the signal machine driving control circuit is diagnosed to be faulty, the diagnosis control module controls the disconnection of the first switching element or / and the third switching element, realizes the monitoring control linkage, and the automation degree is high.
[0074] In one embodiment, the determination of whether the signal machine control circuit is normal according to the state information of the third switching element and the current information collected by the collection module comprises:
[0075] When the self-checking current collected by the collection module is within the first threshold range, the signal machine self-checking circuit is normal; otherwise, the signal machine self-checking circuit is abnormal, and the diagnosis control module controls the first switching element to be disconnected.
[0076] In one embodiment, the signal machine self-checking circuit is abnormal, which comprises:
[0077] When the self-checking current collected by the collection module exceeds the upper limit threshold of the first threshold range, the signal machine self-checking circuit is short-circuited; when the self-checking current collected by the collection module is lower than the lower limit threshold of the first threshold range, the signal machine self-checking circuit is open-circuited.
[0078] In one embodiment, the determination of whether the signal machine control circuit is normal according to the state information of the third switching element and the current information collected by the collection module comprises:
[0079] When the signal machine is driven, the diagnosis control module controls the first switching element and the third switching element to be conductive, and controls the second switching element to be disconnected; the power supply, the sampling resistor, the first switching element, the third switching element and the signal machine form a signal machine driving circuit;
[0080] The collection module collects the driving current of the signal machine, and the diagnosis control module determines whether the signal machine driving circuit is abnormal according to the driving current of the signal machine.
[0081] In one embodiment, the diagnosis control module determines whether the signal machine driving circuit is abnormal according to the driving current of the signal machine, which comprises:
[0082] When the driving current of the signal light is within the second threshold range, the signal light driving circuit is normal; otherwise, the signal light driving circuit is abnormal, and the diagnosis control module controls the first switching element and / or the third switching element to be disconnected.
[0083] In one embodiment, the abnormality of the signal driving circuit includes:
[0084] When the driving current of the signal exceeds the upper threshold value of the second threshold range, the signal driving circuit is short-circuited;
[0085] When the driving current of the traffic light is lower than the lower limit threshold of the second threshold range, the traffic light driving circuit is opened and / or the brightness of the traffic light is degraded.
[0086] In one embodiment, the acquisition module includes at least one set of an isolated voltage sensor, a differential to single-ended amplifier circuit, and an AD conversion circuit connected in series;
[0087] The isolated voltage sensor performs voltage conversion and amplification operations on the current information collected by the sampling resistor to obtain isolated and amplified differential voltage information;
[0088] The differential-to-single-ended amplifier circuit performs differential-to-single-ended conversion and amplification operations on the isolated and amplified differential voltage information to obtain a single-ended voltage signal;
[0089] The AD conversion circuit performs an analog-to-digital conversion operation on the single-ended voltage signal to obtain a digital voltage signal.
[0090] In one embodiment, the diagnosis control module includes at least one CPU; the signal output terminal of the AD conversion circuit is electrically connected to the signal input terminal of the CPU.
[0091] For example, Figure 2 As shown, in the signal driving method with a self-diagnosis function, when the signal is not driven, the power-on self-test and periodic fault check steps of the signal driving circuit include:
[0092] The 220V AC power input is provided by an external 220V AC power supply. The 220V AC power input passes through a sampling resistor and reaches electronic switch 1. CPU-1 controls electronic switch 1 to turn on. CPU-2 controls electronic switch 2 to turn on.
[0093] The electronic switch 2 is connected in series with the self-test resistor and then connected between the 220V AC live wire and neutral wire to allow the self-test current to pass through; wherein the self-test resistor has a fixed resistance value, which is a calculated preset value;
[0094] When the self-checking current forming loop is formed, the self-checking current is collected through the sampling resistor, the isolation power supply respectively supplies power for the isolation voltage sensing IC-1 and the isolation voltage sensing IC-2, and the two AC isolation voltage sensors convert the self-checking current into voltage through the sampling resistor and isolate and amplify the voltage at both ends of the sampling resistor to output;
[0095] The differential voltage signal after isolation and amplification is single-ended output through a differential-to-single-ended amplification circuit for CPU-1 and CPU-2 to collect, and CPU-1 and CPU-2 can both collect the self-checking current state;
[0096] CPU-1 and CPU-2 periodically collect the states of the two normally closed contacts of the safety relay through dynamic code sending;
[0097] CPU-1 and CPU-2 respectively compare the collected self-checking current state and safety relay contact state with the first threshold range P1 to determine the state of the signal machine driving circuit, complete the power-on self-checking and periodic fault checking of the signal machine driving circuit. When the real-time collected self-checking current is not within the first threshold range P1, CPU-1 determines that the signal machine driving circuit is abnormal, and simultaneously controls the electronic switch 1 to be turned off, realizing the monitoring and control linkage of the signal machine driving circuit and ensuring the reliability of the signal machine driving. When the signal machine driving circuit is abnormal, the CPU uploads the fault information to the monitoring and alarm platform to assist the staff to timely find the fault information and perform corresponding maintenance operation.
[0098] When driving the signal machine, the steps of real-time monitoring of the signal machine driving circuit include:
[0099] The 220V AC power input is provided by an external 220V AC power supply, and the 220V AC power input reaches the electronic switch 1 through a sampling resistor; CPU-1 controls the electronic switch 1 to be turned on; CPU-2 controls the electronic switch 2 to be turned off; CPU-2 controls the safety relay power supply to be turned on, so that the two normally open contacts are attracted, and the LED signal machine lighting control instruction is output;
[0100] When the LED signal machine lighting control instruction is normally output and drives the signal machine, the signal machine driving current forming loop is formed, the driving current is collected through the sampling resistor, and the two AC isolation voltage sensors convert the driving current into voltage through the sampling resistor and isolate and amplify the voltage at both ends of the sampling resistor to output;
[0101] The differential voltage signal after isolation and amplification is single-ended output through a differential-to-single-ended amplification circuit for CPU-1 and CPU-2 to collect, and CPU-1 and CPU-2 can both collect the self-checking current state;
[0102] CPU-1 and CPU-2 compare the collected driving current and the second threshold range P2 respectively, judge the working state of the signal machine, and complete the monitoring of the working state of the signal machine. When the real-time collected driving current exceeds the upper threshold value (signal machine current rated value I0+ upper limit margin value) of the second threshold range P2, it is determined that there is a short circuit risk in the signal machine driving circuit loop, CPU-1 controls the electronic switch 1 to be disconnected, or / and, CPU-2 controls the safety relay to be disconnected, the driving loop is closed, and the signal machine driving circuit abnormal information is uploaded to the monitoring alarm platform. When the real-time collected driving current is lower than the lower threshold value (signal machine current rated value I0-lower limit margin value) of the second threshold range P2, it is determined that the signal machine driving circuit loop is open or the signal machine brightness is degraded, CPU-1 controls the electronic switch 1 to be disconnected, or / and, CPU-2 controls the safety relay to be disconnected, the driving loop is closed, the monitoring and control linkage of the signal machine driving circuit is realized, the reliability of the signal machine driving is ensured, and the signal machine driving circuit abnormal information is uploaded to the monitoring alarm platform, which assists the staff to find fault information in time and carries out corresponding maintenance operation.
[0103] It should be noted that, although the operations of the method of the present application are described in a particular order in the accompanying drawings, this does not require or imply that the operations must be performed in this particular order, or that all of the illustrated operations must be performed to achieve the desired result. On the contrary, the steps depicted in the flowchart can change the order of execution.
[0104] Figure 4 A structural schematic diagram of an electronic device provided by an embodiment of the present application is shown.
[0105] As shown in Figure 4 As another aspect, the present application also provides an electronic device 300, which includes one or more central processing units (CPUs) 301, which can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 302 or programs loaded from a storage part 308 into a random access memory (RAM) 303. In the RAM 303, various programs and data required for system operation are also stored. The CPU 301, the ROM 302, and the RAM 303 are connected to each other through a bus 304. An input / output (I / O) interface 305 is also connected to the bus 304.
[0106] The following components are connected to the I / O interface 305: an input part 306 including a keyboard, a mouse, etc.; an output part 307 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage part 308 including a hard disk, etc.; and a communication part 309 including a network interface card such as a LAN card, a modem, etc. The communication part 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as necessary. A removable medium 311 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 310 as necessary, so that a computer program read out therefrom is installed in the storage part 308 as necessary.
[0107] In particular, according to embodiments of the present disclosure, the processes described above with reference to Figure 3 may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program tangibly embodied on a machine-readable medium, the computer program containing program code for executing a signal machine driving method having a self-diagnosis function. In such embodiments, the computer program can be downloaded and installed from a network by the communication part 309, and / or installed from the removable medium 311.
[0108] The flow diagrams and block diagrams in the drawings are illustrations of possible architectures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present application. In this regard, each block in the flow diagrams or block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks can sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and / or flow diagrams, and combinations thereof, can be implemented by special purpose hardware-based systems that perform the specified functions or operations, or combinations of special purpose hardware and computer instructions.
[0109] As still another aspect, the present application also provides a computer readable storage medium, which can be the computer readable storage medium contained in the apparatus described in the above embodiments; or can exist separately from the apparatus and not be assembled into the apparatus. The computer readable storage medium stores one or more programs for execution by one or more processors to perform the signal machine driving method having a self-diagnosis function described in the present application.
[0110] The computer program product of the present application can be a computer program embodied on a non-transitory computer readable medium. Such non-transitory computer readable medium can include, but is not limited to, floppy diskettes, CD-ROMs, DVDs, flash memories, memory sticks, and hard drives.
[0111] The units or modules described in the embodiments of the present application can be implemented by software or hardware. The described units or modules can also be set in a processor, for example, each of the units can be a software program set in a computer or a mobile smart device, or can be a separately configured hardware device. In some cases, the names of the units or modules do not constitute a limitation on the units or modules themselves.
[0112] The above description is merely the preferred embodiments of the present application and the explanation of the applied technical principles. It should be understood by those skilled in the art that the scope of the application involved in the present application is not limited to the technical solutions formed by the specific combinations of the above technical features, and also covers other technical solutions formed by any combinations of the above technical features or their equivalent features without departing from the inventive concept. For example, the technical solutions formed by the mutual replacement of the above features and the technical features disclosed in the present application (but not limited to) having similar functions.
Claims
1. A signal driving device with a self-diagnostic function, characterized in that: include: Signal control circuit, acquisition module and diagnosis control module; The signal control circuit includes a power supply, a sampling resistor, a first switching element, a second switching element, a self-test resistor, a third switching element, and a signal; wherein the power supply, sampling resistor, first switching element, third switching element, and signal are sequentially connected in series; after the second switching element is connected in series with the self-test resistor, it is connected in parallel with the series circuit consisting of the first switching element, sampling resistor, and power supply, and with the series circuit consisting of the third switching element and signal; The acquisition module is connected in parallel with the sampling resistor and in series with the diagnosis control module; The acquisition module is used to collect current information passing through the sampling resistor; The diagnostic control module is used to control whether the first switching element, the second switching element, and the third switching element are turned on, and to collect status information of the third switching element, and to determine whether the signal control circuit is normal based on the status information of the third switching element and the current information collected by the collection module; Wherein, determining whether the signal control circuit is normal according to the state information of the third switch element and the current information collected by the collection module includes: When driving the signal, the diagnostic control module is used to control the first switch element and the third switch element to be turned on, and the second switch element to be turned off; the power supply, the sampling resistor, the first switch element, the third switch element and the signal form a signal driving circuit; The acquisition module is used to acquire the driving current of the signal, and the diagnosis control module is used to determine whether the signal driving circuit is abnormal based on the driving current of the signal; The signal drive circuit abnormalities include: When the driving current of the signal exceeds the upper threshold value of the second threshold range, the signal driving circuit is short-circuited; When the driving current of the traffic light is lower than the lower limit threshold of the second threshold range, the traffic light driving circuit is opened and / or the brightness of the traffic light is degraded.
2. The signal driving device with self-diagnosis function according to claim 1, characterized in that: The determining whether the signal control circuit is normal according to the state information of the third switch element and the current information collected by the collection module includes: When the signal is not driven, the third switch element is in an off state, the diagnostic control module is used to control the first switch element and the second switch element to be turned on, and the power supply, the sampling resistor, the first switch element, the second switch element and the self-test resistor form a signal self-test circuit; The acquisition module acquires the self-test current passing through the sampling resistor, and the diagnosis control module is used to determine whether the signal self-test circuit is normal based on the self-test current acquired by the acquisition module.
3. The signal driving device with self-diagnosis function according to claim 2, characterized in that: The diagnostic control module is configured to determine whether the signal light self-test circuit is normal according to the self-test current collected by the acquisition module, including: When the self-test current collected by the acquisition module is within the first threshold range, the signal self-test circuit is normal; otherwise, the signal self-test circuit is abnormal, and the diagnosis control module is used to control the first switch element to be disconnected.
4. The signal driving device with self-diagnosis function according to claim 3, characterized in that: The signal self-test circuit abnormalities include: When the self-test current collected by the acquisition module exceeds the upper limit threshold of the first threshold range, the signal self-test circuit is short-circuited; when the self-test current collected by the acquisition module is lower than the lower limit threshold of the first threshold range, the signal self-test circuit is open.
5. The signal driving device with self-diagnosis function according to claim 1, characterized in that: The diagnostic control module is configured to determine whether the signal light driving circuit is abnormal based on the driving current of the signal light, including: When the driving current of the signal light is within the second threshold range, the signal light driving circuit is normal; otherwise, the signal light driving circuit is abnormal, and the diagnosis control module is used to control the first switching element and / or the third switching element to be disconnected.
6. The signal driving device with self-diagnosis function according to claim 1, characterized in that: The first switching element and the second switching element are electronic switches respectively; the third switching element is a safety relay.
7. The signal driving device with self-diagnosis function according to claim 1, characterized in that: The acquisition module includes at least one set of isolated voltage sensors, differential to single-ended amplifier circuits and AD conversion circuits connected in series; The isolated voltage sensor is used to perform voltage conversion and amplification operations on the current information collected by the sampling resistor to obtain isolated and amplified differential voltage information; The differential-to-single-ended amplifier circuit is used to perform differential-to-single-ended conversion and amplification operations on the differential voltage information after the isolation and amplification to obtain a single-ended voltage signal; The AD conversion circuit is used to perform an analog-to-digital conversion operation on the single-ended voltage signal to obtain a digital voltage signal.
8. The signal driving device with self-diagnosis function according to claim 7, characterized in that: The acquisition module further includes an isolated power supply, which is used to supply power to the isolated voltage sensor.
9. The signal driving device with self-diagnosis function according to claim 7, characterized in that: The diagnosis control module includes at least one CPU; the signal output end of the AD conversion circuit is electrically connected to the signal input end of the CPU.
10. A signal driving method with a self-diagnostic function, characterized in that: include: Connecting a power supply, a sampling resistor, a first switching element, a third switching element, and a signal in series in sequence; connecting a second switching element in series with a self-test resistor, and then connecting the second switching element in parallel with the series circuit consisting of the first switching element, the sampling resistor, and the power supply, and the third switching element and the signal, respectively, to form a signal control circuit; The diagnosis control module controls whether the first switch element, the second switch element, and the third switch element are turned on; The acquisition module acquires current information passing through the sampling resistor; The diagnosis control module collects state information of the third switch element, and determines whether the signal control circuit is normal according to the state information of the third switch element and the current information collected by the collection module; Wherein, determining whether the signal control circuit is normal according to the state information of the third switch element and the current information collected by the collection module includes: When driving the signal, the diagnostic control module is used to control the first switch element and the third switch element to be turned on, and the second switch element to be turned off; the power supply, the sampling resistor, the first switch element, the third switch element and the signal form a signal driving circuit; The acquisition module is used to acquire the driving current of the signal light, and the diagnosis control module is used to determine whether the signal light driving circuit is abnormal based on the driving current of the signal light; the abnormality of the signal light driving circuit includes: When the driving current of the signal exceeds the upper threshold value of the second threshold range, the signal driving circuit is short-circuited; When the driving current of the traffic light is lower than the lower limit threshold of the second threshold range, the traffic light driving circuit is opened and / or the brightness of the traffic light is degraded.
11. An electronic device, characterized in that: include: one or more processors; a memory for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are caused to execute the signal driving method with a self-diagnosis function according to claim 10 .
12. A computer-readable storage medium storing a computer program, characterized in that: When the program is executed by a processor, the signal driving method with a self-diagnosis function according to claim 10 is realized.
Citation Information
Patent Citations
Driving output circuit and diagnosis method
CN109324280A
Signal machine self-fusing circuit based on fault safety
CN211720255U
Vehicle-mounted driving circuit, vehicle-mounted driving chip, vehicle-mounted driving device and electronic device
WO2021253336A1