DC Power Feedback Signal Generator

I developed this circuit gather average voltage and current data for a switched DC load and serve them as 5Vmax analog outputs as well as use them to produce a 5Vmax analog signal representing the power. In addition to these analog signals, there is also a resettable instantaneous over-current relay output. Current flow must be from Load(+) to Load(-) for proper operation.  The PIC_Multiplier is this.  This circuit is used here.

DC Power Feedback Signal Generator

DC Power Feedback Signal Generator.png


PCB Manufacture Gerber and Drill Files



Bill of Materials:


PIC program:

PIC10F322 Program

DC Signal Multiplier

While considering making a constant power DC power supply, I realized that it was quite challenging to come up with a way to multiply DC analog signals. I eventually decided that it’s simply much cheaper and easier to go ahead and use a microcontroller. In this case, a PIC10F322. RA0 and RA2 are used as ADC inputs, and RA1 is used as a PWM output which is passed through a low pass filter to convert it into an analog signal. Finally, RA3 is used to reset the controller if supply voltage drops below an acceptable threshold.

This same platform can really be used for any (0-5)V level two channel analog signal processing that would normally require tricky analog circuits to implement.


PIC Multiplier Better Quality Image

PIC Multiplier.png


Circuit board design files:

PCB Manufacture Gerber And Drill Files


Microchip MPLAB X microprocessor programming files for this device:

PIC10F322 Program

Timing Stage Block

While working on the DC Current Limiter, I realized I had a need for a unitized timing stage circuit that I could just drop in as required when multiple time dependent tasks need to be completed in sequence.  This circuit does that, it’s a capacitor charged with a voltage controlled current, that triggers outputs when the capacitor voltage reaches a fixed threshold.  It also has inputs which disable/pause charging and an input to trigger drain of the capacitor which resets the timer.  It has two 400mA form C outputs.  The timing isn’t linear with respect to the input voltage which is an issue I may revisit at a later date.

Timing Stage BlockTiming Stage Block.png

Time to Trigger ~= (6*C1)/(TIME_DELAY*2.4/500)   where C1 is the capacitance of the timing capacitor.

Which is precalculated on the following chart for a 25uF capacitor (note that 0 volts has a special value due to opamp range limitations and built-in voltage drops, and similarly, voltages greater than 4.3V will not have a lower trigger time.) :

Time Data.png

Add (0.8 to 2ms) to these times for the delay required to turn on the opto-relays.

24VDC opto-relays

This simple little guy takes two 5 to 24VDC inputs with input current up to 10mA and uses them to control opto-isolated solid state relay contacts.  This is very handy when interfacing microcontrollers with industrial controls.

If IN1 is greater than a few volts then NO1 will be connected to COM1 and NC1 will be disconnected.  If IN1 is ground then NO1 will be disconnected and NC1 will be connected to COM1.  The same holds true for IN2, NO2, NC2, and COM2.  Maximum contact hold current is 400mA, and maximum voltage across contacts is 50V.


24VDC opto-relays Better Quality Image24VDC opto relays.png


15A Simple and Hardy 24VDC Motor Controller

I have fun. I’ve created this original design to serve as a reversible brushed DC motor controller, and have made provisions to allow it to also be useful as a single phase VFD or inverter.  I’m reasonably confident that this design can utilize PWM frequencies of less than 50kHz for both the speed control (PWM_IN) and for reversing the current which is sufficient to permit use of this device as an inverter or a single phase VFD, with the potential for SPWM, as well.



24VDC 15A ESC VFD INVERTER Part 3.png24VDC 15A ESC VFD INVERTER Part 1 Better Quality Image

24VDC 15A ESC VFD INVERTER Part 2 Better Quality Image

24VDC 15A ESC VFD INVERTER Part 3 Better Quality Image


PCB Design:


PCB Manufacture Gerber And Drill Files