Digital quantity output circuit and control method
Through the combined switching method of optocoupler and MOS tube, the problems of mechanical relay contact adhesion and drive system complexity in the rail transit braking control system are solved, achieving higher service life and control accuracy, and simplifying the power supply system.
Patent Information
- Application Number
- CN202410908938.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-29
AI Technical Summary
The mechanical relays in the existing rail transit braking control system are prone to contact adhesion and jitter after frequent opening and closing, resulting in inaccurate control and malfunction. The drive system is complex and requires additional power supply.
The switching method is a combination of optocoupler and MOS tube. The digital output signal of the control unit is received through the optocoupler isolation unit, and the MOS tube drive signal is generated to control the on-off state of the load, simplifying the power supply system and improving switching accuracy.
It solves the problem of mechanical relay contact sticking, extends the service life of the circuit, simplifies the drive system, avoids malfunctions and additional power supply requirements, and improves control accuracy.
Smart Images

Figure CN118868902A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of digital quantity output technology and can also be used in the field of rail transit vehicle-mounted equipment technology. Specifically, it relates to a digital quantity output circuit and a control method. Background Art
[0002] In the existing rail transit braking control system, the digital output circuit realizes the on-off control of the vehicle-mounted high-voltage power supply system by the low-voltage control unit. The digital output circuit of the rail transit braking control system is generally composed of an on-board low-voltage power supply system, an on-board high-voltage power supply system, a control unit, a mechanical relay, and a relay drive system. The on-board low-voltage power supply system provides the control unit with working voltage, the control unit sends control instructions, and the relay drive system controls the on-off of the mechanical relay, thereby realizing the on-off control of the vehicle-mounted high-voltage power supply system over the power supply of the rear-end load.
[0003] The disadvantages of the existing digital output control method are: 1. Mechanical relays use mechanical structures to achieve on-off switching. After too many on-off operations, mechanical contacts will stick together, causing the controller to be unable to accurately control the relay on-off. Especially in subway braking control systems, the relays need to be frequently controlled on and off, and the probability of contact sticking in mechanical relays is greatly increased. 2. Mechanical contacts will jitter due to mechanical collisions when closed, causing malfunctions of the load. 3. Mechanical relays require a relay drive system. The operating voltage of the drive system is different from the voltage provided by the on-board low-voltage power supply system, requiring an additional power supply voltage, making the circuit power supply system more complicated. Summary of the invention
[0004] In response to at least one problem existing in the prior art, the present application provides a digital output circuit and a control method, which can solve the problem of mechanical relay contact adhesion by adopting a switching method combining an optocoupler and a MOS tube, thereby greatly improving the service life of the circuit.
[0005] According to a first aspect of the present application, a digital quantity output circuit is provided, comprising: a control unit, an optical coupling isolation unit, a MOS tube and a load, wherein:
[0006] The optocoupler isolation unit is connected to the control unit and the MOS tube respectively, and the optocoupler isolation unit is used to receive the digital output signal from the control unit, generate a MOS tube drive signal according to the digital output signal, and send the MOS tube drive signal to the MOS tube;
[0007] The MOS tube is connected to the optical coupling isolation unit and the load respectively, and the MOS tube is used to control the power-on state of the load according to the MOS tube driving signal.
[0008] In some optional embodiments of this embodiment, the optocoupler isolation unit and the control unit use a first vehicle voltage power supply system, and the load uses a second vehicle voltage power supply system through the MOS tube, wherein the voltage of the second vehicle voltage power supply system is higher than the voltage of the first vehicle voltage power supply system.
[0009] In some optional aspects of this embodiment, the digital output signal includes a high-level output signal and a low-level output signal, the MOS tube drive signal includes a high-level drive signal and a low-level drive signal, and the optical coupling isolation unit is further used for:
[0010] When receiving a high level output signal from the control unit, generating the high level driving signal according to the high level output signal;
[0011] When a low level output signal is received from the control unit, the low level driving signal is generated according to the low level output signal.
[0012] In some optional aspects of this embodiment, the MOS tube is further used for:
[0013] When receiving a high-level driving signal from the optical coupling isolation unit, the optical coupling isolation unit is turned on, so that the digital output circuit is a loop, and the second vehicle voltage power supply system provides the second vehicle voltage to the load through the MOS tube, and the load is powered;
[0014] When receiving a low-level driving signal from the optocoupler isolation unit, it is turned off so that the digital output circuit is open-circuited, and the second vehicle voltage power supply system cannot provide the second vehicle voltage to the load through the MOS tube, and the load loses power.
[0015] In some optional aspects of this embodiment, the optical coupling isolation unit is further used for:
[0016] Determining the on / off state of the digital quantity output circuit according to the power-on state of the load;
[0017] The on / off state of the digital output circuit is fed back to the control unit.
[0018] In some optional aspects of this embodiment, the control unit includes: a first resistor, a second resistor, a bipolar transistor and a third resistor, wherein:
[0019] One end of the first resistor is used to input a digital input signal, and the other end of the first resistor is connected to one end of the second resistor and the base of the bipolar transistor;
[0020] The other end of the second resistor is grounded;
[0021] The emitter of the bipolar transistor is grounded, and the collector of the bipolar transistor is connected to one end of the third resistor;
[0022] The other end of the third resistor is connected to the optical coupling isolation control unit, and the other end of the third resistor is used to output the digital output signal.
[0023] In some optional aspects of this embodiment, the optical coupling isolation unit includes: an optical coupling circuit and a fourth resistor, wherein:
[0024] The optical coupling circuit comprises a first diode, a second diode and a third diode, wherein:
[0025] The positive electrode of the first diode is connected to the first vehicle voltage power supply system, the negative electrode of the first diode is connected to the other end of the third resistor, and the negative electrode of the first diode is used to receive the digital output signal;
[0026] The anode of the second diode is connected to one end of the fourth resistor, and the cathode of the second diode is connected to the anode of the third diode;
[0027] The cathode of the third diode is connected to the other end of the fourth resistor;
[0028] The fourth resistor is also connected to the MOS tube.
[0029] In some optional aspects of this embodiment, the transistor type of the MOS tube is an N-channel metal oxide semiconductor field effect transistor, wherein:
[0030] The gate of the MOS tube is connected to one end of the fourth resistor, the gate of the MOS tube is used to receive the MOS tube driving signal, the source of the MOS tube is connected to the other end of the load, and the drain of the MOS tube is connected to one end of the load and the second vehicle voltage power supply system, so that the load uses the second vehicle voltage power supply system through the MOS tube.
[0031] In some optional aspects of this embodiment, the present invention further includes: a surge voltage absorption unit, wherein:
[0032] The surge voltage absorption unit is connected to the MOS tube and the load respectively, and is used to absorb the surge voltage in the second vehicle voltage.
[0033] In some optional aspects of this embodiment, a reverse current suppression unit is further included, wherein:
[0034] The reverse current suppression unit is connected to the MOS tube and the load respectively, and the circuit protection unit is used to suppress the reverse current flowing from the load to the MOS tube.
[0035] In some optional aspects of this embodiment, the surge voltage absorption unit includes a varistor, a fifth resistor and a capacitor, wherein:
[0036] One end of the varistor is connected to one end of the fifth resistor, and the other end of the varistor is connected to one end of the capacitor;
[0037] One end of the fifth resistor is also connected to one end of the load, the other end of the fifth resistor is connected to the other end of the capacitor, and one end of the capacitor is also connected to the other end of the load.
[0038] In some optional aspects of this embodiment, the reverse current suppression unit includes a fourth diode, wherein:
[0039] The anode of the fourth diode is connected to the source of the MOS tube, and the cathode of the fourth diode is connected to the other end of the load.
[0040] According to a second aspect of the present application, a digital quantity output control method based on the aforementioned digital quantity output circuit is also provided, the method comprising:
[0041] The optical coupling isolation unit receives the digital output signal from the control unit, generates a MOS tube drive signal according to the digital output signal, and sends the MOS tube drive signal to the MOS tube;
[0042] The MOS tube controls the power-on state of the load according to the MOS tube driving signal.
[0043] In some optional manners of this embodiment, the digital output signal includes a high-level output signal and a low-level output signal, the MOS transistor drive signal includes a high-level drive signal and a low-level drive signal, and generating the MOS transistor drive signal according to the digital output signal includes:
[0044] When receiving a high-level output signal from the control unit, the optical coupling isolation unit generates the high-level driving signal according to the high-level output signal;
[0045] When receiving the low-level output signal from the control unit, the optocoupler isolation unit generates the low-level driving signal according to the low-level output signal.
[0046] In some optional aspects of this embodiment, controlling the power-on state of the load according to the MOS tube driving signal includes:
[0047] When receiving a high-level driving signal from the optical coupling isolation unit, the MOS tube is turned on, so that the digital output circuit is a loop, and the second vehicle voltage power supply system provides the second vehicle voltage to the load through the MOS tube, and the load is powered;
[0048] When receiving a low-level driving signal from the optocoupler isolation unit, the MOS tube is turned off, so that the digital output circuit is open-circuited, and the second vehicle voltage power supply system cannot provide the second vehicle voltage to the load through the MOS tube, and the load loses power.
[0049] Some optional aspects of this embodiment also include:
[0050] The optical coupling isolation unit determines the on-off state of the digital output circuit according to the power-on state of the load, and feeds back the on-off state of the digital output circuit to the control unit.
[0051] The present application provides a digital output circuit and control method. On the one hand, a switching mode of optocoupler + MOS tube is adopted to solve the problem of contact adhesion of mechanical relays and greatly improve the service life of the circuit. On the other hand, the driving system of the mechanical relay is simplified. Compared with the mechanical relay, the switching mode of optocoupler + MOS tube does not require an additional power supply system. The turn-on voltage of the MOS tube is provided by the optocoupler, and the control unit and the optocoupler use the same power supply system, which simplifies the power supply system of the circuit. On the other hand, the switching action of the MOS tube circuit is more accurate, there is no switch jitter, and false operation is avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0052] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0053] Figure 1 This is one of the structural schematic diagrams of a digital quantity output circuit according to an embodiment of the present application;
[0054] Figure 2 This is a second structural schematic diagram of a digital quantity output circuit according to an embodiment of the present application;
[0055] Figure 3 is a circuit schematic diagram of a digital quantity output circuit according to an embodiment of the present application;
[0056] Figure 4 The figure is a flow chart of a digital quantity output control method according to an embodiment of the present application. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] An embodiment of the present application provides a digital output circuit, such as Figure 1 As shown, the output circuit includes: a control unit 10, an optical coupling isolation unit 20, a MOS tube 30 and a load 40, wherein:
[0059] The optocoupler isolation unit is connected to the control unit and the MOS tube respectively, and the optocoupler isolation unit is used to receive the digital output signal from the control unit, generate a MOS tube drive signal according to the digital output signal, and send the MOS tube drive signal to the MOS tube;
[0060] The MOS tube is connected to the optical coupling isolation unit and the load respectively, and the MOS tube is used to control the power-on state of the load according to the MOS tube driving signal.
[0061] In some optional embodiments of this embodiment, the optocoupler isolation unit and the control unit use a first vehicle voltage power supply system, and the load uses a second vehicle voltage power supply system through the MOS tube, wherein the voltage of the second vehicle voltage power supply system is higher than the voltage of the first vehicle voltage power supply system.
[0062] In this embodiment, the first vehicle-mounted voltage power supply system is a vehicle-mounted low-voltage power supply system, and the second vehicle-mounted voltage power supply system is a vehicle-mounted high-voltage power supply system. The voltage of the second vehicle-mounted voltage power supply system is the vehicle-mounted high-voltage power supply. In the entire circuit, the control unit and the optocoupler isolation unit are consistently powered by low voltage.
[0063] In some optional aspects of this embodiment, the digital output signal includes a high-level output signal and a low-level output signal, the MOS tube drive signal includes a high-level drive signal and a low-level drive signal, and the optical coupling isolation unit is further used for:
[0064] When receiving a high level output signal from the control unit, generating the high level driving signal according to the high level output signal;
[0065] When a low level output signal is received from the control unit, the low level driving signal is generated according to the low level output signal.
[0066] In some optional aspects of this embodiment, the MOS tube is further used for:
[0067] When receiving a high-level driving signal from the optical coupling isolation unit, the optical coupling isolation unit is turned on, so that the digital output circuit is a loop, and the second vehicle voltage power supply system provides the second vehicle voltage to the load through the MOS tube, and the load is powered;
[0068] When receiving a low-level driving signal from the optocoupler isolation unit, it is turned off so that the digital output circuit is open-circuited, and the second vehicle voltage power supply system cannot provide the second vehicle voltage to the load through the MOS tube, and the load loses power.
[0069] In the above circuit structure, the control unit controls the on and off of the entire output channel by outputting high and low level signals. When the control unit controls the entire circuit to be closed, the corresponding high level output signal acts on the optocoupler, and the optocoupler outputs a high level drive signal to drive the MOS tube to conduct, and the entire digital output loop is closed, and the vehicle-mounted high voltage can pass through the MOS tube to reach the load, so that the load is powered.
[0070] When the control unit controls the entire circuit to disconnect, the corresponding low-level output signal acts on the optocoupler, and the optocoupler outputs a low-level drive signal, causing the MOS tube to disconnect, and the entire digital quantity loop to disconnect. The on-board high voltage cannot reach the load through the MOS tube, and the load loses power.
[0071] It can be further known from the above description that in this embodiment, the control unit and the optocoupler use the same power supply system. When the optocoupler is working, a fixed voltage is generated, and this voltage is used to drive the MOS tube to turn on. That is, the driving voltage of the MOS tube is provided by the optocoupler isolation unit, and no additional driving circuit is required to drive the MOS tube, thereby simplifying the power supply system.
[0072] In some optional aspects of this embodiment, the optical coupling isolation unit is further used for:
[0073] Determining the on / off state of the digital quantity output circuit according to the power-on state of the load;
[0074] The on / off state of the digital output circuit is fed back to the control unit.
[0075] In this embodiment, in addition to controlling the on and off of the MOS tube, the optocoupler isolation unit can also isolate the control unit from the back-end load, thereby protecting the control unit. In addition, the on and off state of the circuit can be fed back to the control unit through the optocoupler isolation unit, so that the control unit can monitor the on and off state of the circuit. Specifically, the on and off state of the digital output circuit can be determined according to the power-on state of the load, wherein the power-on state includes power on and power off. According to the foregoing, when the digital output circuit is a loop, the load is powered; when the digital output circuit is an open circuit, the load is powered off. Therefore, the on and off state of the digital output circuit can be inferred according to the power-on state of the load.
[0076] In some optional embodiments of this embodiment, Figure 2 As shown, it also includes: a surge voltage absorption unit 50, wherein:
[0077] The surge voltage absorption unit is connected to the MOS tube and the load respectively, and is used to absorb the surge voltage in the second vehicle voltage.
[0078] In this embodiment, the surge voltage absorption unit is used to absorb the surge voltage in the vehicle-mounted high-voltage power supply system, protect the entire digital output circuit from being damaged by the surge voltage, and improve the safety of the digital output circuit.
[0079] In some optional embodiments of this embodiment, Figure 2 As shown, the digital output circuit further includes a reverse current suppression unit 60, wherein:
[0080] The reverse current suppression unit is connected to the MOS tube and the load respectively, and the circuit protection unit is used to suppress the reverse current flowing from the load to the MOS tube.
[0081] In this embodiment, the reverse current suppression unit is used to prevent the reverse current of the load from damaging the MOS tube, thereby further improving the reliability of the digital output circuit.
[0082] It should also be noted that since the switching circuit composed of the optocoupler and MOS tube is composed of electronic devices and does not involve mechanical structure, the problem of mechanical relay contact adhesion is avoided, which greatly extends the life of the entire digital output circuit. In addition, in the digital output circuit, the level state of the circuit on and off is relatively fixed, and there will be no repeated fluctuations in the level, so the switching action of the MOS tube circuit is very accurate and there is no malfunction.
[0083] In some optional embodiments of this embodiment, Figure 3 As shown, the control unit includes: a first resistor R1, a second resistor R2, a bipolar transistor T1 and a third resistor R3, wherein:
[0084] One end of the first resistor is used to input a digital input signal, and the other end of the first resistor is connected to one end of the second resistor and the base of the bipolar transistor;
[0085] The other end of the second resistor is grounded;
[0086] The emitter of the bipolar transistor is grounded, and the collector of the bipolar transistor is connected to one end of the third resistor;
[0087] The other end of the third resistor is connected to the optical coupling isolation control unit, and the other end of the third resistor is used to output the digital output signal.
[0088] In a specific example, the resistance value of the first resistor may be 10k ohms, and the resistance value of the second resistor may be 4.7k ohms, which is not limited in the present application.
[0089] In some optional embodiments of this embodiment, Figure 3 As shown, the optical coupling isolation unit includes: an optical coupling circuit OP1 and a fourth resistor RH1, wherein:
[0090] The optical coupling circuit comprises a first diode, a second diode and a third diode, wherein:
[0091] The positive electrode of the first diode is connected to the first vehicle voltage power supply system for inputting low voltage electricity, the negative electrode of the first diode is connected to the other end of the third resistor, and the negative electrode of the first diode is used to receive the digital output signal;
[0092] The anode of the second diode is connected to one end of the fourth resistor, and the cathode of the second diode is connected to the anode of the third diode;
[0093] The cathode of the third diode is connected to the other end of the fourth resistor, wherein the first diode is a light emitting diode;
[0094] The fourth resistor is also connected to the MOS transistor Q1.
[0095] In some optional embodiments of this embodiment, Figure 3 As shown, the transistor type of the MOS tube Q1 is an N-channel metal oxide semiconductor field effect transistor, wherein:
[0096] The gate of the MOS tube is connected to one end of the fourth resistor, the gate of the MOS tube is used to receive the MOS tube driving signal, the source of the MOS tube is connected to the other end of the load, and the drain of the MOS tube is connected to one end of the load and the second vehicle voltage power supply system, so that the load uses the second vehicle voltage power supply system through the MOS tube.
[0097] In some optional embodiments of this embodiment, Figure 3 As shown, the surge voltage absorption unit includes a varistor R5, a fifth resistor R4 and a capacitor C1, wherein:
[0098] One end of the varistor is connected to one end of the fifth resistor, and the other end of the varistor is connected to one end of the capacitor;
[0099] One end of the fifth resistor is also connected to one end of the load, the other end of the fifth resistor is connected to the other end of the capacitor, and one end of the capacitor is also connected to the other end of the load.
[0100] In some optional embodiments of this embodiment, Figure 3 As shown, the reverse current suppression unit includes a fourth diode D1, wherein:
[0101] The anode of the fourth diode is connected to the source of the MOS tube, and the cathode of the fourth diode is connected to the other end of the load.
[0102] In the present application, the control unit controls whether the optocoupler outputs or not to control the MOS tube to open and close, thereby realizing the on and off of the entire digital output channel. The control unit and the optocoupler use the same power supply system. When the optocoupler works, a fixed voltage will be generated, and this voltage is used to drive the MOS tube to conduct, without the need for an additional drive circuit to drive the MOS tube. When the digital channel is controlled to be closed, the control unit sends a shutdown signal (i.e., equivalent to outputting a low-level output signal) through the input digital input signal, controls the optocoupler circuit to be turned off, and the optocoupler does not output a fixed voltage (i.e., equivalent to outputting a low-level drive signal), thereby turning off the MOS tube, thereby closing the entire output path; when the digital channel is controlled to be turned on, the control unit sends an opening signal (i.e., equivalent to outputting a high-level output signal) through the input digital input signal, controls the optocoupler to be turned on, and the optocoupler outputs a fixed voltage (i.e., equivalent to outputting a high-level drive signal), thereby turning on the MOS tube, thereby opening the entire output path.
[0103] In this embodiment, the switching mode of optocoupler and MOS tube is adopted to solve the problem of mechanical relay contact adhesion, which greatly improves the service life of the circuit. At the same time, the driving system of the mechanical relay is simplified. Compared with the mechanical relay, the switching mode of optocoupler and MOS tube does not require an additional power supply system. The turn-on voltage of the MOS tube is provided by the optocoupler, and the control unit and the optocoupler use the same power supply system, which simplifies the power supply system of the circuit. The switching action of the MOS tube circuit is more accurate, there is no switch jitter, and the misoperation is avoided.
[0104] Based on the same inventive concept, the embodiment of the present application also provides a digital quantity output control method, which is implemented based on the aforementioned digital quantity output circuit, as described in the following embodiment. Since the principle of the problem solved by the digital quantity output control method is similar to that of the digital quantity output circuit, the implementation of the digital quantity output control method can refer to the implementation of the digital quantity output circuit, and the repetitions are not repeated. As used below, the term "unit" or "module" can implement a combination of software and / or hardware of a predetermined function. Although the system described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0105] like Figure 4 As shown, the digital output control method includes:
[0106] Step 101: The optical coupling isolation unit receives a digital output signal from a control unit, generates a MOS tube drive signal according to the digital output signal, and sends the MOS tube drive signal to the MOS tube;
[0107] Step 102: The MOS tube controls the power-on state of the load according to the MOS tube driving signal.
[0108] In some optional manners of this embodiment, the digital output signal includes a high-level output signal and a low-level output signal, the MOS transistor drive signal includes a high-level drive signal and a low-level drive signal, and generating the MOS transistor drive signal according to the digital output signal includes:
[0109] When receiving a high-level output signal from the control unit, the optical coupling isolation unit generates the high-level driving signal according to the high-level output signal;
[0110] When receiving the low-level output signal from the control unit, the optocoupler isolation unit generates the low-level driving signal according to the low-level output signal.
[0111] In some optional aspects of this embodiment, controlling the power-on state of the load according to the MOS tube driving signal includes:
[0112] When receiving a high-level driving signal from the optical coupling isolation unit, the MOS tube is turned on, so that the digital output circuit is a loop, and the second vehicle voltage power supply system provides the second vehicle voltage to the load through the MOS tube, and the load is powered;
[0113] When receiving a low-level driving signal from the optocoupler isolation unit, the MOS tube is turned off, so that the digital output circuit is open-circuited, and the second vehicle voltage power supply system cannot provide the second vehicle voltage to the load through the MOS tube, and the load loses power.
[0114] Some optional aspects of this embodiment also include:
[0115] The optical coupling isolation unit determines the on-off state of the digital output circuit according to the power-on state of the load, and feeds back the on-off state of the digital output circuit to the control unit.
[0116] The digital quantity output control method provided in this embodiment adopts the switching mode of optocoupler and MOS tube, solves the problem of mechanical relay contact adhesion, and greatly improves the service life of the circuit. At the same time, the driving system of the mechanical relay is simplified. Compared with the mechanical relay, the switching mode of optocoupler and MOS tube does not require an additional power supply system. The turn-on voltage of the MOS tube is provided by the optocoupler, and the control unit and the optocoupler use the same power supply system, which simplifies the power supply system of the circuit. The switching action of the MOS tube circuit is more accurate, there is no switch jitter, and the misoperation is avoided.
[0117] It can be understood that the above examples are merely examples listed for better understanding of the technical solutions of the embodiments of the present invention, and are not intended to be the sole limitations on the embodiments of the present invention.
[0118] It should be noted that in the description of this application, the terms "upper" and "lower" indicate positions or positional relationships based on the positions or positional relationships shown in the drawings, which are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as a limitation on this application. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0119] It should also be noted that, in the description of the present application, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the statement "comprise one..." do not exclude the presence of other identical elements in the process, method, article or equipment including the elements.
[0120] In the embodiments of the present application, the singular forms "a", "the", etc. include plural forms and should be broadly understood as "a kind" or "a type" rather than being limited to the meaning of "one"; in addition, the term "said" should be understood to include both singular and plural forms, unless the context clearly indicates otherwise. In addition, the term "according to" should be understood as "at least in part according to...", and the term "based on" should be understood as "at least in part based on...", unless the context clearly indicates otherwise.
[0121] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in the present disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present disclosure can be achieved, and this document is not limited here. The above specific implementation methods do not constitute limitations on the scope of protection of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure should be included in the scope of protection of the present disclosure.
Claims
1. A digital output circuit, characterized in that: include: Control unit, optocoupler isolation unit, MOS tube and load, where: The optocoupler isolation unit is connected to the control unit and the MOS tube respectively, and the optocoupler isolation unit is used to receive the digital output signal from the control unit, generate a MOS tube drive signal according to the digital output signal, and send the MOS tube drive signal to the MOS tube; The MOS tube is connected to the optical coupling isolation unit and the load respectively, and the MOS tube is used to control the power-on state of the load according to the MOS tube driving signal.
2. The circuit according to claim 1, characterized in that The optocoupler isolation unit and the control unit use a first vehicle voltage power supply system, and the load uses a second vehicle voltage power supply system through the MOS tube, wherein the voltage of the second vehicle voltage power supply system is higher than the voltage of the first vehicle voltage power supply system.
3. The circuit according to claim 2, characterized in that The digital output signal includes a high-level output signal and a low-level output signal, the MOS tube drive signal includes a high-level drive signal and a low-level drive signal, and the optical coupling isolation unit is further used for: When receiving a high level output signal from the control unit, generating the high level driving signal according to the high level output signal; When a low level output signal is received from the control unit, the low level driving signal is generated according to the low level output signal.
4. The circuit according to claim 3, characterized in that The MOS tube is further used for: When receiving a high-level driving signal from the optical coupling isolation unit, the optical coupling isolation unit is turned on, so that the digital output circuit is a loop, and the second vehicle voltage power supply system provides the second vehicle voltage to the load through the MOS tube, and the load is powered; When receiving a low-level driving signal from the optocoupler isolation unit, it is turned off so that the digital output circuit is open-circuited, and the second vehicle voltage power supply system cannot provide the second vehicle voltage to the load through the MOS tube, and the load loses power.
5. The circuit according to claim 4, characterized in that The optical coupling isolation unit is further used for: Determining the on / off state of the digital quantity output circuit according to the power-on state of the load; The on / off state of the digital output circuit is fed back to the control unit.
6. The circuit according to claim 5, characterized in that The control unit comprises: a first resistor, a second resistor, a bipolar transistor and a third resistor, wherein: One end of the first resistor is used to input a digital input signal, and the other end of the first resistor is connected to one end of the second resistor and the base of the bipolar transistor; The other end of the second resistor is grounded; The emitter of the bipolar transistor is grounded, and the collector of the bipolar transistor is connected to one end of the third resistor; The other end of the third resistor is connected to the optical coupling isolation control unit, and the other end of the third resistor is used to output the digital output signal.
7. The circuit according to claim 6, characterized in that The optical coupling isolation unit includes: an optical coupling circuit and a fourth resistor, wherein: The optical coupling circuit comprises a first diode, a second diode and a third diode, wherein: The positive electrode of the first diode is connected to the first vehicle voltage power supply system, the negative electrode of the first diode is connected to the other end of the third resistor, and the negative electrode of the first diode is used to receive the digital output signal; The anode of the second diode is connected to one end of the fourth resistor, and the cathode of the second diode is connected to the anode of the third diode; The cathode of the third diode is connected to the other end of the fourth resistor; The fourth resistor is also connected to the MOS tube.
8. The circuit according to claim 7, characterized in that The transistor type of the MOS tube is an N-channel metal oxide semiconductor field effect transistor, wherein: The gate of the MOS tube is connected to one end of the fourth resistor, the gate of the MOS tube is used to receive the MOS tube driving signal, the source of the MOS tube is connected to the other end of the load, and the drain of the MOS tube is connected to one end of the load and the second vehicle voltage power supply system, so that the load uses the second vehicle voltage power supply system through the MOS tube.
9. The circuit according to claim 8, characterized in that Also includes: Surge voltage absorption unit, where: The surge voltage absorption unit is connected to the MOS tube and the load respectively, and is used to absorb the surge voltage in the second vehicle voltage.
10. The circuit according to claim 8, characterized in that Also included is a reverse current suppression unit, wherein: The reverse current suppression unit is connected to the MOS tube and the load respectively, and the circuit protection unit is used to suppress the reverse current flowing from the load to the MOS tube.
11. The circuit according to claim 9, characterized in that The surge voltage absorption unit includes a varistor, a fifth resistor and a capacitor, wherein: One end of the varistor is connected to one end of the fifth resistor, and the other end of the varistor is connected to one end of the capacitor; One end of the fifth resistor is also connected to one end of the load, the other end of the fifth resistor is connected to the other end of the capacitor, and one end of the capacitor is also connected to the other end of the load.
12. The circuit according to claim 10, characterized in that The reverse current suppression unit includes a fourth diode, wherein: The anode of the fourth diode is connected to the source of the MOS tube, and the cathode of the fourth diode is connected to the other end of the load.
13. A digital quantity output control method based on the circuit according to any one of claims 1 to 12, characterized in that: include: The optical coupling isolation unit receives the digital output signal from the control unit, generates a MOS tube drive signal according to the digital output signal, and sends the MOS tube drive signal to the MOS tube; The MOS tube controls the power-on state of the load according to the MOS tube driving signal.
14. The method according to claim 13, characterized in that The digital output signal includes a high-level output signal and a low-level output signal, the MOS transistor drive signal includes a high-level drive signal and a low-level drive signal, and generating the MOS transistor drive signal according to the digital output signal includes: When receiving a high-level output signal from the control unit, the optical coupling isolation unit generates the high-level driving signal according to the high-level output signal; When receiving the low-level output signal from the control unit, the optocoupler isolation unit generates the low-level driving signal according to the low-level output signal.
15. The method according to claim 14, characterized in that The controlling the power-on state of the load according to the MOS tube driving signal comprises: When receiving a high-level driving signal from the optical coupling isolation unit, the MOS tube is turned on, so that the digital output circuit is a loop, and the second vehicle voltage power supply system provides the second vehicle voltage to the load through the MOS tube, and the load is powered; When receiving a low-level driving signal from the optocoupler isolation unit, the MOS tube is turned off, so that the digital output circuit is open-circuited, and the second vehicle voltage power supply system cannot provide the second vehicle voltage to the load through the MOS tube, and the load loses power.
16. The method according to claim 13, characterized in that Also includes: The optical coupling isolation unit determines the on / off state of the digital quantity output circuit according to the power-on state of the load; And the on-off state of the digital output circuit is fed back to the control unit.
