76 Threads found on edaboard.com: Generate Sinusoidal
hi fndz,iwant a programe for sinusoidal pulse width modulation using pic microcontroller,please any one knows post it .
if any one knows how to generate sinusoidal signal in pic controller(programe) just post it.
Microcontrollers :: 10.02.2007 13:00 :: raghupathi1m :: Replies: 6 :: Views: 2826
I am using 16f72 asm code to generate sinusoidal PWM.I not getting idea to start,Theory says that sine pwm can be generated by comparing sine and triangular waves.
I know how to use CCP module.can anyone help me how to do the same using software.
Please give me some ideas to start my project
Microcontrollers :: 10.02.2009 21:45 :: kvrajasekar :: Replies: 7 :: Views: 6316
how to generate sinusoidal pwm pulses using microcontroller by comparing sinewave of 50hz and triangular wave of 3khz
Microcontrollers :: 20.04.2010 05:37 :: kedarnath238 :: Replies: 1 :: Views: 1563
i,m using inverter to control the speed of AC induction motor. switching for this inverter by using tyristor or IGBT. 3 phase PWM were be the pulse for this switch..i use 1khz freq for triangular wave and 50hz for sinusoidal wave, by comparing this 2 wave PWM was generated. i want to know, capture mode and compare mode is the right choice to genera
Microcontrollers :: 20.12.2009 06:37 :: sme7000 :: Replies: 0 :: Views: 914
Microchip have a free program, 'dsPICworks Data Analysis', which you can download from here:
You can use it to generate waveform tables.
PC Programming and Interfacing :: 21.12.2009 08:43 :: btbass :: Replies: 6 :: Views: 3138
Can any body plz tell me how to implement sinusoidal PWM using PIC micro. I have read quiet a few application notes regarding its use but i want to understand how does a single microcontroller can generate sinusoidal waveform in conjunction with the inverter bridge.
Microcontrollers :: 31.12.2009 10:21 :: khansaab21 :: Replies: 0 :: Views: 1413
I am making a pure sine wave inverter . In an intermidiate stage i have to drive the mosfets using SPWM. so anyone please tell me how to generate sinusoidal PULSE WIDTH MODULATION using ARDUINO board.??
Microcontrollers :: 18.12.2012 19:03 :: --BawA-- :: Replies: 1 :: Views: 644
if u just need a single tone, then u can store the values for the sine in a ROM and throw it out on each clock.
If u need different tones to be generated, then u have to implement a Phase Accumulator also.This concept u can get it easily if u go through any of "DDS" or "NCO" implementation. search in google for NCO or DDS.
PLD, SPLD, GAL, CPLD, FPGA Design :: 28.01.2006 01:32 :: Renjith :: Replies: 1 :: Views: 846
After extensively googling I found no valid circuit to generate two sets of triphasic sinusoidal signals simulating the V of a genset and its load.
It should be able to change phase of I wrt V. Peak value 3 to 5 V is enough. I feel that something with shif registers would be the way to go. If ready made, would be better.
Taking signals from r
Analog Circuit Design :: 25.08.2006 08:13 :: atferrari :: Replies: 1 :: Views: 723
I don't know if it can be done or not. My thought is
Pass the input signal to a F2V then V2I to generate the required current
Use current mirror which multiplication and pass thru ICO to generate final
sine wave. There, you can use the multiplication to act as multiplication or division
Analog Circuit Design :: 14.03.2007 11:07 :: firstname.lastname@example.org :: Replies: 4 :: Views: 793
i have a quartz at 100MHz square wave i want to generate 500MHz sinusoidale at output wich component or circuit can do this????
thank s in advance
Analog Circuit Design :: 17.04.2007 03:19 :: voho :: Replies: 3 :: Views: 615
Does DSB or SSB mixer generate LO frequency harmonics internally? Meaning if I feed sinusoidal LO, will there be mixing results of RF+2LO or RF-2LO
RF, Microwave, Antennas and Optics :: 29.04.2007 10:08 :: karote :: Replies: 3 :: Views: 915
I am trying to program closed loop SPWM controller for an inverter using dsPIC33.
I get the feedback ac current and want to compare it with a sinusoidal reference current. So can anyone tell me how to generate 60Hz sinusoidal reference current in my dsPIC33. I only have the peak value of the sinusiod. Any suggestions or sample code (...)
Microcontrollers :: 23.06.2007 15:43 :: abel51 :: Replies: 2 :: Views: 543
You should be able to implement a filter that has the proper performance--it might be a fairly large(lots of poles) filter, depending what your requirements are. If you know exactly what the 16KHz signal looks like, you could always just subtract the 180 degree-shifted version. You might also be able to do something with a Phase Locked Loop-lock
Analog Circuit Design :: 07.07.2009 12:34 :: barry :: Replies: 5 :: Views: 1119
Can anyone give me simple matlab code which generates a baseband signal?
Digital Signal Processing :: 26.08.2009 20:20 :: makis0987 :: Replies: 5 :: Views: 1789
In MATLAB, there are two types of "Sine Wave" generator (see figure below). One can be found in Simulink library, and another one can be found in Signal Processing Blockset (SPB).
When the "Output complexity parameter" of SPB "Sine Wave" block to Complex, it will generate complex sinusoidal signal.
What is the different between the sinewave g
Electronic Elementary Questions :: 11.12.2009 23:47 :: powersys :: Replies: 1 :: Views: 3277
I developed single phase sinewave inverter usin PIC 16F886 micro controller.I have used sinusoidal PWM technique to generate sinusoidal pulses.I am getting sinewave at out of transformer this sinewave is maintaining at buld loads very nicely and aslo voltage is controlling low battery of 10.5 volts also i
Microcontrollers :: 14.12.2009 23:55 :: praveen_palaparthi :: Replies: 1 :: Views: 1249
hi.....i am new here. i want to make SPWM by comparing a sinusoidal wave with a triangle wave. the sine wave should be external which will come from grid by voltage transformer. i already make the ADC program for for that sine wave and i got the digital value. Now i want to make a triangle wave and then want to compare with
Microcontrollers :: 03.08.2013 02:01 :: Tahmid :: Replies: 10 :: Views: 1991
I'm interested in your PWM generator.
I have to generate a PWM signal using a triangular wave and an audio signal, I assume it looks like what you were looking after. Were you able to make it? Could I perhaps take a look at it? If you still need help, I have some VHDL background, but this could make my life a bit easier!
PLD, SPLD, GAL, CPLD, FPGA Design :: 09.03.2011 09:43 :: scoot89 :: Replies: 1 :: Views: 1834
I have designed a DAC. Now I want to test it.
I want to apply a digitized sinusoidal signal as a input.
But I do not know how to generate such kind of input signal.
Could you please advice.
Do you have a such example.
Thanks in advance.
Analog IC Design and Layout :: 04.05.2010 12:44 :: samvelc :: Replies: 5 :: Views: 1135
Hi, it's the first time I write in this forum. I have a problem, I need to generate 3 sine waves(50Hz and dephased) and compare them with a triangular carrier using STM32 evaluation board (STM32F103ZE). My question is: How can I generate these 3 waves?
If someone could post some examples we would be very thankfull.
Microcontrollers :: 24.05.2010 14:30 :: jeoffry :: Replies: 3 :: Views: 1040
In the past I used a MCP4101 digital pot which has an SPI interface to generate sine waves of approx 2KHz
not sure if it would work at 5KHz but worth considering
the alternative is a DAC - for example I used Integra development boards with Texas DSP processors and h
Microcontrollers :: 15.02.2011 05:50 :: horace1 :: Replies: 8 :: Views: 1471
I Have certain doubts.
ATMega 16 supports 8 bits while AD9833 requires 16 bit data, how is this achieved?
I want to generate sinusoidal waveforms of different frequencies ranging from 100kHz-1MHz. How do i implement this in the program?
What is a frequency word? Do i feed in the frequency word to the microcontroller?
Microcontrollers :: 25.05.2011 06:12 :: twinklegal :: Replies: 0 :: Views: 1029
instead of generate sinusoidal waves with PWM, DAC or an analog waveform generator, you can use your microcontroller (or other digital circuit) for generate a square wave at f0 and f1. Then, filter the square-wave FSK with a low-pass or passband filter. That filter has to pass the band centered at about 20 KHz, and the lower (...)
Digital communication :: 29.06.2011 23:19 :: zorro :: Replies: 1 :: Views: 636
how to generate the sinewave pwm using compare mode in ccp for ccs compiler.. please help me :-D
Microcontrollers :: 27.09.2011 10:53 :: tmssenthil03 :: Replies: 2 :: Views: 1205
how to generate pwm pulses to get 50hz ac from an inverter and plz explain wat is counts and peroiods in pwm
Analog Circuit Design :: 21.11.2011 00:17 :: chaitanyabobby :: Replies: 4 :: Views: 611
I`ve created my own frequency invertor. I have problem with the program of the microcontroller. I`m using 20 points 1ms each to generate sinusoidal wave but when I connect a load engin it`s turning on pushes. I`ve tried with different conbinations of these 20 points - different dead time, different continue time for each impulse but the rezult is a
Power Electronics :: 07.12.2011 02:59 :: stoyanoff :: Replies: 1 :: Views: 404
%program to generate sine wave
f= input('enter the frequency in hertz of the sine wave');
xlabel ('Time Index');
TITLE ('Sine wave');
t = ; % Time Samples
f = 500; % Input Signal Frequency
fs = 8000;
Digital Signal Processing :: 05.10.2012 14:03 :: pakitos :: Replies: 3 :: Views: 338
i'm doing my final year project about "PC based programmable function generator" using PIC16F84A microcontroller. i need to generate 3 kinds of waveforms: square, sinusoidal & triangle. i also need to design and layout a Graphical User Interface (GUI) for the functions of the PC based function generator such as frequency, duty cycle and no. of pul
Microcontrollers :: 13.09.2004 16:22 :: blue :: Replies: 4 :: Views: 2773
For best gain the LO level should be high enough to turn the transistors full on to full off. This can be done with a high level sine wave or a lower level square wave. Since square waves are difficult to generate at microwave frequencies, sine waves are used.
One thing about the nomenclature is that this mixer topology goes back to 1950 when
Electronic Elementary Questions :: 19.01.2006 15:46 :: flatulent :: Replies: 4 :: Views: 736
thank you very much,
you are right, the circuit is used in DVD read channel.
now i have another question
how to generate the kick signal?
You confirmed by message that it is for a DVD read circuit.
There are various kick signals (they are normally applied while the servo is switched to open loop).
ASIC Design Methodologies and Tools (Digital) :: 13.03.2006 20:31 :: E-design :: Replies: 6 :: Views: 1103
a ideal switch operation can be get if a square LO is applied to the switching quad in a mixer. But conventionally we use a sine LO . Why?? Is it difficult to generate a high frequency square wave??
RF, Microwave, Antennas and Optics :: 12.11.2006 07:21 :: zhangjavier :: Replies: 6 :: Views: 2326
yes,Lc circuit is a resonator cicuit..u can generate square wave.
Electronic Elementary Questions :: 22.02.2007 00:28 :: suvendu :: Replies: 5 :: Views: 1009
A square-wave is easier to generate with stable amplitude and frequency.
It is also easier to check the scope with a square-wave signal than it is with a sinusoidal one. Try measuring the period of a sinewave, compared to a square-wave. The sharp edges of the square-wave signal makes things a lot easier. A similar thing goes for the amplitude,
Electronic Elementary Questions :: 28.02.2007 13:03 :: VVV :: Replies: 3 :: Views: 1244
Is it possible to drive a H-Bridge with a PIC (16F877) and generate a sinusoidal current waveform? Change the amplitude of the waveform is also desired.
Can anybody please show me a sample code in CCS to how top do this?
Thanks in advance
Microcontrollers :: 30.08.2007 07:32 :: Jester009 :: Replies: 3 :: Views: 1591
RMS current and voltage are mostly used in alternate current (AC) measurements.
If you try to calculate the simple average of an AC sinusoidal (or any other periodic) waveform (current or voltage) symetrical from ground, you will get the value zero, as the waveform is composed of positive and negative values, unless you take only one semi cycle
Electronic Elementary Questions :: 14.11.2007 05:50 :: rkodaira :: Replies: 4 :: Views: 4299
I need an ultrasonic interfacing circuit which is to be interfaced with PIC MCU
Transmitter Section :
It transmit the square wave out from PIC pin
It when receive ; generate a logic(Interrupt).
Microcontrollers :: 08.02.2008 07:17 :: saeed_pk :: Replies: 1 :: Views: 806
I'm currently in the process of developing a control scheme for a custom power device using FPGA. The control scheme processes the error voltage through a PI controller whose output (PI output) is used to phase modulate the sinusoidal waveform (50 Hz). The phase modulated waveform is then compared against a triangular carrier wave to generate
PLD, SPLD, GAL, CPLD, FPGA Design :: 08.04.2008 03:26 :: rjai_pradha :: Replies: 0 :: Views: 1122
I want to know how to generate a sine wave using 16F876A + H-Bridge Driver ??
without using DAC
Microcontrollers :: 12.09.2008 01:53 :: hameeds01 :: Replies: 1 :: Views: 1244
I need to construct a three phase AC induction motor driver with AT89S8252. Does any body now how to calculate PWM signals and generate them? Please help me... If there is any inverter softwares please send me them...
Microcontrollers :: 15.11.2008 18:24 :: mutlu_sgul :: Replies: 2 :: Views: 915
Hi there, not sure if you are still looking for a reply as the post is fairly old.
Firstly are you looking at an analog solution or a DSP solution?
There are several ways the control system can be implemented but I will outline the basics of the more common methods.
The outer PI loop works on the voltage error to give a current command. At
Power Electronics :: 24.07.2009 06:06 :: itaig :: Replies: 5 :: Views: 4215
Hi friends i am doing single phase sinusoidal PWM inverter using micro controller.I have generated sine wave at output using sine controller is pic 16f886 output frequency is 50Hz,and swicthing frequency is 20Khz and output at no load is 250 volts rms.I used PWM modules in the controller to generate SPWM.
My problem is when i am switchi
Microcontrollers :: 29.06.2009 13:15 :: praveen_palaparthi :: Replies: 3 :: Views: 1738
I need a detailled explanations for the principe of PWM and how to generate sinwav signal from a DC one.
my secon question concerne the current, how can i calculate AC current from DC one in DC-AC converter?
Power Electronics :: 29.06.2009 17:13 :: FERMED :: Replies: 2 :: Views: 1296
Hi friends can anyone tell me how to calculate values for sine look up table to generate 220V rms value using sinusoidal adc is 10 bit adc,output frequency is 50Hz.
Power Electronics :: 13.07.2009 01:34 :: praveen_palaparthi :: Replies: 2 :: Views: 870
I m trying to generate a PWM signal at the output of the lt1016 comparator.
My idea is to compare a basic sinusoidal signal with a linear ramp signal aids of this comparator.
The linear ramp (called IN-) is plotted in blue.
I don't have idea to set up a correct linear ramp, what is the proper frequency the linear ramp should have?
RF, Microwave, Antennas and Optics :: 15.07.2009 08:56 :: jayce3390 :: Replies: 4 :: Views: 1641
An electromagnetic wave propagating through space is always a plane wave. It means that its E and H component alternate in a sinusoidal manner, perpendicular to the axis of propagation. It is a "transversal" wave.
Only close to radiators that generate the wave, the shape of the wavefront runs off a "point", so it is spherical. As it travels fart
RF, Microwave, Antennas and Optics :: 16.11.2010 18:07 :: jiripolivka :: Replies: 3 :: Views: 595
Here is the clue...
So if you want to listen 500Hz sinusoidal, generate enough data sample with linspace function.
Then feed this data sample into MATLAB's built in function which will convert them into sound.
Sorry, I cant remember the function name right now, but its easy enough to find in MATLAB demos and just google it.
Hope this h
Electronic Elementary Questions :: 29.10.2009 14:27 :: Jack// ani :: Replies: 3 :: Views: 1085
You simply can't generate a sinusoidal PWM using this method.
In your for loops, you are updating the duty cycle several times before one period of the PWM is completed. The comparator will miss lots of cycles and output useless PWM signals.
You can use the timer interrupts and a look-up table containing the duty cycle values corresp
Microcontrollers :: 25.12.2009 17:12 :: s_cihan_tek :: Replies: 4 :: Views: 1689
i need to generate triangular wave using matlab for sinusoidal pwm.....can u suggest ....some methods.....i m using matlab7.8 version
Digital Signal Processing :: 09.01.2010 01:30 :: ramaydevi :: Replies: 0 :: Views: 2693
I am trying to simulate a CMOS OTA-C oscillator using Pspice. The OTA is simulating the correct transfer curve. But when I need to generate an oscillation, it gives a complete flat response. I have tried it out using ways like initial charge on a capacitor/ inputting a damped sinusoidal input and also trigerring it with a current pulse.
I do no
Software Problems, Hints and Reviews :: 15.01.2010 05:09 :: push_du :: Replies: 0 :: Views: 891