CN117148780A - PLC input/output polarity automatic switching device, switching method and electronic equipment - Google Patents

PLC input/output polarity automatic switching device, switching method and electronic equipment Download PDF

Info

Publication number
CN117148780A
CN117148780A CN202311435105.5A CN202311435105A CN117148780A CN 117148780 A CN117148780 A CN 117148780A CN 202311435105 A CN202311435105 A CN 202311435105A CN 117148780 A CN117148780 A CN 117148780A
Authority
CN
China
Prior art keywords
circuit
module
power supply
sensor
polarity
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202311435105.5A
Other languages
Chinese (zh)
Other versions
CN117148780B (en
Inventor
王贤兵
李东升
王丕兴
梁昌宏
吴金盏
邓海东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Herunda Technology Co ltd
Original Assignee
Shenzhen Herunda Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Herunda Technology Co ltd filed Critical Shenzhen Herunda Technology Co ltd
Priority to CN202311435105.5A priority Critical patent/CN117148780B/en
Publication of CN117148780A publication Critical patent/CN117148780A/en
Application granted granted Critical
Publication of CN117148780B publication Critical patent/CN117148780B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/054Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/11Plc I-O input output
    • G05B2219/1105I-O

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

The invention discloses a PLC input/output polarity automatic switching device, a switching method and electronic equipment, wherein the device comprises a polarity switching circuit and a drive control circuit, wherein the polarity switching circuit is used for executing power polarity switching operation on a first power supply circuit according to a power switching instruction when detecting that a sensor is connected to a sensor access circuit and receiving the power switching instruction matched with the polarity parameter of the sensor so as to control the connection between the sensor connected to the sensor access circuit and the first power supply circuit, converting an electric signal acquired from the first power supply circuit into a target electric signal and transmitting the target electric signal to the drive control circuit; the driving control circuit is used for controlling the controlled equipment to be in a working state according to the target electric signal, so that compared with the traditional switching mode of adopting a relay or jumper pins, the circuit installation process is simplified, the integration level of the industrial control board is reduced, and the installation cost is reduced.

Description

PLC input/output polarity automatic switching device, switching method and electronic equipment
Technical Field
The invention relates to the technical field of automatic production lines of new energy power batteries, in particular to a PLC (programmable logic controller) input/output polarity automatic switching device, a switching method and electronic equipment in the process of dividing a battery cell into components.
Background
With the application of the new energy power battery automatic production line, the formation of the battery cell becomes a big head of energy consumption, and how to improve the efficiency of formation of the formation is also more and more important. In practical applications, the battery cell of the power battery must be charged and activated after the assembly is completed, and the first charging process of the battery cell is called formation, and is used for activating the active material in the battery cell to generate an SEI film (i.e. SolidElectrolyte Interface, solid electrolyte interface film). The battery cells are subjected to formation and then are subjected to capacity division, and the capacity division is to charge and discharge the battery cells after the formation so as to detect the performance of the battery cells, so that the battery cells are conveniently graded and assembled according to the capacity.
Currently, an industrial control board used by chemical composition equipment on an existing new energy power battery automation production line has special requirements on the type selection with an accessed sensing device, if the polarity of an interface of the selected sensing device is required to be consistent with the input polarity of the industrial control board, or the input polarity of the selected industrial control board is required to be consistent with the output polarity of a sensor, in order to realize the switching process of the input and output polarities inside the industrial control board, a relay is generally adopted, or a jumper stitch is used for manual switching. However, through practice, the internal design of the industrial control board makes the switching circuit too complex, and the added components can lead to corresponding increase of the volume of the PCB board, so that the cost of the components and the board is increased. Therefore, it is particularly important to provide a technical scheme for automatically switching the input and output polarities of the PLC, which is easy to install and can reduce the integration level of the industrial control board.
Disclosure of Invention
The technical problem to be solved by the invention is to provide the PLC input/output polarity automatic switching device, the switching method and the electronic equipment, which simplify the installation process of a circuit and reduce the integration level of an industrial control board compared with the traditional switching mode of adopting a relay or jumper pins, thereby being beneficial to reducing the installation cost.
In order to solve the above technical problems, a first aspect of the present invention discloses a PLC input/output polarity automatic switching device, the device comprising a polarity switching circuit and a drive control circuit, wherein:
the detection end of the polarity switching circuit is used for being electrically connected with the feedback end of the sensor access circuit, the access end of the sensor access circuit is used for being electrically connected with a sensor to be operated, and the power supply switching end of the polarity switching circuit and the power supply end of the sensor access circuit are both used for being electrically connected with the first power supply circuit;
the signal output end of the polarity switching circuit is electrically connected with the signal receiving end of the driving control circuit, the power end of the polarity switching circuit is used for being electrically connected with the second power supply circuit, and the enabling end of the driving control circuit is used for being electrically connected with the controlled equipment;
The polarity switching circuit is used for executing power polarity switching operation on the first power supply circuit according to the power switching instruction when the sensor is detected to be connected to the sensor connection circuit and a power switching instruction matched with the polarity parameter of the sensor is received, so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit, and converting the electric signal acquired from the first power supply circuit into a target electric signal so as to transmit the target electric signal to the drive control circuit;
the driving control circuit is used for controlling the controlled equipment to be in a working state according to the target electric signal.
As an alternative embodiment, in the first aspect of the present invention, the polarity switching circuit includes a polarity switching module and an electro-optic-electric conversion module, where:
the detection end of the electro-optic electric conversion module is used for being electrically connected with the feedback end of the sensor access circuit, and the power supply switching end of the polarity switching module is used for being electrically connected with the first power supply circuit;
the signal output end of the polarity switching module is electrically connected with the signal receiving end of the electro-optical electric conversion module, the signal output end of the electro-optical electric conversion module is electrically connected with the signal receiving end of the driving control circuit, and the power end of the electro-optical electric conversion module is electrically connected with the second power supply circuit;
The polarity switching module is used for executing power polarity switching operation on the first power supply circuit according to the power switching instruction when the sensor is detected to be connected to the sensor connection circuit and a power switching instruction matched with the polarity parameter of the sensor is received, so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit and transmit the electric signal acquired from the first power supply circuit to the electro-optical electric conversion module;
the electro-optical-electric conversion module is used for converting the electric signal into an optical signal and converting the optical signal into a target electric signal so as to transmit the target electric signal to the drive control circuit.
In a first aspect of the present invention, when the polarity parameter of the sensor is NPN-type, the power supply switching instruction that matches the polarity parameter of the sensor is to switch the power supply terminal of the sensor access circuit to be electrically connected to the power supply negative terminal of the first power supply circuit;
when the polarity parameter of the sensor is PNP type, the power supply switching instruction matched with the polarity parameter of the sensor is to switch the power supply end of the sensor access circuit to be electrically connected with the power supply positive end of the first power supply circuit.
As an alternative embodiment, in the first aspect of the present invention, the drive control circuit comprises at least one drive control sub-circuit, each comprising a corresponding switch control module, wherein for each of the drive control sub-circuits:
the signal receiving end of the switch control module is electrically connected with the signal output end of the electro-optic conversion module, and the enabling end of the switch control module is used for being electrically connected with the controlled equipment;
the switch control module is used for switching from a cut-off state to a conduction state when the target electric signal is received, so as to control the controlled equipment to be in a working state according to the target electric signal based on the conduction state.
As an optional implementation manner, in the first aspect of the present invention, the polarity switching circuit further includes a first protection module, a pull-up bias module, and a pull-down bias module, where:
the first end of the first protection module is used for being electrically connected with the feedback end of the sensor access circuit, and the second end of the first protection module is electrically connected with the detection end of the electro-optic conversion module;
the first end of the pull-up bias module is used for being electrically connected with the second power supply circuit, and the second end of the pull-up bias module is electrically connected with the power supply end of the electro-optic electric conversion module;
The first end of the pull-down bias module is electrically connected with the signal output end of the electro-optic electric conversion module and the signal receiving ends of all the switch control modules, and the second end of the pull-down bias module is used for grounding.
As an alternative embodiment, in the first aspect of the present invention, each of the driving control sub-circuits further includes a corresponding second protection module and a charge bleeding module, wherein, for each of the driving control sub-circuits:
the first end of the second protection module is electrically connected with the signal output end of the electro-optic conversion module, and the second end of the second protection module is electrically connected with the signal receiving end of the corresponding switch control module;
the first end of the charge discharging module is electrically connected with the signal receiving end of the corresponding switch control module and the second end of the second protection module, and the second end of the charge discharging module is used for being grounded.
As an alternative embodiment, in the first aspect of the present invention, the electro-optical-to-electrical conversion module includes a bidirectional optocoupler device, wherein:
the first input end of the bidirectional optical coupler device is electrically connected with the second end of the first protection module, the second input end of the bidirectional optical coupler device is electrically connected with the signal output end of the polarity switching module, the first output end of the bidirectional optical coupler device is electrically connected with the first ends of all the second protection modules, and the second output end of the bidirectional optical coupler device is electrically connected with the second end of the pull-up bias module.
As an optional implementation manner, in the first aspect of the present invention, the polarity switching circuit further includes an access status indication module, where:
the signal receiving end of the access state indicating module is electrically connected with the signal output end of the polarity switching module, and the signal output end of the access state indicating module is electrically connected with the signal receiving end of the electro-optic conversion module;
and, each of the drive control sub-circuits further includes a corresponding status indication module, wherein for each of the drive control sub-circuits:
the first end of the state indicating module is electrically connected with the second end of the corresponding charge discharging module, and the second end of the state indicating module is used for being grounded.
As an optional implementation manner, in the first aspect of the present invention, when the polarity parameter of the sensor is the NPN type, the electrical signal acquired by the polarity switching module from the first power supply circuit is a low-level electrical signal;
when the polarity parameter of the sensor is the PNP type, the electric signal acquired by the polarity switching module from the first power supply circuit is a high-level electric signal.
The invention discloses a switching method which is applied to a PLC input/output polarity automatic switching device, wherein the PLC input/output polarity automatic switching device comprises a polarity switching circuit and a drive control circuit, and the method comprises the following steps:
When the polarity switching circuit detects that a sensor is connected to a sensor connection circuit and receives a power supply switching instruction matched with a polarity parameter of the sensor, according to the power supply switching instruction, power supply polarity switching operation is performed on a first power supply circuit so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit, and an electric signal acquired from the first power supply circuit is converted into a target electric signal so as to transmit the target electric signal to the drive control circuit;
and the driving control circuit controls the controlled equipment to be in a working state according to the target electric signal.
As an alternative embodiment, in a second aspect of the present invention, the polarity switching circuit includes a polarity switching module and an electro-optical conversion module, wherein when the polarity switching circuit detects that a sensor is connected to a sensor connection circuit and receives a power switching instruction matched with a polarity parameter of the sensor, the polarity switching circuit performs a power polarity switching operation on a first power supply circuit according to the power switching instruction to control conduction between the sensor connected to the sensor connection circuit and the first power supply circuit, and converts an electrical signal acquired from the first power supply circuit into a target electrical signal to transmit the target electrical signal to the drive control circuit, and includes:
When the polarity switching module detects that a sensor is connected to a sensor connection circuit and receives a power supply switching instruction matched with a polarity parameter of the sensor, the polarity switching module executes power supply polarity switching operation on a first power supply circuit according to the power supply switching instruction so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit and transmit an electric signal acquired from the first power supply circuit to the electro-optic-electric conversion module;
the electro-optical-to-electrical conversion module converts the electrical signal into an optical signal and converts the optical signal into a target electrical signal to transmit the target electrical signal to the drive control circuit.
As an optional implementation manner, in a second aspect of the present invention, the driving control circuit includes at least one driving control sub-circuit, each of which includes a corresponding switch control module, where the driving control circuit controls the controlled device to be in an operating state according to the target electrical signal, and includes:
for each switch control module in each drive control sub-circuit, when the switch control module receives the target electric signal, the switch control module is switched from an off state to an on state, so that the controlled equipment is controlled to be in a working state according to the target electric signal based on the on state.
The third aspect of the invention discloses an electronic device, which comprises the PLC input-output polarity automatic switching device according to any one of the first aspect of the invention.
The fourth aspect of the present invention discloses a PLC input/output polarity automatic switching device, the device comprising:
a memory storing executable program code;
a processor coupled to the memory;
the processor invokes the executable program code stored in the memory to perform the handover method disclosed in the second aspect of the present invention.
A fifth aspect of the present invention discloses a computer storage medium storing computer instructions for performing the handover method disclosed in the second aspect of the present invention when the computer instructions are called.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
in the embodiment of the invention, the power polarity switching operation is performed on the first power supply circuit through the received power switching instruction matched with the polarity parameter of the sensor, and then the electric signal acquired from the first power supply circuit is converted into the target electric signal based on the conducting state between the sensor and the first power supply circuit, so that the controlled equipment is controlled to be in the working state according to the target electric signal.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic structural diagram of a PLC input/output polarity automatic switching device according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a polarity switching circuit according to an embodiment of the present invention;
FIG. 3 is a topology diagram of input polarity switching as disclosed in an embodiment of the present invention;
FIG. 4 is a schematic diagram of a driving control sub-circuit according to an embodiment of the present invention;
FIG. 5 is a topology diagram of output polarity switching as disclosed in an embodiment of the present invention;
fig. 6 is a schematic flow chart of a switching method for PLC input/output polarity according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another PLC input/output polarity automatic switching device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terms first, second and the like in the description and in the claims and in the above-described figures are used for distinguishing between different objects and not necessarily for describing a sequential or chronological order. Furthermore, the terms "comprise" and "have," as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, circuit, article, or apparatus that comprises a list of steps or elements is not limited to only those listed or inherent to such process, method, article, or apparatus but may optionally include other steps or elements not listed.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
The invention discloses a PLC input/output polarity automatic switching device, a switching method and electronic equipment, which simplify the installation process of a circuit, reduce the integration level of an industrial control board and are beneficial to reducing the installation cost compared with the traditional switching mode of adopting a relay or jumper pins.
Example 1
Referring to fig. 1, fig. 1 is a schematic structural diagram of an automatic switching device for PLC input/output polarity, which is disclosed in the embodiment of the present invention, and the device can be applied to a chemical component device (such as a chemical component integrated machine) in an automatic production line of a new energy power battery. Specifically, as shown in fig. 1, the PLC input/output polarity automatic switching device includes a polarity switching circuit 101 and a driving control circuit 102, wherein:
The detection end of the polarity switching circuit 101 is used for being electrically connected with the feedback end of the sensor access circuit 103, the access end of the sensor access circuit 103 is used for being electrically connected with the sensor 104 to be operated, and the power supply switching end of the polarity switching circuit 101 and the power supply end of the sensor access circuit 103 are both used for being electrically connected with the first power supply circuit 105;
the signal output end of the polarity switching circuit 101 is electrically connected with the signal receiving end of the drive control circuit 102, the power supply end of the polarity switching circuit 101 is electrically connected with the second power supply circuit 106, and the enabling end of the drive control circuit 102 is electrically connected with the controlled device 107;
a polarity switching circuit 101 for, when it is detected that the sensor 104 is connected to the sensor connection circuit 103 and a power supply switching instruction matching a polarity parameter of the sensor 104 is received, performing a power supply polarity switching operation on the first power supply circuit 105 according to the power supply switching instruction to control conduction between the sensor 104 connected to the sensor connection circuit 103 and the first power supply circuit 105, and converting an electric signal acquired from the first power supply circuit 105 into a target electric signal to transmit the target electric signal to the drive control circuit 102;
The driving control circuit 102 is configured to control the controlled device 107 to be in an operating state according to the target electrical signal.
In the embodiment of the invention, optionally, the polarity parameter of the sensor may be NPN type or PNP type. When the polarity parameter of the sensor is NPN type, the power switching command matched with the polarity parameter of the sensor is to switch the power terminal of the sensor access circuit 103 to be electrically connected to the power negative terminal of the first power supply circuit 105 (at this time, the power terminal of the polarity switching circuit 101 is switched to be electrically connected to the power positive terminal of the first power supply circuit 105); when the polarity parameter of the sensor is PNP, the power switching command matched with the polarity parameter of the sensor is to switch the power terminal of the sensor access circuit 103 to be electrically connected to the power positive terminal of the first power supply circuit 105 (at this time, the power terminal of the polarity switching circuit 101 is switched to be electrically connected to the power negative terminal of the first power supply circuit 105).
Further, when the polarity parameter of the sensor 104 is NPN, the electrical signal acquired by the polarity switching module from the first power supply circuit 105 is a low-level electrical signal; when the polarity parameter of the sensor 104 is PNP, the electrical signal acquired by the polarity switching module from the first power supply circuit 105 is a high-level electrical signal.
Therefore, the implementation of the automatic switching device for the polarity of the input and output of the PLC described in fig. 1 can execute the power polarity switching operation on the first power supply circuit through the received power switching instruction matched with the polarity parameter of the sensor, and then convert the electric signal acquired from the first power supply circuit into the target electric signal based on the conducting state between the sensor and the first power supply circuit, so as to control the controlled device to be in the working state according to the target electric signal, thus, compared with the traditional switching mode adopting the relay or jumper pins, the installation process of the circuit is simplified, the integration level of the industrial control board is reduced, and the installation cost is reduced; meanwhile, the device can be accessed by an NPN type sensor and a PNP type sensor, so that the control process of the working state of the controlled equipment is realized, and the compatibility of the device and the control flexibility of the controlled equipment are improved.
In an alternative embodiment, the polarity switching circuit 101 includes a polarity switching module and an electro-optic-to-electrical conversion module U4, wherein:
the detection end of the electro-optic-electric conversion module U4 is used for being electrically connected with the feedback end of the sensor access circuit 103, and the power supply switching end of the polarity switching module is used for being electrically connected with the first power supply circuit 105;
The signal output end of the polarity switching module is electrically connected with the signal receiving end of the electro-optic electric conversion module U4, the signal output end of the electro-optic electric conversion module U4 is electrically connected with the signal receiving end of the driving control circuit 102, and the power end of the electro-optic electric conversion module U4 is used for being electrically connected with the second power supply circuit 106;
a polarity switching module, configured to, when detecting that the sensor 104 is connected to the sensor connection circuit 103 and receiving a power switching instruction matched with a polarity parameter of the sensor 104, perform a power polarity switching operation on the first power supply circuit 105 according to the power switching instruction, so as to control conduction between the sensor 104 connected to the sensor connection circuit 103 and the first power supply circuit 105, and transmit an electrical signal acquired from the first power supply circuit 105 to the electro-optical conversion module U4;
the electro-optical-electrical conversion module U4 is configured to convert an electrical signal into an optical signal and convert the optical signal into a target electrical signal, so as to transmit the target electrical signal to the drive control circuit 102.
In this alternative embodiment, whether the accessed sensor is NPN type, the acquired electrical signal is a low level electrical signal, or the accessed sensor is PNP type, the acquired electrical signal is a high level electrical signal, the electro-optical conversion module can convert the low/high level electrical signal into an optical signal, and convert the optical signal into a target electrical signal, so as to implement a process of controlling the working state of the controlled device 107. Optionally, the electro-optic-electric conversion module may include a bidirectional optocoupler device, or may include other devices capable of implementing an electro-optic-electric signal conversion process (specifically, as shown in fig. 2, fig. 2 is a schematic structural diagram of a polarity switching circuit 101 according to an embodiment of the present invention.)
For example, as shown in fig. 3, fig. 3 is a topology diagram of input polarity switching disclosed in the embodiment of the present invention, wherein when an NPN-type sensor is selected to be connected, then according to a corresponding power switching command, the COM end of the PLC master control board (i.e. the power switching end of the polarity switching module) is connected to the power positive end of the first power supply circuit 105, and the power end of the sensor access circuit 103 connected to the NPN-type sensor is connected to the power negative end of the first power supply circuit 105, so that when the NPN-type sensor is connected and operates, the bidirectional optocoupler (such as the bidirectional optocoupler isolation circuit in fig. 3) receives a low-level (ground) signal, that is, a ground loop is provided for the bidirectional optocoupler, and then the internal light emitting/light sensing diode of the input end of the bidirectional optocoupler is also turned on, which represents that the NPN-type sensor is connected and operates normally, and then the internal light sensing transistor of the output end of the bidirectional optocoupler is also turned on, so as to output a target electrical signal (such as a high-level voltage of about DC 3-3.5V) to control the next stage circuit;
when the PNP type sensor is selected to be connected, then according to the corresponding power switching instruction, the COM end of the PLC master control board (i.e., the power switching end of the polarity switching module) is connected to the power negative end of the first power supply circuit 105, and the power end of the sensor access circuit 103 connected to the PNP type sensor is connected to the power positive end of the first power supply circuit 105, so that when the PNP type sensor is connected and works, the bidirectional optocoupler (such as the bidirectional optocoupler isolation circuit in fig. 3) receives a high-level (power positive) signal, which is equivalent to providing a power positive power supply circuit for the bidirectional optocoupler, at this time, the internal light emitting/light sensing diode of the input end of the bidirectional optocoupler is also turned on, representing that the NPN type sensor is connected and works normally, and then the internal light sensing tube of the output end of the bidirectional optocoupler is also turned on, so as to output a target electrical signal (such as a high-level voltage of about DC 3-3.5V) to control the next stage circuit;
Thus, as set forth above: the device can be compatible with 2 sensors with different polarities at the same input port, and realizes the purpose of switching the input polarities.
Therefore, by implementing the embodiment of the invention, the PLC input/output polarity automatic switching device can be compatible with sensors with different polarities at the same input port through the switching of the power polarity and the signal conversion process of the electro-optic conversion module, and compared with the traditional switching process, the compatibility of the input port to the polarity of the sensor is improved, and the control flexibility of controlled equipment is further improved, so that the application universality of the device is improved.
In another alternative embodiment, drive control circuit 102 includes at least one drive control sub-circuit, each including a corresponding switch control module Q42/Q1, wherein for each drive control sub-circuit:
the signal receiving end of the switch control module Q42/Q1 is electrically connected with the signal output end of the electro-optic electric conversion module U4, and the enabling end of the switch control module Q42/Q1 is used for being electrically connected with the controlled equipment 107;
the switch control module Q42/Q1 is configured to switch from an off state to an on state when receiving the target electrical signal, so as to control the controlled device 107 to be in an operating state according to the target electrical signal based on the on state.
In this alternative embodiment, as shown in fig. 4, fig. 4 is a schematic structural diagram of a driving control sub-circuit disclosed in the embodiment of the present invention, optionally, the switch control module Q42/Q1 may include a MOS transistor (the volume of the MOS transistor is far smaller than that of the relay), and may also include a relay, where when the switch control module Q42/Q1 includes a MOS transistor and is an N-channel MOS transistor, a gate of the N-channel MOS transistor is electrically connected to a signal output end of the electro-optic electric conversion module U4, and a source and a drain of the N-channel MOS transistor are both electrically connected to the controlled device 107.
For example, as shown in fig. 5, fig. 5 is a topology diagram of output polarity switching disclosed in the embodiment of the present invention, that is, after the sensor access circuit 103 is connected to a sensor, all switch control modules will receive a target electrical signal (such as a DC3-3.5V high voltage signal output by the cpu_io output end) sent from the electro-optic conversion module, and then switch from an off state to an on state, and implement operation control on the controlled device 107 according to the target electrical signal via the output terminal; if the sensor access circuit 103 is not connected to the sensor, the switch control module cannot receive the target electrical signal, and is in the off state at this time, and the controlled device 107 is in the off state.
Therefore, the embodiment of the invention can intelligently realize the working/closing control process of the controlled equipment through the switch control module, and can reliably and accurately control the controlled equipment compared with the traditional switching process, so that the controlled equipment is in a working state in time, and the use requirement of staff on the controlled equipment is met.
In yet another alternative embodiment, as shown in fig. 2, the polarity switching circuit 101 further includes a first protection module R5, a pull-up bias module R10, and a pull-down bias module R11, wherein:
the first end of the first protection module R5 is electrically connected to the feedback end of the sensor access circuit 103, and the second end of the first protection module R5 is electrically connected to the detection end of the electro-optic-electric conversion module U4;
the first end of the pull-up bias module R10 is electrically connected to the second power supply circuit 106, and the second end of the pull-up bias module R10 is electrically connected to the power supply end of the electro-optic-electric conversion module U4;
the first end of the pull-down bias module R11 is electrically connected with the signal output end of the electro-optic electric conversion module U4 and the signal receiving ends of all the switch control modules Q42/Q1, and the second end of the pull-down bias module R11 is used for grounding.
In this alternative embodiment, optionally, the first protection module R5 includes a current-limiting voltage-dividing resistor (which may be a single current-limiting voltage-dividing resistor or a plurality of current-limiting voltage-dividing resistors connected in series/parallel), or may include other devices capable of implementing a current-limiting voltage-dividing function; the pull-up bias module R10 includes a pull-up bias resistor (which may be a single pull-up bias resistor or a plurality of pull-up bias resistors connected in series/parallel), or may include other devices capable of implementing a pull-up bias function; and the pull-down bias module R11 includes a pull-down bias resistor (which may be a single pull-down bias resistor or a plurality of pull-down bias resistors connected in series/parallel), or may include other devices capable of implementing a pull-down bias function.
Further, as an alternative embodiment, as shown in fig. 4, each driving control sub-circuit further includes a corresponding second protection module R2/R4 and a bleed charge module R1/R3, where, for each driving control sub-circuit:
the first end of the second protection module R2/R4 is electrically connected with the signal output end of the electro-optic electric conversion module U4, and the second end of the second protection module R2/R4 is electrically connected with the signal receiving end of the corresponding switch control module Q42/Q1;
the first end of the charge discharging module R1/R3 is electrically connected with the signal receiving end of the corresponding switch control module Q42/Q1 and the second end of the second protection module R2/R4, and the second end of the charge discharging module R1/R3 is used for grounding.
In this optional embodiment, the second protection module R2/R4 may optionally include a resistor that can slow the conduction speed of the switch control module Q42/Q1 (such as a MOS transistor) too fast and prevent the surrounding devices from being easily broken down under the high voltage condition, and may also include other devices that can implement the above functions; the charge discharging module R1/R3 comprises a resistor which can timely discharge charges stored by the grid electrode of the MOS tube and realize current limiting and voltage dividing, and can also comprise other devices capable of realizing the functions.
Still further, as an alternative embodiment, as shown in fig. 2, the electro-optic-electric conversion module U4 includes a bidirectional optocoupler device, in which:
the first input end of the bidirectional optical coupler device is electrically connected with the second end of the first protection module R5, the second input end of the bidirectional optical coupler device is electrically connected with the signal output end of the polarity switching module, the first output end of the bidirectional optical coupler device is electrically connected with the first ends of all the second protection modules R2/R4, and the second output end of the bidirectional optical coupler device is electrically connected with the second end of the pull-up bias module R10.
Therefore, compared with the traditional switching mode, the embodiment of the invention is beneficial to improving the operation safety of the device circuit, further beneficial to enabling the device to normally realize the input-output polarity switching process of the PLC, and further beneficial to the normal operation of controlled equipment.
In yet another alternative embodiment, as shown in fig. 2 and 4, the polarity switching circuit 101 further comprises an access status indication module LED9, wherein:
the signal receiving end of the access state indicating module LED9 is electrically connected with the signal output end of the polarity switching module, and the signal output end of the access state indicating module LED9 is electrically connected with the signal receiving end of the electro-optic electric conversion module U4;
And, each drive control sub-circuit further includes a corresponding status indication module LD1/LD2, wherein for each drive control sub-circuit:
the first end of the status indication module LD1/LD2 is electrically connected with the second end of the corresponding charge discharging module R1/R3, and the second end of the status indication module LD1/LD2 is used for grounding.
In this alternative embodiment, wherein the access status indication module LED9 comprises an electrodeless light tube. Specifically, when the NPN-type sensor is connected, the power supply switching end of the polarity switching module is switched to be electrically connected to the power supply positive end of the first voltage supply circuit, so that a ground loop is formed, and the connection state indicating module LED9 receives a low-level signal at this time, so as to be turned on; when the PNP type sensor is connected, the power supply switching end of the polarity switching module is switched to be electrically connected with the power supply negative end of the first voltage supply circuit, so that a positive power supply loop is formed, and the connected state indicating module LED9 receives a high-level signal at the moment, so that the PNP type sensor is lightened.
Further, the corresponding status indication module LD1/LD2 in each driving control sub-circuit may include a corresponding electrodeless light emitting tube, and after the sensor is connected to the sensor connection circuit 103, the corresponding electrodeless light emitting tube is also lightened, so as to play a role in status indication.
Thus, in summary, according to the on-state conditions of the electrodeless luminous tubes in the polarity switching circuit 101 and the electrodeless luminous tubes in all driving control sub-circuits, the abnormal conditions of the current sensor access/work and the abnormal conditions of the control circuit corresponding to the controlled device 107 can be timely obtained.
Therefore, by implementing the embodiment of the invention, the abnormal condition of the access/work of the current sensor and the abnormal condition of the control circuit corresponding to the controlled equipment can be prompted by constructing the corresponding state indicating module, and compared with the traditional switching mode, the abnormal condition of the sensor and the circuit can be known in time by staff, so that the abnormal condition of the sensor and the circuit in the device can be processed by the staff based on prompt information.
Example two
Referring to fig. 6, fig. 6 is a flow chart of a switching method for PLC input/output polarity according to an embodiment of the present invention. Specifically, the switching method is applied to a PLC input/output polarity automatic switching device, and the PLC input/output polarity automatic switching device comprises a polarity switching circuit and a driving control circuit. Optionally, the connection manner between the circuits, modules and devices in the PLC input/output polarity automatic switching device may refer to any PLC input/output polarity automatic switching device described in the first embodiment, which is not limited in the embodiments of the present invention. As shown in fig. 6, the switching method may include the following steps:
201. When the polarity switching circuit detects that the sensor is connected to the sensor connection circuit and receives a power supply switching instruction matched with the polarity parameter of the sensor, the polarity switching circuit executes power supply polarity switching operation on the first power supply circuit according to the power supply switching instruction so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit, and converts an electric signal acquired from the first power supply circuit into a target electric signal so as to transmit the target electric signal to the drive control circuit;
202. the driving control circuit controls the controlled equipment to be in a working state according to the target electric signal.
In the embodiment of the invention, further, when the polarity parameter of the sensor is NPN type, the power supply switching instruction matched with the polarity parameter of the sensor is to switch the power supply terminal of the sensor access circuit to be electrically connected with the power supply negative terminal of the first power supply circuit;
when the polarity parameter of the sensor is PNP, the power supply switching instruction matched with the polarity parameter of the sensor is to switch the power supply end of the sensor access circuit to be electrically connected with the power supply positive end of the first power supply circuit.
Still further, when the polarity parameter of the sensor is NPN, the electrical signal obtained by the polarity switching module from the first power supply circuit is a low-level electrical signal;
When the polarity parameter of the sensor is PNP, the electric signal acquired by the polarity switching module from the first power supply circuit is a high-level electric signal.
As can be seen, implementing the switching method described in fig. 6 can execute the power polarity switching operation on the first power supply circuit by the received power switching instruction matched with the polarity parameter of the sensor, and then convert the electrical signal acquired from the first power supply circuit into the target electrical signal based on the conductive state between the sensor and the first power supply circuit, so as to control the controlled device to be in a working state according to the target electrical signal, thus, compared with the traditional switching mode using a relay or jumper pins, the installation process of the circuit is simplified, the integration level of the industrial control board is reduced, and the installation cost is reduced; meanwhile, the device can be accessed by an NPN type sensor and a PNP type sensor, so that the control process of the working state of the controlled equipment is realized, and the compatibility of the device and the control flexibility of the controlled equipment are improved.
In an alternative embodiment, the polarity switching circuit includes a polarity switching module and an electro-optic electric conversion module, wherein when the polarity switching circuit detects that the sensor is connected to the sensor connection circuit and receives a power switching instruction matched with a polarity parameter of the sensor, the polarity switching circuit performs a power polarity switching operation on the first power supply circuit according to the power switching instruction to control conduction between the sensor connected to the sensor connection circuit and the first power supply circuit, and converts an electric signal acquired from the first power supply circuit into a target electric signal to transmit the target electric signal to the drive control circuit, and the method includes:
When the polarity switching module detects that the sensor is connected to the sensor connection circuit and receives a power supply switching instruction matched with the polarity parameter of the sensor, the polarity switching module executes power supply polarity switching operation on the first power supply circuit according to the power supply switching instruction so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit and transmit an electric signal acquired from the first power supply circuit to the electro-optical-electric conversion module;
the electro-optical-electric conversion module converts the electric signal into an optical signal and converts the optical signal into a target electric signal to transmit the target electric signal to the drive control circuit.
Therefore, the optional embodiment can enable the PLC input/output polarity automatic switching device to be compatible with sensors with different polarities at the same input port through the switching of the power polarity and the signal conversion process of the electro-optic conversion module, and compared with the traditional switching process, the compatibility of the input port to the polarity of the sensor is improved, and the control flexibility of controlled equipment is further improved, so that the application universality of the device is improved.
In yet another alternative embodiment, the drive control circuit includes at least one drive control sub-circuit, each including a corresponding switch control module, wherein the drive control circuit controls the controlled device to be in an operating state according to the target electrical signal, including:
For each switch control module in each drive control sub-circuit, when the switch control module receives the target electric signal, the switch control module is converted from the cut-off state to the conduction state, so that the controlled equipment is controlled to be in the working state according to the target electric signal based on the conduction state.
Therefore, the optional embodiment can intelligently realize the working/closing control process of the controlled equipment through the switch control module, and can reliably and accurately control the controlled equipment compared with the traditional switching process, so that the controlled equipment is in a working state in time, and the use requirement of staff on the controlled equipment is met.
Example III
Referring to fig. 7, fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention, where the electronic device includes any PLC input/output polarity automatic switching device according to the first embodiment, and the electronic device may be applied to a chemical component device (e.g., a chemical component integrated machine) in a new energy power battery automation line. It should be noted that, for a detailed description of the PLC input/output polarity automatic switching device, please refer to the detailed description of the related content in the first embodiment, and the detailed description is omitted.
As can be seen, implementing the electronic device described in fig. 7 can execute the power polarity switching operation on the first power supply circuit through the received power switching instruction matched with the polarity parameter of the sensor, and then convert the electrical signal acquired from the first power supply circuit into the target electrical signal based on the conductive state between the sensor and the first power supply circuit, so as to control the controlled device to be in a working state according to the target electrical signal, thus, compared with the traditional switching mode using a relay or jumper pins, the installation process of the circuit is simplified, the integration level of the industrial control board is reduced, and the installation cost is reduced; meanwhile, the device can be accessed by an NPN type sensor and a PNP type sensor, so that the control process of the working state of the controlled equipment is realized, and the compatibility of the device and the control flexibility of the controlled equipment are improved.
Example IV
Referring to fig. 8, fig. 8 is a schematic structural diagram of another PLC input/output polarity automatic switching device according to an embodiment of the present invention. As shown in fig. 8, the PLC input-output polarity automatic switching device may include:
a memory 401 storing executable program codes;
a processor 402 coupled with the memory 401;
The processor 402 invokes executable program code stored in the memory 401 to perform the steps in the handover method described in the second embodiment of the present invention.
Example five
The embodiment of the invention discloses a computer storage medium which stores computer instructions for executing the steps in the switching method described in the second embodiment of the invention when the computer instructions are called.
Example six
The present embodiment discloses a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform the steps of the handover method described in the second embodiment.
The circuit embodiments described above are merely illustrative, in which the modules illustrated as separate components may or may not be physically separate, and the components shown as modules may or may not be physical, i.e., may be located in one place, or may be distributed over multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above detailed description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course by means of hardware. Based on such understanding, the foregoing technical solutions may be embodied essentially or in part in the form of a software product that may be stored in a computer-readable storage medium including Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), programmable Read-Only Memory (Programmable Read-Only Memory, PROM), erasable programmable Read-Only Memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable Read-Only Memory (OTPROM), electrically erasable programmable Read-Only Memory (EEPROM), compact disc Read-Only Memory (Compact Disc Read-Only Memory, CD-ROM) or other optical disc Memory, magnetic disc Memory, tape Memory, or any other medium that can be used for computer-readable carrying or storing data.
Finally, it should be noted that: the embodiment of the invention discloses a PLC input/output polarity automatic switching device, a switching method and electronic equipment, which are disclosed by the embodiment of the invention and are only used for illustrating the technical scheme of the invention, but not limiting the technical scheme; although the invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that; the technical scheme recorded in the various embodiments can be modified or part of technical features in the technical scheme can be replaced equivalently; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.

Claims (10)

1. The utility model provides a PLC input/output polarity automatic switching control equipment which characterized in that, the device includes polarity switching circuit and drive control circuit, wherein:
the detection end of the polarity switching circuit is used for being electrically connected with the feedback end of the sensor access circuit, the access end of the sensor access circuit is used for being electrically connected with a sensor to be operated, and the power supply switching end of the polarity switching circuit and the power supply end of the sensor access circuit are both used for being electrically connected with the first power supply circuit;
The signal output end of the polarity switching circuit is electrically connected with the signal receiving end of the driving control circuit, the power end of the polarity switching circuit is used for being electrically connected with the second power supply circuit, and the enabling end of the driving control circuit is used for being electrically connected with the controlled equipment;
the polarity switching circuit is used for executing power polarity switching operation on the first power supply circuit according to the power switching instruction when the sensor is detected to be connected to the sensor connection circuit and a power switching instruction matched with the polarity parameter of the sensor is received, so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit, and converting the electric signal acquired from the first power supply circuit into a target electric signal so as to transmit the target electric signal to the drive control circuit;
the driving control circuit is used for controlling the controlled equipment to be in a working state according to the target electric signal.
2. The PLC input/output polarity automatic switching device of claim 1, wherein the polarity switching circuit comprises a polarity switching module and an electro-optic-electric conversion module, wherein:
The detection end of the electro-optic electric conversion module is used for being electrically connected with the feedback end of the sensor access circuit, and the power supply switching end of the polarity switching module is used for being electrically connected with the first power supply circuit;
the signal output end of the polarity switching module is electrically connected with the signal receiving end of the electro-optical electric conversion module, the signal output end of the electro-optical electric conversion module is electrically connected with the signal receiving end of the driving control circuit, and the power end of the electro-optical electric conversion module is electrically connected with the second power supply circuit;
the polarity switching module is used for executing power polarity switching operation on the first power supply circuit according to the power switching instruction when the sensor is detected to be connected to the sensor connection circuit and a power switching instruction matched with the polarity parameter of the sensor is received, so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit and transmit the electric signal acquired from the first power supply circuit to the electro-optical electric conversion module;
the electro-optical-electric conversion module is used for converting the electric signal into an optical signal and converting the optical signal into a target electric signal so as to transmit the target electric signal to the drive control circuit;
When the polarity parameter of the sensor is NPN type, the power supply switching instruction matched with the polarity parameter of the sensor is to switch the power supply end of the sensor access circuit to be electrically connected with the power supply negative end of the first power supply circuit, and the electric signal acquired by the polarity switching module from the first power supply circuit is a low-level electric signal;
when the polarity parameter of the sensor is PNP type, the power supply switching instruction matched with the polarity parameter of the sensor is to switch the power supply end of the sensor access circuit to be electrically connected with the power supply positive end of the first power supply circuit, and the electric signal acquired by the polarity switching module from the first power supply circuit is a high-level electric signal.
3. The PLC input-output polarity automatic switching device of claim 2, wherein the drive control circuit includes at least one drive control sub-circuit, each of the drive control sub-circuits including a corresponding switch control module, wherein for each of the drive control sub-circuits:
the signal receiving end of the switch control module is electrically connected with the signal output end of the electro-optic conversion module, and the enabling end of the switch control module is used for being electrically connected with the controlled equipment;
The switch control module is used for switching from a cut-off state to a conduction state when the target electric signal is received, so as to control the controlled equipment to be in a working state according to the target electric signal based on the conduction state.
4. The PLC input/output polarity automatic switching device of claim 3, wherein the polarity switching circuit further comprises a first protection module, a pull-up bias module, and a pull-down bias module, wherein:
the first end of the first protection module is used for being electrically connected with the feedback end of the sensor access circuit, and the second end of the first protection module is electrically connected with the detection end of the electro-optic conversion module;
the first end of the pull-up bias module is used for being electrically connected with the second power supply circuit, and the second end of the pull-up bias module is electrically connected with the power supply end of the electro-optic electric conversion module;
the first end of the pull-down bias module is electrically connected with the signal output end of the electro-optic electric conversion module and the signal receiving ends of all the switch control modules, and the second end of the pull-down bias module is used for grounding.
5. The PLC input-output polarity automatic switching device of claim 4, wherein each of the drive control subcircuits further comprises a corresponding second protection module and a bleed charge module, wherein for each of the drive control subcircuits:
The first end of the second protection module is electrically connected with the signal output end of the electro-optic conversion module, and the second end of the second protection module is electrically connected with the signal receiving end of the corresponding switch control module;
the first end of the charge discharging module is electrically connected with the signal receiving end of the corresponding switch control module and the second end of the second protection module, and the second end of the charge discharging module is used for being grounded;
the electro-optic-electric conversion module comprises a bidirectional optocoupler device, wherein:
the first input end of the bidirectional optical coupler device is electrically connected with the second end of the first protection module, the second input end of the bidirectional optical coupler device is electrically connected with the signal output end of the polarity switching module, the first output ends of the bidirectional optical coupler device are electrically connected with the first ends of all the second protection modules, and the second output ends of the bidirectional optical coupler device are electrically connected with the second ends of the pull-up bias modules;
and, the polarity switching circuit further comprises an access status indication module, wherein:
the signal receiving end of the access state indicating module is electrically connected with the signal output end of the polarity switching module, and the signal output end of the access state indicating module is electrically connected with the signal receiving end of the electro-optic conversion module;
And, each of the drive control sub-circuits further includes a corresponding status indication module, wherein for each of the drive control sub-circuits:
the first end of the state indicating module is electrically connected with the second end of the corresponding charge discharging module, and the second end of the state indicating module is used for being grounded.
6. The switching method is characterized by being applied to a PLC input/output polarity automatic switching device, wherein the PLC input/output polarity automatic switching device comprises a polarity switching circuit and a driving control circuit, and the method comprises the following steps:
when the polarity switching circuit detects that a sensor is connected to a sensor connection circuit and receives a power supply switching instruction matched with a polarity parameter of the sensor, according to the power supply switching instruction, power supply polarity switching operation is performed on a first power supply circuit so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit, and an electric signal acquired from the first power supply circuit is converted into a target electric signal so as to transmit the target electric signal to the drive control circuit;
And the driving control circuit controls the controlled equipment to be in a working state according to the target electric signal.
7. The switching method according to claim 6, wherein the polarity switching circuit includes a polarity switching module and an electro-optical conversion module, wherein when the polarity switching circuit detects that a sensor is connected to a sensor connection circuit and receives a power switching instruction matching a polarity parameter of the sensor, the polarity switching circuit performs a power polarity switching operation on a first power supply circuit according to the power switching instruction to control conduction between the sensor connected to the sensor connection circuit and the first power supply circuit, and converts an electric signal acquired from the first power supply circuit into a target electric signal to transmit the target electric signal to the drive control circuit, comprising:
when the polarity switching module detects that a sensor is connected to a sensor connection circuit and receives a power supply switching instruction matched with a polarity parameter of the sensor, the polarity switching module executes power supply polarity switching operation on a first power supply circuit according to the power supply switching instruction so as to control the connection between the sensor connected to the sensor connection circuit and the first power supply circuit and transmit an electric signal acquired from the first power supply circuit to the electro-optic-electric conversion module;
The electro-optical-to-electrical conversion module converts the electrical signal into an optical signal and converts the optical signal into a target electrical signal to transmit the target electrical signal to the drive control circuit.
8. The switching method according to claim 7, wherein the drive control circuit includes at least one drive control sub-circuit, each of the drive control sub-circuits includes a corresponding switch control module, wherein the drive control circuit controls the controlled device to be in an operating state according to the target electrical signal, including:
for each switch control module in each drive control sub-circuit, when the switch control module receives the target electric signal, the switch control module is switched from an off state to an on state, so that the controlled equipment is controlled to be in a working state according to the target electric signal based on the on state.
9. An electronic device, characterized in that it comprises the PLC input-output polarity automatic switching device according to any one of claims 1 to 5.
10. A computer storage medium storing computer instructions which, when invoked, are adapted to perform a handover method according to any of claims 6-8.
CN202311435105.5A 2023-11-01 2023-11-01 PLC input/output polarity automatic switching device, switching method and electronic equipment Active CN117148780B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311435105.5A CN117148780B (en) 2023-11-01 2023-11-01 PLC input/output polarity automatic switching device, switching method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311435105.5A CN117148780B (en) 2023-11-01 2023-11-01 PLC input/output polarity automatic switching device, switching method and electronic equipment

Publications (2)

Publication Number Publication Date
CN117148780A true CN117148780A (en) 2023-12-01
CN117148780B CN117148780B (en) 2024-01-26

Family

ID=88908559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311435105.5A Active CN117148780B (en) 2023-11-01 2023-11-01 PLC input/output polarity automatic switching device, switching method and electronic equipment

Country Status (1)

Country Link
CN (1) CN117148780B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5072167A (en) * 1990-05-22 1991-12-10 Acme Electric Corporation Autopolarity battery charger
JPH07254852A (en) * 1994-03-15 1995-10-03 Omron Corp Multi-input circuit, circuit and controller using the same circuit
CN104467044A (en) * 2013-09-22 2015-03-25 深圳市海洋王照明工程有限公司 Charging control circuit and charger
CN106787130A (en) * 2016-12-20 2017-05-31 深圳市元征科技股份有限公司 A kind of power supply switch circuit and terminal
US20190363554A1 (en) * 2018-05-22 2019-11-28 Microsoft Technology Licensing, Llc Power polarity detection for accessory mode change
CN210225388U (en) * 2019-09-26 2020-03-31 中国工程物理研究院计算机应用研究所 Photoelectric isolation module compatible with NPN and PNP type sensors
CN111045361A (en) * 2019-12-05 2020-04-21 广东嘉腾机器人自动化有限公司 Program-controlled NPN _ PNP switching input circuit and circuit board
CN210430939U (en) * 2019-06-28 2020-04-28 深圳市锐明技术股份有限公司 Charging control switching circuit and charging control switching system
CN113131923A (en) * 2021-04-29 2021-07-16 烟台环球机床装备股份有限公司 Source type drain type automatic compatible interface circuit
CN216086607U (en) * 2021-04-30 2022-03-18 广东嘉腾机器人自动化有限公司 Input circuit and circuit board for program control NPN-PNP switching
CN217469748U (en) * 2021-11-08 2022-09-20 昆明理工大学 Driving circuit capable of changing output power supply polarity
CN219875135U (en) * 2023-03-30 2023-10-20 广东舜势测控设备有限公司 Charging circuit and formation and separation equipment

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5072167A (en) * 1990-05-22 1991-12-10 Acme Electric Corporation Autopolarity battery charger
JPH07254852A (en) * 1994-03-15 1995-10-03 Omron Corp Multi-input circuit, circuit and controller using the same circuit
CN104467044A (en) * 2013-09-22 2015-03-25 深圳市海洋王照明工程有限公司 Charging control circuit and charger
CN106787130A (en) * 2016-12-20 2017-05-31 深圳市元征科技股份有限公司 A kind of power supply switch circuit and terminal
US20190363554A1 (en) * 2018-05-22 2019-11-28 Microsoft Technology Licensing, Llc Power polarity detection for accessory mode change
CN210430939U (en) * 2019-06-28 2020-04-28 深圳市锐明技术股份有限公司 Charging control switching circuit and charging control switching system
CN210225388U (en) * 2019-09-26 2020-03-31 中国工程物理研究院计算机应用研究所 Photoelectric isolation module compatible with NPN and PNP type sensors
CN111045361A (en) * 2019-12-05 2020-04-21 广东嘉腾机器人自动化有限公司 Program-controlled NPN _ PNP switching input circuit and circuit board
CN113131923A (en) * 2021-04-29 2021-07-16 烟台环球机床装备股份有限公司 Source type drain type automatic compatible interface circuit
CN216086607U (en) * 2021-04-30 2022-03-18 广东嘉腾机器人自动化有限公司 Input circuit and circuit board for program control NPN-PNP switching
CN217469748U (en) * 2021-11-08 2022-09-20 昆明理工大学 Driving circuit capable of changing output power supply polarity
CN219875135U (en) * 2023-03-30 2023-10-20 广东舜势测控设备有限公司 Charging circuit and formation and separation equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
孙长明: ""浅谈基于51系列单片机对PNP型传感器输出的电路设计"", 《科技创新导报》, no. 30, pages 59 *

Also Published As

Publication number Publication date
CN117148780B (en) 2024-01-26

Similar Documents

Publication Publication Date Title
CN102904291B (en) Charging device and control method
CN102749496A (en) Multi-functional digital electronic detonator current detection device
CN201302715Y (en) Device for computers
CN207752441U (en) A kind of software and hardware on/off circuit
CN109032318A (en) A kind of power monitoring system and storage server system
CN113708467B (en) Electrifying circuit, battery backup unit and storage server system
CN203289395U (en) On-off circuit and electronic device
CN117148780B (en) PLC input/output polarity automatic switching device, switching method and electronic equipment
CN201084793Y (en) Battery management device
CN213521336U (en) Portable power supply
CN201570897U (en) Two-supply switching circuit for electronic-type electric energy meter
CN105223516A (en) A kind of electric quantity of lithium battery analog voltage output unit
CN109742938B (en) Anti-interference delay start control circuit and system
CN103107577B (en) Battery management circuit and terminal
CN203520299U (en) Timer-power-on control circuit
CN216451154U (en) Multi-battery parallel charging circuit and robot
CN210861925U (en) Time-delay protection circuit of refrigerator compressor
CN204425346U (en) Optical fiber serial connection equipment Hot Spare protection system
CN204424872U (en) Optical switch switching protection
CN112714105A (en) Embedded OPC UA protocol conversion system
CN104600797A (en) Battery management circuit and terminal
CN206313479U (en) A kind of on-board battery charging circuit
CN112858894A (en) Detection method and detection device for working state of contactor, storage medium and vehicle
CN221862477U (en) Low-power consumption power module and system
CN205038486U (en) Embedded universal controller based on arduino

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant