Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to monitor an actuator's feedback line from a microcontroller?

Status
Not open for further replies.

Skyland

Junior Member level 3
Joined
Jul 15, 2014
Messages
27
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
185
ZdnVE.jpg


the AG-020-B electric actuator is controlled from a microcontroller. Terminal 1 is connected to the DC PSU GND, Terminal 2 is connected to the +24VDC via a high side Power MOSFET(TPS22810) as shown below. This is for power saving.

HLYUX.jpg


Low side MOSFET (AUIPS1021) Q5A and Q5B are used to control the opening/closing of the valve via terminal 3 and 4. The microcontroller I/O lines Valve_Ctrl_1a and Valve_Ctrl_1b provide a 3.3V signal.

aAMnr.jpg


- Comments are welcome regarding the power and switching circuitry.

- Any suggestion on how to monitor the feedback lines on terminal 8 and 10 from a microcontroller. A lamp is not suitable as the system will be enclosed in a box.
 

Any reason why you don't connect the aux contacts between ground and two processor inputs with pull-up resistors?
 

Any reason why you don't connect the aux contacts between ground and two processor inputs with pull-up resistors?

are you referring to Valve_Ctrl_1a and Valve_Ctrl_1b?
 

are you referring to Valve_Ctrl_1a and Valve_Ctrl_1b?
Surely not, this are processor output pins. Aux contacts (terminal 7 - 10) need to be connected to separate input pins. You'll connect it like any other input switch, e.g. push buttons.
 

I was not sure what you meant by aux. it is not possible to connect terminal 7-10 directly to the to the MCU as they have different voltages (3.3 and 24v). In addition, current will be too high for the MCU input pins.
I have solved this issue by using an optocoupler.
 

Hi,

I was not sure what you meant by aux.
Top picture of post#1 clearly names terminals 7..10 as "AUX Contacts"

it is not possible to connect terminal 7-10 directly to the to the MCU as they have different voltages (3.3 and 24v).
A simple (2 resistor) voltage divider for the microcontroller input may reduce 24V to 3.3V.

n addition, current will be too high for the MCU input pins.
The microcontroller input current is determined by the microcontroller (Read it´s datasheet). This usually is in the low microamperes. It has nothing to do with load current or rated contact current.

Klaus
 

A simple (2 resistor) voltage divider for the microcontroller input may reduce 24V to 3.3V.

In this case the MCU will be pulled up to 24V when terminal 8 is disconnected
 

Hi,

No.
If you want to build a voltage divider to get proper microcontroller_level --> then use microcontoller_GND as reference for the voltage divider.

Klaus
 

Hi,

No.
If you want to build a voltage divider to get proper microcontroller_level --> then use microcontoller_GND as reference for the voltage divider.

Klaus

Not sure I get it, mind drawing a diagram?
 

Hi,

a voltage divider is simple: Two resistors in series.
* the bottom is connected to microcontroller_GND
* the center is connected to microcontoller_input_port
* the top is connected to the 24 signal line
Klaus
 

I wasn't really asking what a voltage divider is but how are you monitoring terminal 8 with what you explained?
 

Hi,

What do yu mean?

How many options do you see?
*****
* the bottom is connected to microcontroller_GND
* the center is connected to microcontoller_input_port
* the top is connected to the 24 signal line --> terminal 8
*****

Klaus
 

Hi,

What do yu mean?

How many options do you see?
*****
* the bottom is connected to microcontroller_GND
* the center is connected to microcontoller_input_port
* the top is connected to the 24 signal line --> terminal 8
*****

Klaus

Terminal 8 is unconnected by default, it needs to be connected to the 24V line for it to switch internally. You are saying the top part of the potential divider is connected to 24V which means not terminal 8 and it does not make sense. Again, a diagram might make it clearer. I have already solved this with an optocoupler, I am just curious what your option is

Opto.jpg
 

Hi,

No, it´s not connected to the 24V_supply, it´s connected to the 24V_signal = terminal 8

Why do you say now terminal 8 is not connected, but the schematic of post#1 shows a connection?

Klaus
 

That's from the datasheet of the actuator, the lamp is an example. I haven't understood your idea. Thanks for your help anyways
 

Untitled.png

Is this what you meant?
 

Attachments

  • Untitled.png
    Untitled.png
    12 KB · Views: 103

Hi,

Don't post a schematic that does not show your situation. It just causes confusion.
*****
Let's focus on what you wrote: "Terminal 8 is unconnected by default, "

If terminal 8 isn't connected.... where is the problem? Just connect it to the microcontroller with a pullup to 3V3. That's it.
No 24V, no optocoupler...

Klaus
 

Hi,

Don't post a schematic that does not show your situation. It just causes confusion.
*****
Let's focus on what you wrote: "Terminal 8 is unconnected by default, "

If terminal 8 isn't connected.... where is the problem? Just connect it to the microcontroller with a pullup to 3V3. That's it.
No 24V, no optocoupler...

Klaus

I assume I can also connect directly from the MCU output pins (high imepdance by default and logic 0 to switch) to terminal 3 and 4 instead of using the low side switches?
 

Hi,

Here the microcontroller needs to drive current.
How much current?
And how much voltage?

Klaus
 

Hi,

Here the microcontroller needs to drive current.
How much current?
And how much voltage?

Klaus

The current is around 30mA according to the manufacturer. The voltage is not mentioned in the datasheet so I am not sure that's why I went for a low side switch to be safe.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top