r/PLC • • 1d ago

Engineering Question Electrical Help!

Hello everyone. I’m currently doing my senior design project and I’m design a 1D gantry that is moved with a ClearPath Servo motor from Teknic. I recently had a review of my electrical design with my profesor, and we debated for about 30 minutes on one particular topic (a contactor!).

In my design, I proposed adding two limit switches that indicate that the gantry plate has over-travelled to a near collision zone (outside of the gantry travel limits) and an Estop for minimal safety. These three devices are hooked up in series to a coil voltage of a contactor. If any of these NCs devices open, then the contactor will no longer supply power to the DC power supply that powers the servo motor.

The servo motor requires 75V dc and the controlled devices (controller/sensors) run on 24VDC.

With this being a senior design project, budget is a big CONSTRAINT. While I cannot get a safety contactor, I can get a regular contactor with a fly back diode to prevent contact welding.

If either limit switch triggers or the Estop is pressed, the auxiliary contacts of the contactor will let the ClearCore controller (the controller in use for the project) know that safety was tripped. If safety is down, the controller will turn off the motors enable signal. The only way to reset safety/turn on the enable signal is via the UI that will be developed with Node-Red. Additionally and most importantly, the Line and neutral input to the servo power supply will be cut off.

Having said all of that, the professor was suggesting a much simpler solution that is just hook up the Estop directly to the L and/or N wires of the AC input from the power supply that powers the DC servo motor. Essentially dismiss the contactor completely and remove the limit switch.

Here is where we debated for a while. I think that adding the contactor reduces the chance of contact welding because the contactor comes with a suppressor (fly back diode) and it’s coil is energized with a low 24VDC load. The contactor is designed to withstand the high inrush current of the Servo motor power supply. It’s very difficult to find estopa rated for >65A of inrush current if I was to go with the professors suggestion- just wire the Estop directly to the input of the servo power supply. Not only that, but the professor suggested to wire the limit switches to the controllers digital input and essentially have the software take care of stopping the motor if the gantry plate was to over travel to a potential hazardous position by turning of the motors enable signal (which was specifically noted as a non-safety rated feature in the motor manual).

While all of these devices are not safety rated, I think going the contactor route is safer.

Again, this is a final year project, budget is about 3000 USD, and the mechanical hardware is adding up (the gantry is about 20 feet long). This is not an industrial rated solution (and is not expected to be) but I want to make sure I do my due diligence to deliver a safe system to my client.

I talked enough. What are some suggestions? I’ll take any advice, even mechanical. Just anything that will make me change minds about the electrical portion, improve the system, and any other subtle challenges that I can face when designing and building this system.

16 Upvotes

28 comments sorted by

18

u/pgzski 1d ago

Your overtravel switches should be connected individually to the clear core. Use them to cancel/inhibit jogging in that direction. If you force an e-stop on the overtravel you'll be in deadlock with no recovery available that doesn't require tools.

This covers your axis until you get a home position reference. After that, software position limits set inside the OT switches take over.

1

u/Beneficial-Risk-3493 1d ago

Like this idea, thanks!

7

u/pgzski 1d ago

Oh, and make sure it's not mechanically possible for the OT switch actuator to get on the wrong side of the switch and release or you'll be sad. NC switches to be fail-safe.

2

u/Weak-Chemist-2054 1d ago

This one is probably the only option if we’re not too concerned about safety (or the budget for safety). OP you’ve been asked to build a weird machine.

6

u/Fluffy_Anything_1735 1d ago

This is a good place to discuss the actual requirements for this.

  1. There are 5 safety levels spelled out in ISO (not regulatory, voluntary but the courts regard it in litigation... which makes it mandatory to avoid liabilities):

The levels (ISO 13849-1 Categories)

CategoryStructureWhat one fault does
BSingle channel, ordinary components built to their ratingsCan cause loss of the safety function
1Single channel, but with well-tried components and principles (positive-opening e-stop contacts, a properly rated contactor, de-energize-to-stop)Can still cause loss, but it's less likely because the parts are more reliable
2Single channel plus periodic automatic testing (for example, contactor state checked at every startup)Can cause loss between tests, but the test catches it
3Redundant (dual channel: two e-stop contacts, two contactors in series), with feedback monitoringOne fault doesn't cause loss, and most faults get detected
4Redundant plus detection of every single fault, so faults can't pile up undetectedHolds up even with faults accumulating

Your professor is suggesting running line power for the servo through the E-Stop. I'm going to assume the servo is small enough to where that meets all ratings for all components. If everything is well rated, but the configuration is considered novel... that could be a Category B setup... and if it's a common configuration that you PM often, it could get as high as Category 2.

You would be able to argue the point.

The circuit you described which you designed would put all safety switches (Estops, interlocks, etc...) in a single channel line with a contactor that turns on the system is the classic MCR (Master Control Relay) safety circuit. This is the classic "Category 1" circuit... but it also could be anywhere between Category B and Category 2 depending on maintenance and component reliability.

The question, I would think, would come down to the decision on what category of safety performance is expected by the customer.

You are allowed to build machines of any category you want, but it's recommended that you do a risk assessment to determine which Category each component of the machine needs to be.

And then you self govern the decision to build it to that level.

I think most modern manufacturers demand at least Cat 3.

I saw a Chinese machine with a safety circuit like the one he is recommending a few years ago. Only machine in that configuration I've ever encountered.

I still see old equipment with MCRs in them frequently. But it's old stuff that was never upgraded.

I don't think that either of these configurations meet current expectations on the market. Both could be argued to be right or wrong, but neither is something most current customers will want.

2

u/Beneficial-Risk-3493 1d ago

This helps a lot, thanks! Once again, this is a capstone project with a limited budget. The school is not expecting a full blown safety system. I just want to deliver something safe with a reasonable budget. Additionally, there was no risk assessment made on the mechanical design because we (students) designed this gantry. Most of us do not have enough experience to determine where the gantry could go wrong and how often a critical scenario could occur.

3

u/Hothr |-[ ]---( )-| 1d ago

For a school project, I would rate the "as built" safety category, and include documentation for a parts swap to achieve a higher safety level and what the price difference would be. Acknowledging that the "as built" safety category is probably not sufficient for a real-world application.

1

u/Fluffy_Anything_1735 1d ago

I think it's important to understand the classifications and definitions of the safety circuits.

The reason we all like safety relays and safety rated components is because they essentially guarantee class 3. Below that level, it's very gray and I'd argue a little difficult to say what class a machine really is.

As for what you need in your application, I'm not sure. Both configurations look like single point failures that could disable your safety system.

If the e-stop fails and the circuit cannot be opened... it fails. If the MCR welds shut, your entire safety system fails. However, if it's a low energy system for demonstrating understanding of circuitry that wouldn't really hurt anyone anyway, a Class B of 1 system may be safe enough.

This is just something you have to think through.

Where would I argue that you're morally obligated to have at least a class 3?

Suppose you had a cage with a large robot that was picking from the end of a conveyor when a sensor was made. And suppose there were laser presence sensors on the floor and safety switches with hasp locks on the doors to disable the robot when someone went in the cage. If all that went to a single MCR contactor whose job it was to disable the robot...

If that single MCR welded shut, then every safety would be simultaneously disabled and if the robot had an alignment issue on the eye that sees the boxes... then you would run a high chance of a person who's expecting the safety system to protect them getting crushed by a robot that turns on when they touch that photo eye that triggers the robot motion.

In this case, there is an extremely high chance that a failed component could hurt or kill someone and the failure mode is real and common.

4

u/xckyle04 1d ago

Ask yourself if you over-travel in one direction and your contactor opens. How do you move in the opposite direction to get back to the safe zone.

1

u/Beneficial-Risk-3493 1d ago

Good eye. Funny enough, I was not criticized for this scenario. My plan (not a good one) was to have the operator move the gantry plate (10 lbs) by hand to a safe spot and force a homing sequence. There is a homing sensor for a zero point reference.

4

u/hestoelena Siemens CNC Wizard 1d ago

Personally, I think you need to take a step back and look at the functionality of the ClearCore and the ClearPath servo. The ClearCore has numerous digital inputs that you can use for your limit switches and the ClearPath has an enable signal that you can switch with your emergency stop. Is it up to the highest safety standards? Absolutely not, but is it adequate for your scenario? It's quite likely and that's why we do risk assessments.

It is quite possible that the ClearPath Servo would not tolerate a contactor shutting off power to it while it is running. I'm not sure exactly how they are designed, but if there is any sort of regeneration circuit, you'll blow the board right out of them if it's regening and you disconnect the wires. I would check with the manufacturer before this putting a contactor on their power supply lines.

1

u/Beneficial-Risk-3493 1d ago

I’ve checked with the power supply manual and even a tutorial video provided by the company. Both articles show suggest this configuration to cut off power to the motor.

3

u/somethingsimple89535 1d ago

Your risk assessment should dictate your safety circuit.

1

u/Beneficial-Risk-3493 1d ago

Here is where the project becomes even more unorthodox, there was no risk assessment made on the mechanical design because we (students) designed this gantry. Most of us do not have enough experience to determine the niche scenarios where the gantry could go wrong and how often a critical scenario could occur.

2

u/DistinguishedAnus 1d ago

Am I blind? Where is the OCPD? Where is the DC side servo slow blow fuse?

0

u/Beneficial-Risk-3493 1d ago

Not enough budget to include any 🙃

1

u/AdmirableExtreme6965 1d ago

It’s called an emergency stop relay ESR. Use the relay

1

u/Beneficial-Risk-3493 1d ago

Too pricy for our budget. Don’t necessarily have the budget for a safety relay

2

u/Stroking_Shop5393 Siemens > Allen-Bradley 1d ago

You have a motor and an Estop. In this industry you NEED a form of safety. Either a safety relay or safety IO

1

u/Beneficial-Risk-3493 1d ago

I agree with you. This was my original proposal, but my team discouraged this idea due to budgetary reasons. This gantry will be used in a lab and we were not given a safety standard to comply to. I’m just to make the system as safe as possible with the limited budget that we have

2

u/swisstraeng 1d ago

it’s the cheapest option. If you don’t use a safety rated part for your safety you’ll have to pay to get your makeshift safety system checked which costs a lot more.

5

u/Drizziie8 1d ago

You should listen to your professor - former college student

4

u/DarkAngel7635 1d ago

And wire a nc contact of a em stop to the line voltage? If you want to do it right i wouldnt do ghat because that contact is not rated for it. As far as i read it if he does use the contactor he might actually realise a PL b system made of simple components.

4

u/blacknessofthevoid 1d ago

Nah - dude with 20+ years of actual industry experience.

2

u/Ok_Awareness_388 1d ago

What country are you in and what’s the risks associated with this motor? If you need an estop for hazard mitigation then it needs to be safety rated.

3

u/blacknessofthevoid 1d ago

I would agree with having a contactor and not running full motor current through an EStop button.

1

u/Constant_Barber_5198 1d ago

I do as well. Estop should drop out the coil. Its good enough for this project. After that you are getting into monitoring and circuits, forced contacts and actual safety relays.

1

u/EasyPanicButton CallMeMaybe(); 1h ago

In actual practice dual channel is pretty much the way. 2 NC contacts on the estop going to 2 safety inputs. Then 2 force guided contactors in series driven by 2 safe outputs.

Putting any voltage besides 24vdc on a button is not done that Ive ever seen.

Great comments though from everybody anout risk assessment and safety. 👍