Programmable logic controller

By integrating a capacitor between signal and IO ground patterns on the printed circuit board, the PLCs address noise resistance issues in serial communication, ensuring stable operation despite external noise, thereby improving noise resistance and reducing circuit malfunctions.

WO2024241715A1PCT designated stage expired Publication Date: 2024-11-28MITSUBISHI ELECTRIC CORP

Patent Information

Application Number
PCT/JP2024/013637
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-19
Filing Date
2024-04-02
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

Programmable logic controllers (PLCs) using serial communication face issues with noise resistance due to increased noise-induced voltage caused by external noise, which affects the functionality of the circuit, especially when compared to parallel communication methods.

Method used

Incorporating a printed circuit board with a signal ground pattern and an IO ground pattern, along with a capacitor connected between the signal ground and IO ground patterns, to reduce noise interference by providing a bypass path for noise currents and maintaining impedance balance across different frequency bands.

Benefits of technology

This configuration effectively suppresses noise-induced malfunctions in serial communication circuits, enhancing the noise resistance of PLCs and maintaining circuit stability even under noisy conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2024013637_28112024_PF_FP_ABST
    Figure JP2024013637_28112024_PF_FP_ABST
Patent Text Reader

Abstract

This programmable logic controller is provided with: a control element (2) that is disposed on an SG pattern (14) and provided with at least one serial communication unit (3a), (3b); at least one output element (5a), (5b) that is disposed on an IOGND pattern (15) and transmits and receives serial data to and from the serial communication unit (3a), (3b); a plurality of terminals that are disposed on the SG pattern (14) and connected to the at least one serial communication unit (3a), (3b); at least one insulating element (4) that is disposed on the IOGND pattern (15) and has a plurality of terminals connected to the at least one output element; and at least one capacitor (6a) that has a first electrode connected to the SG pattern (14) and a second electrode connected to the IOGND pattern (15).
Need to check novelty before this filing date? Find Prior Art

Description

programmable logic controller

[0001] The present disclosure relates to programmable logic controllers.

[0002] In the output circuit of a typical PLC (Programmable Logic Controller), parallel communication is performed between the control element and the output element via an isolation element. Each communication signal is not synchronized, but is transmitted to the connected device as an independent asynchronous signal. However, because PLCs require several dozen output points, the circuit board must be equipped with output signal lines equal to the number of outputs, along with a corresponding number of isolation elements. This results in the problem of an increased circuit size for the PLC.

[0003] In order to reduce the scale of the circuit between the control element and the output element, a circuit configuration using serial communication for communication between the control element and the output element is known. Patent Document 1 discloses a method for connecting multiple slave devices (receiving devices) to the interface of a control circuit possessed by a master device. By adopting serial communication, the number of signal lines can be reduced compared to parallel communication, and the scale of the circuit, including the number of isolation elements, can be reduced.

[0004] Japanese Patent Application Laid-Open No. 2017-117245

[0005] However, when external noise propagates to a PLC, the following problems occur: noise current concentrates in the isolation elements that transmit serial communication signals; the capacitance between the isolation elements decreases, increasing the impedance between the elements and increasing the voltage induced by noise; this causes the serial communication circuit to malfunction, resulting in lower noise resistance compared to output circuits that use conventional parallel communication.

[0006] Therefore, it is an object of the present disclosure to provide a programmable logic controller with high noise immunity.

[0007] The programmable logic controller of the present disclosure comprises: a printed circuit board having a signal ground pattern and an IO ground pattern; a control element arranged on the signal ground pattern and having at least one serial communication unit; at least one output element arranged on the IO ground pattern and transmitting and receiving serial data to and from the serial communication unit; at least one insulating element arranged on the signal ground pattern and having a plurality of terminals connected to the at least one serial communication unit and a plurality of terminals arranged on the IO ground pattern and connected to the at least one output element; and at least one capacitor having a first electrode connected to the signal ground pattern and a second electrode connected to the IO ground pattern.

[0008] The programmable logic controller of the present disclosure can increase the noise resistance of the programmable logic controller by including at least one capacitor having a first electrode connected to the signal ground pattern and a second electrode connected to the IO ground pattern.

[0009] 1 is a diagram showing an example of a control system 100 including a PLC according to a first embodiment. FIG. 2 is a circuit block diagram of a PLC (output unit 1) according to the first embodiment. FIG. 3 is a circuit block diagram including a board GND pattern of the PLC (output unit 1) according to the first embodiment. FIG. 4 is a circuit block diagram of a PLC (output unit 1) according to a modification of the first embodiment. FIG. 5 is a layout diagram of an SG-IOGND capacitor 6a in an output unit 1 according to a second embodiment. FIG. 6 is a diagram showing a path of a noise current when the SG-IOGND capacitor 6a is placed between an IOGND pattern 15 and an SG pattern 14 on a printed circuit board 10 and in a position close to an FG pattern 16. FIG. 7 is a diagram showing a path of a noise current when the SG-IOGND capacitor 6a is placed between an IOGND pattern 15 and an SG pattern 14 on a printed circuit board 10 and directly below an insulating element 4 on the opposite side of the insulating element 4. 10 is a graph showing the relative value of noise intensity in the SPI signal between the input terminal and output terminal of the isolation element 4 when the capacitance value of the SG-IOGND capacitor 6a is changed. FIG. 11 is a circuit block diagram of a PLC (output unit 1) according to a fourth embodiment. FIG. 12 is a graph showing the relative value of noise intensity in the SPI signal between the input terminal and output terminal of the isolation element 4 for each number of SG-IOGND capacitors. FIG. 13 is a circuit block diagram of a PLC (output unit 1) according to a fifth embodiment. FIG. 14 is a circuit block diagram of a PLC (output unit 1) according to a sixth embodiment. FIG. 15 is a circuit block diagram of a PLC (output unit 1) according to a seventh embodiment. FIG. 16 is a circuit block diagram of a PLC (output unit 1) according to an eighth embodiment. FIG. 17 is a circuit block diagram of a PLC (output unit 1) according to a ninth embodiment.

[0010] Hereinafter, embodiments will be described with reference to the accompanying drawings. Note that the embodiments can be freely combined, modified, or omitted as appropriate.

[0011] Embodiment 1 Fig. 1 is a diagram showing an example of a control system 100 including a PLC according to embodiment 1. The PLC includes an output circuit.

[0012] The control system 100 includes a plurality of control units 102 and a backplane 101 that connects the plurality of control units 102 together.

[0013] In the control system 100, an output circuit included in the PLC outputs a signal according to predetermined conditions, depending on the state of a switch, which is an external input device, and the state of an output signal from a sensor or the like, to control an external output device. The control system 100 may be a building type configured by combining control units 102 equipped with various functions, such as a power supply, a CPU (Central Processing Unit), communication, and I / O, or may be a block type or package type (not shown) that integrates the above-mentioned functions. Regardless of the form, the control system 100 has an output circuit function for controlling a device connected to the control system 100. The following explanation will be given as an example, assuming a control unit 102 with a block type structure, and will focus on the output unit.

[0014] Fig. 2 is a circuit block diagram of the PLC (output unit 1) according to embodiment 1. Fig. 3 is a circuit block diagram including a board GND pattern of the PLC (output unit 1) according to embodiment 1.

[0015] 2 and 3 is an output unit 1 equipped with an output circuit. There are two types of output units 1: a sink type and a source type, but the following description will be given taking the sink type as an example.

[0016] The output unit 1 includes at least a control element 2 including serial communication units 3a and 3b, an isolation element 4, output elements 5a and 5b, a printed circuit board 10, a signal ground (SG) pattern 14, an input / output ground (IOGND) pattern 15, and an SG-IOGND capacitor 6a. The output unit 1 may further include, for example, a frame ground (FG) pattern 16, a backplane connector 80 for connecting to a backplane 101, a control power supply circuit 81, an oscillator circuit 82, an FG metal fitting 83, an FG-SG capacitor 84, an IO power supply circuit 90, and an external wiring interface 91. The backplane 101 does not necessarily have to be a printed circuit board and may be formed of a medium such as a flat cable.

[0017] Signals output from serial communication units 3a and 3b of control element 2 are input to output elements 5a and 5b via isolation element 4, and processing according to the input is performed inside output elements 5a and 5b, controlling external equipment via external wiring interface 91. Output unit 1 in Fig. 2 is a reference diagram, and it is sufficient to have one or more serial communication units 3a and 3b, isolation element 4, and output elements 5a and 5b, for example.

[0018] The control element 2 is an integrated circuit (IC) that transmits and receives data to and from the output elements 5a and 5b via the isolation element 4 via SPI (Serial Peripheral Interface) communication. The control element 2 is, for example, a microcontroller unit (MCU), a field programmable gate array (FPGA), or an application specific integrated circuit (ASIC). In addition to the two serial communication units 3a and 3b, the control element 2 may also include a power input supplied from a control power supply circuit 81, a clock input transmitted from an oscillator circuit 82, a CPU, and memory. The number of serial communication units 3a and 3b included in the control element 2 may be one or more, and may be the same as the number of output elements 5a and 5b to increase the amount of data transmitted and received.

[0019] The serial communication units 3a and 3b have multiple external connection terminals (pins, etc.) and are interfaces that communicate serial data with external devices according to SPI communication. The serial communication units 3a and 3b operate independently. The serial communication units 3a and 3b include terminals MOSI and MISO for inputting and outputting serial data signals, a terminal CLK for outputting a clock signal, and a terminal CS for outputting a chip select signal. The terminal MOSI outputs a serial data signal in master mode and receives a serial data signal in slave mode. The terminal MISO receives a serial data signal in master mode and outputs a serial data signal in slave mode. In this embodiment, the control element 2 operates as a master device. Therefore, the terminal MOSI of the serial communication units 3a and 3b outputs a serial data signal, and the terminal MISO of the serial communication units 3a and 3b receives a serial data signal.

[0020] The isolation element 4 is connected between the control element 2 and the output elements 5a and 5b. The isolation element 4 is configured using a photocoupler or a digital isolator, for example. The isolation element 4 prevents external noise from entering the control element 2. The isolation element 4 shown in FIGS. 2 and 3 has eight terminals, allowing eight input signals to be transmitted. As a specific example, the isolation element 4 has eight input terminals IN1 to IN8 and eight output terminals OUT1 to OUT8. A signal input to the input terminal INi (i = 1 to 8) is output from the output terminal OUTi. The isolation element 4 is not limited to an eight-terminal device. The number of terminals of the isolation element 4 may correspond to the number of serial communication units 3a and 3b or output elements 5a and 5b of the control element 2. Multiple isolation elements 4 may be used.

[0021] The output elements 5a and 5b receive serial data through serial communication via the control element 2 and the isolation element 4. The output elements 5a and 5b perform processes such as serial-to-parallel conversion on the received serial data and output parallel signals. As an example, the output elements 5a and 5b function as monolithic power ICs incorporating a control CMOS (Complementary Metal Oxide Semiconductor) and a power MOSFET (Metal Oxide Semiconductor Field Effect Transistor) on a single chip. The output elements 5a and 5b drive external devices, such as resistive loads, inductive loads, or capacitive loads, by outputting parallel signals. Each of the output elements 5a and 5b includes a terminal MOSI for inputting a serial data signal, a terminal MISO for outputting the serial data signal, a terminal CLK for inputting a clock signal, a terminal CS for inputting a chip select signal, and terminals OUT1 to OUT8 for outputting parallel signals. When the chip select signal input to the terminal CS is active, each of the output elements 5a and 5b acquires the serial data signal input to the terminal MOSI at the timing when the clock signal input to the terminal CLK changes (from H to L), performs processing such as serial / parallel conversion, and outputs parallel signals as OUT1 to OUT8.

[0022] The SG-IOGND capacitor 6a is, for example, a ceramic capacitor, a film capacitor, an aluminum electrolytic capacitor, a tantalum electrolytic capacitor, or a variable capacitor. Preferably, the SG-IOGND capacitor 6a is one that, like a ceramic capacitor, causes an open circuit when it fails. One or more SG-IOGND capacitors 6a are mounted. The SG-IOGND capacitor 6a may be a surface-mounted component or an inserted component.

[0023] Since the product specifications require a withstand voltage between the SG pattern 14 and the IOGND pattern 15, the withstand voltage of the SG-IOGND capacitor 6a must be equal to or greater than the withstand voltage specified in the product specifications. For example, if the withstand voltage is DC 500V, a DC 630V or DC 1000V withstand voltage product is selected as the SG-IOGND capacitor 6a.

[0024] The SG-IOGND capacitor 6a may be disposed between the SG pattern 14 and the IOGND pattern 15. The SG-IOGND capacitor 6a includes a first electrode electrically connected to the SG pattern 14 by soldering or the like, and a second electrode electrically connected to the IOGND pattern 15 by soldering or the like.

[0025] An SG-IOGND capacitor 6a is selected that has a capacitance value greater than the total parasitic capacitance between the input and output of the isolation element 4. Specifically, if the isolation element 4 is an eight-terminal product and the capacitance value per terminal between the input and output is 0.1 pF, the total parasitic capacitance will be 0.8 pF. In this case, an SG-IOGND capacitor 6a with a capacitance value greater than 0.8 pF is selected. Desirably, a capacitor with a larger constant is selected within a range that satisfies the dielectric strength voltage required by the output unit 1; for example, an SG-IOGND capacitor 6a with a capacitance value of 1,000 pF, or more desirably 10,000 pF, can be selected.

[0026] The SG-IOGND capacitor 6a blocks low-frequency noise and bypasses high-frequency noise depending on its capacitance value. Specifically, the SG-IOGND capacitor 6a prevents low-frequency noise, including direct current (DC), from entering from external devices from propagating from the IOGND pattern 15 to the SG pattern 14, and ultimately to the control element 2, while conducting high-frequency noise from the IOGND pattern 15 to the SG pattern 14. The SG-IOGND capacitor 6a reduces the impedance difference between the SG pattern 14 and the IOGND pattern 15 for noise containing high-frequency components, thereby reducing the noise voltage induced between the SG pattern 14 and the IOGND pattern 15 due to noise containing high-frequency components. As a result, the noise voltage induced between the input and output of the isolation element 4 can be suppressed.

[0027] The printed circuit board 10 mounts electronic components such as the control element 2, the insulating element 4, and the output elements 5a and 5b. Circuit wiring, such as an SG pattern 14 and an IOGND pattern 15, is formed on the printed circuit board 10 as power supply wiring, signal wiring, and GND wiring for operating these electronic components. To realize the functions of the circuit blocks shown in FIG. 2 , necessary locations are electrically connected according to the circuit. The printed circuit board 10 includes at least two conductor layers, and wiring (not shown) may be formed on or within the conductor layers. The circuit wiring has a thickness of 1 μm to 2000 μm. The circuit wiring is also formed from a conductive material, such as copper, nickel, gold, aluminum, silver, or tin, or an alloy thereof. The printed circuit board 10 can be made of a material such as glass fiber-reinforced epoxy resin, phenolic resin, polyphenylene sulfide (PPS), or polyether ether ketone (PEEK). The printed circuit board 10 may also be a general-purpose printed circuit board. The printed circuit board 10 may be made of ceramics such as aluminum oxide, aluminum nitride, or silicon carbide.

[0028] The SG pattern 14 is circuit wiring that serves as the reference GND for the control element 2 and the input terminal side of the isolation element 4 formed on the printed circuit board 10. The SG pattern 14 serves as the reference GND for the entire control circuit, including the control element 2 of the output unit 1. The SG pattern 14 is preferably a GND plane (GND mat) rather than a line pattern, so as to have a large area. More preferably, the SG pattern 14 may be configured as a GND plane of multiple conductor layers connected by bare wires. The SG pattern 14 may or may not be connected to the FG pattern 16, which will be described later, via an FG-SG capacitor 84, but it is preferable that the SG pattern 14 be AC-connected to the FG pattern 16 via the FG-SG capacitor 84.

[0029] The circuit wiring of the IOGND pattern 15 is physically separated from the circuit wiring of the SG pattern 14. The IOGND pattern 15 is a circuit wiring that serves as the reference GND for the output terminal side of the isolation element 4 formed on the printed circuit board 10 and for the output elements 5a and 5b. Since the output unit 1 of this embodiment is an example of a sink type, the potential of the IOGND pattern 15 is generally common (COM).

[0030] The FG pattern 16 is a circuit wiring formed on the printed circuit board 10. The potential of the FG pattern 16 is ideally the same as the FG of the control system 100. The FG pattern 16 is electrically connected to a conductor having an FG potential outside the printed circuit board 10 using the FG metal fitting 83 shown in FIG. 3 or a cable (not shown). The printed circuit board 10 of the output unit 1 does not necessarily need to include the FG pattern 16, but it is desirable to have the FG pattern 16. The impedance of the FG pattern 16 relative to earth is lowest compared to the SG pattern 14 and the IOGND pattern 15. The impedance of the IOGND pattern 15 relative to earth is highest. In other words, the FG pattern 16, SG pattern 14, and IOGND pattern 15 are listed in ascending order of impedance value relative to earth. In an industrial environment where the control system 100 is installed, common-mode noise is dominant among the noise components superimposed on the output unit 1 from the outside. The FG pattern 16 can return common mode noise to the ground via the FG pattern 16. The FG pattern 16 and the FG-SG capacitor 84 can reduce the impedance of the SG pattern 14 and the IOGND pattern 15.

[0031] The backplane connector 80 mechanically and electrically connects the output unit 1 to the backplane 101 shown in Fig. 1. The backplane connector 80 may be a surface-mounted component or an insertable component. Control signals, such as the power supply, SG, and system reset signal of the backplane 101, as well as communication signals, are assigned to the pins of the backplane connector 80.

[0032] The control power supply circuit 81 converts the power supplied from the backplane 101 into a power supply voltage for the control element 2 and a power supply voltage for the isolation element 4. The control power supply circuit 81 generates, for example, DC 3.3 V from DC 5 V. The control power supply circuit 81 may be a switching power supply or a linear power supply. The number of control power supply circuits 81 does not necessarily have to be one, and multiple circuits may be used.

[0033] The oscillator circuit 82 generates a reference clock for the control element 2. In Figures 2 and 3, the oscillator circuit 82 is provided outside the control element 2, but the oscillator circuit 82 may be an on-chip oscillator or the like built into the control element 2. The serial communication units 3a and 3b of the control element 2 generate the clocks they require using the reference clock generated by the oscillator circuit 82. The number of oscillator circuits 82 does not necessarily have to be one, and multiple oscillator circuits 82 may be used.

[0034] The FG metal fitting 83 is a conductive structure for providing electrical continuity between the FG pattern 16 on the printed circuit board 10 of the output unit 1 and a conductor of FG potential (not shown) on the backplane 101. The FG metal fitting 83 does not necessarily need to be rigid and may be a gasket-like sponge with conductive cloth wrapped around it, as long as it is conductive to the FG potential outside the printed circuit board 10. While it is desirable for the output unit 1 to include the FG metal fitting 83, the output unit 1 does not necessarily have to include the FG metal fitting 83. In this case, common mode noise entering from the external wiring interface 91 will return to earth via the backplane connector 80 rather than the FG metal fitting 83. Therefore, if the power supply and signal lines transmitting through the backplane connector 80 are susceptible to noise, this may cause the output unit 1 to malfunction.

[0035] The IO power supply circuit 90 receives an external power supply voltage from an external power supply via an external wiring interface. From the external power supply voltage, the IO power supply circuit 90 generates the power supply voltages required by each IC, such as the output elements 5a and 5b and the isolation element 4, which use the IOGND pattern 15 as a reference GND. For example, the IO power supply circuit 90 generates DC 5V from DC 24V. A filter (not shown) or the like may be added to the IO power supply circuit 90.

[0036] The external wiring interface 91 is an interface with external IO wiring for connecting to external devices and external power supply wiring. The external wiring interface 91 is configured, for example, with a screw terminal block, a spring clamp terminal block, or a connector. The external wiring interface 91 can transmit, for example, 8, 16, 32, or 64 output signals depending on the number of output points of the output unit 1. In a factory or plant, which is an example of an environment in which the control system 100 is used, or in a noise immunity test such as an EFT / B (Electrical Fast Transient / Burst) test among EMC (Electromagnetic Compatibility) tests, noise is superimposed on the external IO wiring and external power supply wiring, and the noise propagates into the output unit 1 via the external wiring interface 91, potentially affecting the SPI (Serial Peripheral Interface) signals output from the serial communication units 3 a and 3 b of the control element 2.

[0037] The IOGND pattern 15 and the SG pattern 14 are separated. An isolation element 4 and an SG-IOGND capacitor 6a are connected between these different circuit wirings. The isolation element 4 transmits and receives SPI signals between the control element 2 and the output elements 5a, 5b, 5c, and 5d. Of the two electrodes of the SG-IOGND capacitor 6a, the first electrode is connected to the SG pattern 14, and the second electrode is connected to the IOGND pattern 15.

[0038] <Effects> In this embodiment, to prevent current applied by external noise from concentrating on the isolation element 4 that transmits the serial communication signal, the SG-IOGND capacitor 6a, which is intentionally added, conducts the noise, bypassing the noise that would otherwise be conducted through the isolation element 4. The added SG-IOGND capacitor 6a reduces the impedance between the multiple terminals of the isolation element 4, thereby reducing the voltage induced in the serial communication signal transmitted through the isolation element 4. As a result, noise is less likely to be superimposed on the serial communication signal line, and PLC malfunctions can be suppressed.

[0039] More specifically, the SG-IOGND capacitor 6a is disposed between the IOGND pattern 15 and the SG pattern 14, which are separated by the insulating element 4. The capacitance component of the SG-IOGND capacitor 6a ensures that the impedance at low frequencies between the IOGND pattern 15 and the SG pattern 14 is equivalent to that in the absence of the SG-IOGND capacitor 6a, while reducing the impedance in the MHz band where malfunction of the output unit 1 is likely to occur.

[0040] In other words, noise induced between the IOGND pattern 15 and the SG pattern 14 due to noise in the MHz band that is likely to cause malfunction can be reduced. Specifically, when external noise is superimposed on the output unit 1 via the external wiring interface 91, the noise induced between the eight input terminals IN1 to IN8 and the eight output terminals OUT1 to OUT8 of the isolation element 4 is reduced. As a result, the intensity of the noise superimposed on the SPI signals transmitted and received by the serial communication units 3a and 3b is reduced. This makes it possible to suppress malfunctions of the output unit that employs serial communication for signal transmission between the control element 2 and the output elements 5a and 5b.

[0041] Modification of the First Embodiment FIG. 4 is a circuit block diagram of a PLC (output unit 1) according to a modification of the first embodiment.

[0042] In order to ensure the withstand voltage required by the product specifications, multiple SG-IOGND capacitors 6a and 6b may be provided, connected in series between the SG pattern 14 and the IOGND pattern 15, as shown in Figure 4. In this case, the theoretical withstand voltage is proportional to the number of SG-IOGND capacitors. Note that the SG-IOGND capacitors 6a and 6b may be selected taking derating into consideration.

[0043] Second Embodiment Next, an output unit 1 according to a second embodiment will be described with reference to Figures 5 to 7. Unless otherwise specified, the second embodiment has the same configuration, operation, and effect as the first embodiment described above. Therefore, the same components as the first embodiment described above are denoted by the same reference numerals, and description thereof will not be repeated.

[0044] The output unit 1 according to the second embodiment basically has the same configuration as the output unit 1 according to the first embodiment.

[0045] 5 is a layout diagram of the SG-IOGND capacitor 6a in the output unit 1 according to embodiment 2. In the output unit 1 according to embodiment 2, the SG-IOGND capacitor 6a is placed between the IOGND pattern 15 and the SG pattern 14 on the printed circuit board 10, in a position close to the FG pattern 16.

[0046] Fig. 6 is a diagram showing the path of noise current when the SG-IOGND capacitor 6a is placed between the IOGND pattern 15 and the SG pattern 14 on the printed circuit board 10 and in a position close to the FG pattern 16. Fig. 7 is a diagram showing the path of noise current when the SG-IOGND capacitor 6a is placed between the IOGND pattern 15 and the SG pattern 14 on the printed circuit board 10 and directly below the insulating element 4 on the opposite side to the insulating element 4. In Fig. 7, the SG-IOGND capacitor 6a is placed in a position away from the FG pattern 16. In Figs. 6 and 7, thick arrows represent the path of noise current.

[0047] <Effects> Referring to Figures 5 to 7, the SG-IOGND capacitor 6a serves as a bypass path for noise currents, and the distribution of noise currents varies depending on the placement of the SG-IOGND capacitor 6a. If a highly sensitive circuit vulnerable to noise is located in an area where noise currents are strong, this could cause a phenomenon unrelated to SPI communication, potentially leading to malfunction of the output unit 1. By placing the SG-IOGND capacitor 6a between the IOGND pattern 15 and the SG pattern 14 on the printed circuit board 10 and close to the FG pattern 16, the area where noise currents are strong can be concentrated at the edge of the printed circuit board 10, reducing the risk of the noise currents adversely affecting peripheral circuits. In other words, in addition to the effects of the first embodiment, this embodiment can minimize the area through which noise currents propagate. As a result, noise currents are less likely to interfere with peripheral circuits, suppressing malfunction of the output unit.

[0048] Third Embodiment Next, an output unit 1 according to a third embodiment will be described. Unless otherwise specified, the third embodiment has the same configuration, operation, and effect as the first embodiment. Therefore, the same components as the first embodiment are denoted by the same reference numerals, and description thereof will not be repeated.

[0049] The output unit 1 according to the third embodiment basically has the same configuration as the output unit 1 according to the first embodiment. The difference between the third embodiment and the first embodiment is that the capacitance value of the SG-IOGND capacitor 6a is set to 470 pF or greater. As described in the first embodiment, a larger capacitance value of the SG-IOGND capacitor 6a is desirable, but it is necessary to select a capacitor with a withstand voltage equal to or greater than the specified voltage rating in the product specifications of the output unit 1. Meanwhile, the higher the withstand voltage of the SG-IOGND capacitor 6a, the smaller its capacitance value. The lower the withstand voltage of the capacitor, the more options are available for different capacitance values, and there is a trade-off between withstand voltage performance and capacitance value. Therefore, there is an upper limit to the selectable capacitance value of the SG-IOGND capacitor 6a. The larger the capacitance value of the SG-IOGND capacitor 6a, the lower the impedance at low frequencies, making it easier for low-frequency noise output by the inverter to propagate to the SG pattern of the output unit 1. Considering that these noises have a large amount of energy and may lead to equipment failure, lowering the low-frequency impedance increases the possibility that they may have adverse effects on things other than the SPI signal. In other words, if the product's withstand voltage is met and the ability to block low-frequency noise generated in the environment in which the output unit 1 is used is taken into consideration, an upper limit of 10,000 pF is appropriate for the capacitance value of the SG-IOGND capacitor 6a.

[0050] FIG. 8 is a graph showing the relative noise intensity of the SPI signal between the input and output terminals of the isolation element 4 when the capacitance value of the SG-IOGND capacitor 6a is changed. It can be seen that the larger the capacitance value of the SG-IOGND capacitor 6a, the smaller the noise voltage induced in the MHz band. Furthermore, in actual device evaluation, it was confirmed that SPI communication malfunctions did not occur at capacitances of 470 pF or higher. Therefore, by setting the capacitance of the SG-IOGND capacitor 6a between 470 pF and 10,000 pF, it is possible to prevent SPI communication malfunctions and also block low-frequency noise, thereby comprehensively suppressing malfunctions of the output unit 1 due to noise generated in the operating environment.

[0051] 9 to 10, an output unit 1 according to a fourth embodiment will be described. Unless otherwise specified, the fourth embodiment has the same configuration, operation, and effect as the first embodiment. Therefore, the same components as the first embodiment are denoted by the same reference numerals, and description thereof will not be repeated.

[0052] 9 is a circuit block diagram of a PLC (output unit 1) according to embodiment 4. The output unit 1 according to embodiment 4 basically has the same configuration as the output unit 1 according to embodiment 1. The difference between embodiment 4 and embodiment 1 is that embodiment 4 includes a plurality of SG-IOGND capacitors 6a, 6b connected in parallel between the SG pattern 14 and the IOGND pattern 15.

[0053] The SG-IOGND capacitor 6a is disposed on the same surface as the mounting surface of the control element 2, to the right of the insulating element 4, and closer to the FG metal fitting 83 than the other SG-IOGND capacitors 6b. The SG-IOGND capacitor 6b is disposed on the same surface as the mounting surface of the control element 2, to the left of the insulating element 4, and farther from the FG metal fitting 83 than the other SG-IOGND capacitors 6a.

[0054] The SG-IOGND capacitors 6a, 6b do not necessarily have to have the same capacitance value, and the capacitance value may be changed depending on the frequency component of the external noise. By mounting multiple SG-IOGND capacitors 6a, 6b, the capacitance value between the SG pattern 14 and the IOGND pattern 15 becomes larger without reducing the withstand voltage compared to mounting only one capacitor. As a result, the impedance between the SG pattern 14 and the IOGND pattern 15 can be reduced.

[0055] Figure 10 is a graph showing the relative values ​​of noise intensity in the SPI signal between the input terminal and output terminal of the isolation element 4 for each number of SG-IOGND capacitors. By increasing the number of SG-IOGND capacitors, the noise intensity is reduced by about 10 dB, except around 20 MHz. In Figure 10, the SG-IOGND capacitors 6a and 6b have the same capacitance. By using SG-IOGND capacitors 6a and 6b with different capacitances, it is possible to reduce the noise intensity induced in the SPI signal between the input terminal and output terminal of the isolation element over a wide frequency band.

[0056] Fifth Embodiment Fig. 11 is a circuit block diagram of a PLC (output unit 1) according to a fifth embodiment.

[0057] The output unit 1 according to the fifth embodiment basically has the same configuration as the output unit 1 according to the first embodiment. The fifth embodiment differs from the first embodiment in that the fifth embodiment includes a plurality of SG-IOGND capacitors 6a, 6b, and 6c connected in parallel between the SG pattern 14 and the IOGND pattern 15.

[0058] The SG-IOGND capacitor 6a is disposed on the same surface as the mounting surface of the control element 2, to the right of the insulating element 4, and closer to the FG metal fitting 83 than the other SG-IOGND capacitors 6b and 6c. The SG-IOGND capacitor 6b is disposed on the same surface as the mounting surface of the control element 2, to the left of the insulating element 4, and farther from the FG metal fitting 83 than the other SG-IOGND capacitors 6a and 6c. The SG-IOGND capacitor 6c is disposed on the surface of the board opposite the mounting surface of the control element 2, in a position farther from the FG metal fitting 83.

[0059] The SG-IOGND capacitors 6a, 6b, and 6c do not necessarily have to have the same capacitance value, and the capacitance value may be changed depending on the frequency component of external noise. By mounting multiple SG-IOGND capacitors 6a, 6b, and 6c, the capacitance value between the SG pattern 14 and the IOGND pattern 15 becomes larger without reducing the withstand voltage compared to mounting only one capacitor. As a result, the impedance between the SG pattern 14 and the IOGND pattern 15 can be reduced.

[0060] Sixth Embodiment Next, an output unit 1 according to a fourth embodiment will be described with reference to FIG. 12. The sixth embodiment has the same configuration, operation, and effect as the first embodiment, unless otherwise specified. Therefore, the same components as the first embodiment are denoted by the same reference numerals, and the description thereof will not be repeated.

[0061] 12 is a circuit block diagram of a PLC (output unit 1) according to embodiment 6. The output unit 1 according to embodiment 6 basically has the same configuration as the output unit 1 according to embodiment 1. Embodiment 6 differs from embodiment 1 in that embodiment 6 includes a noise suppression filter 7 provided midway along the signal line between the control element 2 and the isolation element 4, and a noise suppression filter 8 provided midway along the signal line transmitting between the isolation element 4 and the output elements 5 a, 5 b.

[0062] The filters 7 and 8 may be resistors, capacitors, inductors, ferrite beads, or diodes. The filters 7 and 8 may be provided inside the control element 2 or the output elements 5a and 5b. Each of the filters 7 and 8 may not be a single component, but may be configured by combining multiple components. The output unit 1 may be provided with only one of the filters 7 and 8, depending on the noise applied in the EMC test or installation environment.

[0063] Adding the SG-IOGND capacitor 6a reduces the impedance between the GND and the IC, which is effective against high-frequency noise components. However, there is a concern that low-frequency, high-power noise that should be prevented from being conducted may be conducted to the control element 2, causing element destruction. Adding diodes as filters 7 and 8 can suppress failures caused by overvoltage applied to the IC due to noise caused by induced lightning, which is simulated by the lightning surge test specified in IEC 61000-4-5, or low-frequency noise generated by driving inverters and other devices in a factory environment. Adding capacitors, resistors, inductors, or ferrite beads as filters 7 and 8 can remove residual noise that cannot be removed by the SG-IOGND capacitor 6a.

[0064] Furthermore, if the rise and fall times of the signal waveform output by the control element 2 are short and the signal spectrum contains high-frequency components, there is a concern that the electric field strength measured in the radiated emission test will increase. Radiated emission noise can be reduced by adding capacitors, resistors, inductors, or ferrite beads as filters 7 and 8. The output unit 1 may also be provided with only filter 7. This is because, in many cases, the control element 2 is both a noise source that emits noise and a disturbed circuit that malfunctions due to external noise. However, as described above, filter 8 may also be added in addition to filter 7. Adding filter 8 serves as a countermeasure against the noise propagation path, thereby achieving better EMC performance for the PLC.

[0065] Seventh Embodiment Fig. 13 is a circuit block diagram of a PLC (output unit 1) according to a seventh embodiment.

[0066] The PLC of embodiment 7 is different from the PLC of embodiment 1 in the following respects. Control element 2 of the PLC of embodiment 7 includes clock generation unit 55, serial communication units 3a, 3b, 3c, and 3d, and output elements 5a, 5b, 5c, and 5d.

[0067] The clock generating unit 55 generates a clock and supplies it to the serial communication units 3a to 3d, thereby synchronizing the transmission and reception of data among the serial communication units 3a to 3d.

[0068] Terminal CS of serial communication unit 3a is connected to input terminal IN1 of isolation element 4. Output terminal OUT1 of isolation element 4 is connected to terminal CS of output elements 5a to 5d. As a result, the chip select signal output from terminal CS of serial communication unit 3a is input to terminal CS of output elements 5a to 5d. In other words, the chip select signal is shared by output elements 5a to 5d.

[0069] The terminal CLK of the serial communication unit 3a is connected to the input terminal IN2 of the isolation element 4. The output terminal OUT2 of the isolation element 4 is connected to the terminal CLK of each of the output elements 5a to 5d. As a result, the clock signal output from the terminal CLK of the serial communication unit 3a is input to the terminal CLK of each of the output elements 5a to 5d. In other words, the clock signal is shared by the output elements 5a to 5d.

[0070] The terminal MOSI of the serial communication unit 3a is connected to the input terminal IN3 of the isolation element 4. The output terminal OUT3 of the isolation element 4 is connected to the terminal MOSI of the output element 5a. As a result, the serial data signal output from the terminal MOSI of the serial communication unit 3a is input to the terminal MOSI of the output element 5a.

[0071] The terminal MOSI of serial communication unit 3b is connected to the input terminal IN4 of isolation element 4. The output terminal OUT4 of isolation element 4 is connected to the terminal MOSI of output element 5b. As a result, the serial data signal output from terminal MOSI of serial communication unit 3b is input to terminal MOSI of output element 5b.

[0072] The terminal MOSI of serial communication unit 3c is connected to the input terminal IN6 of isolation element 4. The output terminal OUT6 of isolation element 4 is connected to the terminal MOSI of output element 5c. As a result, the serial data signal output from the terminal MOSI of serial communication unit 3c is input to the terminal MOSI of output element 5c.

[0073] The terminal MOSI of serial communication unit 3d is connected to the input terminal IN8 of isolation element 4. The output terminal OUT8 of isolation element 4 is connected to the terminal MOSI of output element 5d. As a result, the serial data signal output from the terminal MOSI of serial communication unit 3d is input to the terminal MOSI of output element 5d.

[0074] According to this embodiment, the terminals CS and CLK of one serial communication unit 3a are connected to the terminals CS and CLK of all output elements 5a to 5d via the isolation element 4. Therefore, the number of required signal lines is 2 × (N + 2), where N is the number of serial communication units and output elements. In the example shown in FIG. 13, N = 4, so 12 signal lines are sufficient. If only the signal lines connected to the control element 2, i.e., the signal lines connected to the input side of the isolation element 4, are considered, only six signal lines are required. Therefore, it is sufficient to use only one isolation element 4, which has eight terminals. According to this embodiment, the number of isolation elements can be reduced. As a result, the cost and mounting area required for the isolation elements can be reduced.

[0075] <Effects> According to this embodiment, it is possible to obtain the same effects as in embodiment 1. Furthermore, according to this embodiment, even if the number of output elements increases, it is possible to prevent an increase in the number of signal lines for communicating clock signals and select signals, and it is also possible to suppress an increase in the number of signal lines between the control element and the plurality of output elements.

[0076] Eighth Embodiment Fig. 14 is a circuit block diagram of a PLC (output unit 1) according to an eighth embodiment.

[0077] The PLC of the eighth embodiment differs from the PLC of the first embodiment in the following respects: The control element 2 of the PLC of the eighth embodiment includes a clock generating unit 55 and serial communication units 3a, 3b, 3c, and 3d.

[0078] The clock generating unit 55 generates a clock and supplies it to the serial communication units 3a to 3d, thereby synchronizing the transmission and reception of data among the serial communication units 3a to 3d.

[0079] The PLC of the eighth embodiment includes isolation elements 4a and 4b and output elements 5a, 5b, 5c, and 5d.

[0080] The insulating element 4a includes circuit portions 41a and 42a, and the insulating element 4b includes circuit portions 41b and 42b. In the following, when there is no need to distinguish between the circuit portions 41a and 41b, each of the circuit portions 41a and 41b will be referred to as the "circuit portion 41." Similarly, when there is no need to distinguish between the circuit portions 42a and 42b, each of the circuit portions 42a and 42b will be referred to as the "circuit portion 42."

[0081] Each of the circuit sections 41 and 42 has four input terminals IN1 to IN4 and four output terminals OUT1 to OUT4. In each of the circuit sections 41 and 42, signals input to the input terminals IN1 to IN4 are output from the output terminals OUT1 to OUT4, respectively.

[0082] The terminal CS of the serial communication unit 3a is connected to the input terminal IN1 of the circuit unit 41a. The output terminal OUT1 of the circuit unit 41a is connected to the terminal CS of the output elements 5a to 5d. As a result, the chip select signal output from the terminal CS of the serial communication unit 3a is input to the terminal CS of the output elements 5a to 5d. In other words, the chip select signal is shared by the output elements 5a to 5d.

[0083] The terminal CLK of the serial communication unit 3a is connected to the input terminal IN2 of the circuit unit 41a. The output terminal OUT2 of the circuit unit 41a is connected to the terminals CLK of the output elements 5a to 5d. As a result, the clock signal output from the terminal CLK of the serial communication unit 3a is input to the terminals CLK of the output elements 5a to 5d. In other words, the clock signal is shared by the output elements 5a to 5d.

[0084] The terminal MOSI of the serial communication unit 3a is connected to the input terminal IN3 of the circuit unit 41a. The output terminal OUT3 of the circuit unit 41a is connected to the terminal MOSI of the output element 5a. As a result, the serial data signal output from the terminal MOSI of the serial communication unit 3a is input to the terminal MOSI of the output element 5a.

[0085] The terminal MOSI of the serial communication unit 3b is connected to the input terminal IN4 of the circuit unit 41a. The output terminal OUT4 of the circuit unit 41a is connected to the terminal MOSI of the output element 5b. As a result, the serial data signal output from the terminal MOSI of the serial communication unit 3b is input to the terminal MOSI of the output element 5b.

[0086] The terminal MOSI of the serial communication unit 3c is connected to the input terminal IN2 of the circuit unit 41b. The output terminal OUT2 of the circuit unit 41b is connected to the terminal MOSI of the output element 5c. As a result, the serial data signal output from the terminal MOSI of the serial communication unit 3c is input to the terminal MOSI of the output element 5c.

[0087] The terminal MOSI of serial communication unit 3d is connected to the input terminal IN4 of circuit unit 41b. The output terminal OUT4 of circuit unit 41b is connected to the terminal MOSI of output element 5d. As a result, the serial data signal output from the terminal MOSI of serial communication unit 3d is input to the terminal MOSI of output element 5d.

[0088] The terminal MISO of the serial communication unit 3a is connected to the output terminal OUT1 of the circuit unit 42a. The input terminal IN1 of the circuit unit 42a is connected to the terminal MISO of the output element 5a. As a result, the serial data signal output from the terminal MISO of the output element 5a is input to the terminal MISO of the serial communication unit 3a.

[0089] The terminal MISO of the serial communication unit 3b is connected to the output terminal OUT2 of the circuit unit 42a. The input terminal IN2 of the circuit unit 42a is connected to the terminal MISO of the output element 5b. As a result, the serial data signal output from the terminal MISO of the output element 5b is input to the terminal MISO of the serial communication unit 3b.

[0090] The terminal MISO of the serial communication unit 3c is connected to the output terminal OUT3 of the circuit unit 42a. The input terminal IN3 of the circuit unit 42a is connected to the terminal MISO of the output element 5c. As a result, the serial data signal output from the terminal MISO of the output element 5c is input to the terminal MISO of the serial communication unit 3c.

[0091] The terminal MISO of the serial communication unit 3d is connected to the output terminal OUT4 of the circuit unit 42a. The input terminal IN4 of the circuit unit 42a is connected to the terminal MISO of the output element 5d. As a result, the serial data signal output from the terminal MISO of the output element 5d is input to the terminal MISO of the serial communication unit 3d.

[0092] According to this embodiment, the terminals CS and CLK of one serial communication unit 3a are connected to the terminals CS and CLK of all output elements 5a to 5d via the isolation element 4a. Therefore, the number of signal lines required to transmit data from the serial communication unit to the output elements is 2 × (N + 2), where N is the number of serial communication units and N is the number of output elements. In the example shown in FIG. 14 , N = 4, so 12 signal lines are sufficient. Considering only the signal lines connected to the control element 2, i.e., the signal lines connected to the input sides of the isolation elements 4a and 4b, only six signal lines are required. Therefore, when using isolation elements 4a and 4b, each of which has four usable terminal pairs, to transmit data from the serial communication unit to the output elements, two isolation elements are required. According to this embodiment, the number of isolation elements can be reduced. As a result, the cost and mounting area required for the isolation elements can be reduced.

[0093] <Effects> According to this embodiment, it is possible to obtain the same effects as in embodiment 1. Furthermore, according to this embodiment, even if the number of output elements increases, it is possible to prevent an increase in the number of signal lines for communicating clock signals and select signals, and it is also possible to suppress an increase in the number of signal lines between the control element and the plurality of output elements.

[0094] Ninth Embodiment Fig. 15 is a circuit block diagram of a PLC (output unit 1) according to a ninth embodiment.

[0095] The PLC of the ninth embodiment differs from the PLC of the seventh embodiment in the following points: The control element 2 of the PLC of the ninth embodiment includes a synchronization unit 65 in addition to the components of the control element 2 of the seventh embodiment.

[0096] Each of the serial communication units 3a to 3d operates according to the operating clock generated by the clock generation unit 55. However, before the serial communication units 3a to 3d can execute communication processing, software processing is required. The time required for this software processing is not identical for the serial communication units 3a to 3d, and may vary slightly. The time required for software processing is longer than the time required for hardware processing that operates according to the operating clock. As a result, the software processing completion times for the serial communication units 3a to 3d may differ from one another. If the time difference between the completion times of the software processing for the serial communication units 3a to 3d becomes longer than the period of the operating clock, the timing at which the serial communication units 3a to 3d execute communication processing may differ from one another by several clocks or a longer number of clocks. This phenomenon occurs more significantly the faster the operating clock (i.e., the faster the communication clock).

[0097] Therefore, in this embodiment, the synchronization unit 65 puts the serial communication unit that has completed its software processing earlier than the other serial communication units and is now ready to execute its communication processing into standby.The synchronization unit 65 then starts all of the communication processing of the serial communication units 3a to 3d in accordance with the serial communication unit that completed its software processing the slowest.This prevents malfunctions caused by differences in the time required for software processing among the serial communication units 3a to 3d.

[0098] Furthermore, the synchronization unit 65 may execute an interrupt process to suspend all communication processes of the serial communication units 3a to 3d when, for example, an interrupt process occurs in the control element 2 during communication and the communication process of one of the serial communication units is suspended. After the interrupt process is completed, the synchronization unit 65 may synchronize the start timing of all communication processes of the serial communication units 3a to 3d. This suppresses malfunctions caused by discrepancies in the start timing of communication processes of the serial communication units 3a to 3d.

[0099] This embodiment provides the same effects as those of embodiment 1. Furthermore, this embodiment can reduce the cost and mounting area required for the isolation element 4, and also suppress malfunctions caused by discrepancies in the start timing of communication processing among the serial communication units 3 a to 3 d.

[0100] Note that a synchronization unit 65 may be provided in the control element 2 of embodiment 8. The above-described embodiments can be combined as appropriate. The embodiments disclosed herein are illustrative in all respects and should not be considered limiting. The scope of the present invention is defined by the claims, not the above description, and is intended to include all modifications within the meaning and scope of the claims.

[0101] 1 Output unit, 2 Control element, 3a, 3b, 3c, 3d Serial communication unit, 4, 4a, 4b Isolation element, 5a, 5b, 5c, 5d Output element, 6a, 6b, 6c SG-IOGND capacitor, 7, 8 Filter, 10 Printed circuit board, 14 SG pattern, 15 IOGND pattern, 16 FG pattern, 41a, 41b, 42a, 42b Circuit unit, 55 Clock generation unit, 65 Synchronization unit, 80 Backplane connector, 81 Control power supply circuit, 82 Oscillator circuit, 83 FG metal fitting, 84 FG-SG capacitor, 90 IO power supply circuit, 91 External wiring interface, 100 Control system, 101 Backplane, 102 Control unit CLK, CS, MISO, MOSI, IN1 to IN8, OUT1 to OUT8 Terminal.

Claims

1. A programmable logic controller comprising: a printed circuit board having a signal ground pattern and an IO ground pattern; a control element arranged on the signal ground pattern and having at least one serial communication unit; at least one output element arranged on the IO ground pattern and transmitting serial data to and from the serial communication unit; at least one insulating element arranged on the signal ground pattern and having a plurality of terminals connected to the at least one serial communication unit and a plurality of terminals arranged on the IO ground pattern and connected to the at least one output element; and at least one capacitor having a first electrode connected to the signal ground pattern and a second electrode connected to the IO ground pattern.

2. The programmable logic controller of claim 1, wherein said at least one capacitor is disposed between said signal ground pattern and said IO ground pattern.

3. The programmable logic controller of claim 1, wherein the capacitance of said at least one capacitor is greater than or equal to 470 pF and less than or equal to 10,000 pF.

4. The programmable logic controller of claim 1, wherein said at least one capacitor comprises a plurality of capacitors connected in series between said signal ground pattern and said IO ground pattern.

5. The programmable logic controller of claim 1, wherein said at least one capacitor comprises a plurality of capacitors connected in parallel between said signal ground pattern and said IO ground pattern.

6. The programmable logic controller according to claim 5, wherein the capacitances of the plurality of capacitors are different from one another.

7. The programmable logic controller comprises first to Nth output elements, N being an integer equal to or greater than 2; the control element has first to Nth serial communication units, each of the first to Nth serial communication units including a first terminal for outputting a serial data signal, the first serial communication unit further including a second terminal for outputting a clock signal and a third terminal for outputting a select signal; each of the first to Nth output elements includes a fourth terminal to which the serial data signal is input, a fifth terminal to which the clock signal is input, and a sixth terminal to which the select signal is input; the first terminals of the first to Nth serial communication units are connected to the fourth terminals of the first to Nth output elements, respectively, via the insulating element; and the second terminal of the first serial communication unit is connected to the fifth terminals of the first to Nth output elements via the insulating element; 2. The programmable logic controller according to claim 1, wherein the third terminal of the first serial communication unit is connected to the sixth terminals of the first to Nth output elements via the insulating element.

8. The programmable logic controller according to claim 7, wherein said control element further includes a synchronization section for synchronizing communication processing of said first to Nth serial communication sections.

9. A programmable logic controller according to any one of claims 1 to 7, further comprising a filter for noise countermeasures provided at least one between the control element and the isolation element and between the isolation element and the output element.

Citation Information

Patent Citations

  • Printed wiring board

    JP1998145013A

  • Input / Output units for programmable controller

    JP2001306115A

  • Signal generating device and signal reading system

    JP2019146141A

  • Serial communication circuit

    JP2022112558A

  • Digital output circuit, printed wiring board, and industrial device

    WO2016121114A1

Cited By

  • Programmable logic controller

    WO2026094906A1